Yasin's Arch Linux Install Guide 2 - Desktop

Xorg

sudo pacman -S xf86-video-intel mesa
sudo pacman -S xorg-server
sudo pacman -S xf86-input-evdev xf86-input-synaptics

To test:

sudo pacman -S xorg-xinit xorg-twm xorg-xclock xterm
cp /etc/X11/xinit/xinitrc ~/.xinitrc
startx
sudo pacman -Rsc xorg-xinit xorg-twm xorg-xclock xterm

(Optional) Nvidia Bumblebee

https://wiki.archlinux.org/index.php/Bumblebee

sudo pacman -S nvidia bumblebee
sudo gpasswd -a yasin bumblebee
sudo systemctl enable bumblebeed

(Optional) Custom Resolutions

https://wiki.archlinux.org/index.php/xrandr /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
    Identifier "eDP-1"
    Modeline "1536x864_60.00"  109.25  1536 1624 1784 2032  864 867 872 897 -hsync +vsync
    Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
    Modeline "1664x936_60.00"  128.50  1664 1768 1936 2208  936 939 944 972 -hsync +vsync
    Modeline "1792x1008_60.00"  149.50  1792 1904 2088 2384  1008 1011 1016 1046 -hsync +vsync
    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "eDP-1"
    DefaultDepth 24
    SubSection "Display"
        Modes "1920x1080_60.00"
    EndSubSection
EndSection

Section "Device"
    Identifier "Device0"
    Driver "intel"
EndSection

(Optional) Virtualbox Guest

https://wiki.archlinux.org/index.php/VirtualBox#Install_the_Guest_Additions

#IF: On Virtualbox
sudo pacman -S virtualbox-guest-utils virtualbox-guest-modules-arch

XFCE

https://wiki.archlinux.org/index.php/Xfce

sudo pacman -S gtk-xfce-engine thunar xfce4-appfinder xfce4-panel xfce4-session xfce4-settings xfconf xfdesktop xfwm4

Lightdm

https://wiki.archlinux.org/index.php/LightDM

sudo pacman -S lightdm lightdm-gtk-greeter
sudo systemctl enable lightdm

Networkmanager

sudo pacman -S networkmanager network-manager-applet dhclient xfce4-notifyd
sudo systemctl enable NetworkManager
sudo systemctl disable dhcpcd

Guake

https://wiki.archlinux.org/index.php/Guake

sudo pacman -S guake
sudo cp /usr/share/applications/guake.desktop /etc/xdg/autostart/

(Optional) Audio

sudo gpasswd -a yasin audio
groups yasin
sudo pacman -S alsa-utils pulseaudio
alsamixer # Open up the sound

Other Basic GUI Apps

sudo pacman -S gnome-keyring

Reboot

reboot