Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Ubuntu 11.10 with Gnome Shell and have a problem with gnome-tweak-tool. When I click on it, it does nothing and when I try to open with terminal it gives this error:

Traceback (most recent call last):
File "/usr/bin/gnome-tweak-tool", line 22, in <module>
import gi
ImportError: No module named gi

I googled a bit, found some solutions (reinstalled some python-gobject packages), but still didn't help./

share|improve this question
add comment

1 Answer

Little workaround found here:

sudo nano /usr/bin/gnome-tweak-tool

Change #!/usr/bin/env python to #!/usr/bin/python

share|improve this answer
    
Should have known to do this already, had the same problem with diffuse. Not sure why installed "binaries" seem to be so deferential towards using the current env Python. –  Nick T Nov 25 '13 at 20:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.