Skip to contentSkip to conversation

Asus m6n mail LED

DISCUSSION Fischer Tibor 1 participant 2 messages Sep 1, 2004 – Sep 2, 2004 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

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

Quoted 9 lines · Fischer Tibor

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

Quoted 11 lines

-------------------------------------------------------
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 [email protected]
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