<div dir="ltr"><div>I took Brian's recommendation and created a file in ~/.local/share/applications called sandfox.desktop. Contents of that file are:</div><div><br></div><div>[Desktop Entry]<br>Encoding=UTF-8<br>Type=Application<br>Icon=/home/steve/Pictures/firejailed_firefox128.png<br>Exec=/usr/bin/firejail --apparmor firefox<br>Name=Sandboxed Web Browser<br>Terminal=false<br></div><div><br></div><div>I have it set to executable but when i try to run it "./sandfox.desktop" I get the error:</div><div>./sandfox.desktop: line 1: [Desktop: command not found<br>./sandfox.desktop: line 5: --apparmor: command not found<br>./sandfox.desktop: line 6: Web: command not found<br></div><div><br></div><div>Is my file misconfigured or what do I not have correct?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff 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">
  
    
  
  <div>
    Under debian based distros, overriding an overwrite of ANY installed
    file is easily done.<br>
    There's a really cool tool called dpkg-divert that the system uses
    to take whatever files would normally be installed and steer them
    into a different place so that you can put your own version of the
    file in the same place without fear of it going away on the next
    update.<br>
    <br>
    Just do:<br>
    dpkg-divert --add --rename /usr/share/applications/firefox.desktop<br>
    <br>
    In this case, that would be the overkill and less correct way of
    handing the problem.  A better way would be to put your own version
    of the firefox.desktop into certain directories and that cause it to
    override the system version of the config.  Put them in
    ~/.local/share/applications/ to change an individual user and<code></code>
    /usr/local/share/applications/ to effect every user on the system.<br>
    <br>
    Brian Cluff<br><br></div></blockquote></div></div>