Pausing/unpausing process when system is idle

Aaron Wilcox <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
I'm running a GPU distributed computing program, but Xorg lags very 
badly when it is running. What I'd like to do is have the GPU program 
pause when I'm using the computer, and unpause when the desktop locks 
itself because I'm not using the computer. The running client can easily 
be paused & unpaused, but what I need to find out is how to have the 
computer trigger this behaviour automatically when it locks and unlocks 
the desktop. I'm running Linux Mint 14 (Nadia) with the Cinnamon GUI. Is 
there a way to have the computer run an arbitrary command when it's 
locking & unlocking the desktop?
-- 


      Aaron Wilcox

GMail <mailto:[email protected]>
Sympatico <mailto:[email protected]>

-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.