* Asus m6n mail LED
@ 2004-09-01 18:29 Fischer Tibor
[not found] ` <413614EE.4000802-RTHRExztqpST9ig0jae3mg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Fischer Tibor @ 2004-09-01 18:29 UTC (permalink / raw)
To: ACPI mailing list
Hi,
i us gentoo on my asus m6800n. i would like mozilla thunderbird, to turn
on my mail led, when new mail arrrives, and turn it off, when i made it
read.
is it possible somehow ?
thx,
Fishy
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <413614EE.4000802-RTHRExztqpST9ig0jae3mg@public.gmane.org>]
* Re: Asus m6n mail LED [not found] ` <413614EE.4000802-RTHRExztqpST9ig0jae3mg@public.gmane.org> @ 2004-09-02 19:21 ` Fischer Tibor 0 siblings, 0 replies; 2+ messages in thread From: Fischer Tibor @ 2004-09-02 19:21 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f hi, i made it work, so if someone interested here is the solution. it works with other types too i made a file /root/mailcheck.sh with content: #!/bin/bash old=$(cat /tmp/size) new=$(du -s /home/fishy/.thunderbird/default/sgzo838b.slt/Mail | cut -f 1) du -s /home/fishy/.thunderbird/default/sgzo838b.slt/Mail |cut -f 1 >/tmp/size if [ "$old" == "$new" ]; then echo 0 >/proc/acpi/asus/mled else echo 1 >/proc/acpi/asus/mled fi and put */2 * * * * /root/mailcheck.sh into /etc/crontab crontab /etc/crontab it checks mail dir's size in 2 mins, and the led will also lighht for 2 min's exchange the directory names to yours BR, Fishy Fischer Tibor wrote: > Hi, > > i us gentoo on my asus m6800n. i would like mozilla thunderbird, to > turn on my mail led, when new mail arrrives, and turn it off, when i > made it read. > is it possible somehow ? > > thx, > Fishy > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-02 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-01 18:29 Asus m6n mail LED Fischer Tibor
[not found] ` <413614EE.4000802-RTHRExztqpST9ig0jae3mg@public.gmane.org>
2004-09-02 19:21 ` Fischer Tibor
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox