Skip to content

u/jamJam20

In this archive from Dec 2019 to Dec 2020

19
posts
101
comments
1
media
313
score
3 saved before deletion

I tried it but it just won't work. I think replacing the keys 9/23 gave some result but with a broken backspace. I managed to pull of the switch with xcape, but now my only problem that my new tab register escape on click

  # Escape as tab and alt when held
  # --------------------------------------------------------------------
  xmodmap -e 'keycode 990 = Tab ISO_Left_Tab Tab ISO_Left_Tab' 
  xmodmap -e 'keycode 9=Alt_L' 
  xmodmap -e "add Mod1 = Alt_L" 
  xcape -e '#9=Tab' -t 800

  # Tab as escape and control when held
  --------------------------------------------------------------------
  xmodmap -e 'keycode 230 = Escape NoSymbol Escape' 
  xmodmap -e 'keycode 23=Control_R' 
  xmodmap -e "add Control = Control_R" 
  xcape -e '#23=Escape' -t 800
1 points

I got this error and nothing changed, perhaps because I already played around with xcape and xmodmap?

xkbcomp custom_key_config.xkb $DISPLAY                                                                                                                                                                                               ~
Warning:          No symbols defined for <AB11> (keycode 97)
Warning:          No symbols defined for <JPCM> (keycode 103)
Warning:          No symbols defined for <I120> (keycode 120)
Warning:          No symbols defined for <AE13> (keycode 132)
Warning:          No symbols defined for <I149> (keycode 149)
Warning:          No symbols defined for <I154> (keycode 154)
Warning:          No symbols defined for <I168> (keycode 168)
Warning:          No symbols defined for <I178> (keycode 178)
Warning:          No symbols defined for <I183> (keycode 183)
Warning:          No symbols defined for <I184> (keycode 184)
Warning:          No symbols defined for <FK19> (keycode 197)
Warning:          No symbols defined for <FK24> (keycode 202)
Warning:          No symbols defined for <I217> (keycode 217)
Warning:          No symbols defined for <I219> (keycode 219)
Warning:          No symbols defined for <I247> (keycode 247)
Warning:          No symbols defined for <I248> (keycode 248)
Warning:          No symbols defined for <I249> (keycode 249)
Warning:          No symbols defined for <I250> (keycode 250)
Warning:          No symbols defined for <I252> (keycode 252)
Warning:          No symbols defined for <I253> (keycode 253)
1 points

Oh u/i-also-reddit This is awesome. Thanks a lot. I did generated custom key_config but when I searched for tab and escape I got the following:

    <ESC> = 9;      # under xkb_symbols "pc+us+inet(evdev)+ctrl(nocaps)" 
    key  <ESC> { [  Control_R ] };
    key <I222> { [  Escape ] };

    <TAB> = 23;                                        # under xkb_keycodes "evdev+aliases(qwerty)
    key  <TAB> { [ Alt_L ] };    # under xkb_symbols "pc+us+inet(evdev)+ctrl(nocaps)"
    modifier_map Mod1 { <TAB> };          # under xkb_symbols "pc+us+inet(evdev)+ctrl(nocaps)"
    key <I230> {[Tab,    ISO_Left_Tab ]};  # xkb_symbols "pc+us+inet(evdev)+ctrl(nocaps)" {

Do you mean I swap the value of  key <I230>  and  key <I222> ?
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.