Control: severity -1 important

Hi,

Quoting Jeremy Bícha (2025-11-05 15:00:33)
> I am surprised to see that reform-tools now installs this file:
> /usr/share/xdg-terminal-exec/sway-xdg-terminals.list
> 
> reform-tools isn't Sway. I'm worried about a possible future filename
> conflict if some other package provides that file.

agreed.

> I am the maintainer of the xdg-terminal-exec package in Debian. I am
> willing to have the xdg-terminal-exec package install that file (like
> already happens for GNOME and Ubuntu) but we should probably get
> approval from the sway package maintainer for its contents. (Or sway
> could ship its own file.)

I am not attached to the file being shipped by reform-tools and I agree with
your argument that it probably should be living elsewhere. I kept sway
maintainers in CC and would like to ask them if they want to ship the file some
place.

> Another alternative is for the Reform desktop to set a custom
> XDG_CURRENT_DESKTOP. For instance, Ubuntu has an Ubuntu session (with
> /usr/share/gnome-session/sessions/ubuntu.session and
> /usr/share/wayland-sessions/ubuntu.desktop) that makes use of a GNOME
> Shell feature (GNOME Shell session mode) to set XDG_CURRENT_DESKTOP to
> ubuntu:GNOME. Then things like xdg-terminal-exec and gsettings
> overrides can be set for Ubuntu without touching GNOME. It also
> inherits GNOME settings (unless overriden by Ubuntu settings). This
> might be complex to set up but there are some advantages if it can be
> made to work.

Oh interesting, I did not know about this mechanism and it might be interesting
to explore this independent of where sway-xdg-terminals.list ends up living.

I've searched for both files you mentioned to learn how it is done but they
seem to be not part of Debian? Are they ubuntu-only?

I am (positively) surprised you found this file-conflict-waiting-to-happen. How
did you get note of it?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to