Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome-tweaks cannot run on fedora-29 template #4575

Closed
tquest1 opened this issue Dec 5, 2018 · 2 comments
Closed

gnome-tweaks cannot run on fedora-29 template #4575

tquest1 opened this issue Dec 5, 2018 · 2 comments
Labels
C: Fedora R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@tquest1
Copy link

tquest1 commented Dec 5, 2018

Qubes OS version:

R4.0

Affected component(s):

qubes-template-fedora-29 from templates-itl-testing


Steps to reproduce the behavior:

Install and try to start gnome-tweaks

Expected behavior:

start successfully

Actual behavior:

$ gnome-tweaks
WARNING : Shell not installed or running
WARNING : Error detecting shell
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
    raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/gtweak/app.py", line 30, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python3.7/site-packages/gtweak/tweakview.py", line 38, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3.7/site-packages/gtweak/tweakmodel.py", line 104, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python3.7/site-packages/gtweak/tweaks/tweak_group_general.py", line 14, in <module>
    _shell_not_ubuntu = _shell.mode != 'ubuntu'
AttributeError: 'NoneType' object has no attribute 'mode'

General notes:

gnome-tweaks (or the previous gnome-tweak-tool) has successfully installed & run on previous recent versions of Qubes fedora templates without any problems.
It makes it much easier to install or tryout different gtk / icon themes & fonts & font-aliasing.

As a workaround I run this from the terminal:

gsettings set org.gnome.desktop.interface gtk-theme Arc && gsettings set org.gnome.desktop.interface icon-theme Papirus && gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing 'rgba' && gsettings set org.gnome.settings-daemon.plugins.xsettings hinting 'slight' && gsettings set org.gnome.desktop.interface font-name 'Noto Sans 11' && gsettings set org.gnome.desktop.interface document-font-name 'Noto Sans Regular 11' && gsettings set org.gnome.desktop.interface monospace-font-name 'Source Code Pro Medium 13'

Related issues:

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: Fedora labels Dec 6, 2018
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Dec 6, 2018
@andrewdavidwong
Copy link
Member

Not sure if this is actually a Qubes issue.

@marmarek
Copy link
Member

marmarek commented Dec 6, 2018

Looks like gnome-tweaks doesn't like to be started outside of GNOME. But according to project page it should be supported:

Tweaks is designed for GNOME Shell but can be used in other desktops. A few features will be missing when Tweaks is run on a different desktop.

Reported upstream: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/192

@marmarek marmarek closed this as completed Dec 6, 2018
@andrewdavidwong andrewdavidwong added the R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. label Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Fedora R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

3 participants