Search This Blog

Friday, January 31, 2014

remove [Suspend] [Hibernate] buttons from the Xfce logout dialog

Been working on Xfce recently.

I would like to share some trick on how to Customize XFCE Desktop, hope these can save your some time.

My build need to remove [Suspend] [Hibernate] buttons from the Xfce logout dialog

To change system wide:
/etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

To change for one user:
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

Add these at the end of xml file:







Make it looks like:


















2 comments:

  1. this was exactly what i was looking for, thank you. is there any way to also remove the log out button? i have tried a few variations, but i can't figure it out.

    ReplyDelete
  2. From what I understand you can't easy disable the log out button without rebuild the xfce.
    If you just want power off, then put a single power off button on the Panel and disable the whole "Logout" thing may be the solution.

    ReplyDelete