How to setup Grub
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset clocksource=hpet"
SSH Keys
Private key
–—BEGIN PGP MESSAGE–—
jA0ECQMCRdSZqMZlIV/80sB/AVA0iKUHQt85sAUZwSTixLQ0PFvz6HbamiBJ/5Wm T5mmVXTrYeidqUWdm+CR/vw6jwMYbF9OVb51UCX7AIO2q3jq37qvVs9aLTaNKzaD hxUvs/9N0jFxq7iTZo/kp2I2M0td3OINycBDX+sPGIob19u0FX2WlpDQ2M3CQm53 fwdja4CVUmXzBuRnjuDJClWVh08Rl+NrNFdK/3Dk+HtvQDtRBa/UcCTtnqheupiU ZuD4mj8OmQVnkC0NaS9xjLrZU5u2DnkYLcVrhsFNasuCeenlwvH8r5WgRjZh7Uab zrdrHPdQgxnjhRO6YFo3EZnPZP1Fjt6dt6V4lbgJATMAo+RiwR8RputOxW9Dudge OfYtpEN1D7FQFFerR+OJ0OOc45/CNhyvVyz5+VAoqxkC9FmmdefjcGwx9tiS2qzI hg== =qmHv –—END PGP MESSAGE–—
Public key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINyrcZED53KAnPyTjmSzKW0OLpjJ+5lux1/eJEZpk2Ce
Mount Storagebox via sshfs
sshfs -o allow_other,reconnect storage:/home/data/media/music /home/cashmere/Music/
Redshift
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=3500
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1
; Solar elevation thresholds.
; By default, Redshift will use the current elevation of the sun to determine
; whether it is daytime, night or in transition (dawn/dusk). When the sun is
; above the degrees specified with elevation-high it is considered daytime and
; below elevation-low it is considered night.
;elevation-high=3
;elevation-low=-6
; Custom dawn/dusk intervals.
; Instead of using the solar elevation, the time intervals of dawn and dusk
; can be specified manually. The times must be specified as HH:MM in 24-hour
; format.
dawn-time=6:00-7:45
dusk-time=18:35-20:15
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6
; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=48.1
lon=11.6
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens.
[randr]
screen=0
Setup Broadcom driver (wifi) under Artix Linux
- install the drivers
sudo pacman -Syu broadcom-wl
- load the driver into the kernel
sudo modprobe wl
- deactivate other drivers to not get into conflicts
sudo modprobe -r b43 bcma
Setup keyd for Macbook
[ids]
05ac:0237:21458be1
[main]
# Bind both "Cmd" keys to trigger the 'meta_mac' layer
leftmeta = layer(meta_mac)
rightmeta = layer(meta_mac)
escape = capslock
capslock = escape
# By default meta_mac = Ctrl+<key>, except for mappings below
[meta_mac:C]
# Use alternate Copy/Cut/Paste bindings from Windows that won't conflict with Ctrl+C
# Copy (works everywhere (incl. vscode term) except Konsole)
c = C-insert
# Paste
v = S-insert
# Cut
x = S-delete
# Switch directly to an open tab (e.g., Firefox, VS Code)
1 = A-1
2 = A-2
3 = A-3
4 = A-4
5 = A-5
6 = A-6
7 = A-7
8 = A-8
9 = A-9
# Move cursor to the beginning of the line
left = home
# Move cursor to the end of the line
right = end
# Als Tab gedrückt wird, Alt+Tab ausführen und zum app_switch_state wechseln
tab = layerm(app_switch_state, A-tab)
[app_switch_state:A]
# Being in this state holds 'Alt' down allowing us to switch back and forth with tab or arrow presses
tab = A-tab
` = A-S-tab
left = A-S-tab
right = A-tab
Fix keyboard touchpad quirk
[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd virtual keyboard
AttrKeyboardIntegration=internal