This repo contains multiple settings and configuration files for several programs.
ASCII art fonts were created using:
- http://patorjk.com/software/taag/#p=display&f=Epic&t=github.com%2FSimonLammer%2Fdotfiles
- http://patorjk.com/software/taag/#p=display&f=Ivrit&t=github.com%2FSimonLammer%2Fdotfiles
Below is a collection of wisdom, useful for setting up computers.
-
Install git and clone repo:
sudo apt install -y git && git clone git@github.com:SimonLammer/dotfiles.git ~/.dotfiles -
Perform ansible magic:
make setupor
ansible-galaxy install -r requirements.yml ansible-playbook setup.yml -e 'ansible_python_interpreter=/usr/bin/python3' -u slammer -
Remaining setup
-
Programs not yet installed automatically
-
+---------------+ +----------------+ +--------------------------------------------------------+
| EFI partition | | Boot partition | | Logical volume 1 | Logical volume 2 | Logical volume 3 |
| | | | | | | |
| [EFI] | | /boot | | [SWAP] | / | /disks/main |
| | | | | | | |
| fat32 | | ext4 | | [swap] | ext4 | ext4 |
| | | | | | | |
| 500 MiB | | 500 MiB | | 20 GiB | 35 GiB | <Rest> |
| | | | | | | |
| | | | | /dev/luks/swap | /dev/luks/root | /dev/luks/data |
| | | | +------------------+------------------+------------------+
| | | | | LUKS2 encrypted partition |
| /dev/sda1 | | /dev/sda2 | | /dev/sda3 |
+---------------+ +----------------+ +--------------------------------------------------------+
cryptsetup luksFormat /dev/sda3
cryptsetup open /dev/sda3 luks
sudo cryptsetup open --type plain -d /dev/urandom /dev/sda3 luks
sudo dd if=/dev/zero of=/dev/mapper/luks status=progress
sudo cryptsetup close luks
pvcreate /dev/mapper/luks
vgcreate luks /dev/mapper/luks
lvcreate -n swap -L 20G luks
lvcreate -n root -L 35G luks
lvcreate -n data -L 1.7T luks
sudo cryptsetup luksHeaderBackup /dev/sdaX --header-backup-file /path/to/new_backup_fileReferences:
| Device | Usage | Filesystem |
|---|---|---|
| /dev/sda1 | EFI | fat32 |
| /dev/sda2 | /boot | ext4 |
| /dev/mapper/luks-root | / | ext4 |
| /dev/mapper/luks-swap | swap | swap |
mount /dev/luks/root /mnt
mount /dev/sda2 /mnt/boot
mount /dev/sda1 /mnt/boot/efi
for fs in proc sys dev dev/pts run etc/resolv.conf; do mount --bind /$fs /mnt/$fs; done
chroot /mnt
GRUB_CMDLINE_LINUX="cryptdevice=UUID=<UUID of /dev/sda3>"
update-grub
# <target name> <source device> <key file> <options>
luks UUID=<UUID of /dev/sda3> none luks,discard
update-initramfs -ck all
Obtain UUIDs via sudo blkid.
Not necessary with FDE.
Run this as another user
ecryptfs-migrate-home -u user_to_migrate
ecryptfs-recover-private path/to/.Private
Copy the font files to /usr/share/fonts/<some-awesome-font>/*.otf
Other candidates I liked:
- FantasqueSansMono Nerd Font
- FiraMono Nerd Font
- Hasklug Nerd Font
- Hurmit Nerd Font
- Monoid Nerd Font
- Mononoki Nerd Font
- RobotoMono Nerd Font
- Sauce Code Pro Nerd Font
Others I've used:
docker run -v `pwd`:/in -v `pwd`/patched:/out nerdfonts/patcher -c
References:
(run as root)
lvcreate -L 100M -n original vg
mkfs.ext4 /dev/vg/original
mkdir /mnt/original
mount /dev/vg/original /mnt/original
echo "This is the content of a file." > /mnt/original/file.txt
lvcreate -L 12M -s /dev/vg/original -n snap vg
mkdir /mnt/snapshot
mount /dev/vg/snap /mnt/snapshot
cat /mnt/snapshot/file.txt # This is the content of a file.
echo "With a 2nd line." >> /mnt/original/file.txt
diff /mnt/original/file.txt /mnt/snapshot/file.txt
# 2d1
# < With a 2nd line.
umount /mnt/original /mnt/snapshot
lvconvert --merge /dev/vg/snap
# Merging of volume vg/snap started.
# vg/original: Merged: 100,00%
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
Reference Reference 2 Reference 3
Ensure there is enough swap space.
free -mAdd resume=UUID=b59dd444-58f7-4fc9-90eb-eaa27dcec7e6 to /etc/default/grub in the line starting with GRUB_CMDLINE_LINUX= and run sudo update-grub
sudo apt install -y pm-utilsUse sudo pm-hibernate to hibernate. (Does not request password when resuming!)
sudo sed -Ei '/^\[Disable hibernate/,/^$/ {s/^\[Disable hibernate .* (in)/[Enable hibernate \1/; s/^(ResultActive=)no/\1yes/}' /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
echo -e '\n[Re-enable hibernate for multiple users by default in logind]\nIdentity=unix-user:*\nAction=org.freedesktop.login1.hibernate-multiple-sessions\nResultActive=yes' | sudo tee -a /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pklaEdit /etc/systemd/journald.conf like so:
[Journal]
SystemMaxUse=500M
RuntimeMaxUse=200M
sudo mkdir /disks# find the device with 'sudo fdisk -l'
dev=/dev/sda2
target=/disks/main
mkdir -p $target
sudo blkid | grep "^$dev" -m 1 | sed -E 's@.* UUID=\"([^"]+).* TYPE="([^"]+).*@# '$dev'\nUUID=\1 '$target' \2@' | sudo tee -a /etc/fstabCreate a backup:
sudo mkdir /disks/main/home-backup
sudo rsync -av /home/* /disks/main/home-backup
Move /home/* to /disks/main/home/*:
sudo mkdir /disks/main/home
sudo rsync -ah --progress /disks/main/home-backup/* /disks/main/home
sudo rm -Rf /home/*
echo '/disks/main/home /home none bind 0 0' | sudo tee -a /etc/fstab
Remove backup after making sure everything works:
sudo rm -Rf /disks/main/home-backup
Application:
- System settings > MIME Type Editor
- System settings > Default Applications
Setting: directory/inode
References:
Increase Performance and lifespan of SSDs & SD Cards
systemd-analyze blame
systemd-analyze critical-chain
sudo apt install -y unity-tweak-toolwget -O gnome-shell-extension-installer "https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer"
chmod +x gnome-shell-extension-installer
mv gnome-shell-extension-installer /usr/bin/
gnome-shell-extension-installer 15 1160 1236 1267 8 352 906 1112 826 --restart-shell
- AlternateTab:
15 - Dash to Panel:
1160 - NoAnnoyance:
1236 - No Title Bar:
1267 - Places Status Indicator:
8 - Quick Close in Overview:
352 - Sound Input & Output Device Chooser:
906 - Screenshot Tool:
1112 - Suspend Button:
826
# Night light color temperature
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 4800
# Dash-to-Panel
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel panel-position 'TOP'
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel panel-size 24
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel appicon-padding 0
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel appicon-margin 0
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel taskbar-position 'CENTEREDMONITOR'
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel show-activities-button true
gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas set org.gnome.shell.extensions.dash-to-panel isolate-workspaces true
# NoTitlebar
gsettings --schemadir ~/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/schemas set org.gnome.shell.extensions.no-title-bar only-main-monitor false
# Middleclickclose (Quit Close in Overview)
gsettings --schemadir ~/.local/share/gnome-shell/extensions/middleclickclose@paolo.tranquilli.gmail.com/schemas set org.gnome.shell.extensions.middleclickclose rearrange-delay 200
# Screenshot Tool
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '' # default: 'Print'
gsettings --schemadir ~/.local/share/gnome-shell/extensions/gnome-shell-screenshot@ttll.de/schemas set org.gnome.shell.extensions.screenshot shortcut-select-desktop "['Print']"
sudo vim /etc/systemd/logind.conf
nmcli con edit type pppoe con-name "connection-name":
set pppoe.username username
set connection.autoconnect no
save
quit
Network Settings > Wired > connection-name
env GTK2_RC_FILES= GTK_DATA_PREFIX= GTK_THEME=Adwaita /usr/bin/the_usual_executable
sudo sed -Ei '/export MOZ_APP_LAUNCHER/a\\n# Use specific GTK_THEME instead of system default\nGTK_THEME=Yaru\nexport GTK_THEME' /usr/lib/firefox/firefox.sh/usr/share/applications/eclipse.desktop:
[Desktop Entry]
Name=Eclipse
Comment=Eclipse
Exec=/home/user/eclipse/eclipse
Icon=/home/user/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Development;IDE
xinput: HUION H420 Pen (0) id=23 [slave pointer (2)]
xrandr: eDP-1-1 connected 1920x1080+485+1440 (normal left inverted right x axis y axis) 344mm x 193mm
xinput map-to-output 23 eDP-1-1Enable: sh -c "xinput list | grep 'SynPS/2 Synaptics TouchPad' | sed -E 's/.*id=([0-9]+).*/set-prop \1 \"Device Enabled\" 1/g' | xargs xinput"
Disable: sh -c "xinput list | grep 'SynPS/2 Synaptics TouchPad' | sed -E 's/.*id=([0-9]+).*/set-prop \1 \"Device Enabled\" 0/g' | xargs xinput"
/boot has probably filled up, free some space with sudo apt pure linux-image-5.0.0-36-generic (adapted to the kernel you want to remove).
References:
sudo apt-get install -y silversearcher-agflatpak install flathub com.google.AndroidStudio
sudo flatpak override --filesystem=host com.google.AndroidStudioInstallation guide: https://docs.ankiweb.net/platform/linux/installing.html
[Desktop Entry]
Name=Anki
Comment=Flashcard SRS
Exec=/opt/anki/bin/anki
Icon=anki.svg
Type=Application
Categories=Education;
Terminal=true
| ID | Name |
|---|---|
| 2179254157 | Card Info During Review |
| 1084228676 | Color Confirmation |
| 24411424 | Customize Keyboard Shortcuts |
| 877182321 | Enhance main window |
| 516643804 | Frozen Fields |
| 594329229 | Hierarchical Tags 2 |
| 1374772155 | Image Occlusion Enhanced for Anki 2.1 (alpha) |
| 1949865265 | Learning Step and Review Interval Retention |
| 2084557901 | LPCG (Lyrics/Poetry Cloze Generator) |
| 738807903 | More Overview Stats 2.1 |
| 1508357010 | Remaining time (for Anki 2.1) |
| 1828603731 | Stats Overview Pie Graph with Distinct 'Learning' and-or 'Relearning' Sections |
| 613684242 | True Retention |
Maybe:
- https://ankiweb.net/shared/info/817108664
- https://ankiweb.net/shared/info/2616209911
- https://ankiweb.net/shared/info/734898866
- https://ankiweb.net/shared/info/1672712021
- https://ankiweb.net/shared/info/1009670238
| ID | Name |
|---|---|
| 291119185 | Batch Editing |
| 1421528223 | Deck Stats |
| 295889520 | Mini Format Pack |
| 323586997 | ReMemorize: Rescheduler with sibling and logging (v1.4.0) |
/opt/anki-2.1.22-linux-amd64$ ./bin/anki
Traceback (most recent call last):
File "runanki", line 3, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "/home/dae/Local/py514/lib/python3.8/site-packages/PyInstaller-4.0.dev0+g2886519-py3.8.egg/PyInst
File "aqt/__init__.py", line 15, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "/home/dae/Local/py514/lib/python3.8/site-packages/PyInstaller-4.0.dev0+g2886519-py3.8.egg/PyInst
File "anki/__init__.py", line 13, in <module>
Exception: Anki requires a UTF-8 locale.
[5926] Failed to execute script runanki
Solution
export LC_CTYPE=en_CA.UTF-8Solution
sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt-get install mpv
References:
- https://anki.tenderapp.com/discussions/ankidesktop/36650-error-message-exception-anki-requires-a-utf-8-locale
- https://www.reddit.com/r/Anki/comments/e2zbcl/mpv_not_found/
Start anki with ANKI_WEBSCALE=1 ANKI_NOHIGHDPI=1 environment variables.
I.e. env ANKI_WEBSCALE=1 ANKI_NOHIGHDPI=1 anki for a XFCE launcher.
References:
sudo systemctl disable anydeskReferences:
sudo apt-get install -y autojumpmyprogram.AppImage --appimage-extract
cp `find squashfs-root -name '*.desktop'` .
rm -rf squashfs-rootsudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 1000 for cow in cowsay -l; do cowsay -f $cow $cow; done
Download: https://www.blackmagicdesign.com/products/davinciresolve/
ffmpeg -i input_file.mp4 -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov output_file.mov
batch:
for f in *.mp4; do ffmpeg -i "$f" -hide_banner -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov "$f.mov"; done
References:
- https://www.youtube.com/watch?v=WLcW4UWPC5Y
- https://brushlesswhoop.com/converting-fpv-footage-for-davinci-resolve/
- https://superuser.com/a/1273941
wget -O- get.docker.com | bashcurl -fsSL http://get.docker.com/ | shdocker run --rm -i hello-worldsudo groupadd docker # create the docker group
sudo usermod -aG docker $USER # add current user to the docker group
newgrp docker # re-evaluate group membershipReferences:
-
sudo service docker stop -
Add the following to
/etc/docker/daemon.json{ "data-root": "/path/to/your/docker" } -
`sudo rsync -aP /var/lib/docker/ /path/to/your/docker
-
sudo mv /var/lib/docker /var/lib/docker.old -
`sudo service docker start
-
Test if your docker containers still work!
-
sudo rm -rf /var/lib/docker.old
References:
sudo apt remove -y docker-compose # remove old version
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
wget -O- get.docker.com | bashsudo apt remove -y docker-compose # remove old version
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
sudo sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
sudo chmod +x /usr/local/bin/docker-compose
sudo sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose"sudo ln -s /media/data/storage/programs/drawio-x86_64-16.4.0.AppImage /usr/local/bin/drawio
sudo cp $DOTFILES_HOME/data/drawio/drawio.desktop /usr/local/share/applications/tar -xf eclipse*.tar.gz
eclipse-installer/eclipse-inst # Installation Folder: ~Debian:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.4.0.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.4.0.deb.sha512
shasum -a 512 -c elasticsearch-6.4.0.deb.sha512 && sudo dpkg -i elasticsearch-6.4.0.deb- Adblock Plus
- Bupass Paywalls Clean
- Chessvision.ai
- Cookie-Editor
- Keepa.com - Amazon Price Tracker
- Netflix 1080p
- Recommendation Tweaker for YouTube
- Reverse Image Search
- Save Page WE
- Tabliss
- uBlock Origin
- Video DownloadHelper
- Vimium-FF
- Vue.js devtools
| Name | Value |
|---|---|
| Open previous windows and tabs | yes |
| Ask to save logins and password for websites | no |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-9 g++-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9sudo apt install -y gitHttps:
git clone https://github.com/SimonLammer/dotfiles ~/.dotfilesSSH:
git clone git@github.com:SimonLammer/dotfiles.git ~/.dotfilesCreate symlinks:
~/.dotfiles/gradlew \
actions-git-link\
actions-tmux-link\
actions-vim-link\
actions-vscode-link\
actions-zsh-linkLink dotfiles
ln -isv ~/.dotfiles/data/git/_.gitconfig ~/.gitconfigThe apt version is behind (as of 2020-08-02).
flatpack install flathub org.gnucash.GnuCash
sudo flatpak override --filesystem=host org.gnucash.GnuCashReferences:
sudo apt install gscan2pdf tesseract-ocr-deusudo add-apt-repository ppa:mamantoha/gti
sudo apt-get update
sudo apt-get install -y gtisudo apt-get install chrome-gnome-shellsudo apt-get install -y inkscapesudo apt install -y openjdk-8-jdk openjdk-8-docsudo apt-get install texlive-full
I like the idea, but it didn't work for me, so I'll stay on Play on Linux for now
Settings > Advanced > Excluded file and folder names:
- *-local
- *-local.*
sudo su
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod ugo+x nvim.appimage
version=`./nvim.appimage --version | head -n 1 | sed -E -e 's/.*v(.*)/\1/' -e 's/\./_/g'`
mv nvim.appimage /usr/local/bin/nvim_$version.appimage
update-alternatives --install /usr/local/bin/nvim nvim /usr/local/bin/nvim_$version.appimage 100
update-alternatives --config nvimsudo su
update-alternatives --install /usr/local/bin/vim vim /usr/local/bin/nvim 150
update-alternatives --config vimsudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejsError:
🡲 npm install -g github-app-installation-token
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/lib/node_modules/github-app-installation-token
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/github-app-installation-token'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/github-app-installation-token'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/lib/node_modules/github-app-installation-token'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/slammer/.npm/_logs/2022-10-20T12_52_46_296Z-debug-0.log
Solution:
folder="~/.local/share/npm"
mkdir "$folder"
npm config set prefix "$folder"References:
NoiseTorch is an easy to use open source application for Linux with PulseAudio. It creates a virtual microphone that suppresses noise, in any application. Use whichever conferencing or VOIP application you like and simply select the NoiseTorch Virtual Microphone as input to torch the sound of your mechanical keyboard, computer fans, trains and the likes.
sudo ln -s /media/data/storage/programs/Open-Video-Downloader-2.4.0.AppImage /usr/local/bin/open-video-downloader
sudo cp $DOTFILES_HOME/data/open-video-downloader/open-video-downloader.desktop /usr/local/share/applications/https://github.com/plantuml/plantuml
sudo apt install -y playonlinuxsudo apt install winetricks# cd /disks/main/$(whoami)/programs/
mv ~/.PlayOnLinux ./PlayOnLinux
ln -s $(pwd)/PlayOnLinux ~/.PlayOnLinuxIn the wine Libraries tab create overrides for the properties xaudio2_6 and xaudio2_7, setting both to native.
Open Shell via wine:
sed -iE "$(grep -nm 1 CM "Program Files/Steam/config/config.vdf" | cut -d: -f 1)"' a\\t\t\t\t"CS"\t\t"valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' "Program Files/Steam/config/config.vdf"Install Steam as listed in POL. (update wine version afterwards)
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:swi-prolog/stable
sudo apt-get update
sudo apt-get install swi-prologReferences:
sudo apt install -y python3-pip build-essential libssl-dev libffi-dev python-devpip3 install --user pipenvEither: Wait for a bit
Or: pipenv lock --clear && pipenv install
References:
sudo apt install pulseaudio-equalizerError:
$ qpaeq
qt5ct: using qt5ct plugin
There was an error connecting to pulseaudio, please make sure you have the pulseaudio dbus module loaded, exiting...
Solution:
Add the following lines to /etc/pulse/default.pa:
load-module module-equalizer-sink
load-module module-dbus-protocol
References:
sudo apt install -y rangergpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
wget -O - https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install ruby --defaultsudo apt-get install sqlitebrowsersudo apt install -y sshssh-keygen -o -a 100 -t ed25519 -C "lammer.simon@gmail.com"ssh-keygen -t rsa -b 4096 -C "lammer.simon@gmail.com"eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsaxclip -sel clip < ~/.ssh/id_rsa.pubtype %userprofile%\.ssh\id_rsa.pub | clip-
Github
https://help.github.com/articles/github-s-ssh-key-fingerprints/ -
Gitlab
https://docs.gitlab.com/ee/user/gitlab_com/#ssh-host-keys-fingerprints
Output of steam:
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
find: ‘/home/slammer/.steam/ubuntu12_32/steam-runtime’: No such file or directoryTo fix this, create the folder mentioned:
mkdir ~/.steam/ubuntu12_32/steam-runtimesudo apt install subversion
sudo apt install -y tmux xclipSome configurations are stored in data/tmux/configurations.
References:
Download the latest release from github
sudo apt-get install -y libevent-dev libncurses5-dev libncursesw5-dev
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
tar xf tar xf libevent-2.1.8-stable.tar.gz
wget https://github.com/tmux/tmux/releases/download/2.7/tmux-2.7.tar.gz
tar xf tmux-2.7.tar.gz
cd tmux-2.7.tar.gz
./configure && make
sudo make installgit clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmWithin tmux hit <prefix>-I.
git clone https://github.com/arl/tmux-gitbar.git ~/.tmux-gitbarLink dotfiles
ln -isv ~/.dotfiles/data/tmux/_.tmux.conf ~/.tmux.conf
ln -isv ~/.dotfiles/data/tmux/scripts ~/.tmux/scripts| Location | Info |
|---|---|
| Security > Filesystem > Preserve modification timestamp of file containers | Disable to sync containers to cloud automatically |
sudo apt install -y vim| Action | Description | Reference |
|---|---|---|
:cq |
Quit vim with an error code, disregarding changes in the file. | https://vimdoc.sourceforge.net/htmldoc/quickfix.html |
The plugin manager will be installed automatically from the .vimrc.
vim +PlugInstall +qallLink dotfiles
ln -isv ~/.dotfiles/data/vim/_.vimrc ~/.vimrc# cd /disks/main/$(whoami)/programs/VirtualBox
mv ~/VirtualBox\ VMs .
ln -s $(pwd)/VirtualBox\ VMs ~/.Add the user to the vboxusers group.
sudo adduser $USER vboxusers
Link dotfiles
ln -isv ~/.dotfiles/data/vscode/settings.json ~/.config/Code/User/.
ln -isv ~/.dotfiles/data/vscode/keybindings.json ~/.config/Code/User/.for ext in \
'coenraads.bracket-pair-colorizer'\
'Gruntfuggly.activitusbar'\
'kenhowardpdx.vscode-gist'\
'ms-python.python'\
'ms-vscode.cpptools'\
'vscodevim.vim'\
'mathiasfrohlich.Kotlin'\
;do code --install-extension $ext; donesudo apt install -y vlccurl --create-dirs -o "$HOME/.config/xfce4/terminal/colorschemes/gruvbox-dark.theme" "https://raw.githubusercontent.com/vifo/xfce4-terminal-colorschemes/master/colorschemes/gruvbox-dark.theme" && chmod 0644 "$HOME/.config/xfce4/terminal/colorschemes/gruvbox-dark.theme"sudo ln -s /media/data/storage/programs/xournalpp-1.1.1-x86_64.AppImage /usr/local/bin/xournalpp
sudo cp $DOTFILES_HOME/data/xournalpp/xournalpp.desktop /usr/local/share/applications/Error:
Global template file is not a regular file. Please check your settings.
Solution:
sudo mkdir /usr/local/share/xournalpp
sudo cp $DOTFILES_HOME/data/xournalpp/default_template.tex /usr/local/share/xournalppSelect /usr/local/share/xournalpp/default_template.tex in the setting: Edit > Preferences > LaTeX > Global template file path
References:
sudo apt install -y zshsh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"Logout to update default shell
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsgit clone https://github.com/eendroroy/nothing.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/nothing
ln -isv ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/nothing/nothing.zsh-theme ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/.Link dotfiles:
ln -isv ~/.dotfiles/data/zsh/_.zshrc ~/.zshrcsudo apt install -y \
autojump\
curl\
git\
gparted\
htop\
openjdk-8-jdk openjdk-8-doc\
ssh\
tree\
tmux\
xclip\
vim\
zshFun additions:
sudo apt install -y \
cmatrix\
cowsay\
sl- Gnome Shell
- Fix Airplane mode after suspend
- Anki
- Entr
- Firefox
- Informative default page
- Latex
- md -> latex (pandoc?)
- POL
- Skyrim
- voices
- Mods
- Skyrim
- SSH
- Login with key instead of password
- Add key of localhost
- Automatically trust GH and GL
- Login with key instead of password
- Tmux
- Hide window name on current window if not named
- Vim
- Clipboard interaction
- ? Powerline font
- Tmux powerline theme
- ? ENV Variable
- Dark/Light theme
- Autogenerated ascii art
- cache so it works without network connection