$ gdevilspie Traceback (most recent call last): File "/usr/bin/gdevilspie", line 893, in <module> MainWindow = RulesListWindow() File "/usr/bin/gdevilspie", line 374, in __init__ self.UpdateAutostartStatus() File "/usr/bin/gdevilspie", line 545, in UpdateAutostartStatus if (os.path.exists(xdg.DesktopEntry.xdg_config_home + "/autostart/devilspie.desktop")): AttributeError: 'module' object has no attribute 'xdg_config_home'
And looks like it was already dropped from Debian and Fedora due to this issue :/
Created attachment 401576 [details, diff] Patch to fix the gdevilspie bug For what it's worth, this attachment is a patch to fix the bug and run the program. Anyway I no longer use (g)devilspie and I replaced it with devilspie2[1], which although does not have GUI, at least is best documented[2] (which allows to make scripts more easily). ---- [1]: https://packages.gentoo.org/package/x11-misc/devilspie2 [2]: http://git.savannah.gnu.org/cgit/devilspie2.git/plain/README
For what it's worth, the attachment is a patch to fix the bug and run the program. Anyway I no longer use (g)devilspie and I replaced it with devilspie2[1], which although does not have GUI, at least is best documented[2] (which allows to make scripts more easily). ---- [1]: https://packages.gentoo.org/package/x11-misc/devilspie2 [2]: http://git.savannah.gnu.org/cgit/devilspie2.git/plain/README
I used gdevilspie back in january when I set up a new computer, and I remember it didn't run due to this error, but I got it working with some hack I found online. Unfortunately I don't remember what I did, so I'm sorry I don't have any useful info to add, but IMO it's still a useful software and if Agustin's patch works, please keep this in the tree.
Created attachment 401754 [details] gdevilspie-0.5-r1.ebuild I have tried to port it to the new eclasses (distutils-r1.eclass) but it still doesn't work. It now fails showing a window with "Glade file not found, exiting" error
Created attachment 402026 [details, diff] Updated patch (In reply to Pacho Ramos from comment #5) > Created attachment 401754 [details] > gdevilspie-0.5-r1.ebuild > > I have tried to port it to the new eclasses (distutils-r1.eclass) but it > still doesn't work. It now fails showing a window with "Glade file not > found, exiting" error I was doing some tests with your ebuild, the error is because that the program tries to find the gdevilspie.glade file in /usr/lib/python-exec/python2.7/ and /usr/lib/python-exec/share/gdevilspie/ being that is located in /usr/share/gdevilspie/gdevilspie.glade (at least in my case). Thus far I discovered two ways to solve this problem: * Running `mv /usr/lib/python-exec/python2.7/gdevilspie /usr/bin/gdevilspie` in a root console. * Otherwise attached to this message I leave a new version of the patch so that gdevilspie can find gdevilspie.glade and gdevilspie.png using the PATH variable system. With either of these two solutions gdevilspie should be able to function normally.
+*gdevilspie-0.5-r1 (26 Apr 2015) + + 26 Apr 2015; Pacho Ramos <pacho@gentoo.org> +files/gdevilspie-0.5-paths.patch, + +gdevilspie-0.5-r1.ebuild, -gdevilspie-0.5.ebuild: + Fix bug #539638, thanks a lot to Agustin Ferrari + Thanks a lot If you are willing to proxy maintain this please let me know ;) https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers