giuspen / x-tile

X Tile
https://www.giuspen.net/x-tile/
Other
69 stars 13 forks source link

Glade isn't showing up #19

Closed Raymo111 closed 2 years ago

Raymo111 commented 2 years ago

Screenshot_20210916_174019 Am I missing a dependency or something? (I installed from the AUR and I also have glade installed. Clicking OK results in all the windows being tiled to the top left and I can set the positions manually from the config file just fine. Thanks for making this!

giuspen commented 2 years ago

try and run "x-tile" from a terminal, is it printing any error?

Raymo111 commented 2 years ago

2 errors:

$ x-tile
WM = KWin
libc.prctl not available, the process name will be python and not x-tile # on launch
TypeError: Couldn't find foreign struct converter for 'cairo.Context' # on opening custom tile settings.

Based on that I installed the python-cairo package and it works now! Thanks.

Out of curiosity how do I fix the first error? I tried installing python-prctl but that didn't do anything, maybe I need to relogin for that to work?

Raymo111 commented 2 years ago

The last AUR maintainer disowned the package and I adopted it and added the dependencies.

giuspen commented 2 years ago

I'm glad you found out The cairo.Context looks like a python gobject binding, I'm not familiar with archlinux, in Ubuntu I would try something like gir1.2-cairo-1.0

Raymo111 commented 2 years ago

Yep yep. Thanks for your help!