Last active
July 13, 2025 00:14
-
-
Save thacoon/96e66f5d475a059cc6d66b61c6366b7a to your computer and use it in GitHub Desktop.
Install a minimal gnome setup and some more useful things
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Gnome and some other useful thins | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# And based on https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger | |
# I have just copied commands from https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger#Weitere_notwendige_Dienste | |
# It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c) | |
# Switch to root | |
sudo su - | |
# Some useful services | |
pacman -S acpid ntp dbus cups cups-pdf cronie | |
systemctl enable acpid | |
systemctl enable ntpd | |
systemctl enable cups | |
# nano /etc/ntp.conf # not needed | |
# For german time server de.pool.ntp.org | |
ntpd -gq | |
date # verify correct time | |
hwclock -w | |
# GUI installation | |
pacman -S wayland | |
# Find out your graphics drivers | |
lspci | grep VGA | |
pacman -Ss xf86-video | |
pacman -S YOUR_DRIVER | |
pacman -S xorg-drivers # For all if you do not know | |
# For labtops | |
pacman -S xf86-input-synaptics | |
# Minimal gnome installation | |
pacman -S gnome-shell gnome-shell-extensions gnome-browser-connector gnome-tweaks nautilus gnome-terminal gnome-control-center xdg-user-dirs gdm | |
# The gnome terminal manager needs en_US.UTF-8 uncommented in locale.gen | |
# For guake you have to change the keyboard and format used in the Gnome settings | |
# If guake cannot display chars like: ä,ö,ü then regenerate the locales, like: | |
nano /etc/locale.gen # uncomment the needed lines like: de_DE.UTF-8 or en_US.UTF-8 | |
locale-gen | |
# set the system locale | |
localectl set-locale LANG=en_US.UTF-8 | |
# But keep the german keymap | |
localectl set-keymap de | |
systemctl start gdm | |
# First time the keymap is changed back to englih, after login change it in the settings | |
# Go to Settings -> Keyboard -> Add a German Input source & remove the English one | |
# You can enable it so it directly starts gdm on reboot | |
# Or you login as normaly and always start it manually | |
systemctl enable gdm | |
# Restart the computer using the GUI or use the Gnome Terminal to do the following commands | |
# Install NetworkManager | |
# Gnome-keyring is needed to store the wifi passwords encrypted | |
sudo pacman -Sy networkmanager gnome-keyring | |
sudo systemctl start NetworkManager | |
sudo systemctl enable NetworkManager | |
# In Gnome you can now connect to the wlan, but iwctl/iwd cant be runnign at the same time | |
# either you reboot or you do sudo systemctl stop iwd | |
# Install Firefox | |
sudo pacman -Sy firefox | |
# Screen sharing in the browsers may not work if you use Wayland. To fix this install: | |
sudo pacman -Sy xdg-desktop-portal xdg-desktop-portal-gnome | |
# Firefox supports this by default, for Chromium you need to enable the flag chrome://flags/#enable-webrtc-pipewire-capturer | |
# If you are looking for a nice drop-down terminal, you can use ddterm and insall it via gnome extensions | |
# Go to extensions.gnome.org | |
# You are asked to install a Firefox PLugin and after that search for ddterm and toggle it on / install it | |
# Another nice extension is: Arch Linux Update Indicator (need to install pacman-contrib alongside) | |
# Other nice packages I use, which are installed via pacman | |
* tmux (for terminals) | |
* yay (for AUR) | |
* podman (docker alternative) | |
* podman-compose (docker compose alternative) | |
# Disable the beep sound in the terminal | |
echo "set bell-style none" >> ~/.inputrc | |
# to directly apply it in the terminal use: bind -f ~/.inputrc |
Great guide! As far as locales, it's also a good idea to set the system locale at /etc/locale.conf
or use localectl
to do it.
best guide, thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to solve gnome-terminal error:
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal:
#localectl set-locale LANG="en_US.UTF-8" # after locale-gen