← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2107326] Re: Upgrade to Ubuntu 25.04 do not respect x-terminal-emulator settings

 

** Merge proposal linked:
   https://code.launchpad.net/~aleasto/ubuntu/+source/xdg-terminal-exec/+git/xdg-terminal-exec/+merge/492113

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xdg-terminal-exec in
Ubuntu.
https://bugs.launchpad.net/bugs/2107326

Title:
  Upgrade to Ubuntu 25.04 do not respect x-terminal-emulator settings

Status in xdg-terminal-exec package in Ubuntu:
  In Progress
Status in xdg-terminal-exec source package in Plucky:
  In Progress

Bug description:
  [ Impact ]

  In previous Ubuntu versions I just set x-terminal-emulator alternative to ghostty, and Gnome correctly launched the configured terminal with default shortcut of Ctrl+Alt+T.
  After upgrading the system to a 25.04, Gnome 48 seems to ignore this setting, and launches default Gnome Terminal when shortcut is pressed.

  That happens because Ubuntu Desktop 25.04 now uses `xdg-terminal-exec`
  to configure the user's default terminal application, which is an
  improvement over the previous `x-terminal-emulator` way (see the MIR
  bug 2069308)

  The user configuration is not migrated from x-terminal-emulator to
  xdg-terminal-exec, so the user finds their default terminal reset to
  the default GNOME Terminal.

  
  [ Test Plan ]

  1. Install Ubuntu Desktop 24.10 or prior
  2. Change the default terminal through x-terminal-emulator
  3. Ensure that Ctrl+Alt+T launches the configured terminal application
  4. Upgrade to Ubuntu 25.04
  5. Install the xdg-terminal-exec update
  5. Verify that Ctrl+Alt+T launches the same terminal application

  
  [ Where problems could occur ]

  This is implemented as a session-migration script.
  The script is implemented with a defensive programming approach so that the xdg-terminal-exec configuration is written if and only if the user had previously changed the x-terminal-emulator config and did not already change the xdg-terminal-exec config.

  Due to an issue with GNOME Terminal being too excited about setting
  itself as the default xdg-terminal-exec even before xdg-terminal-exec
  was used for launching the terminal in Ubuntu, the configuration will
  only be applied if both /usr/bin and $HOME live in filesystems which
  support the file creation timestamp (not necessarily the same one).

  
  [ Other info ]

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: gnome-shell 48.0-1ubuntu1
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Apr 14 13:46:12 2025
  DisplayManager: gdm3
  InstallationDate: Installed on 2022-04-28 (1082 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  RelatedPackageVersions: mutter-common 48.1-1ubuntu3
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to plucky on 2025-04-11 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-terminal-exec/+bug/2107326/+subscriptions