TIP: How to remove logout options

I never use more than the three basic logout / reboot / shut down. So the other four options for different versions of hibernate etc in the log out dialogue just annoys me.

Solution is simple:

Go into

~/.config/xfce4/xfconf/xfce-perchannel-xml

and edit xfce4-session.xml (remember to right-click and open with your text editor)
Add any or all of the lines below. You need to log out and in again to see the effect.

  <property name="shutdown" type="empty">
    <property name="LockScreen" type="bool" value="false"/>
    <property name="ShowHibernate" type="bool" value="false"/>
    <property name="ShowSuspend" type="bool" value="false"/>
    <property name="ShowSwitchUser" type="bool" value="false"/>
    <property name="ShowHybridSleep" type="bool" value="false"/>
  </property>
4 Likes

take a peak in xfconf in xfce4 setting manager , sure is good you can edit, also graphical is possible :slight_smile: that way you can change which WM you want to use also

Edit: Ok, found it. But can’t find that setting…
Edit again: Okay, found it, under “Settings Editor - xfce4-session - shutdown”.

Must be more people than me that can’t find it, because you’re the first time that has pointed me towards a GUI option.

Ik mean you can add this like

Is possible those options isnt there but you can add to xfce4 session

And othzr thing to manually add in xfconf editor like

/Xxxxx/sleep
Bool
False
( As in new add window )

Te changes is also direct checkable no need to reboot or log in and out