You are not logged in.
I just updated to xfce 4.2.0, and wanted to be able to shutdown from the menu, as descripe here: http://xfce.org/index.php?page=document … =en#logout
but it doesn't seems to be doable with xfce4 from arch, do i need some extra packages, or do i need to recompile with other options, or..?
Offline
Hey tgc,
I had the same exact problem I'm looking throught my notes right now to see where I documented this issue. How ever first thing that you need to do is edit this file,
/etc/sudoers:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
%users localhost=/sbin/shutdown -h now
zero tropic=/home/zero/xfce4/libexec/xfsm-shutdown-helper
Now you just need to pay attention to the bottom line,
zero tropic=/home/zero/xfce4/libexec/xfsm-shutdown-helper
all you have to do is subsitute a few things to fit your computer.
The first thing you have to substitute is ' zero ' for YOUR user name . The second thing is substitute ' tropic ' for YOUR host name. The third thing that you have to change is the ' /home/zero/xfce4/libexec/xfsm-shutdown-help ' to the actuall path to xfsm-shutdown-helper. If you installed from the arch repos it should be somewhere in /opt/xfce4/* .
That should be all, if that didn't work it's because there is a command that you have to run, that is what I am looking for right now...... I'll post back when I can find it, hopefully what we just did will work if not give me sometime.
-Luis
Offline
The first thing you have to substitute is ' zero ' for YOUR user name . The second thing is substitute ' tropic ' for YOUR host name. The third thing that you have to change is the ' /home/zero/xfce4/libexec/xfsm-shutdown-help ' to the actuall path to xfsm-shutdown-helper. If you installed from the arch repos it should be somewhere in /opt/xfce4/* .
xfsm-shutdown-helper doesn't exist in /opt/xfce4/*
Is it hdden in some wierd package?
Offline
darn it I just noticed that too. Hmm this is odd, I'm not sure if it doesn't exist or it's renamed to something else. I think that it might be hidden, let me look for it on my system.
-Luis
EDIT: bah easy fix here is the full path to it ,
/opt/xfce4/libexec/xfsm-shutdown-helper
Offline
darn it I just noticed that too. Hmm this is odd, I'm not sure if it doesn't exist or it's renamed to something else. I think that it might be hidden, let me look for it on my system.
-Luis
EDIT: bah easy fix here is the full path to it ,
/opt/xfce4/libexec/xfsm-shutdown-helper
I don't have the /opt/xfce4/libexec/ dir
What packages does xfsm-shutdown-helper belongs to?
BTW, can't the sudo-thingy be done using a shutdown group?
Offline
Well I don't know what packages they belong to, but you should of done ' pacman -S xfce4 ' and that would of handled all of the packages, I think that you might of done ' pacman -S xfce ' you don't want that you want the ' pacman -S xfce4 '
As for the shutdown group I have tried it but it doesn't work with xfce4
-Luis
Offline
OK, finally got it working
It was the xfce4-session package i missed, it didn't install when i upgraded from 4.0.6 i guess.
thx for helping out
Offline