Arch Linux Tips
Table of Contents
Arch Linux is my distribution of choice, because it is simple, it gives you control, and, above all, it is very well documented.
Sometime, however, information requires a bit of browsing before being found. This “post”, therefore, contains a list of tips related to Arch Linux… and, if you wondering about the post title, everything is in plain sight: there are no “tricks” here!
In its essence, this page is a list of annotated bookmarks, since all the information contained here references the Arch Wiki. Note that various tips work also with other distributions.
For its very nature, expect this post to find diverse subjects and to grow over time.
gnome-software work in Arch Linux arch gnome
Symptom: You installed
gnome-software, but no software is shown.
gnome-software is not enough: you also
need to specify where to find the list of software.
sudo pacman -S gnome-software-packagekit-plugin
GDM - Gnome virtual console terminal gnome arch
Use the following keyboard shortcut to invoke a console terminal from the graphical environment (GDM, X11, Wayland):
Graphical manager for gnome (gnome desktop manager) gnome arch
GDM, the graphical display manager for Linux can be controlled with
adolfo@qonos:~$ sudo systemctl enable gdm Created symlink /etc/systemd/system/display-manager.service → /usr/lib/systemd/system/gdm.service.
I found disabling GDM useful in a couple of occasions:
- Some time ago I had troubles installing the drivers for the GPU of my laptop. Disabling GDM allowed me to work using the console and fix the issue without booting from an external device.
- There are different applications which manage graphical login and GDM is one of them. In fact each of the major desktop environments come with its own, even though they allow you to choose the graphical environment of your choice. If you are curious and want to experiment a bit, disabling GDM allows you to do exactly that.
Bigger fonts in console by default console arch
If you have a HiDPI display, the font sizes in the consoles is way too small. (I wonder whether I would have said the same thing thirty years ago.)
If fonts are too small or you are, like me, too old for the font size displayed by the console on HiDPI, you can increase the font size.
A temporary solution uses
setfont lat2-16 -m 8859-2
Console fonts are located in
/usr/share/kbd/consolefonts and good
setfont ter-132n, installed with:
sudo pacman -S terminus-font.
A permanent solution specifies the font to be used in
/etc/vconsole.conf (create the file if it is not there):
$ cat /etc/vconsole.conf FONT=lat2-16 FONT_MAP=8859-2
Increase font size in GRUB arch grub
Check the exact location of your GRUB installation, which might either be in
Make a font:
sudo grub-mkfont -s 36 -o /boot/grub/fonts/DejaVuSansMono.pf2 /usr/share/fonts/TTF/DejaVuSansMono.ttf
/etc/defaults/grub and add the following directive:
Check you did not do any mistake:
ls -l /boot/grub/fonts/DejaVuSansMono.pf2
In Arch Linux:
grub-mkconfig -o /boot/grub/grub.cfg