I can’t figure out how to setup shortcut, so I can logout instantly after pressing it.
Someone would help?
1 Like
Depends on your desktop environment… What are you using?
E.G. This is the alias I use from the terminal:
lo () {
local DT=`pgrep -c gnome-shell`
if [ "$DT" != "0" ]
then
gnome-session-quit --no-prompt
else
qdbus org.kde.ksmserver /KSMServer logout 1 3 3
fi
}
Easy enough to create a shortcut to a script.
2 Likes
I forgot to mention - I am using xfce
Try: xfce4-session-logout --logout
in a terminal. It should log you out instantly without confirmation. If it works, make a keyboard shortcut for it.
Why can’t I add an icon to somebody else’s post (Firefox)?
what do you mean icon?
Emoji (sorry distracted today):
See the two colons? - that was my attempt to add the finger pointing up emoji.
Ignore the sparkly dots, weird effect of a kwin effect I am using. Look at the colons below here - xircon reacted with ::
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.