Summary: | KEY_FULL_SCREEN cannot be used as shortcut | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | mpeter.68m0y |
Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | fanzhuyifan, kde, nate, sparkelpotato |
Priority: | NOR | ||
Version: | 5.24.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=422401 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mpeter.68m0y
2023-01-14 17:15:19 UTC
*** Bug 490785 has been marked as a duplicate of this bug. *** If you run `xmodmap -pke`, is that key mapped? If not I think this should be marked as a duplicate of BUG 422401 -- currently we cannot handle keys not mapped in the keymap. (In reply to fanzhuyifan from comment #2) > If you run `xmodmap -pke`, is that key mapped? If not I think this should be > marked as a duplicate of BUG 422401 -- currently we cannot handle keys not > mapped in the keymap. I dont think so. There are no keys in the output that start with `KEY_`, and key codes are only enumerated until 255, I dont see 372 there. Can I fix it locally somehow? I have attempted to use `xmodmap -e "keycode 372 = XF86FullScreen"` (as found [here](https://xkbcommon.org/doc/current/xkbcommon-keysyms_8h.html)), but the command just says "bad keysym name 'XF86FullScreen' in keysym list". Also, according to the `wev` command, this key now produces keycode 380.. how did it change I dont know. (In reply to mpeter.68m0y from comment #3) > Can I fix it locally somehow? > I have attempted to use `xmodmap -e "keycode 372 = XF86FullScreen"` (as > found [here](https://xkbcommon.org/doc/current/xkbcommon-keysyms_8h.html)), > but the command just says "bad keysym name 'XF86FullScreen' in keysym list". > Also, according to the `wev` command, this key now produces keycode 380.. > how did it change I dont know. Based on https://bugs.kde.org/show_bug.cgi?id=422401#c9, the following should work: Pick a free keycode in the output of xmodmap (e.g., 103 in my case). Then, run `xmodmap -e "keycode 103 = XF86FullScreen"`. *** This bug has been marked as a duplicate of bug 422401 *** (In reply to fanzhuyifan from comment #4) > (In reply to mpeter.68m0y from comment #3) > > Can I fix it locally somehow? > > I have attempted to use `xmodmap -e "keycode 372 = XF86FullScreen"` (as > > found [here](https://xkbcommon.org/doc/current/xkbcommon-keysyms_8h.html)), > > but the command just says "bad keysym name 'XF86FullScreen' in keysym list". > > Also, according to the `wev` command, this key now produces keycode 380.. > > how did it change I dont know. > > Based on https://bugs.kde.org/show_bug.cgi?id=422401#c9, the following > should work: > > Pick a free keycode in the output of xmodmap (e.g., 103 in my case). Then, > run `xmodmap -e "keycode 103 = XF86FullScreen"`. > > *** This bug has been marked as a duplicate of bug 422401 *** It prints the same error. Maybe my version (xmodmap 1.0.9) does not support this keysym? Also, I don't know if `XF86FullScreen` is what I actually need to use, I just guessed it from the name that libinput told me (`KEY_FULL_SCREEN`). `wev` shows `sym: NoSymbol` and `key: 380` for pressing that key. (In reply to mpeter.68m0y from comment #5) > It prints the same error. Maybe my version (xmodmap 1.0.9) does not support > this keysym? > Also, I don't know if `XF86FullScreen` is what I actually need to use, I > just guessed it from the name that libinput told me (`KEY_FULL_SCREEN`). > `wev` shows `sym: NoSymbol` and `key: 380` for pressing that key. XF86FullScreen was added to xorgproto 2 years ago to support KEY_FULL_SCREEN [0]. Maybe check your version of that? It seems xmodmap 1.0.9 was released on 2015-04-17 [1], which does seems a bit ancient.. [0] https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/11 [1] https://xorg.freedesktop.org/archive/individual/app/ (In reply to fanzhuyifan from comment #6) > XF86FullScreen was added to xorgproto 2 years ago to support KEY_FULL_SCREEN > [0]. Maybe check your version of that? Sorry I mean 4 years ago. (In reply to fanzhuyifan from comment #6) > XF86FullScreen was added to xorgproto 2 years ago to support KEY_FULL_SCREEN [0]. Maybe check your version of that? I dont seem to have such a package on opensuse Leap 15.5. This site also tells me that a package with such a name is only available for opensuse thumbleweed of the opensuse systems: https://repology.org/project/xorgproto/packages When searching for installed packages with the proto name, I see a few X protocol extension packages, and xproto-devel which is 7.0.31-1.22. I was not able to find a version number corresponding to the commit that added this, though. I have only found date-named git tags. > It seems xmodmap 1.0.9 was released on 2015-04-17 [1], which does seems a > bit ancient.. Such is life on opensuse leap. But maybe that is unusually old even here, though, thats 9 years.. My installation is from the end of 2022, so it cant be a long stuck package, weird. |