General recommendations

From ArchWiki
Revision as of 06:00, 22 December 2009 by Pwd (talk | contribs) (Package management: add ln to pacman Tips)
Jump to navigation Jump to search

Template:Article summary start Template:Article summary text Template:Article summary heading Template:I18n entry Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary end

This page is currently under construction. The final result will be a merged Post Installation Tips and Beginners' Guide Appendix. See Talk:Post Installation Tips#Duplication of effort (merge?) for details.

The intended style is that of an "index" of popular or otherwise frequently-sought information. This page should contain no real "content", but rather short introductions/descriptions of a problem/application followed by a suitable wiki link for interested parties.

That said, please keep headings alphabetical.

Recommended reading

This section is probably unnecessary...

ABS, AUR, FHS, makepkg, pacman, Xorg, CUPS


This section contains frequently-sought "eye candy" tweaks for an aesthetically pleasing Arch experience. For more, please see Category:Eye candy (English).

Colored output

Even though a number of applications have built-in color capabilities, installing a general-purpose, colorizing wrapper such as Template:Package AUR is another route. To install Template:Codeline using yaourt or another AUR helper:

$ yaourt -S cope

Or for the oftenly updated git version:

$ yaourt -S cope-git

Console prompt

The console prompt (PS1) can be customized to a great extent. See the What's your PS1? forum thread for ideas, also see Color Bash Prompt if using Bash or Zsh#Prompts if using Zsh.

Emacs shell

Emacs is known for featuring options beyond the duties of regular text editing, one of these being a full shell replacement. Consult Emacs#Colored output issues for a fix regarding garbled characters that may result from enabling colored output.


Beyond aesthetics, Template:Codeline's color output is immensely useful for learning Template:Codeline and Template:Codeline's functionality.

To add it, write the following entry to Template:Filename:

export GREP_COLOR="1;33"
alias grep='grep --color=auto'

The variable Template:Codeline is used to specify the output color, in this example a light yellow color.

Although the man page of Template:Codeline states that Template:Codeline is deprecated and that Template:Codeline is preferable, this variable will not work (as of grep version 2.5.4) so continue to use Template:Codeline for now.


File Template:Filename should already have the following entry copied from Template:Filename:

alias ls='ls --color=auto'

The next step will further enhance the colored Template:Codeline output; for example, broken (orphan) symlinks will show in red, etc. Add the following to Template:Filename and relogin, or source the file:

eval `dircolors -b`
Note: These are not single quotes/apostrophes; these are backquotes/backticks/grave accents.

Man pages

Man pages (or manual pages) are one of the most useful resources available to GNU/Linux users. To aid readability, the pager can be configured to render colored text as explained in Man Page#Colored man pages.


A plethora of information on the subject of fonts can be found in the Fonts and Font Configuration articles.

Console fonts

If spending a significant amount of time working from the virtual console (i.e. outside an X server), users may wish to change the console font to improve readability; see Fonts#Console fonts.

LCD filtered fonts

Font rendering software can be patched to provide smoother fonts on LCD monitors by taking advantage of sub-pixel elements; see Font Configuration#LCD filter patched packages.


This section contains information pertaining to the boot process. An overview of the Arch boot process can be found at Arch Boot Process. For more, please see Category:Boot process (English).

Backgrounding daemons

Daemons are programs that run in the background, and are typically started during boot. In order to speed up the boot process, certain daemons can be backgrounded, allowing the boot process to continue whilst the daemon loads. See Daemon for a complete explanation.

Hardware auto-recognition

hwdetect informs of what modules are needed for a particular device.

# pacman -S hwdetect

Template:Package AUR is an alternative available in the AUR. To install it with yaourt or another AUR helper:

$ yaourt -S lshwd

LILO speed improvement

Besides GRUB, LILO is the most widely known Linux boot loader, legacy or not. Follow instructions shown in LILO#Sample setup for making the most out of its features.

NumLock activation at boot

NumLock is a toggle key found in most keyboards. For activating NumLock's number key-assignment during startup, see Activating Numlock on Bootup.

Retaining boot messages

Once it concludes, the screen is cleared and the login prompt appears, leaving users unable to gather feedback from the boot process. Disable clearing of boot messages to overcome this limitation.

Start X at boot

If utilizing an X server to provide a graphical user interface, users may wish to start this server during the boot process rather than starting it manually after login. See Display Manager if desiring a graphical login or Start X at boot for methods that do not involve a display manager.

Console improvements

This section applies to small modifications that better console program's practicality


Bash additions

A list of miscellaneous Bash settings, including completion enhancements, history search and readline macros is available in Bash#Extended usage.

Compressed files

Browsing compressed files

Extracting compressed files

Control echo

Mouse support

Using a mouse with the console for copy-paste operations can be preferred over screen's traditional copy mode. Refer to Console Mouse Support for comprehensive directions.


Adjusting mouse scroll wheel (depreciated?)

Configure all mouse buttons

Keyboard layouts

Laptop touchpads

Power management

This section may be of use to users running Arch on laptops or otherwise seeking power management controls. For more, please see Category:Power management (English).


Users can configure how Arch systems react to ACPI events such as pressing the power button or closing a laptop's lid using acpid.

CPU frequency scaling

Modern processors can decrease their frequency and voltage to reduce heat and power consumption. Less heat leads to a quieter system and prolongs the life of hardware. cpufrequtils is a set of utilities designed to assist CPU frequency scaling.


For articles related to portable computing along with model-specific installation guides, please see Category:Laptops (English). For a general overview of laptop-related articles and recommendations, see Laptop.

Laptop mode

TODO: Expand Laptop Mode Tools; merge Beginners' Guide Appendix#Laptop-Mode

Suspending and hibernation

Several options are available to users desiring suspend-to-RAM (sleep/stand-by) and suspend-to-disk (hibernate) functionality on Arch systems. pm-utils describes one popular method, while hibernate-script is an older alternative that does not depend on Xorg packages.


Disable IPv6

DNS speed improvement

System administration

Package management

Should this section be included here (under sys. admin.) or kept separate?

Agree with keeping it here


Aliasing a command, or a group thereof, is a way of saving time when using the command prompt. This is specially helpful for repetitive tasks that don't need significant alteration to their parameters between executions. Various time saving pacman aliases are organized in pacman Tips, besides other suggested tools.

Arch Build System

Arch User Repository

AUR helpers


Privilege escalation

A fresh Arch installation leaves users with only one user account: root (the superuser account). Logging in as root for prolonged periods of time is widely considered to be foolish and insecure. Instead, users should create and use unprivileged user accounts for most tasks, any only use the root account for system administration. The su (substitute user) command allows users to assume the identity of another user on the system (usually root) from an existing login, whereas the sudo command grants temporary privilege escalation for a specific command.

System services


Local mail delivery