Skip to content

Commit f1ec356

Browse files
author
Andreas Poulsen
committed
Make logout buttons work on Ubuntu 22
1 parent c86151f commit f1ec356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os2borgerpc/desktop/desktop_logout_button_icon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cat <<- EOF > $DESKTOP_FILE
5858
Name=$SHORTCUT_NAME
5959
Comment=Logud
6060
Icon=$ICON
61-
Exec=gnome-session-quit --logout $TO_PROMPT_OR_NOT
61+
Exec=sh -c "sleep 0.1 && gnome-session-quit --logout $TO_PROMPT_OR_NOT"
6262
EOF
6363

6464
else

0 commit comments

Comments
 (0)