Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyGobject isn't installed #61

Open
MartinBagge opened this issue Jun 12, 2020 · 5 comments
Open

PyGobject isn't installed #61

MartinBagge opened this issue Jun 12, 2020 · 5 comments

Comments

@MartinBagge
Copy link

Hello,

I have this issue even after installing every package listed and making sure PyGobject is installed on the system. If I open a Python shell and do "from gi.repository import Gtk, Gdk" i get the following error :

ImportError: cannot import name Gtk, introspection typelib not found

I have tried to reinstall gtk on my system but the error persists.
I'm trying to run this on ubuntu 20.04 do you think this version is the problem?

Best regards

@MartinBagge
Copy link
Author

Can someone post an example of a config file in case I don't get the GUI working?

@MartinBagge
Copy link
Author

Okay, I wasn't aware that Ubuntu 20.04 uses xcb and switching to the the xcb branch partly solved the error. Now it changed to: name 'Gtk' is not defined

@MartinBagge
Copy link
Author

MartinBagge commented Jun 12, 2020

I added the changes in commit 9fcb445 into the xcb branch locally and this seems to solve "name 'Gtk'" error.

Now it prints out "There does not exist a configuration in /home/mbg/.config/fakexrandr.bin yet."

@MartinBagge
Copy link
Author

Nvm I'm confused about this issue. Can't seem to do much to get it working :(

@MartinBagge
Copy link
Author

Okay, I wasn't aware that Ubuntu 20.04 uses xcb and switching to the the xcb branch partly solved the error. Now it changed to: name 'Gtk' is not defined

Not sure 20.04 actually uses xcb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant