dotfiles & setup instructions
the main packages i use everywhere are in packages. additional packages can be found in addonPackages.
to install the packages, run install_arch_packages.sh on an arch install.
the script accepts some options, these are:
- b > base packages
- g > gaming related packages
- l > laptop related packages
- w > work related packages
- o > optional packages
- p > printing packages
e.g to install the base and laptop packages, run
./install_arch_packages.sh -b -lit will then install the packages (sudo password may be required)
to link the dotfiles, run link_dotfiles.sh.
NOTE: It requires you to have gum installed
it will create symlinks from this repo to .config and some other places.
additional info on the dotfiles can be found in their respective READMEs.
- repeat delay: 175
- repeat speed: 100
- keyboard layout: eu (EurKey)
put this in /etc/X11/xorg.conf.d/00-keyboard.conf:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "eu"
Option "AutoRepeat" "175 10"
EndSection
notice that in the AutoRepeat line i put 10 instead of 100 because the unit here is Hz, so lower number = more repitions, see here
if you used my base packages, then interception-caps2esc is already installed, else install that.
edit /etc/interception/udevmon.yaml and add the JOB from the README
then start the daemon with sudo systemctl enable --now udevmon.service
open about:config, search closeWindowWithLastTab and toggle to false
if for some reason the DE/WM setting (~/.Xmodmap) doesn't apply, open about:config and search for mousewheel.default.delta_multiplier_y and set it to a negative number.
negative for the scroll direction and the higher the number, the more lines you scroll.
to turn that annoying system beep off, you can:
- run
rmmod pcspkr - add
blacklist pcspkrto/etc/modprobe.d/nobeep.conf - run
xset b off - uncomment
set bell nonein/etc/inputrc
install packages with setup.sh -p
for my hp printer, there are following things i installed for printing / scanning
- hplip - drivers for hp printer
- sane & xsane - access to the scanner & gui for it
the printer settings should detect the printer and it should be fairly easy to set up.
if you open xsane, it should automatically detect the scanner, but you can also run hp-setup to set up the printer.
After i joined a Teamspeak channel, Spotify suddenly stopped playing and i couldn't get it back to work. Then i found out, that the cork-module is loaded by default, which mutes other applications based on roles (teamspeak was phone so it muted the others to prevent missing the phone call)
there's also GreenWithEnvy but it reqquires a more involved setup and didn't work for me
some things to fix the scarlet solo on liux (like disabling the usb power optimization)
UPD@20.04.23: i reinstalled endeavour and the interface is not turning off anymore...
ristretto doesn't support webp by default, the package webp-pixbuf-loader adds that
run
defaults write -g InitialKeyRepeat -int 10
defaults write -g KeyRepeat -int 1
and log out / in or restart to apply changes
to enable dragging a window with a shortcut (just like on linux), run
defaults write -g NSWindowShouldDragOnGesture -bool true
to disable
defaults delete -g NSWindowShouldDragOnGesture
To install node versions older than 16 on a m-chip mac, refer to the nvm readme: MacOS Troubleshooting -> Macs with Apple Silicon chips,
some apps that aren't installed with brew:
some gitconfig that you'd probably want to use:
# if you use git-delta
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[push]
autoSetupRemote = true
[init]
defaultBranch = main
[rerere]
enabled = true
here are some alternatives to linux commands that may be better
displays computer resources; replaces htop
replaces cat; has nicer output, but prints line numbers, so not as good for content copying / piping
can replace default diff viewer; i use it for a better git diff
for viewing directories in a tree structure; instead of tree
for listing files. is using icons and has more color; instead of ls
for viewing directory sizes, instead of du
get a short 'cheatsheet' for commands
alternatively just use curl cheat.sh, like
curl cheat.sh/autorandr