pop-os / gnome-shell-extension-system76-power

System76 Power Management Extension
MIT License
90 stars 26 forks source link

Fedora 36 bug #77

Closed GUFFYch closed 2 years ago

GUFFYch commented 2 years ago

Distribution:

NAME="Fedora Linux"
VERSION="36 (Workstation Edition)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Related Application and/or Package Version: https://github.com/pop-os/gnome-shell-extension-system76-power.git

Issue/Bug Description:

Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

can't turn on gnome extension for system76-power
lsoltmann commented 2 years ago

Seeing the same error on Fedora36 using a Pangolin(pang10).

linuxgnuru commented 2 years ago

Did you install nodejs-typescript before make/make install?

lsoltmann commented 2 years ago

Yes. I followed the directions given by System76. https://support.system76.com/articles/system76-software/#system76-power-in-fedora

linuxgnuru commented 2 years ago

Looking at the journal log I'm seeing the full error message

May 23 16:58:21 fedora gnome-shell[2214]: gnome-shell-extension-system76-power: failed to detect graphics switching: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

May 23 16:58:21 fedora gnome-shell[2214]: JS ERROR: Extension system76-power@system76.com: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

To fix this, run the following commands to mask a power daemon which should allow the system76-power service to run.

sudo systemctl mask power-profiles-daemon sudo systemctl start system76-power

Then reboot and the extension should work.

lsoltmann commented 2 years ago

That fixed it.

Seibz commented 2 years ago

Glad to see!