** Description changed:

- Hi guys. I don't think this bug is directly gnome-shell related, but I
- have no clue how to report this bug to launchpad the other way.
+ [ Impact ]
  
- I use non default terminal emulator (it's ghostty, but doesn't matter).
+ 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.
  
- In previous Ubuntu versions I just set x-terminal-emulator alternative
- to ghostty, and Gnome correctly launched the one I needed with default
- shortcut of Ctrl+Alt+t.
+ 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)
  
- But after I upgraded my system to a 25.04 beta, Gnome 48 seems to ignore
- this setting, and launches default Gnome Terminal when shortcut is
- pressed. I suppose it's a bug, so would be nice if someone fixed it.
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107326

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to