LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2010, 11:10 AM   #1
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 14.2 and current
Posts: 410

Rep: Reputation: 72
low battery alarm fluxbox


I'm using fluxbox on my eee pc 1000h and use conky to display % battery charge but (unlike my previous laptop) I don't get a hardware-triggered beep warning me of low battery.

I've done a bit of searching but haven't yet found a neat software solution for either a beep or toolbar notification. Any suggestions?

(I'm not wanting to switch back to KDE right now.)
 
Old 04-19-2010, 11:38 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,382

Rep: Reputation: Disabled
Perhaps a shell script to measure alarm and do the beep. Run it as a daemon at boot. I'm only familiar with Thinkpad acpi but there should be an acpi device corresponding to battery level.
 
Old 04-19-2010, 11:57 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
I know with gkrellm you can add an alert to the battery config, and make it run a command (probably beep) when the battery gets to a certain percent.
 
Old 04-19-2010, 12:17 PM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,097

Rep: Reputation: 217Reputation: 217Reputation: 217
Did you do a full slack install? If so, KDE's guidance power manager can be run and iconified; otherwise, I have an inelegant script that invokes xosd, and coloured and flashing warnings (can be extended to call fire department, spouse, and turn on the garbage disposal, if necessary) that you're welcome to if you promise not to poke fun at it....

There are also a few other wm solutions, though I found all of them *ugly*. I'll post back if/when I dig them up.

edit:...here's a previous thread with a couple of suggestions...
http://www.linuxquestions.org/questi...t-apps-786292/

cheers,

Last edited by mrclisdue; 04-19-2010 at 12:28 PM.
 
Old 04-19-2010, 12:43 PM   #5
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 14.2 and current
Posts: 410

Original Poster
Rep: Reputation: 72
thanks folks - will give the kde app and gkrellm a go. I've already got kmix and amarok on the tool bar, so I should've thought of that myself. Doh!

Actually, what is the kde4 equivalent of 3.5's kpowersave?

I found scripts such as this. while[ true ] with a sleep command inside it doesn't seem all that elegant to me, but thinking on it, I can't think of a clear reason why it's bad. Feel free to provide me with one though

BTW you've all got great sigs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No warning/action when battery is low ronaldv Linux - Laptop and Netbook 3 02-05-2008 03:37 AM
Gnome Battery Monitor False Alarm terracotta Linux - Laptop and Netbook 0 03-21-2006 04:53 PM
Low Battery notification in Gnome? burki Linux - Laptop and Netbook 4 03-11-2005 10:41 PM
low battery life d4nr Linux - General 2 08-05-2004 04:49 AM
Low battery logout in Fedora fcp101 Linux - Software 0 07-23-2004 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration