Fix minor typos, bugs, and missed packages.
This commit is contained in:
43
arch.md
43
arch.md
@@ -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.
|
Set the display configuration in the user settings the way you want it.
|
||||||
|
|
||||||
|
This seems to be fixed.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo cp ~/.config/monitors.xml /var/lib/gdm/.config ✔ 1m 20s
|
sudo cp ~/.config/monitors.xml /var/lib/gdm/.config ✔ 1m 20s
|
||||||
sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml
|
sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml
|
||||||
@@ -39,10 +41,12 @@ https://wiki.archlinux.org/title/Swap
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
swapoff --all
|
swapoff --all
|
||||||
dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress
|
truncate -s 0 /swap/swapfile
|
||||||
chmod 600 /swapfile
|
chattr +C /swap/swapfile
|
||||||
mkswap /swapfile
|
fallocate -l 4G /swap/swapfile
|
||||||
swapon /swapfile
|
chmod 600 /swap/swapfile
|
||||||
|
mkswap /swap/swapfile
|
||||||
|
swapon /swap/swapfile
|
||||||
```
|
```
|
||||||
|
|
||||||
Add to /etc/fstab
|
Add to /etc/fstab
|
||||||
@@ -85,10 +89,21 @@ mkdir .snapshots
|
|||||||
|
|
||||||
# Take a snapshot
|
# Take a snapshot
|
||||||
alias util-snapshot='btrfs subvolume snapshot $BACKUP_DRIVE $BACKUP_DRIVE/.snapshots/snapshot_$(date +"%H_%M_%S_%d_%m_%y")'
|
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
|
# Restore from a snapshot
|
||||||
cp .snapshots/v1/file .
|
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
|
## Apps
|
||||||
@@ -107,6 +122,13 @@ sudo systemctl start bluetooth
|
|||||||
|
|
||||||
https://snapcraft.io/install/snap-store/manjaro
|
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
|
### Chromium
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -193,3 +215,14 @@ sudo reboot
|
|||||||
```bash
|
```bash
|
||||||
sudo pacman -S kubectl
|
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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user