On Mon, 08 Dec 2008 07:25:41 +0100
Yves-Alexis Perez <[email protected]> wrote:

> On dim, 2008-12-07 at 18:06 -0500, Daniel Dickinson wrote:
> > 
> > Okay, thanks.  I don't suppose there is anyway of making this easier
> > to
> > find for new users?  Is it on the wiki?  (Not that I thought to look
> > there, but someone might).  What about as a 'tip'?
> 
> That may be a good idea yeah. Could you word a patch for the tips (I
> think it can be applied upstream too if generic enough).

Okay, I'm thinking of two tips:

If you want to shutdown without entering your password and you have
D-Bus and HAL (most modern desktops do), then add yourself to the
'powerdev' group.   

On Debian this can be accomplished with 
su -c 'adduser login-namepowerdev' 
from the terminal (replacing login-name with your user name).


--

If you want to shutdown without entering your password and you have
'sudo' installed (almost all desktops will), then you need to
edit /etc/sudoers to contain a line such as the following:

login-name      ALL=(root) NOPASSWD: /usr/sbin/xfsm-shutdown-helper

(replacing login-name with your user name).  On Debian this can be
accomplished typing 'su -c visudo' in the terminal.

--

The second one may be different for non-debian systems because the
readme from upstream says /usr/local/libexec/xfsm-shutdown-helper

The first one only is correct of other systems also use powerdev
otherwise it too is debian-specific.

It might be possible to infer the names of those things from the type
of system ./configure is running on and the --xx-prefix options given


If those are too wordy, or too short and can be lengthened without
being too much for a tip, let me know.  If they're the right length but
you feel they need work I'll try to improve them.

Regards,

Daniel
-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
The C Shore: http://www.wightman.ca/~cshore

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel

Reply via email to