Previously, we install XORG and its ready-to-use accessories, however it's up to us to configure a few small details to have it even better.
This guide focuses primarily on XORG, although it also helps us to have a configuration basic of our system.
Some steps in this guide No. are necessary if you want to install a pre-configured environment (Gnome, KDE, Cinnamon, XFCE, Etc.) Since these environments are configured automatically, you can skip the steps with a «*«, Although they are recommended if you want to have a basic system configured.
p style = »text-align: justify»>
To start the graphical environment: $ startx
To paste the guide text into Xterm: Shift + Insert
Table of Contents
Set keyboard distro to XORG
Previously we set it for the system, now it is missing for the basic environment for this we create a keyboard configuration file.
$ sudo dwarf /etc/X11/xorg.conf.d/10-keyboard.conf
Inside the file we add:
Don't know what your keyboard distro is? (Click on the name of the distros above).
• Example: la-latin1
Section "InputClass" Identifier "system-keyboard"MatchIsKeyboard" on " Option "XkbLayout" "latam" Option "XkbModel" "pc104" Option "XkbVariant" "deadtilde, dvorak" Option "XkbOptions" "grp: alt_shift_toggle" EndSection
Now our keyboard is configured in our system.
Generate personal folders
Now for our basic personal folders (Desktop, Downloads, Music, Etc.).
For this we install the tool xdg-user-dirs:
$ sudo pacman -S xdg-user-dirs
Finally we execute it so that it generates our folders.
Add child repositories
We open the file /etc/pacman.conf
$ sudo dwarf /etc/pacman.conf
If you installed Arch Linux 64-bit (x86_64), it is recommended that you enable the repository, to be able to run 32-bit (i686) applications. To enable it we remove "#" from the beginning.
[multilib] Include = /etc/pacman.d/mirrorlist
Required to install yaourt, Virtualbox packages among others.
We add it to the end of our file
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
Finally we update the repositories:
$ sudo pacman -Yes
What is yaourt?
It is a tool contributed by the community for our system, its function is to add integral access to the AUR repository, which allows the automation of the compilation of packages and the installation of the chosen PKGBUILDs within AUR.
Yaourt extends the power and simplicity of pacman, adding more useful features and providing a nice, colored output, interactive search modes, and much more.
$ sudo pacman -S yaourt
TIP: To update the entire system (including packages installed from AUR):
$ yogurt -Syua
There is no need to talk about this, since it is a general package and is pre-installed in most Gnu / Linux distros, to have an audio control in our system, simpler than the one provided by ALSA.
$ sudo pacman -S pulseaudio pulseaudio-alsa
Volume key support *
In general, the brightness control keys are configured automatically so we do not need to add support (for equipment that does not work the brightness keys at the end of the guide there is a temporary step), instead in the volume keys if we have to do it. For this we install the tools Xbindkeys y Pamixer .
We proceed to install Xbindkeys.
$ sudo pacman -S xbindkeys
Pamixer is available in AUR, to install it we need yaourt.
$ yogurt -S pamixer-git
We create the configuration file
$ dwarf ~ / .xbindkeysrc
Inside the file we add:
# turn up the volume "pamixer --increase 3"XF86AudioRaiseVolume # lower volume "pamixer --decrease 3"XF86AudioLVolume
We save changes and exit nano.
Finally, we add Xbindkeys to our list of startup programs (.xinitrc).
We generate our .xinitrc file:
$ cp /etc/skel/.xinitrc ~
$ dwarf .xinitrc
Inside our file, we add at the end:
Notification support *
We install Notify-osd from the official repositories.
$ sudo pacman -S notify-osd
A modified version is available in the AUR for customization.
$ yogurt -S notify-osd-customizable notifyconf
Now we test the notifications
$ notify-send "Hello World"
We already have installed Notify-osd in our system.
Another quite practical and recommended notifier is Xfce4-notifydIt is also compatible with other graphic environments.
To install Xfce4-notifyd
$ sudo pacman -S xfce4-notifyd
To configure, we execute
Recommended font installation
We install the basic fonts to our system
$ sudo pacman -S ttf-liberation ttf-bitstream-vera ttf-dejavu ttf-droid ttf-freefont
Finally we install a minimalist font package.
$ sudo pacman -S artwiz-fonts
With this we finish the basic Arch Linux setup!
After setting XORG, our system is ready for the installation of any graphical environment.
- Installation of Gnome on Arch Linux.
- Installation of KDE on Arch Linux.
- Installation of Xfce on Arch Linux.
- Installation of Cinnamon on Arch Linux.
- Installation of Openbox on Arch Linux.
Please! send your problems / doubts in my email: email@example.com
Help us with one click!, share the guide with your friends.