Do not start nm-applet at all when no NetworkManager running - update (#857)
Apparently nm-applet.desktop was changed upstream. It does no longer contain OnlyShowIn, but NotShowIn.
This commit is contained in:
parent
25557fa158
commit
57f111a08d
@ -62,9 +62,11 @@ fi
|
||||
if [ -f /var/run/qubes-service/network-manager ]; then
|
||||
# Allow also notification icon
|
||||
sed -i -e '/QUBES/!s/^OnlyShowIn=.*/\0QUBES;/' /etc/xdg/autostart/nm-applet.desktop
|
||||
sed -i -e '/^NotShowIn=.*/s/QUBES;//' /etc/xdg/autostart/nm-applet.desktop
|
||||
else
|
||||
# Disable notification icon
|
||||
sed -i -e '/^OnlyShowIn=.*/s/QUBES;//' /etc/xdg/autostart/nm-applet.desktop
|
||||
sed -i -e '/QUBES/!s/^NotShowIn=.*/\0QUBES;/' /etc/xdg/autostart/nm-applet.desktop
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user