Thanks to all. I'd forgotten that the file would be overridden with each update of Firefox. For the moment I've written a quick shortcut into my bash aliases file, but you got me looking at some ideas to create another firefox.desktop file that I can use to launch the application with the firejail parameters. On Wed, Dec 23, 2020 at 7:02 PM Michael Butash via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Agreed customizations to firefox launchers will break with every update. > I run into this with arch and firefox that I add a custom command to add a > menu for starting with profile chooser, and have to add the file back every > time I update annoyingly. > > -mb > > > On Wed, Dec 23, 2020 at 4:56 PM Matt Graham via PLUG-discuss < > plug-discuss@lists.phxlinux.org> wrote: > >> On 2020-12-23 16:39, Steve B via PLUG-discuss wrote: >> > Is it possible to edit the firefox.desktop file such that I can >> > invoke "firejail --apparmor firefox -no-remote" as the default manner >> > in which the application starts? If so can someone point me to a guide >> > or provide me with an example? I'm having some difficulty finding a >> > resource through Google. >> >> KDE: right-click on the application menu, "Edit Applications", >> Internet->Mozilla Firefox, edit the Command: entry so that it executes >> what you want instead of the default "firefox %u" command. >> >> Everything: Just find whatever .desktop file is being used by your >> desktop environment with "locate \*desktop | grep firefox" (there may be >> a few of them.) Then edit the Exec= line so that it invokes the command >> line you want instead of the default "firefox %u". This will almost >> certainly break every time firefox gets updated though. >> >> Alternatively, copy the default .desktop file to wherever your Desktop >> directory is, then edit that, and always launch your firefox from that >> icon/whatever instead of the system menu. That will get rid of the >> "menu entry goes back to default after update" problem. >> >> -- >> Crow202 Blog: http://crow202.org/wordpress >> There is no Darkness in Eternity >> But only Light too dim for us to see. >> --------------------------------------------------- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss