Skip to content

Instantly share code, notes, and snippets.

@android10
Last active May 13, 2023 01:07
Show Gist options
  • 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 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