I took Brian's recommendation and created a file in
~/.local/share/applications called sandfox.desktop. Contents of that file
are:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Icon=/home/steve/Pictures/firejailed_firefox128.png
Exec=/usr/bin/firejail --apparmor firefox
Name=Sandboxed Web Browser
Terminal=false
I have it set to executable but when i try to run it "./sandfox.desktop" I
get the error:
./sandfox.desktop: line 1: [Desktop: command not found
./sandfox.desktop: line 5: --apparmor: command not found
./sandfox.desktop: line 6: Web: command not found
Is my file misconfigured or what do I not have correct?
On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:
> Under debian based distros, overriding an overwrite of ANY installed file
> is easily done.
> 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.
>
> Just do:
> dpkg-divert --add --rename /usr/share/applications/firefox.desktop
>
> 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 /usr/local/share/applications/ to effect
> every user on the system.
>
> Brian Cluff
>
>
---------------------------------------------------
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