https://bugs.kde.org/show_bug.cgi?id=503891

Damglador <vse.stopchans...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |REPORTED
         Resolution|WAITINGFORINFO              |---

--- Comment #2 from Damglador <vse.stopchans...@gmail.com> ---
Sorry, there should be "Edit" instead of "Exit", my bad. Here are the files:

==== /home/damglador/.config/xkb/symbols/us ====
default partial alphanumeric_keys
xkb_symbols "custom" {
    include "us(basic)"
    name[Group1]= "English (Custom)";
    key <AE01>  {[               1,          exclam,    onesuperior            
         ]};
    key <AE02>  {[               2,              at,    twosuperior,           
   U2019 ]};
    include "level3(ralt_switch)"

};

======== ~/.config/kxkbrc ========
[Layout]
CurrentLayout=2
DisplayNames=,
LayoutList=us,ua
LayoutLoopCount=2
Options=grp:shift_caps_toggle,grp:caps_toggle
ResetOldOptions=true
Use=true
VariantList=custom,custom


>From my understanding, a file like /usr/share/X11/xkb/rules/evdev.extras.xml or
/usr/share/X11/xkb/rules/evdev.xml might be required for it to show up in
settings, but 
1. I don't think it reads ~/.config/xkb/rules/evdev.extras.xml, at least in my
testing it didn't, maybe I did something wrong. 
2. Docs don't mention it
https://community.kde.org/Plasma/Wayland#Custom_keyboard_maps_(XKB) 
3. Holy jeez it makes it so complicated. Would be much nicer if settings just
picked up all these custom layouts and put them wherever in the list, and I
think they should do that, because there is group named "A user-defined custom
Layout", but it only contains one broken layout.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to