I would say go in the Control Center -> Power Control -> Laptop Battery and in the Battery tab uncheck the Notify when battery is fully charged option.Originally Posted by voldemort_b
Hi,
Newbie here. Installed Knoppix to harddisk, making it Debian unstable. I'm using gnome. Dell Latitude laptop. I'm getting this very annoying audio message, about every minute: "Battery is fully charged. Please embark a power supply." Note: I've been running the computer plugged in the whole time. Does anybody have any idea 1) what's responsible for this message, and 2) how to disable it? I've been looking around in all the menus on the desktop for ages, but haven't found anything helpful.
Oh, I doubt this has anything to do with it, but I have a UPS attached to the computer via serial port.
Thanks in advance,
V.
I would say go in the Control Center -> Power Control -> Laptop Battery and in the Battery tab uncheck the Notify when battery is fully charged option.Originally Posted by voldemort_b
Thanks for the try. But looking through the menus in Gnome, I didn't find a control center > power control. The only thing I COULD do, which I tried, was to right-click on the bar at the top of the screen, choose Add > Utilities > Battery Monitor. Then if I right-click on the icon and chose preferences, I DO have an option "notify when battery is fully charged". That was checked, so I cleared the checkbox. But unfortunately, I'm still getting the annoying audio message anyway. Checking the preferences again, I see that that option is NOT selected anymore. Yet the message still comes.
Please help me - it's SOOOOOOOOOOo annoying!
V.
It would be in KDE so no wonderOriginally Posted by voldemort_b
. I never use Gnome so cannot be of much help here, the only thing I can think of is use lsof /dev/dsp when it happens and see what program is using it for the output that may give you a clue as to what is going on or maybe running top in a console window and see if you can catch the process as it is happening.
I tried that (lsof /dev/dsp) but it didn't return any value. I had it pasted into a terminal window, and waited to hit enter until the message began. Still, nothing.
Next time I log in I'll try loging into KDE to see if I can do what you previously suggested that in there.
Anybody else have an idea?
Thanks,
V.
When I wrote before that lsof /dev/dsp gave me no results, that's when I was running it as a regular user. After posting my previous reply, I decided to try it as root, and it DID give me a result:
So pardon me for asking, but what do I do with this information? What do I do now?Code:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME flite 24929 root 3w CHR 14,3 128047 /dev/dsp
Thanks,
V.
Well normally you would do something like this.Originally Posted by voldemort_b
To try and find out what the program does (if you want a more detailed description apt-cache show flite) and it looks like you have the culprit now you can either use kill 24929 (the PID number) as root and see if it solves the problem at least till you restart while making sure your sound still works for other programs. If so then you may want to kill it off everytime you start or look into removing the package (apt-get -s --purge remove flite) if the simulation does not want to remove half the system then you would check out what the other packages it would remove do and see if you can live without them if you can then remove the packages by taking the -s out of the line.Code:>$ apt-cache search flite eflite - Festival-Lite based emacspeak speech server yasr - General-purpose console screen reader flite - A small run-time speech synthesis engine flite1-dev - A small run-time speech synthesis engine - static libraries libflite1 - a small run-time speech synthesis engine - shared libraries
the PID seems to change at each instance of the message, such that when I do kill after the message has already been said, it says "no such process".
Also, if flite's a speech synthesizer, I'd much rather find who's SENDING flite the instructions to give me the stupid message than just killing flite. Maybe one day there'll be other messages that I *will* want to hear from flite. It sounds kind of like plugging your ears when your kid's screaming, instead of figuring out WHY the kid's screaming and getting him to stop.
Okay, I found the solution, and I'm posting it here in case anyone else experiences this problem and can't figure out how to deal with it.
As I thought before, flite isn't the culprit. In fact, flight's a pretty cool little tool. If you have it installed, try typing in a shell:
You will then hear your computer say those words. Maybe silly, maybe unnecessary, but cute.Code:echo "hello there, how are you today?" | flite
Even though I didn't want to remove it (yet), I did
just to see what stuff it would remove (note the important '-s' there, so that it doesn't actually remove anything). It showed me that:Code:apt-get -s --purge remove flite
Next I did apt-cache show abc, and lo and behold:Code:The following packages will be REMOVED: abc* flite*
Ignoring the spelling mistake, I tried running 'abc' to see if it was configurable, but bash said no such command. So I did 'man abc' and found out that there were two scripts that it used, one called "battery_monitor" and one called "battery_level_control". Examining both the man page of "battery_monitor" and the actual file itself (I used "whereis battery_monitor" to locate it), I discovered that it only invokes "battery_level_control". So I checked out "battery_level_control", edited it with nano, and commented out the lines that dealt with a full battery. And it worked!Code:Description: Battery information and Audio Allarm This Script provide a Configurable Speaking Allarm for Battery Level Monitoring.
Now, if my battery ever runs low, it will tell me. When it's full, though, it does nothing. Just what I wanted. Who in the world immediately unplugs their computer once the battery's full, anyway? At least the person who made the script should have made it configurabe!
To close, this should be a lesson to me and everyone else about not installing things that you don't necessarily want or need. Right at the beginning, after I installed linux on my HDD, I wanted to get and use "ABC" - "Another Bittorrent Client" that I'd been using in windowsXP. From their website it seemed that they had a linux version as well. So without checking that 'abc' was the correct package for it, I just did an 'apt-get install abc', without knowing what it was really installing. And that turned out to be the source of my troubles!
Thank-you Stephen for helping me solve this.
V.[/b]

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25
NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$44.99
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99
TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
5 Port Gigabit Unmanaged Ethernet Switch, AUMOX PRO Home 5|5*1G Port, Black
$8.95
Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00
TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$99.99
Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99
Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP
$127.00