Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
event_when_closed_battery for XFCE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Mon Dec 23, 2013 9:08 am    Post subject: event_when_closed_battery for XFCE Reply with quote

Hi,
I am trying to setup XFCE on my system. The aim is to set it up to my tastes and then uninstall gnome. One feature I love from gnome-power-manager is event_when_closed_battery. The battery event fires even if the laptop lid is closed. So, I can simply close the lid at the end of the day and disconnect power without worrying if the laptop would suspend successfully or not. Can this be done in XFCE?

Thanks.

--cyberjun
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17813

PostPosted: Tue Dec 31, 2013 10:58 pm    Post subject: Reply with quote

It would appear so, but I don't have it installed on a laptop to test.

Quote:
xfce4-power-manager is an application to monitor and manage power usage. This is especially important for laptops! The power manager allows you to adjust screen brightness, choose maximum performance or battery-saving modes, and setup hibernate, suspend, and shutdown actions when the lid is shut or buttons are pressed. You can setxfce4-power-manager to warn you when your battery reaches certain levels, or even turn off your machine. The application comes with a couple of helpful panel plugins to display battery/charging status, and a brightness control.
https://wiki.gentoo.org/wiki/Xfce/HOWTO#Useful_programs
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Fri Jan 03, 2014 2:06 pm    Post subject: Reply with quote

Hi,
I am already using xfce4-power-manager. However it doesn't detect adaptor-disconnect event if the lid is already closed. I am now using custom dbus commands in conjunction with /etc/acpi/default.sh

--cyberjun
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum