Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Dec 2017
    Location
    Argentina
    Posts
    271

    Cannot fix issue with redshift-gtk


    Hello! I am trying to use the command, and I get:

    Code:
    $ redshift-gtk
    (redshift-gtk:1448): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.
    Traceback (most recent call last):
      File "/usr/bin/redshift-gtk", line 26, in <module>
        from redshift_gtk.statusicon import run
      File "/usr/lib/python3.6/site-packages/redshift_gtk/statusicon.py", line 44, in <module>
        from . import utils
      File "/usr/lib/python3.6/site-packages/redshift_gtk/utils.py", line 23, in <module>
        from xdg import BaseDirectory as base
    ModuleNotFoundError: No module named 'xdg'
    I tried installing "archlinux-menus", "xdg-desktop-portal-gtk" and "archlinux-xdg-menu" but I get the same output.

    I am using Xfce, output of "uname -a":

    Code:
    Linux arch-hp 4.15.2-1-hardened #1 SMP Thu Feb 8 15:13:06 CET 2018 x86_64 GNU/Linux
    Thank you very much!

  2. #2
    Just Joined! weyderfs's Avatar
    Join Date
    Feb 2018
    Location
    Brazil
    Posts
    17
    Quote Originally Posted by CarterCox View Post
    Hello! I am trying to use the command, and I get:

    Code:
    $ redshift-gtk
    (redshift-gtk:1448): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.
    Traceback (most recent call last):
      File "/usr/bin/redshift-gtk", line 26, in <module>
        from redshift_gtk.statusicon import run
      File "/usr/lib/python3.6/site-packages/redshift_gtk/statusicon.py", line 44, in <module>
        from . import utils
      File "/usr/lib/python3.6/site-packages/redshift_gtk/utils.py", line 23, in <module>
        from xdg import BaseDirectory as base
    ModuleNotFoundError: No module named 'xdg'
    I tried installing "archlinux-menus", "xdg-desktop-portal-gtk" and "archlinux-xdg-menu" but I get the same output.

    I am using Xfce, output of "uname -a":

    Code:
    Linux arch-hp 4.15.2-1-hardened #1 SMP Thu Feb 8 15:13:06 CET 2018 x86_64 GNU/Linux
    Thank you very much!
    Running directly by shortcut not work?
    I had similar problems on my Xubuntu, but I solved reinstalling..

  3. #3
    Linux User
    Join Date
    Dec 2017
    Location
    Argentina
    Posts
    271
    Actually reinstalling helped. I received a warning about a missing dependency and installed it. Thanks!

    Sent from my Moto G Play using Tapatalk

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! weyderfs's Avatar
    Join Date
    Feb 2018
    Location
    Brazil
    Posts
    17
    -->
    Very Well. If possible mark as [SOLVED] the topic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •