From 57f111a08d3609dfbb4ed4767434ab59fa2df27f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 4 Jul 2014 18:47:11 +0200 Subject: [PATCH] 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. --- vm-systemd/misc-post.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm-systemd/misc-post.sh b/vm-systemd/misc-post.sh index 50e990d..e718d02 100755 --- a/vm-systemd/misc-post.sh +++ b/vm-systemd/misc-post.sh @@ -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