Installing and configuring Awesome WM in Archlinux

Installing xorg, awesome and sound

  1. #pacman -S xorg-server xorg-xinit xorg-utils xorg-twm xorg-xclock xterm
  2. #pacman -S dbus xf86-input-evdev xf86-input-synaptics
  3. #pacman -S xf86-video-vesa
  4. #pacman -S awesome
  5. #pacman -S alsa-utils alsa-oss
  6. #pacman -S alsamixer alsa-plugins pulseaudio
  7. Edit the /etc/rc.conf and add to DAEMONS dbus @alsa
  8. Add the user to the group audio

 

Customizing

  1. Add exec awesome to .xinitrc (see .xinitrc file below)
  2. Add tags in the rc.lua
    — {{{ Tags
    — Define a tag table which hold all screen tags.
    tags = {
    names = {“control”, “dev”, “www”, “mail”, “agenda”, “irc”, “im”, “rss”, “media”}
    }
    for s = 1, screen.count() do
    — Each screen has its own tag table.
    —  tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
    tags[s] = awful.tag(tags.names, s)
    end
    — }}}
  3. #pacman -S xcompmgr
  4. Place this after the awful request in you rc.lua: awful.util.spawn_with_shell(“xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &”)
  5. #pacman -S urxvt
  6. #touch .Xdefaults (see example file below)
  7. #pacman -S firefox flashplugins
  8. To be continued

https://wiki.archlinux.org/index.php/PulseAudio#Installation

http://www.youtube.com/watch?v=YlN5z7kcIEk

http://awesome.naquadah.org/wiki/FAQ#How_to_change_the_name_and_layout_per_tag.3F

http://wiki.afterstep.org/index.php?title=Rxvt-Unicode_Configuration_Tutorial

—————

# Current .xinitrc:

# Rotate wallpapers
while true;
do
awsetbg -r /home/user/Wallpapers
sleep 1m
done &

# be kb map
setxkbmap be

# wm
exec awesome

—————

#Current .Xdefaults

# transparency – true or false (default)
URxvt*transparent: true

# tint with any color; i.e., blue, red, tomato4, olivedrab2, etc.
#   some nice listings are at:
#     http://www.nisrv.com/drupal/?q=node/11
#     http://www.htmlgoodies.com/tutorials/colors/article.php/3478921
#URxvt*tintColor: Blue

# shading – 0 to 99 darkens, 101 to 200 lightens.
#   Don’t use with tintColor; just use a darker or lighter color instead.
#URxvt*shading: 40

# scrollback buffer lines – 65535 is max on most machines (64 is default)
URxvt*saveLines: 12000

# font color (default is black)
URxvt*foreground: White

# background color (prior to tinting) (default is white)
URxvt*background: Blue

# Xft (X FreeType) with Bitstream, DejaVu, Liberation, or Terminus fonts:
#  Fedora/debian packages: libXft/libxft2
#  An anti-aliased font setup with Xft looks fantastic; it can be a bit choppy
#  on older systems. You can always turn off anti-aliasing (antialias=false) if
#  your terminal is sluggish. Use only ONE of the Xft pairs below:
#
# Xft: Bitstream fonts
#  Fedora/debian packages: bitstream-vera-sans-mono-fonts/ttf-bitstream-vera
#URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=12:antialias=true:hinting=true
#URxvt*boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
#
# Xft: DejaVu fonts
#  Fedora/debian packages: dejavu-sans-mono-fonts/ttf-dejavu
URxvt*font: xft:DejaVu Sans Mono:pixelsize=12:antialias=true:hinting=true
URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
#
# Xft: Liberation fonts
#  Fedora/debian packages: liberation-mono-fonts/ttf-liberation
#URxvt*font: xft:Liberation Mono:pixelsize=13:antialias=true:hinting=true
#URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=13:antialias=true:hinting=true
#
# Xft: Terminus fonts
#  Fedora/debian packages: terminus-fonts/xfonts-terminus
#URxvt*font: xft:terminus:pixelsize=15
#URxvt*boldFont: xft:terminus:bold:pixelsize=15

# Traditional fonts – a more traditional font setup in lieu of xft
#URxvt*font:-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
#URxvt*boldFont:-*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1

# Replace blue folder colors with a lighter shade for clarity. To
#  set colored folders and files within urxvt, xterm, and aterm, add
#  the following line to your ~/.bashrc ($HOME/.bashrc) file under
#  the heading “# User specific aliases and functions”:
#   alias ls=”ls -h –color=auto”
URxvt*color4: RoyalBlue
URxvt*color12: RoyalBlue

# scrollbar – true (default) or false
URxvt*scrollBar: false

# scrollbar position – left=false (default) or right=true
URxvt*scrollBar_right: false

# scrollbar style – rxvt (default), plain, next, or xterm
URxvt*scrollstyle: rxvt

#URxvt*borderLess: true

2 thoughts on “Installing and configuring Awesome WM in Archlinux”

Leave a Reply

Your email address will not be published.

Loading Facebook Comments ...
Loading Disqus Comments ...