dom0-updates: move GUI notification to qubes-manager (#824)
It is hard to get user session D-Bus address from outside of session. In some cases there are even multiple dbus-daemon instances of the same user...
This commit is contained in:
parent
b8bd6e2d49
commit
c443264fae
@ -26,6 +26,3 @@ fi
|
|||||||
|
|
||||||
# Touch stat file for qubes-manager
|
# Touch stat file for qubes-manager
|
||||||
touch $UPDATES_STAT_FILE
|
touch $UPDATES_STAT_FILE
|
||||||
|
|
||||||
# Notify about updates using system tray
|
|
||||||
su -c 'DISPLAY=:0 notify-send -t 0 "Qubes dom0 updates available."' $LOCAL_USER
|
|
||||||
|
Loading…
Reference in New Issue
Block a user