Archived
1
0
Fork 0

Fix GPDP2 Keyboard

with real settings to make the keybvoard usable:
- US layout with Y and Z swapped
- Kanji key as compose
- Grave and asciitilde on the key they are actually printed on.
This commit is contained in:
J. Elfring (g) 2020-06-21 00:28:28 +02:00
parent 3fb2a62c01
commit 161d27a8f1

View file

@ -1,154 +1,19 @@
!! drop in Solarized colorscheme for Xresources/Xdefaults
## Start Keyring-Daemon
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
!!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
!!--------- ------- ---- ------- ----------- ---------- ----------- -----------
!!base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21
!!base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26
!!base01 #586e75 10/7 brgreen 240 #585858 45 -07 -07 88 110 117 194 25 46
!!base00 #657b83 11/7 bryellow 241 #626262 50 -07 -07 101 123 131 195 23 51
!!base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59
!!base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63
!!base2 #eee8d5 7/7 white 254 #e4e4e4 92 -00 10 238 232 213 44 11 93
!!base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99
!!yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71
!!orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80
!!red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86
!!magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83
!!violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77
!!blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82
!!cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
## Setup Keyboard
xmodmap -e 'keycode 49 = Multi_key' # Kanji-key
xmodmap -e 'keycode 132 = grave asciitilde' # grave-key
xmodmap -e 'keycode 29 = z Z z Z' # y-z
xmodmap -e 'keycode 52 = y Y y Y' # z-y
#define S_base03 #002b36
#define S_base04 #00171d
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #c1cacd
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
## Setup resources
xrdb -merge ~/.Xresources
test -f ~/.local/Xresources && xrdb -merge ~/.local/Xresources
echo Dark > ~/.local/themer.state
!URxvt*background: S_base04
!URxvt*foreground: S_base00
*background: #00171d
*foreground: #c1cacd
*depth: 32
!*fading: 40
!*fadeColor: S_base03
## Setup Screen
test -x ~/.screenlayout/.default && ~/.screenlayout/.default
test -x ~/.fehbg && ~/.fehbg
*cursorColor: #93a1a1
*pointerColorBackground:#586e75
*pointerColorForeground:#93a1a1
!! black dark/light
*color0: #073642
*color8: #002b36
!! red dark/light
*color1: #dc322f
*color9: #cb4b16
!! green dark/light
*color2: #859900
*color10: #586e75
!! yellow dark/light
*color3: #b58900
*color11: #c1cacd
!! blue dark/light
*color4: #268bd2
*color12: #839496
!! magenta dark/light
*color5: #d33682
*color13: #6c71c4
!! cyan dark/light
*color6: #2aa198
*color14: #93a1a1
!! white dark/light
*color7: #eee8d5
*color15: #fdf6e3
*utf8: 1
*saveLines: 65534
!-- Xft settings -- !
! This stays out until I find out what it does.
! It produces ugly huge fonts :(
!Xft.dpi: 144
!ft.rgba: rgb
!ft.autohint: 0
!ft.lcdfilter: lcddefault
!ft.hintstyle: hintfull
!ft.hinting: 1
!ft.antialias: 1
! -- Fonts -- !
URxvt.font: xft:Inconsolata:style=Regular:size=12,\
xft:Symbola:style=Regular:size=12
URxvt.boldFont: xft:Inconsolata:style=Bold:size=12,\
xft:Symbola:style=Bold:size=12
*faceSize: 10
*bellIsUrgent: true
!! scroll
!! do not scroll with output
URxvt*scrollTtyOutput: false
!! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
!! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: true
!! scrollback buffer
URxvt.secondaryScreen: 1
URxvt.secondaryScroll: 0
URxvt.secondaryWheel: 1
!! no terminal-scrollbar
URxvt*scrollBar: false
!! terminal name
URxvt*termName: rxvt
!! terminal transparency
URxvt*transparent: true
URxvt*shading: 20
!! copy paste
URxvt*clipboard.copycmd: xclip -i -selection clipboard
URxvt*clipboard.pastecmd: xclip -o -selection clipboard
!! clickable urls
!URxvt.perl-ext-common: default,matcher,selection-to-clipboard
!URxvt.url-launcher: /usr/local/bin/browser-exec
!URxvt.matcher.button: 1
!URxvt.url-select.underline: true
!! Resizable Fonts
URxvt.perl-ext-common: font-size
!! No annoying 14755 box
URxvt.iso14755: false
URxvt.iso14755_52: false
!! get option over to work
URxvt.keysym.M-Left: \033[1;5D
URxvt.keysym.M-Right: \033[1;5C
URxvt.keysym.Control-Left: \033[1;5D
URxvt.keysym.Control-Right: \033[1;5C
Xft.dpi: 180
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb