SUMMARY Various keys including brightness, volume, media play/pause, screenshot, etc do not work. STEPS TO REPRODUCE 1. Press media key (e.g. volume up) OBSERVED RESULT Nothing happens. EXPECTED RESULT Corresponding action happens (e.g. volume up) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 ADDITIONAL INFORMATION - Running "sudo libinput debug-events" shows that the various keys are being detected (KEY_VOLUMEUP, KEY_VOLUMEDOWN, KEY_BRIGHTNESSUP, etc) - Manually starting or re-starting gives no errors. - Nothing is showing --- Checking systemctl gives this: systemctl --user status plasma-kglobalaccel.service ○ plasma-kglobalaccel.service - KDE Global Shortcuts Server Loaded: loaded (/usr/lib/systemd/user/plasma-kglobalaccel.service; static) Active: inactive (dead) since Mon 2025-01-06 19:43:36 EST; 20min ago Process: 1585 ExecStart=/usr/lib/x86_64-linux-gnu/libexec/kglobalacceld (code=exited, status=0/SUCCESS) Main PID: 1585 (code=exited, status=0/SUCCESS) CPU: 29ms --- Here be the process: ps aux | grep kglobalaccel kver 7402 0.0 0.0 9280 2176 pts/1 S+ 20:08 0:00 grep --color=auto kglobalaccel --- Checking journalctl gives nothing interesting: journalctl --user -u plasma-kglobalaccel.service Nov 15 01:45:26 kver-glasstower systemd[59198]: Stopping plasma-kglobalaccel.service - KDE Global Shortcuts Server... Nov 15 01:45:26 kver-glasstower systemd[59198]: Stopped plasma-kglobalaccel.service - KDE Global Shortcuts Server. (etc) --- Here's what the deps list looks like: systemctl --user list-dependencies plasma-kglobalaccel.service plasma-kglobalaccel.service ● ├─background.slice ● ├─dbus.socket ○ ├─kde-nomodeset.service ● └─basic.target ● ├─paths.target ● ├─sockets.target ● │ ├─dbus.socket ● │ ├─dirmngr.socket ● │ ├─drkonqi-coredump-launcher.socket ● │ ├─gpg-agent-browser.socket ● │ ├─gpg-agent-extra.socket ● │ ├─gpg-agent-ssh.socket ● │ ├─gpg-agent.socket ● │ ├─keyboxd.socket ● │ ├─pipewire-pulse.socket ● │ ├─pipewire.socket ● │ ├─pk-debconf-helper.socket ● │ ├─snapd.session-agent.socket ● │ └─speech-dispatcher.socket ● └─timers.target ○ ├─drkonqi-coredump-cleanup.timer ○ ├─drkonqi-sentry-postman.timer ● └─launchpadlib-cache-clean.timer
Thank you for your bug report! Is this on X11 or wayland? The plasma-kglobalaccel service only runs standalone on X11, on wayland this is run inside kwin.
(In reply to fanzhuyifan from comment #1) > Thank you for your bug report! > > Is this on X11 or wayland? The plasma-kglobalaccel service only runs > standalone on X11, on wayland this is run inside kwin. Nono - thank _you_ for taking a looksee! This is on Wayland; if there's any tests or anything that you need, just let me know!
Could you attach the content of the file `~/.config/kglobalshortcutsrc`? If possible, would you be able to check if the error is reproducible on x11? Thanks!
(In reply to fanzhuyifan from comment #3) > Could you attach the content of the file `~/.config/kglobalshortcutsrc`? > > If possible, would you be able to check if the error is reproducible on x11? > Thanks! Here's the contents of the file... I'll test on X11 probably tomorrow, I've got to run for the moment. [ActivityManager] _k_friendly_name=Activity Manager switch-to-activity-50e65e51-d1ce-48c5-9e72-769045c8b77e=none,none,Switch to activity "Default" [KDE Keyboard Layout Switcher] Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout _k_friendly_name=Keyboard Layout Switcher [kaccess] Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off _k_friendly_name=Accessibility [kcm_touchpad] Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad Toggle Touchpad=Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Toggle Touchpad _k_friendly_name=Touchpad [kmix] _k_friendly_name=Audio Volume decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume decrease_volume=Volume Down,Volume Down,Decrease Volume decrease_volume_small=Shift+Volume Down,Shift+Volume Down,Decrease Volume by 1% increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume increase_volume=Volume Up,Volume Up,Increase Volume increase_volume_small=Shift+Volume Up,Shift+Volume Up,Increase Volume by 1% mic_mute=Microphone Mute\tMeta+Volume Mute,Microphone Mute\tMeta+Volume Mute,Mute Microphone mute=Volume Mute,Volume Mute,Mute [ksmserver] Halt Without Confirmation=none,,Shut Down Without Confirmation Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen Log Out Without Confirmation=none,,Log Out Without Confirmation LogOut=none,,Log Out Reboot=none,,Reboot Reboot Without Confirmation=none,,Reboot Without Confirmation Shut Down=none,,Shut Down _k_friendly_name=Session Management [kwin] Activate Window Demanding Attention=Meta+Ctrl+A,Meta+Ctrl+A,Activate Window Demanding Attention Cycle Overview=none,none,Cycle through Overview and Grid View Cycle Overview Opposite=none,none,Cycle through Grid View and Overview Decrease Opacity=none,,Decrease Opacity of Active Window by 5% Edit Tiles=Meta+T,Meta+T,Toggle Tiles Editor Expose=Ctrl+F9,Ctrl+F9,Toggle Present Windows (Current desktop) ExposeAll=Ctrl+F10\tLaunch (C),Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops) ExposeClass=Ctrl+F7,Ctrl+F7,Toggle Present Windows (Window class) ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop) Grid View=Meta+G,Meta+G,Toggle Grid View Increase Opacity=none,,Increase Opacity of Active Window by 5% Kill Window=Meta+Ctrl+Esc,Meta+Ctrl+Esc,Kill Window Move Tablet to Next Output=none,none,Move the tablet to the next output MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Center MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus MoveZoomDown=none,none,Move Zoomed Area Downwards MoveZoomLeft=none,none,Move Zoomed Area to Left MoveZoomRight=none,none,Move Zoomed Area to Right MoveZoomUp=none,none,Move Zoomed Area Upwards Overview=Meta+W,Meta+W,Toggle Overview Setup Window Shortcut=none,,Setup Window Shortcut Show Desktop=Meta+D,Meta+D,Peek at Desktop Suspend Compositing=Alt+Shift+F12,Alt+Shift+F12,Suspend Compositing Switch One Desktop Down=Meta+Ctrl+Down,Meta+Ctrl+Down,Switch One Desktop Down Switch One Desktop Up=Meta+Ctrl+Up,Meta+Ctrl+Up,Switch One Desktop Up Switch One Desktop to the Left=Meta+Ctrl+Left,Meta+Ctrl+Left,Switch One Desktop to the Left Switch One Desktop to the Right=Meta+Ctrl+Right,Meta+Ctrl+Right,Switch One Desktop to the Right Switch Window Down=Meta+Alt+Down,Meta+Alt+Down,Switch to Window Below Switch Window Left=Meta+Alt+Left,Meta+Alt+Left,Switch to Window to the Left Switch Window Right=Meta+Alt+Right,Meta+Alt+Right,Switch to Window to the Right Switch Window Up=Meta+Alt+Up,Meta+Alt+Up,Switch to Window Above Switch to Desktop 1=Ctrl+F1,Ctrl+F1,Switch to Desktop 1 Switch to Desktop 10=none,,Switch to Desktop 10 Switch to Desktop 11=none,,Switch to Desktop 11 Switch to Desktop 12=none,,Switch to Desktop 12 Switch to Desktop 13=none,,Switch to Desktop 13 Switch to Desktop 14=none,,Switch to Desktop 14 Switch to Desktop 15=none,,Switch to Desktop 15 Switch to Desktop 16=none,,Switch to Desktop 16 Switch to Desktop 17=none,,Switch to Desktop 17 Switch to Desktop 18=none,,Switch to Desktop 18 Switch to Desktop 19=none,,Switch to Desktop 19 Switch to Desktop 2=Ctrl+F2,Ctrl+F2,Switch to Desktop 2 Switch to Desktop 20=none,,Switch to Desktop 20 Switch to Desktop 3=Ctrl+F3,Ctrl+F3,Switch to Desktop 3 Switch to Desktop 4=Ctrl+F4,Ctrl+F4,Switch to Desktop 4 Switch to Desktop 5=none,,Switch to Desktop 5 Switch to Desktop 6=none,,Switch to Desktop 6 Switch to Desktop 7=none,,Switch to Desktop 7 Switch to Desktop 8=none,,Switch to Desktop 8 Switch to Desktop 9=none,,Switch to Desktop 9 Switch to Next Desktop=none,,Switch to Next Desktop Switch to Next Screen=none,,Switch to Next Screen Switch to Previous Desktop=none,,Switch to Previous Desktop Switch to Previous Screen=none,,Switch to Previous Screen Switch to Screen 0=none,,Switch to Screen 0 Switch to Screen 1=none,,Switch to Screen 1 Switch to Screen 2=none,,Switch to Screen 2 Switch to Screen 3=none,,Switch to Screen 3 Switch to Screen 4=none,,Switch to Screen 4 Switch to Screen 5=none,,Switch to Screen 5 Switch to Screen 6=none,,Switch to Screen 6 Switch to Screen 7=none,,Switch to Screen 7 Switch to Screen Above=none,,Switch to Screen Above Switch to Screen Below=none,,Switch to Screen Below Switch to Screen to the Left=none,,Switch to Screen to the Left Switch to Screen to the Right=none,,Switch to Screen to the Right Toggle=Ctrl+Alt+P,Meta+Ctrl+Alt+P,Toggle Show Paint Toggle Hello World Effect=Meta+H,none,Toggle Hello World Effect Toggle Night Color=none,none,Suspend/Resume Night Light Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows Walk Through Windows (Reverse)=Alt+Shift+Tab,Alt+Shift+Tab,Walk Through Windows (Reverse) Walk Through Windows Alternative=none,,Walk Through Windows Alternative Walk Through Windows Alternative (Reverse)=none,,Walk Through Windows Alternative (Reverse) Walk Through Windows of Current Application=Alt+`,Alt+`,Walk Through Windows of Current Application Walk Through Windows of Current Application (Reverse)=Alt+~,Alt+~,Walk Through Windows of Current Application (Reverse) Walk Through Windows of Current Application Alternative=none,,Walk Through Windows of Current Application Alternative Walk Through Windows of Current Application Alternative (Reverse)=none,,Walk Through Windows of Current Application Alternative (Reverse) Window Above Other Windows=none,,Keep Window Above Others Window Below Other Windows=none,,Keep Window Below Others Window Close=Alt+F4,Alt+F4,Close Window Window Fullscreen=none,,Make Window Fullscreen Window Grow Horizontal=none,,Expand Window Horizontally Window Grow Vertical=none,,Expand Window Vertically Window Lower=none,,Lower Window Window Maximize=Meta+PgUp,Meta+PgUp,Maximize Window Window Maximize Horizontal=none,,Maximize Window Horizontally Window Maximize Vertical=none,,Maximize Window Vertically Window Minimize=Meta+PgDown,Meta+PgDown,Minimize Window Window Move=none,,Move Window Window Move Center=none,,Move Window to the Center Window No Border=none,,Toggle Window Titlebar and Frame Window On All Desktops=none,,Keep Window on All Desktops Window One Desktop Down=Meta+Ctrl+Shift+Down,Meta+Ctrl+Shift+Down,Window One Desktop Down Window One Desktop Up=Meta+Ctrl+Shift+Up,Meta+Ctrl+Shift+Up,Window One Desktop Up Window One Desktop to the Left=Meta+Ctrl+Shift+Left,Meta+Ctrl+Shift+Left,Window One Desktop to the Left Window One Desktop to the Right=Meta+Ctrl+Shift+Right,Meta+Ctrl+Shift+Right,Window One Desktop to the Right Window One Screen Down=none,,Move Window One Screen Down Window One Screen Up=none,,Move Window One Screen Up Window One Screen to the Left=none,,Move Window One Screen to the Left Window One Screen to the Right=none,,Move Window One Screen to the Right Window Operations Menu=Alt+F3,Alt+F3,Window Operations Menu Window Pack Down=none,,Move Window Down Window Pack Left=none,,Move Window Left Window Pack Right=none,,Move Window Right Window Pack Up=none,,Move Window Up Window Quick Tile Bottom=Meta+Down,Meta+Down,Quick Tile Window to the Bottom Window Quick Tile Bottom Left=none,,Quick Tile Window to the Bottom Left Window Quick Tile Bottom Right=none,,Quick Tile Window to the Bottom Right Window Quick Tile Left=Meta+Left,Meta+Left,Quick Tile Window to the Left Window Quick Tile Right=Meta+Right,Meta+Right,Quick Tile Window to the Right Window Quick Tile Top=Meta+Up,Meta+Up,Quick Tile Window to the Top Window Quick Tile Top Left=none,,Quick Tile Window to the Top Left Window Quick Tile Top Right=none,,Quick Tile Window to the Top Right Window Raise=none,,Raise Window Window Resize=none,,Resize Window Window Shade=none,,Shade Window Window Shrink Horizontal=none,,Shrink Window Horizontally Window Shrink Vertical=none,,Shrink Window Vertically Window to Desktop 1=none,,Window to Desktop 1 Window to Desktop 10=none,,Window to Desktop 10 Window to Desktop 11=none,,Window to Desktop 11 Window to Desktop 12=none,,Window to Desktop 12 Window to Desktop 13=none,,Window to Desktop 13 Window to Desktop 14=none,,Window to Desktop 14 Window to Desktop 15=none,,Window to Desktop 15 Window to Desktop 16=none,,Window to Desktop 16 Window to Desktop 17=none,,Window to Desktop 17 Window to Desktop 18=none,,Window to Desktop 18 Window to Desktop 19=none,,Window to Desktop 19 Window to Desktop 2=none,,Window to Desktop 2 Window to Desktop 20=none,,Window to Desktop 20 Window to Desktop 3=none,,Window to Desktop 3 Window to Desktop 4=none,,Window to Desktop 4 Window to Desktop 5=none,,Window to Desktop 5 Window to Desktop 6=none,,Window to Desktop 6 Window to Desktop 7=none,,Window to Desktop 7 Window to Desktop 8=none,,Window to Desktop 8 Window to Desktop 9=none,,Window to Desktop 9 Window to Next Desktop=none,,Window to Next Desktop Window to Next Screen=Meta+Shift+Right,Meta+Shift+Right,Move Window to Next Screen Window to Previous Desktop=none,,Window to Previous Desktop Window to Previous Screen=Meta+Shift+Left,Meta+Shift+Left,Move Window to Previous Screen Window to Screen 0=none,,Move Window to Screen 0 Window to Screen 1=none,,Move Window to Screen 1 Window to Screen 2=none,,Move Window to Screen 2 Window to Screen 3=none,,Move Window to Screen 3 Window to Screen 4=none,,Move Window to Screen 4 Window to Screen 5=none,,Move Window to Screen 5 Window to Screen 6=none,,Move Window to Screen 6 Window to Screen 7=none,,Move Window to Screen 7 _k_friendly_name=KWin view_actual_size=Meta+0,Meta+0,Zoom to Actual Size view_zoom_in=Meta++\tMeta+=,Meta++\tMeta+=,Zoom In view_zoom_out=Meta+-,Meta+-,Zoom Out [mediacontrol] _k_friendly_name=Media Controller mediavolumedown=none,,Media volume down mediavolumeup=none,,Media volume up nextmedia=Media Next,Media Next,Media playback next pausemedia=Media Pause,Media Pause,Pause media playback playmedia=none,,Play media playback playpausemedia=Media Play,Media Play,Play/Pause media playback previousmedia=Media Previous,Media Previous,Media playback previous stopmedia=Media Stop,Media Stop,Stop media playback [org_kde_powerdevil] Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness Decrease Screen Brightness Small=Shift+Monitor Brightness Down,Shift+Monitor Brightness Down,Decrease Screen Brightness by 1% Hibernate=Hibernate,Hibernate,Hibernate Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness Increase Screen Brightness Small=Shift+Monitor Brightness Up,Shift+Monitor Brightness Up,Increase Screen Brightness by 1% PowerDown=Power Down,Power Down,Power Down PowerOff=Power Off,Power Off,Power Off Sleep=Sleep,Sleep,Suspend Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight Turn Off Screen=none,none,Turn Off Screen _k_friendly_name=Power Management powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile [plasmashell] _k_friendly_name=plasmashell activate application launcher=Meta\tAlt+F1,Meta\tAlt+F1,Activate Application Launcher activate task manager entry 1=Meta+1,Meta+1,Activate Task Manager Entry 1 activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10 activate task manager entry 2=Meta+2,Meta+2,Activate Task Manager Entry 2 activate task manager entry 3=Meta+3,Meta+3,Activate Task Manager Entry 3 activate task manager entry 4=Meta+4,Meta+4,Activate Task Manager Entry 4 activate task manager entry 5=Meta+5,Meta+5,Activate Task Manager Entry 5 activate task manager entry 6=Meta+6,Meta+6,Activate Task Manager Entry 6 activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7 activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8 activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9 activate widget 29=none,none,Activate Icons-and-Text Task Manager Widget activate widget 45=none,none,Activate Application Menu Widget clear-history=none,,Clear Clipboard History clipboard_action=Meta+Ctrl+X,Meta+Ctrl+X,Automatic Action Popup Menu cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels cycleNextAction=none,,Next History Item cyclePrevAction=none,,Previous History Item manage activities=Meta+Q,Meta+Q,Show Activity Switcher next activity=Meta+A,none,Walk through activities previous activity=Meta+Shift+A,none,Walk through activities (Reverse) repeat_action=none,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop show-barcode=none,,Show Barcode… show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position stop current activity=Meta+S,Meta+S,Stop Current Activity switch to next activity=none,,Switch to Next Activity switch to previous activity=none,,Switch to Previous Activity toggle do not disturb=none,,Toggle do not disturb [services][org.kde.plasma.emojier.desktop] _launch=none [services][org.kde.spectacle.desktop] _launch=none
The contents of your `~/.config/kglobalshortcutsrc` look correct -- the shortcuts for volume control are correctly set. In krunner, if you search for "kwin debug console" and launch it, and go to the input events tab, and press the media keys (volume up, volume down), what do you see in the Qt::Key code field? Are the key presses correctly resolved to Key_VolumeUp and Key_VolumeDown?
(In reply to fanzhuyifan from comment #5) > The contents of your `~/.config/kglobalshortcutsrc` look correct -- the > shortcuts for volume control are correctly set. > > In krunner, if you search for "kwin debug console" and launch it, and go to > the input events tab, and press the media keys (volume up, volume down), > what do you see in the Qt::Key code field? Are the key presses correctly > resolved to Key_VolumeUp and Key_VolumeDown? I's not even receiving those key codes at all; it's receiving other keystrokes and mouse movement, but no media keys. Trying it our on X11, the media keys do work as normal.
(In reply to Ken Vermette from comment #6) > (In reply to fanzhuyifan from comment #5) > > The contents of your `~/.config/kglobalshortcutsrc` look correct -- the > > shortcuts for volume control are correctly set. > > > > In krunner, if you search for "kwin debug console" and launch it, and go to > > the input events tab, and press the media keys (volume up, volume down), > > what do you see in the Qt::Key code field? Are the key presses correctly > > resolved to Key_VolumeUp and Key_VolumeDown? > > I's not even receiving those key codes at all; it's receiving other > keystrokes and mouse movement, but no media keys. > > Trying it our on X11, the media keys do work as normal. Oh, as a follow up, I should mention that at one point the media keys did work on Wayland on a previous installation on this machine (My previous installation was long in the tooth); This is an issue on a fresh install, so it may be something with a new version of Plasma, Qt, or something with an older bundled configuration.
What is the output of `xmodmap -pke | grep -i volume`? If nothing is outputted you need to add your media keys to the keymap.
(In reply to fanzhuyifan from comment #8) > What is the output of `xmodmap -pke | grep -i volume`? If nothing is > outputted you need to add your media keys to the keymap. I get... xmodmap -pke | grep -i volume keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume (Thanks again, btw)
Let me reassign to kwin since you are reporting that kwin debug console doesn't even see those events on wayland, even though libinput reports those events, and the keymap contains the relevant entries.
The issue seems to be caused by by 3rd-party software. My Keyboard/Mouse are Logitech devices, and use Solaar to enable/configure. It seems Solaar doesn't properly register[?] the devices when connected, breaking functionality. It also explains why Input Remapper worked - it "finished" the registration on some level.