You are not logged in.
Pages: 1
Hi all,
I'm using xfce4-battery plugin for my laptop, there are 2 actions and I want the critical action to automaticaly shutdown the system.
I tried directly with the command "shutdown -h now" but nothing happened, thus I tried with sudo (It could be a problem of rights) but the same result
Any idea ?
Thank you for advance
Offline
Yes, you'll need to use sudo and make sure that you're allowed to run the command without a password.
/etc/sudoers
username ALL=NOPASSWD:/sbin/shutdown -h now
Offline
I had already configured sudo for shutdown. But it works now cause I choose "run command", before it was "run command in terminal"....
Sorry, it was a stupid mistake
thanks.
Offline
Hi all.
What if I would make use of HAL (I'm using Xfce 4.4) to shutdown on critical battery power? What command should I use in the plugin? I've already tried xfsm-shutdown-helper, but with no result (maybe there's some argument to pass to it?).
Thanks.
Offline
Do we need a plug in in order to use XFCE on a laptop?
I have xfce installed on an Apple iBook laptop but although the batery seems Ok,I can't use the computer only with battery.
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 529.75 KiB (Peak: 532.34 KiB) ]