<div dir="ltr"><div>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.</div><div><br></div><div>-mb</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 23, 2020 at 4:56 PM Matt Graham via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-12-23 16:39, Steve B via PLUG-discuss wrote:<br>
> Is it possible to edit the firefox.desktop file such that I can<br>
> invoke "firejail --apparmor firefox -no-remote" as the default manner<br>
> in which the application starts? If so can someone point me to a guide<br>
> or provide me with an example? I'm having some difficulty finding a<br>
> resource through Google.<br>
<br>
KDE:  right-click on the application menu, "Edit Applications", <br>
Internet->Mozilla Firefox, edit the Command: entry so that it executes <br>
what you want instead of the default "firefox %u" command.<br>
<br>
Everything:  Just find whatever .desktop file is being used by your <br>
desktop environment with "locate \*desktop | grep firefox" (there may be <br>
a few of them.)  Then edit the Exec= line so that it invokes the command <br>
line you want instead of the default "firefox %u".  This will almost <br>
certainly break every time firefox gets updated though.<br>
<br>
Alternatively, copy the default .desktop file to wherever your Desktop <br>
directory is, then edit that, and always launch your firefox from that <br>
icon/whatever instead of the system menu.  That will get rid of the <br>
"menu entry goes back to default after update" problem.<br>
<br>
-- <br>
Crow202 Blog: <a href="http://crow202.org/wordpress" rel="noreferrer" target="_blank">http://crow202.org/wordpress</a><br>
There is no Darkness in Eternity<br>
But only Light too dim for us to see.<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>