iamer / gdevilspie

Automatically exported from code.google.com/p/gdevilspie
GNU General Public License v3.0
3 stars 1 forks source link

gdevilspie spotty on multi-user server (fixed with one minor change) #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use gdevilspie in a multi-user environment (i.e. a terminal server)
2. Try to interact with the daemon when someone else also has it running
3. See it doesn't work on the daemon unless you get lucky re: ordering of pids

What is the expected output? What do you see instead?
- ability to interact with daemon

What version of the product are you using? On what operating system?
0.31 on Ubuntu Jaunty

Please provide any additional information below.
problem is due to looking only for process named 'devilspie' rather than
verifying it's for the right user ... added -u $USER to line 473 (pgrep
call) of gdevilspie: 'prog = commands.getoutput("pgrep -x devilspie -u
$USER")' fixes the problem

Original issue reported on code.google.com by adam.fo...@gmail.com on 12 May 2010 at 2:09

GoogleCodeExporter commented 9 years ago
I've just applied the change to svn thanks. Can you please verify.

Original comment by pha...@gmail.com on 21 May 2010 at 11:51

GoogleCodeExporter commented 9 years ago
Looks good!  Thanks!!

Original comment by adam.fo...@gmail.com on 14 Jun 2010 at 6:04