Yet Another Yogurt (yay) helps you install packages from AUR using the command
yay -S instead of entering in commands to clone and build the package.
pacman -S --needed git base-devel --noconfirm git clone https://aur.archlinux.org/yay.git cd yay makepkg -si cd .. rm yay -rf
You can either do
pamac build $PKGNAME or use
yay -s $PACKAGENAME which requires installing yay as shown above.
In the next section is an example on how to install visual studio code.
The following is a one-liner way to install packages in yay to skip the prompts.
echo y | LANG=C yay --noprovides --answerdiff None --answerclean None --mflags "--noconfirm" $PACKAGENAME
To install vscode,
yay -S visual-studio-code-bin
sudo pacman -Su ttf-meslo-nerd-font-powerlevel10k ttf-firacode-nerd --noconfirm
Set Terminal › Integrated: Font Family to
firaCode Nerd Font, monospace or
MesloLGS NF, monospace
Suppose you want to install a package on Arch. The first step would be to search for what you want using
pacman -Ss a query
> pacman -Ss fira code extra/texlive-fontsextra 2023.66594-15 (texlive) TeX Live - Additional fonts extra/texlive-latexextra 2023.66594-15 (texlive) TeX Live - LaTeX additional packages extra/ttf-fira-code 6.2-2 Monospaced font with programming ligatures extra/ttf-firacode-nerd 3.0.2-1 (nerd-fonts) Patched font Fira (Fura) Code from nerd fonts library extra/woff-fira-code 6.2-2 Monospaced font with programming ligatures extra/woff2-fira-code 6.2-2 Monospaced font with programming ligatures
Next install the Fira Code Nerd Font.
sudo pacman -S ttf-firacode-nerd --noconfirm
To use this font in Visual Studio Code, set the editor font family to
firaCode Nerd Font, 'Cascadia Code', Consolas, 'Courier New', monospace.
Set the terminal font-family to
firaCode Nerd Font, monospace
xdg-mime default firefox.desktop x-scheme-handler/http xdg-mime default firefox.desktop x-scheme-handler/https
systemctl start systemd-homed pacman -S pambase --noconfirm # optional
- Ctrl + Alt + F4 to go to virtual terminal
- Ctrl + Alt + F1 to go back to desktop
Ctrl + Alt + Backspace (unconfirmed)
- For Arch, use
sudo pamac build onedriver
Note: If asked regarding a provider for ’d-runtime’ and ’d-compiler’, select ’liblphobos’ and ’ldc'
onedrive to setup account.
Increase number of inotify watchers (number of files that can be monitored)
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
Enable the system service
sudo systemctl enable onedrive@$USER.service sudo systemctl start onedrive@$USER.service journalctl -u onedrive@$USER # scroll to bottom to check if syncing works
lessto read line by line (arrow up and down keys)
moreto read page by page (arrow up and down keys)
catto output entire file (useful for piping
sudo pacman -S appimagelauncher
Next double click on the downloaded AppImage
To append a line to a system file, do not use
>>. Instead use
commandForOutputGoesHere | sudo tee -a /path/to/file
Before we get started, reminder to prefer using
Steam (Runtime) instead of
If you have root access, run the following command so that steam will be properly scaled no matter how it is launched (steam desktop shortcut, terminal, game desktop shortcut).
echo "STEAM_FORCE_DESKTOPUI_SCALING='1.5'" | sudo tee -a /etc/environment
If you do not have root access, edit your login shell (
echo "STEAM_FORCE_DESKTOPUI_SCALING='1.5'" | sudo tee -a ~/.profile
Test 1.5 out by using
source /path/to/file && steam. If 1.5 isn’t right for you, use nano to edit your file:
sudo nano /etc/environment or
Now log out and log back in so that your system will source from either of the files that you edited.
Alternatively, you could edit every single one of your game desktop entries in addition to your steam shortcuts,
To fix scaling, simply run
sudo nano /usr/share/applications/steam.desktop
If you have
gedit, you can use that instead.
Next scroll to the first Exec for the desktop entry, and add
-forcedesktopscaling=1.5 like below
Exec=/usr/bin/steam-runtime -forcedesktopscaling=1.5 %U
Save the file and restart steam (the next section has a command for shutting down apps by program name).
You will also have to add this argument to all game shortcuts.
Copy the desktop file to your local applications directory. This will let you pin / favourite the game to your start menu. You can choose to delete the original shortcut afterwards.
mkdir ~/.local/share/applications sudo cp ~/Desktop/Game.desktop ~/.local/share/applications