Skip to content

Instantly share code, notes, and snippets.

@kilip
Forked from thacoon/arch-linux-gnome-install
Last active April 7, 2018 02:31
Show Gist options
  • Save kilip/4415fab0ef979ce9f3863e1b3db206fa to your computer and use it in GitHub Desktop.
Save kilip/4415fab0ef979ce9f3863e1b3db206fa to your computer and use it in GitHub Desktop.
Install a minimal gnome setup and some more useful things
# 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 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
# 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
#i3
pacman -S ttf-dejavu wget
wget -c http://kumarcode.com/resources/fontawesome-webfont.ttf
wget -c http://kumarcode.com/resources/AIcons.ttf
wget -c http://kumarcode.com/resources/icons.ttf
copy *.ttf ~/.local/share/fonts
mkdir ~/.local/share/fonts
cp *.ttf ~/.local/share/fonts
fc-cache -fv
# packer
sudo pacman -S base-devel fakeroot jshon expac git wget
wget -c https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer
mv PKGBUILD\?h\=packer PKGBUILD
makepkg
sudo pacman -S lua conky
# autologin
# urxvt
pacman -S urxvt-unicode urxvt-perls
pacman -S ttf-font-awesome feh pango libxft lxappearance xorg-fonts-100dpi xorg-fonts-75dpi noto-fonts
packer -S urxvt-resize-font-git
git clone https://github.com/schischi/xcwd.git
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment