Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-03-17 12:43:22

fatmike
Member
Registered: 2009-03-17
Posts: 2

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 15:54:44

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Customize Xfce 4.6 logout dialog

Hi

In a terminal emulator, Xfce terminal, xterm no matter which one:

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

and

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

Offline

#3 2009-03-18 17:49:43

fatmike
Member
Registered: 2009-03-17
Posts: 2

Re: Customize Xfce 4.6 logout dialog

perfect!
thank you!

Offline

#4 2009-03-29 09:00:34

NeoXP
Member
Registered: 2009-03-29
Posts: 1

Re: Customize Xfce 4.6 logout dialog

Wapush wrote:

Hi

In a terminal emulator, Xfce terminal, xterm no matter which one:

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

and

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

Hi there, I've tried to replace '/shutdown/ShowSuspend' with '/shutdown/ShowLogout' to remove the logout button also, but that didn't work.

Any suggestion to remove the logout button also? As the TS I autostart Xfce via .xinitrc from runlevel 5 (also running ArchLinux) on a Desktop for the wife & kids, when they accidently press logout now, they get thrown to the shell without knowing what to do there.

Offline

#5 2009-04-26 13:01:55

lomz
Member
Registered: 2008-01-03
Posts: 4

Re: Customize Xfce 4.6 logout dialog

Another solution would be to change the autofocused button from logout to shutdown, i am looking for how to do that.

Offline

#6 2009-05-01 16:47:41

peratu
Member
Registered: 2009-05-01
Posts: 1

Re: Customize Xfce 4.6 logout dialog

It's possible to add a "Switch user" feature thats works with XDM and not depends of any gnome package?

It's possible to have the "Switch user" feature, but you need GDM and fast-user-switch-applet, but it depends of a lot of gnome packages. I don't want anything of gnome. I want a clean XFCE.

peratu@fujitsu ~ $ emerge --pretend fast-user-switch-applet

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-text/build-docbook-catalog-1.4 
[ebuild  NS   ] sys-devel/automake-1.5 [1.9.6-r2, 1.10.2]
[ebuild  NS   ] sys-devel/automake-1.7.9-r1 [1.9.6-r2, 1.10.2]
[ebuild  N    ] gnome-base/libbonobo-2.24.1  USE="-debug -doc" 
[ebuild  N    ] dev-python/gnome-python-base-2.22.3  USE="-debug" 
[ebuild  N    ] app-text/docbook-xsl-stylesheets-1.73.2 
[ebuild  N    ] dev-libs/libtasn1-1.8  USE="-doc" 
[ebuild  N    ] dev-python/pyorbit-2.24.0  USE="-debug" 
[ebuild  N    ] gnome-base/gnome-menus-2.24.2  USE="python -debug" 
[ebuild  N    ] gnome-base/gail-1000 
[ebuild  N    ] gnome-base/gnome-common-2.24.0  USE="-debug" 
[ebuild  N    ] gnome-base/gnome-mime-data-2.18.0  USE="-debug" 
[ebuild  N    ] dev-libs/libcroco-0.6.2  USE="-debug -doc" 
[ebuild  N    ] gnome-base/libgtop-2.24.4  USE="-debug" 
[ebuild  N    ] app-text/scrollkeeper-dtd-1.0 
[ebuild  N    ] app-text/rarian-0.8.1  USE="-debug" 
[ebuild  N    ] app-text/scrollkeeper-9999-r1 
[ebuild  N    ] gnome-base/libgnomecanvas-2.20.1.1  USE="X -debug -doc" 
[ebuild  N    ] gnome-base/gnome-keyring-2.22.3-r1  USE="hal pam -debug -doc -test" 
[ebuild  N    ] gnome-base/librsvg-2.22.3  USE="zlib -debug -doc" 
[ebuild  N    ] app-text/sgml-common-0.6.3-r5 
[ebuild  N    ] app-text/docbook-xml-dtd-4.3 
[ebuild  N    ] net-libs/gnutls-2.6.4  USE="cxx nls zlib -bindist -doc -guile -lzo" 
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.22-r2  USE="berkdb crypt gdbm ldap pam ssl -authdaemond -java -kerberos -mysql -ntlm_unsupported_patch -postgres -sample -srp -urandom" 
[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r6 
[ebuild  N    ] net-libs/libsoup-2.24.3  USE="ssl -debug -doc" 
[ebuild  N    ] dev-python/libgnomecanvas-python-2.22.3  USE="-debug -examples" 
[ebuild  N    ] gnome-base/gnome-mount-0.8  USE="-debug -nautilus" 
[ebuild  N    ] app-admin/sudo-1.7.0  USE="ldap pam -offensive (-selinux) -skey" 
[ebuild  N    ] app-text/docbook-xml-dtd-4.4-r1 
[ebuild  N    ] app-text/gnome-doc-utils-0.14.2  USE="-debug" 
[ebuild  N    ] gnome-base/gnome-vfs-2.24.0  USE="acl hal ssl -avahi -debug -doc -fam -gnutls -ipv6 -kerberos -samba" 
[ebuild  N    ] dev-libs/libgweather-2.24.3  USE="python -debug" 
[ebuild  N    ] gnome-base/gvfs-1.0.3-r2  USE="bluetooth hal -archive -avahi -bash-completion -cdda -debug -doc -fuse -gnome -gnome-keyring -gphoto2 -samba" 
[ebuild  N    ] x11-libs/libgksu-2.0.5  USE="nls -debug -doc" 
[ebuild  N    ] gnome-base/libgnome-2.24.1  USE="-debug -doc -esd" 
[ebuild  N    ] dev-python/gnome-vfs-python-2.22.3  USE="-debug -doc -examples" 
[ebuild  N    ] x11-libs/gksu-2.0.0  USE="-debug -doc -gnome" 
[ebuild  N    ] gnome-base/libbonoboui-2.24.1  USE="X -doc" 
[ebuild  N    ] gnome-base/gdm-2.20.9-r1  USE="pam tcpd -accessibility -afs -branding -debug -dmx -gnome-keyring -ipv6 -remote (-selinux) -xinerama" 
[ebuild  N    ] gnome-base/libgnomeui-2.24.1  USE="-doc" 
[ebuild  N    ] dev-python/libbonobo-python-2.22.3  USE="-debug -examples" 
[ebuild  N    ] dev-python/libgnome-python-2.22.3  USE="-debug -examples" 
[ebuild  N    ] gnome-base/gnome-desktop-2.24.3  USE="-debug -doc" 
[ebuild  N    ] gnome-base/gnome-panel-2.24.3-r1  USE="-doc -eds -networkmanager" 
[ebuild  N    ] gnome-extra/fast-user-switch-applet-2.24.0  USE="-debug" 

Offline

#7 2009-10-22 06:28:46

LesCoke
Member
From: Denton, Tx
Registered: 2009-10-22
Posts: 3

Re: Customize Xfce 4.6 logout dialog

Thanks Wapush;  I registered here to ask the same question, but did not turn up anything searching for disabling the hibernate / suspend in the logout menu, and ran across this thread while reading through the other postings.

Is there any documentation on what the various properties and channels settings do?

Thanks,
Les

Offline

#8 2009-10-22 06:44:47

s0ulslack
Member
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: Customize Xfce 4.6 logout dialog

Most of the properties are pretty self explanatory, you can poke over all of them with the Settings Editor (Settings-> Settings Editor).

Offline

#9 2009-10-22 07:03:51

LesCoke
Member
From: Denton, Tx
Registered: 2009-10-22
Posts: 3

Re: Customize Xfce 4.6 logout dialog

I can see the setting in there now, but the command shown above created those properties.  I wonder what other goodies are customizable if I only knew the property could be added. smile

Les

Offline

#10 2009-10-22 07:13:39

s0ulslack
Member
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: Customize Xfce 4.6 logout dialog

huh, should have already existed.  either when xfconf was installed, or xfce4-session.

Offline

#11 2009-10-22 07:29:12

LesCoke
Member
From: Denton, Tx
Registered: 2009-10-22
Posts: 3

Re: Customize Xfce 4.6 logout dialog

I have since logged out and back in, and no-longer have the output in a terminal, but when I first saw the xfconf-query command, I listed it's --help then issued:

xfconf-query --list -c xfce4-session

Before and after adding the /shutdown properties.  The before listing did not show them.

I'm running Gentoo, upgraded xfce from 4.4... to 4.6.1.  Both xfconf and xfce4-session are version 4.6.1.

Thanks,
Les

Offline

#12 2009-10-22 07:41:30

s0ulslack
Member
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: Customize Xfce 4.6 logout dialog

hmmm, I use Gentoo myself and was discussing this very issue earlier with one of the gentoo package maintainers for Xfce.  I'd been using svn/trunk since 4.2, just recently did I install all the official portage stuff so I'm haven't seen this issue personally but have seen alot of people mention it here, on the gentoo forums and in irc.

All of the channel/properties missing seem to be misc ones, I'm not sure if xfconf creates all the channels or each individual component is responsible for its own.   I'll investigate and report back.

Theres a incomplete list of channels etc @ http://wiki.xfce.org/settings4.6 though, as requested smile

Offline

#13 2009-10-22 08:06:48

brain)(vision
Member
From: Monte Los Angeles (Califoggia)
Registered: 2009-03-12
Posts: 47
Website

Re: Customize Xfce 4.6 logout dialog

WOW! I found discussion like those very very useful!!


leonardo
-linux user #483530
-registered machine 403135 --> hal9002
-registered machine 394211 --> hal9001

Offline

#14 2009-11-10 17:04:47

fafik
Member
Registered: 2009-11-09
Posts: 1

Re: Customize Xfce 4.6 logout dialog

Hi!!
I am using puppy linux with xfce. And I would like to change the appearance of the logout window-like change the icons for example or add some extra one. Is it possible? Is there any script that I could manipulate or something like that? smile

Offline

#15 2011-03-28 01:51:46

ccc
Member
Registered: 2011-02-03
Posts: 27

Re: Customize Xfce 4.6 logout dialog

Has someone found any solution howto remove completely '/shutdown/ShowLogout'?

Offline

#16 2011-08-03 13:29:03

bobbylang
Member
Registered: 2011-08-03
Posts: 1

Re: Customize Xfce 4.6 logout dialog

This is an rather old topic but I had the same problem:

How to remove the suspend/hiberate from the logout-window?

I am on ArchLinux and the settings-manager did not show me the above mentioned options, so I made them myself.
It is easy:

Open in your home ".config/xfce4/xconf/xfce-perchannel-xml/xfce4-session.xml" with mousepad/geany/any-editor.
Insert  INSIDE the channel "xfce4-session" the missing settings.

The new lines in my xfce4-session.xml:

<property name="shutdown" type="empty">
      <property name="ShowHibernate" type="bool" value="false"/>
      <property name="ShowSuspend" type="bool" value="false"/>
  </property>

bobby.

Offline

#17 2011-08-03 18:15:36

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Customize Xfce 4.6 logout dialog

Since the port to Xfconf the setting is configurable through the xfconf-query command line or xfce4-settings-editor.

    xfconf-query -c xfce4-session -p /shutdown/ShowSuspend

If this command doesn't print the current value you can create it with:

    xfconf-query -c xfce4-session -p /shutdown/ShowSuspend --create --set false --type bool

If the value already existe, omit the --create and --type parameters.

Same works for ShowHibernate.


Mike

Offline

#18 2011-09-29 18:57:30

fads
Member
Registered: 2011-06-02
Posts: 6

Re: Customize Xfce 4.6 logout dialog

I have the same question as CCC, concerning Logout button - how to disable it? Or, alternatively, how to shutdown the computer after logout?
I start xfce manually - by startxfce4 command.

Offline

#19 2012-04-28 04:48:43

Digger
Member
Registered: 2012-01-18
Posts: 26
Website

Re: Customize Xfce 4.6 logout dialog

bobbylang wrote:

This is an rather old topic but I had the same problem:

How to remove the suspend/hiberate from the logout-window?

I am on ArchLinux and the settings-manager did not show me the above mentioned options, so I made them myself.
It is easy:

Open in your home ".config/xfce4/xconf/xfce-perchannel-xml/xfce4-session.xml" with mousepad/geany/any-editor.
Insert  INSIDE the channel "xfce4-session" the missing settings.

The new lines in my xfce4-session.xml:

<property name="shutdown" type="empty">
      <property name="ShowHibernate" type="bool" value="false"/>
      <property name="ShowSuspend" type="bool" value="false"/>
  </property>

bobby.


bobby,

Thanks for this....worked like a champ!

I inserted your lines just above the file's last line (</channel).


Xfce 4.6.2; Debian Squeeze

Offline

Board footer

Powered by FluxBB