You are not logged in.
Pages: 1
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
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
perfect!
thank you!
Offline
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
Another solution would be to change the autofocused button from logout to shutdown, i am looking for how to do that.
Offline
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
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
Most of the properties are pretty self explanatory, you can poke over all of them with the Settings Editor (Settings-> Settings Editor).
Offline
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.
Les
Offline
huh, should have already existed. either when xfconf was installed, or xfce4-session.
Offline
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
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
Offline
WOW! I found discussion like those very very useful!!
leonardo
-linux user #483530
-registered machine 403135 --> hal9002
-registered machine 394211 --> hal9001
Offline
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?
Offline
Has someone found any solution howto remove completely '/shutdown/ShowLogout'?
Offline
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
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
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
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
Pages: 1
[ Generated in 0.018 seconds, 9 queries executed - Memory usage: 620.86 KiB (Peak: 654.14 KiB) ]