Pacman#
1
2
3
| pacman-key --init
pacman-key --populate
pacman-key --refresh-keys
|
Mounting drives#
Samba shares#
Install ‘cifs-utils’ for smb support
Edit ‘/etc/credentials/samba/share’
1
2
| username=user
password=pass
|
Change permissions
1
2
3
| chown root:root /etc/credentials
chmod 700 /etc/credentials/samba
chmod 600 /etc/credentials/samba/share
|
Edit ‘/etc/fstab’ for mounting on boot
1
| //<server>//<share> <mountpoint> cifs _netdev,nofail,credentials=/etc/credentials/samba/share,uid=user,gid=goup 0 0
|
Veracrypt drives#
Install ’ntfs-3g’ for ntfs partitions
Edit ‘/etc/credentials/veracrypt/storage’ with your password
Change permissions
1
2
3
| chown root:root /etc/credentials
chmod 700 /etc/credentials/veracrypt
chmod 600 /etc/credentials/veracrypt/storage
|
Edit ‘/etc/cryttab’ for decryption on boot
1
| <name> /dev/<partition> /etc/credentials/veracrypt/storage tcrypt,tcrypt-veracrypt,noauto
|
Edit ‘/etc/fstab’ for mounting on boot
1
| /dev/mapper/<name> <mountpoint> ntfs3 noauto,x-systemd.automount,uid=<user>,gid=<group> 0 0
|
youtube-dl issues#
Edit /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py and commit out
1
| 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
|
Git#
1
2
| git submodule update --init --recursive
git submodule update --remote --merge
|
Intel CPU and NVidia GPU boot settings#
Edit ‘/etc/default/grub’ and add these to GRUB_CMDLINE_LINUX_DEFAULT
1
2
| intel_iommu=on
nvidia_drm.modeset=1
|
TTY auto login#
Edit ‘/etc/systemd/system/[email protected]/autologin.conf’
1
2
3
| [Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin username %I $TERM
|
Add DWM to display manager#
Edit ‘/usr/share/xsessions/dwm.desktop’
1
2
3
4
5
6
7
| [Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=Dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession
|