Skip to content

Instantly share code, notes, and snippets.

@thacoon
Last active July 13, 2025 00:14
Show Gist options
  • Save thacoon/96e66f5d475a059cc6d66b61c6366b7a to your computer and use it in GitHub Desktop.
Save thacoon/96e66f5d475a059cc6d66b61c6366b7a to your computer and use it in GitHub Desktop.

Revisions

  1. thacoon revised this gist Jul 13, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -84,6 +84,8 @@ sudo pacman -Sy xdg-desktop-portal xdg-desktop-portal-gnome
    # 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
  2. thacoon revised this gist Jul 12, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -35,7 +35,7 @@ pacman -S xorg-drivers # For all if you do not know
    pacman -S xf86-input-synaptics

    # Minimal gnome installation
    pacman -S gnome-shell gnome-shell-extensions gnome-browser-connector nautilus gnome-terminal gnome-control-center xdg-user-dirs gdm
    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
  3. thacoon revised this gist Jul 12, 2025. 1 changed file with 0 additions and 33 deletions.
    33 changes: 0 additions & 33 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -5,39 +5,6 @@
    # 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)

    # First connect to the internet
    # If you are not connected via ethernet, use iwctl to connect to wifi

    # You need to start the service first
    sudo systemctl start iwd

    # Then run, which will open an interactive prompt with prefix of `[iwd]#`
    iwctl

    ## First find out your device
    device list

    ## Power it on, update <name> with the name of your device, could be wlan0
    device <name> set-property Powered on

    ## Scan for your wifi network
    station <name> get-networks

    ## Connect to your network, you will be asked for your passphrase, replace <SSID> with your networks SSID
    station <name> connect "<SSID>"

    ## Quit iwctl
    quit

    # Test that you have internet
    ping archlinux.org
    # Sometimes it is buggy and you first have to do ping 9.9.9.9 and then the DNS works

    # You maybe need to set a nameserver otherwise the name resolution / DNS is not working propery
    sudo nano /etc/resolv.conf

    # Add the following line for a Quad9 nameserver: nameserver 9.9.9.9

    # Switch to root
    sudo su -

  4. thacoon revised this gist Jul 12, 2025. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -115,4 +115,9 @@ sudo pacman -Sy xdg-desktop-portal xdg-desktop-portal-gnome
    # 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
    * tmux (for terminals)
    * yay (for AUR)

    # Disable the beep sound in the terminal
    echo "set bell-style none" >> ~/.inputrc
    # to directly apply it in the terminal use: bind -f ~/.inputrc
  5. thacoon revised this gist Jul 12, 2025. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -68,7 +68,7 @@ pacman -S xorg-drivers # For all if you do not know
    pacman -S xf86-input-synaptics

    # Minimal gnome installation
    pacman -S gnome-shell gnome-shell-extensions nautilus gnome-terminal guake gnome-control-center xdg-user-dirs gdm
    pacman -S gnome-shell gnome-shell-extensions gnome-browser-connector 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
    @@ -107,3 +107,12 @@ 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
  6. thacoon revised this gist Jul 12, 2025. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,9 @@ 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
    @@ -95,6 +98,9 @@ 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

  7. thacoon revised this gist Jul 12, 2025. 1 changed file with 48 additions and 18 deletions.
    66 changes: 48 additions & 18 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -5,12 +5,48 @@
    # 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)

    # First connect to the internet
    # If you are not connected via ethernet, use iwctl to connect to wifi

    # You need to start the service first
    sudo systemctl start iwd

    # Then run, which will open an interactive prompt with prefix of `[iwd]#`
    iwctl

    ## First find out your device
    device list

    ## Power it on, update <name> with the name of your device, could be wlan0
    device <name> set-property Powered on

    ## Scan for your wifi network
    station <name> get-networks

    ## Connect to your network, you will be asked for your passphrase, replace <SSID> with your networks SSID
    station <name> connect "<SSID>"

    ## Quit iwctl
    quit

    # Test that you have internet
    ping archlinux.org
    # Sometimes it is buggy and you first have to do ping 9.9.9.9 and then the DNS works

    # You maybe need to set a nameserver otherwise the name resolution / DNS is not working propery
    sudo nano /etc/resolv.conf

    # Add the following line for a Quad9 nameserver: nameserver 9.9.9.9

    # Switch to root
    sudo su -

    # Some useful services
    pacman -S acpid ntp dbus cups cronie
    pacman -S acpid ntp dbus cups cups-pdf cronie

    systemctl enable acpid
    systemctl enable ntpd
    systemctl enable org.cups.cupsd.service
    systemctl enable cups

    # nano /etc/ntp.conf # not needed
    # For german time server de.pool.ntp.org
    @@ -19,11 +55,11 @@ date # verify correct time
    hwclock -w

    # GUI installation
    pacman -S xorg-server xorg-xinit
    pacman -S wayland

    # Find out your graphics drivers
    lspci | grep VGA
    pacman -Ss xf86-video | less #
    pacman -Ss xf86-video

    pacman -S YOUR_DRIVER
    pacman -S xorg-drivers # For all if you do not know
    @@ -32,7 +68,7 @@ pacman -S xorg-drivers # For all if you do not know
    pacman -S xf86-input-synaptics

    # Minimal gnome installation
    pacman -S gnome-shell nautilus gnome-terminal guake gnome-tweak-tool gnome-control-center xdg-user-dirs gdm
    pacman -S gnome-shell gnome-shell-extensions nautilus gnome-terminal guake 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
    @@ -43,21 +79,15 @@ locale-gen
    # set the system locale
    localectl set-locale LANG=en_US.UTF-8

    # you need to restart gnome so gnome knows about the change or just reboot

    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

    # If you do not want a graphical user login
    cp /etc/skel/.xinitrc /home/MYUSERNAME
    # If there is no such file use:
    cp /etc/X11/xinit/xinitrc /home/MYUSERNAME
    mv ~/xinitrc ~/.xinitrc
    nano ~/.xinitrc # As a normal user
    # Add exec gnome-session but only one exec should be used
    startx # Start Gnome session
    # You can enable it so it directly starts gdm on reboot
    # Or you login as normaly and always start it manually
    systemctl enable gdm

    # If you want to use a graphical user login
    systemctl start gdm
    systemctl enable gdm # If everything works fine, to use gdm automatically
    # 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
  8. thacoon revised this gist May 25, 2022. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -18,9 +18,6 @@ ntpd -gq
    date # verify correct time
    hwclock -w

    # set the system locale
    localectl set-locale LANG=en_US.UTF-8

    # GUI installation
    pacman -S xorg-server xorg-xinit

    @@ -42,6 +39,10 @@ pacman -S gnome-shell nautilus gnome-terminal guake gnome-tweak-tool gnome-contr
    # 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

    # you need to restart gnome so gnome knows about the change or just reboot


  9. thacoon revised this gist May 25, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,9 @@ ntpd -gq
    date # verify correct time
    hwclock -w

    # set the system locale
    localectl set-locale LANG=en_US.UTF-8

    # GUI installation
    pacman -S xorg-server xorg-xinit

  10. thacoon revised this gist Apr 26, 2022. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -57,6 +57,13 @@ systemctl enable gdm # If everything works fine, to use gdm automatically

    # Install NetworkManager
    # Gnome-keyring is needed to store the wifi passwords encrypted
    sudo pacman -S networkmanager gnome-keyring
    sudo pacman -Sy networkmanager gnome-keyring
    sudo systemctl start NetworkManager
    sudo systemctl enable NetworkManager

    # 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
  11. thacoon revised this gist Apr 10, 2020. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -6,11 +6,10 @@
    # It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c)

    # Some useful services
    pacman -S acpid ntp dbus avahi cups cronie
    pacman -S acpid ntp dbus cups cronie

    systemctl enable acpid
    systemctl enable ntpd
    systemctl enable avahi-daemon
    systemctl enable org.cups.cupsd.service

    # nano /etc/ntp.conf # not needed
  12. thacoon revised this gist Apr 11, 2019. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@
    # It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c)

    # Some useful services
    pacman -S acpid ntp dbus avahi cups cronie ntp
    pacman -S acpid ntp dbus avahi cups cronie

    systemctl enable acpid
    systemctl enable ntpd
    @@ -23,7 +23,7 @@ hwclock -w
    pacman -S xorg-server xorg-xinit

    # Find out your graphics drivers
    lspci |grep VGA
    lspci | grep VGA
    pacman -Ss xf86-video | less #

    pacman -S YOUR_DRIVER
    @@ -34,9 +34,11 @@ pacman -S xf86-input-synaptics

    # Minimal gnome installation
    pacman -S gnome-shell nautilus gnome-terminal guake gnome-tweak-tool 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 UTF-8
    nano /etc/locale.gen # uncomment the needed lines like: de_DE.UTF-8 or en_US.UTF-8
    locale-gen
    # you need to restart gnome so gnome knows about the change or just reboot

  13. thacoon revised this gist Mar 19, 2019. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -52,4 +52,10 @@ startx # Start Gnome session

    # If you want to use a graphical user login
    systemctl start gdm
    systemctl enable gdm # If everything works fine, to use gdm automatically
    systemctl enable gdm # If everything works fine, to use gdm automatically

    # Install NetworkManager
    # Gnome-keyring is needed to store the wifi passwords encrypted
    sudo pacman -S networkmanager gnome-keyring
    sudo systemctl start NetworkManager
    sudo systemctl enable NetworkManager
  14. thacoon revised this gist Mar 19, 2019. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ date # verify correct time
    hwclock -w

    # GUI installation
    pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    pacman -S xorg-server xorg-xinit

    # Find out your graphics drivers
    lspci |grep VGA
    @@ -35,10 +35,10 @@ pacman -S xf86-input-synaptics
    # Minimal gnome installation
    pacman -S gnome-shell nautilus gnome-terminal guake gnome-tweak-tool gnome-control-center xdg-user-dirs gdm
    # 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
    nano /etc/locale.gen # uncomment the needed lines like: de_DE.UTF-8 UTF-8
    locale-gen
    # you need to restart gnome so gnome knows about the change or just reboot
    # If guake cannot display chars like: ä,ö,ü then regenerate the locales, like:
    nano /etc/locale.gen # uncomment the needed lines like: de_DE.UTF-8 UTF-8
    locale-gen
    # you need to restart gnome so gnome knows about the change or just reboot


    # If you do not want a graphical user login
  15. Constantin Soffner revised this gist Jul 15, 2016. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,11 @@ pacman -S xf86-input-synaptics
    # Minimal gnome installation
    pacman -S gnome-shell nautilus gnome-terminal guake gnome-tweak-tool gnome-control-center xdg-user-dirs gdm
    # 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
    nano /etc/locale.gen # uncomment the needed lines like: de_DE.UTF-8 UTF-8
    locale-gen
    # you need to restart gnome so gnome knows about the change or just reboot


    # If you do not want a graphical user login
    cp /etc/skel/.xinitrc /home/MYUSERNAME
  16. Constantin Soffner created this gist Jul 15, 2016.
    50 changes: 50 additions & 0 deletions arch-linux-gnome-install
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    # 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)

    # Some useful services
    pacman -S acpid ntp dbus avahi cups cronie ntp

    systemctl enable acpid
    systemctl enable ntpd
    systemctl enable avahi-daemon
    systemctl enable org.cups.cupsd.service

    # 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 xorg-server xorg-xinit xorg-utils xorg-server-utils

    # Find out your graphics drivers
    lspci |grep VGA
    pacman -Ss xf86-video | less #

    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 nautilus gnome-terminal guake gnome-tweak-tool gnome-control-center xdg-user-dirs gdm
    # For guake you have to change the keyboard and format used in the Gnome settings

    # If you do not want a graphical user login
    cp /etc/skel/.xinitrc /home/MYUSERNAME
    # If there is no such file use:
    cp /etc/X11/xinit/xinitrc /home/MYUSERNAME
    mv ~/xinitrc ~/.xinitrc
    nano ~/.xinitrc # As a normal user
    # Add exec gnome-session but only one exec should be used
    startx # Start Gnome session

    # If you want to use a graphical user login
    systemctl start gdm
    systemctl enable gdm # If everything works fine, to use gdm automatically