-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
35 lines (32 loc) · 1.14 KB
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# PURPOSE: ~/.xinitr
# maps "capslock" key to Escape.
# .xinitrc is one (of many) ways to configure X11
# (in .zshrc: must "source ~/.xinitrc")
#
#
#
setxkbmap -option caps:escape
#
# ----------- Deprecated ---------------------------------------------
# 30JUNE2024 - CAPSLOCK now works like ESC
# - on HP845 G7/linuxmint 21.3
# - TODO: i made an addition to /etc/X11/xorg.conf.d/swap_2_escape.conf
# - works, but do not understand
# ------------------------ separate
# USE kev to find keycode for "capslock" and "escape"
# - xmodmap is older, but simpler.
# - newer is kxb... but I find more effort to figure out simple things. - SEE tech_notes
# ------------------------
# 17JULY2023, conflict between ebook-view (calibre) and esc:swap....
# Using setxkbmap -option caps:escape seems to fix
# REF <archwiki setxkbmap>
# ------------------------
# xmodmap -e "keycode 133 = Escape"
#------------------------
# lenvovo T480
#
# ONE Method
# xmodmap -e "keycode 66 = Escape"
# SECOND Method (worked, prior to 17JULY2023)
# xmodmap ~/.xmodmap
# ----------- ---------------------------------------------