Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711926 - x11-base/xorg-server: The xkb option "altwin:ctrl_win" doesn't survive a screen saver
Summary: x11-base/xorg-server: The xkb option "altwin:ctrl_win" doesn't survive a scre...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 04:56 UTC by Ian Zimmerman
Modified: 2020-03-09 05:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Zimmerman 2020-03-09 04:56:03 UTC
I have added this option into a file under /etc/X11/xorg.conf.d and I was happy that it did as documented: the Window keys became additional Control keys.  But when I put my screen to sleep and then reawakened it, the effect is gone: Win keys act as Win keys again.

Reproducible: Always

Steps to Reproduce:
1. Configure xkb by adding option (see below)
2. Activate screensaver by running i3lock
3. Reawaken by typing my password
Actual Results:  
Win key now acts as Win key, for example typing Win-L in Emacs results in a message "s-l is undefined"

Expected Results:  
Win key should have stayed remapped, for example typing Win-L in Emacs should center the line at point


Here is the config file with the option:

Section "Files"
    FontPath "/usr/share/fonts/terminus"
EndSection

Section "InputClass"
    Identifier "keyboard defaults"
    MatchIsKeyboard "on"
    Option "XKbOptions" "shift:both_capslock,compose:caps,altwin:ctrl_win,keypad:pointerkeys"
EndSection

x11-base/xorg-server version 1.20.7

screensaver is x11-misc/i3lock-2.10-r1
Comment 1 Ian Zimmerman 2020-03-09 05:12:03 UTC
Sorry - I traced the problem to the peculiar way in which I start i3lock ...