You are not logged in.

#1 2005-01-17 14:37:46

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Shutting down from xfce4

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

#2 2005-01-17 15:28:18

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Shutting down from xfce4

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

#3 2005-01-17 15:39:11

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: Shutting down from xfce4

Jet2k5 wrote:

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/* sad
Is it hdden in some wierd package?

Offline

#4 2005-01-17 15:48:37

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Shutting down from xfce4

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 tongue  here is the full path to it ,

/opt/xfce4/libexec/xfsm-shutdown-helper

Offline

#5 2005-01-17 16:00:34

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: Shutting down from xfce4

Jet2k5 wrote:

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 tongue  here is the full path to it ,

/opt/xfce4/libexec/xfsm-shutdown-helper

I don't have the /opt/xfce4/libexec/ dir sad
What packages does xfsm-shutdown-helper belongs to?

BTW, can't the sudo-thingy be done using a shutdown group?

Offline

#6 2005-01-17 16:08:52

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Shutting down from xfce4

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

#7 2005-01-17 16:45:34

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: Shutting down from xfce4

OK, finally got it working smile
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 smile

Offline

Board footer

Powered by FluxBB