Rick Lamers
Installing?
sudo apt install i3
Slow scrolling Chrome? Use imwheel:
~/.imwheelrc
"chrome"
None, Up, Button4, 4
None, Down, Button5, 4
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
".*"
Shift_L, Up, Left
Shift_L, Down, Right
and add
~/.config/i3/config
exec --no-startup-id imwheel
Screen tearing?
~/.config/compton.conf
# basic configuration
backend = "glx";
vsync = "opengl-swc";
and add
~/.config/i3/config
exec --no-startup-id compton --config ~/.config/compton.conf -b
No config file?
i3-config-wizard
HiDPI settings?
~/.Xresources
Xft.dpi: 144
Xcursor.size: 32
! Allowed sizes: 24, 32, 48, 64 and 96.
Key bindings?
~/.config/i3/config
exec --no-startup-id xmodmap ~/.Xmodmap
Write your own .Xmodmap
Note! Chrome only detects key remapping if you use the keycode assignment.
Example:
! Exchange left Alt and left Win
remove mod1 = Alt_L
remove mod4 = Super_L
keycode 133 = Alt_L
keycode 64 = Super_L
add mod1 = Alt_L
add mod4 = Super_L
General rule about adding exec ...
to the i3 config files, put the after the last exec
command. Generally it's not order sensitive when doing things like `imwheel`/`xmodmap`.Yannick
xmodmap
before. You can just define this straight up in the i3 config, right? For example I have:
set $mod Mod1
To find out which key to map it to you can use xev
Rick Lamers
xev