Skip to content

Instantly share code, notes, and snippets.

@android10
Last active May 13, 2023 01:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save android10/a8e38cdba805890c4d94e9eb8dfb76db to your computer and use it in GitHub Desktop.
Save android10/a8e38cdba805890c4d94e9eb8dfb76db to your computer and use it in GitHub Desktop.
Arch Linux Troubleshooting - Also other distros

Well-known problems you might face when using Arch Linux

These are a list of things I have been experiencing and their possible solutions


Gnome 3 Settings screen does not open


Gnome 3 Tweaks screen does not open

  • Issue:

    • gnome-tweaks
    • Traceback (most recent call last):
        File "/usr/bin/gnome-tweaks", line 13, in <module>
          import gi
      ModuleNotFoundError: No module named 'gi'
  • Solution:

    • Change python3 location on tweaks tool configuration file.
    • sudo nano /usr/bin/gnome-tweaks
    • Replace on file
    • #!/usr/bin/env python3 to #!/usr/bin/python3

@nivhty
Copy link

nivhty commented Jul 14, 2021

Thank for this, I have just got the issue with "Gnome 3 Tweaks screen does not open". The error is shown when running gnome-tweaks from the terminal. This fix it.

@android10
Copy link
Author

@nivhty you are welcome! yes, that is a common error unfortunately. Happy to see that this FIX is still working since sometimes with you new versions coming up there are breaking changes.

@MohaSharara
Copy link

It was already #! /usr/bin/python3 but same problem !

@nivhty
Copy link

nivhty commented Mar 14, 2022

You might want to check if your python3 is upgraded recently, the linked /usr/bin/python3 might have pointed to the new version of python3 which doesn't have the installed python modules because the path of the site-packages folder has been changed due to the upgrade.

@djhunter67
Copy link

This solved worked for me.

I just changed:

  • #!/usr/bin/env python3 to #!/usr/bin/env python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment