agwells / pywo

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

Lubuntu autostart runs two copies of PyWO, shortcuts don't work #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run Ubuntu 10.10 with the Lubuntu desktop
2. append "pywo --daemon" or "@pywo --daemon" to
   /etc/xdg/lxsession/Lubuntu/autostart
3. log out and back in to your desktop
4. try to use PyWO keyboard shortcuts
5. pgrep -lf pywo

What is the expected output? What do you see instead?
There should be one PyWO process and keyboard shortucts should work normally. 
Instead, there are two:
$ pgrep -lf pywo
1787 /usr/bin/python /usr/local/bin/pywo --daemon
1798 /usr/bin/python /usr/local/bin/pywo --daemon
and the shortcuts don't work.

What version of the product are you using? On what operating system?
Revision 176 on Ubuntu 10.10, lubuntu-desktop (Openbox)

Please provide any additional information below.
The @ prefix in the autostart file should make the process respawn if it dies.

PyWO works correctly if I remove it from the autostart file, log out and back 
in, and start it with Alt-F2 pywo --daemon.

Other processes listed in the autostart file seem to work correctly and have 
only one copy running.

Original issue reported on code.google.com by akaih...@gmail.com on 3 May 2011 at 6:32