I have a Tkinter program running on one of those ASUS EeePC's  
(Xandros Linux).  When you close the lid the computer goes into  
standby.  Does anyone know what/if any signal would be sent to my  
program?  I've tried the obvious ones (SIGHUP, SIGTSTP, etc.) but  
haven't seen them.  I need to close some virtual comm ports (for a  
USB to serial dongle) before the thing shuts down or it isn't pretty  
when the lid is reopened; the /dev/ttyUSBx devices just aren't there  
for the program to access.  If the ports aren't in use when the lid  
is closed everything seems to come back up OK.

Thanks!

Bob

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to