Fix minor typos, bugs, and missed packages.

This commit is contained in:
ducoterra
2022-01-31 13:47:11 -05:00
parent 7b0daef47d
commit 92a4acf415

43
arch.md
View File

@@ -24,6 +24,8 @@ https://askubuntu.com/questions/11738/force-gdm-login-screen-to-the-primary-moni
Set the display configuration in the user settings the way you want it.
This seems to be fixed.
```bash
sudo cp ~/.config/monitors.xml /var/lib/gdm/.config  ✔  1m 20s 
sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml
@@ -39,10 +41,12 @@ https://wiki.archlinux.org/title/Swap
```bash
swapoff --all
dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
truncate -s 0 /swap/swapfile
chattr +C /swap/swapfile
fallocate -l 4G /swap/swapfile
chmod 600 /swap/swapfile
mkswap /swap/swapfile
swapon /swap/swapfile
```
Add to /etc/fstab
@@ -85,10 +89,21 @@ mkdir .snapshots
# Take a snapshot
alias util-snapshot='btrfs subvolume snapshot $BACKUP_DRIVE $BACKUP_DRIVE/.snapshots/snapshot_$(date +"%H_%M_%S_%d_%m_%y")'
alias util-backup='util-snapshot && rsync -av --delete /home/ducoterra/ $BACKUP_DRIVE/home/ducoterra/
alias util-backup='util-snapshot && rsync -av --delete /home/ducoterra/ $BACKUP_DRIVE/home/ducoterra/'
# Restore from a snapshot
cp .snapshots/v1/file .
# Find files older than 7 days
find . -maxdepth 1 -mtime +7
```
### Font
```bash
wget https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip
unzip Fira_Code_v6.2.zip -d Fira_Code
rsync -av Fira_Code/ttf/ ~/.local/share/fonts/
```
## Apps
@@ -107,6 +122,13 @@ sudo systemctl start bluetooth
https://snapcraft.io/install/snap-store/manjaro
```bash
sudo pacman -S snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install snap-store
```
### Chromium
```bash
@@ -193,3 +215,14 @@ sudo reboot
```bash
sudo pacman -S kubectl
```
## Spotify
Install via snap store.
## Minecraft
```bash
git clone https://aur.archlinux.org/minecraft-launcher.git /tmp/minecraft-launcher
makepkg -si --noconfirm
```