You are not logged in.

#1 2009-03-15 18:54:13

fatty
Member
Registered: 2009-03-15
Posts: 16

Customize Xfce 4.6 logout dialog

Hi,

is it possible to customize, i.e. remove buttons from the Xfce 4.6 logout dialog?
I'm using a desktop pc with neither suspend to disk nor suspend to ram available. I only need the three buttons for shutdown, reboot and logoff.
I'm not using any login manager. I autostart Xfce via .xinitrc from runlevel 5.
Thank you for your help.

fat

Offline

#2 2009-03-17 10:55:12

fatty
Member
Registered: 2009-03-15
Posts: 16

Re: Customize Xfce 4.6 logout dialog

can anyone help me?

Offline

#3 2009-03-17 11:10:08

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Customize Xfce 4.6 logout dialog

why don't you ask the upstream devs? there's a channel on freenode irc and also a dedicated xfce forum.

Offline

#4 2009-03-18 17:48:19

fatty
Member
Registered: 2009-03-15
Posts: 16

Re: Customize Xfce 4.6 logout dialog

I got a solution in the xfce forums:

xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'

Last edited by fatty (2009-03-18 17:48:42)

Offline

#5 2009-03-24 10:11:31

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Customize Xfce 4.6 logout dialog


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#6 2009-03-24 18:55:55

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: Customize Xfce 4.6 logout dialog

fatty wrote:

I got a solution in the xfce forums:

xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'

Thanks a lot big_smile


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#7 2009-05-12 19:17:41

goetzkluge
Member
From: Munich
Registered: 2009-05-05
Posts: 60
Website

Re: Customize Xfce 4.6 logout dialog

Alternative: Edit xfce-session.xml directly:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="empty"/>
    <property name="SessionName" type="string" value="Default"/>
    <property name="SaveOnExit" type="bool" value="false"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe" type="empty">
      <property name="IsFailsafe" type="empty"/>
      <property name="Count" type="empty"/>
      <property name="Client0_Command" type="empty"/>
      <property name="Client0_PerScreen" type="empty"/>
      <property name="Client1_Command" type="empty"/>
      <property name="Client1_PerScreen" type="empty"/>
      <property name="Client2_Command" type="empty"/>
      <property name="Client2_PerScreen" type="empty"/>
      <property name="Client3_Command" type="empty"/>
      <property name="Client3_PerScreen" type="empty"/>
      <property name="Client4_Command" type="empty"/>
      <property name="Client4_PerScreen" type="empty"/>
    </property>
  </property>
  <property name="splash" type="empty">
    <property name="Engine" type="empty"/>
  </property>
  <property name="shutdown" type="empty">
    <property name="ShowHibernate" type="bool" value="false"/>
    <property name="ShowSuspend" type="bool" value="false"/>
  </property>
</channel>

But interestingly that didn't work.:)

Last edited by goetzkluge (2009-05-12 19:24:32)

Offline

#8 2009-05-13 04:18:32

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Customize Xfce 4.6 logout dialog

Hi guys. Just to make sure: After the 4.6.1 update there's some unwanted letters (xml? html?) above the logout dialog. Can you confirm this? Is this upstream broken or happens only with the customized menu?

Offline

#9 2009-05-13 05:15:24

Murray_B
Member
From: Germany
Registered: 2008-07-29
Posts: 134

Re: Customize Xfce 4.6 logout dialog

Mornin'...

AndyRTR wrote:

Hi guys. Just to make sure: After the 4.6.1 update there's some unwanted letters (xml? html?) above the logout dialog. Can you confirm this? Is this upstream broken or happens only with the customized menu?

I have the same effect without any costumized menu, looks like a little bug. But I hadn't the time yet to care about, I still have to think about a change from kde with kmail and korganizer to xfce with thunderbird3... BTW, Thunderbird3 still isn't able to import *.vcf... and I didn't find an option to make it open doubleclicked Mails in a new tab instead of a new window... Makes the tabs kinda useless...

Thomas

Offline

#10 2009-06-23 16:03:57

wollew
Member
Registered: 2007-08-08
Posts: 18

Re: Customize Xfce 4.6 logout dialog

The solution for AndyRTR's "dialog"-problem is described here http://bugzilla.xfce.org/show_bug.cgi?id=5274#c6

Offline

Board footer

Powered by FluxBB