Le Fri, Apr 14, 2023 at 09:49:38AM +0200, Joel Carnat a écrit : > > Only the Exec part: > # diff /usr/local/share/applications/firefox.desktop > ~/.local/share/applications/firefox.desktop > 153c153 > < Exec=firefox %u > --- > > Exec=firefox-default %u > 200c200 > < Exec=firefox -new-window > --- > > Exec=firefox-default -new-window > 219c219 > < Exec=firefox -private-window > --- > > Exec=firefox-default -private-window
Sorry, but i dont think that makes sense. Unless there's a 'firefox-default' script/wrapper in your $PATH, i doubt that can work. or the /usr/local/share/applications/firefox.desktop file takes precedence because ~/.local/share/applications/firefox.desktop has an invalid entry for Exec (oh, and diff -u is always more readable ;) you'd have told me firefox --class=firefox to override the default 'wm class' set to 'firefox-default', i'd have understood.. Anyway, for firefox, to my understanding this comes from https://bugzilla.mozilla.org/show_bug.cgi?id=1530052. To be investigated. > I copied /usr/local/share/applications/xfce4-terminal.desktop into > ~/.local/share/applications/xterm.desktop, remove a bunch of translations I > don't use and modify the Exec part: > # cat ~/.local/share/applications/xterm.desktop ok but that's a different issue, there's no 'default' desktop file for xterm. not xfce4-docklike problems :)