Ask Your Question
1

Why is gnome-tweak-tool not opening?

asked 2018-03-18 02:46:49 -0600

Sagnik_Chaudhuri gravatar image

After installing Anaconda-Navigator latest version, I found that the tweak tool doesn't open. This is the output that I get :

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

I also found this but don't know how to resolve - https://www.reddit.com/r/Fedora/comme...tweaktooldoesntopenonfedora_25/dg8z0wk/

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-03-18 07:16:05 -0600

MaoTao gravatar image

Try this:

sudo vim $(which gnome-tweak-tool) (or sudo gedit $(which gnome-tweak-tool) if you prefer)

and delete "env " from the shebang at the first line leaving only #!/usr/bin/python3

Save, and open again.

edit flag offensive delete link more

Comments

Can't open gedit with sudo.

Sagnik_Chaudhuri gravatar imageSagnik_Chaudhuri ( 2018-03-18 12:32:56 -0600 )edit

Because Wayland wouldn't allow you to run graphical applications with root permission.

florian gravatar imageflorian ( 2018-03-18 22:35:01 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-03-18 02:46:49 -0600

Seen: 1,277 times

Last updated: Mar 18 '18