0

I see a neat answer by Steve Dee to a question I have, but it's specific to Gnome in that it uses gnome-session-quit to log out the current user. I use Xubuntu, and thus XFCE. Is there an equivalent?

To the extent it matters, I'm using a variety of versions, always the one native to a supported LTS Xubuntu.

4dummies
  • 452
  • 4
  • 19

1 Answers1

2

On the latest XFCE 4.14 there is a command:

xfce4-session-logout

Usage:
  xfce4-session-logout [OPTION…] 

Help Options:
  -?, --help               Show help options
  --help-all               Show all help options
  --help-gtk               Show GTK+ Options

Application Options:
  -l, --logout             Log out without displaying the logout dialog
  -h, --halt               Halt without displaying the logout dialog
  -r, --reboot             Reboot without displaying the logout dialog
  -s, --suspend            Suspend without displaying the logout dialog
  -i, --hibernate          Hibernate without displaying the logout dialog
  -b, --hybrid-sleep       Hybrid Sleep without displaying the logout dialog
  -u, --switch-user        Switch user without displaying the logout dialog
  -f, --fast               Log out quickly; don't save the session
  -V, --version            Print version information and exit
  --display=DISPLAY        X display to use

Is it that what you're looking for?

kanehekili
  • 6,402