Skip to content

Instantly share code, notes, and snippets.

@pieroproietti
Forked from thacoon/arch-linux-gnome-install
Created January 28, 2023 10:52
Show Gist options
  • Save pieroproietti/1bd06d57e952cb3cb08baf70734258b7 to your computer and use it in GitHub Desktop.
Save pieroproietti/1bd06d57e952cb3cb08baf70734258b7 to your computer and use it in GitHub Desktop.

Revisions

  1. @thacoon 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


  2. @thacoon 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

  3. @thacoon 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
  4. @thacoon 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
  5. @thacoon 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

  6. @thacoon 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
  7. @thacoon 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
  8. 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
  9. 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