gdevilspie under kde4

hi, I would like to make working gdevilspie from malcomlewis repo. I am using kde4 current under 13.1.
my try smells the missed dependencies, knows somebody something about? I get:


msi_user@linux-x3y3:~> gdevilspie

** (gdevilspie:22229): WARNING **: Trying to register gtype ‘WnckWindowState’ as enum when in fact it is of type ‘GFlags’

** (gdevilspie:22229): WARNING **: Trying to register gtype ‘WnckWindowActions’ as enum when in fact it is of type ‘GFlags’

** (gdevilspie:22229): WARNING **: Trying to register gtype ‘WnckWindowMoveResizeMask’ as enum when in fact it is of type ‘GFlags’
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’
msi_user@linux-x3y3:~>

On Tue 21 Oct 2014 05:16:01 AM CDT, Capodastro wrote:

hi, I would like to make working gdevilspie from malcomlewis repo. I am
using kde4 current under 13.1.

AttributeError: ‘module’ object has no attribute ‘xdg_config_home’
msi_user@linux-x3y3:~>

Hi
Have a read here and see if commenting out line 374 helps;


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

tomorrow I’ll “take a look”
thanks

hi malcomlewis,
yes, it works!

  • used the gdevilspie in your repo.
  • patched with the downloaded xdg_basedirectory.patch
  • it works, I tested it giving in a window caption for a window to close.
  • I think it could be repacked and replace the present version in your repo.

GREAT, BIG THANKS !!!

On Wed 22 Oct 2014 08:46:01 AM CDT, Capodastro wrote:

hi malcomlewis,
yes, it works!

  • used the gdevilspie in your repo.
  • patched with the downloaded xdg_basedirectory.patch
  • it works, I tested it giving in a window caption for a window to
    close.
  • I think it could be repacked and replace the present version in your
    repo.

GREAT, BIG THANKS !!!

Hi
I’ve re-added to my TESTING repo as well as adding a modified patch. It
may take some time to rebuild as OBS is in cold startup after some
maintenance,


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-21-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!