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:


















3 comments:

  1. You actually make it seem so easy with your presentation but I find this matter to be actually something which I think I would never understand. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I'll try to get the hang of it!

    ReplyDelete
  2. 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
  3. 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