You are not logged in.

#1 2021-03-12 11:45:14

dps910
Member
Registered: 2021-03-12
Posts: 3

gnome-shell, volume keys not working, restart/power-off/logout not

Hello
I am having some problems with gnome-shell version 3.38.3. I am unable to shut down from the gnome-shell menu
SlTRSjj.png
I am also unable to change the volume with keyboard even after enabling it here
hctz4Xc.png

I have used xev to check what the volume keys are called, here is the output

KeyPress event, serial 37, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1210536, (1338,733), root:(1338,797),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1210618, (1338,733), root:(1338,797),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1212736, (1338,733), root:(1338,797),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1212809, (1338,733), root:(1338,797),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1214259, (1338,733), root:(1338,797),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2200001,
    root 0x136, subw 0x0, time 1214322, (1338,733), root:(1338,797),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Also when trying to shut down from terminal this is what I get

gnome-session-quit --power-off

** (gnome-session-quit:2946): WARNING **: 11:49:06.540: Failed to call Shutdown: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

I have also tried installing polkit-gnome and adding my user to the dbus group. I tried setting AudioRaiseVolume in dconf-editor to XF86AudioRaiseVolume and nothing changed.

Thanks for any help smile

Last edited by dps910 (2021-03-12 11:51:10)

Offline

#2 2021-03-12 12:35:57

dps910
Member
Registered: 2021-03-12
Posts: 3

Re: gnome-shell, volume keys not working, restart/power-off/logout not

Problem solved! Had to change

exec gnome-shell

to

exec gnome-session

. Everything is fixed now smile

Offline

Board footer

Powered by FluxBB