I would like to have my window/desktop manager turn on/off a process on entering/exiting a virtual desktop.
I know how to write the script, except I have no experience with scripts that listen for X events or even how these events are handled.
The motivation for this is: firefox uses a lot of cpu and chews through a battery. At the moment, I am manually sending it STOP and CONT signals. I want to automate this.
-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- ---------------------------------------------------------------------- You can find the EdLUG mailing list FAQ list at: http://www.edlug.org.uk/list_faq.html
|
This archive is kept by wibble+RM@xxx.xxx.xxx Morpheux | HomePage |