From ArchWiki
Revision as of 07:10, 15 January 2014 by Pithdillinja (talk | contribs) (fixed [ ])
Jump to navigation Jump to search

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary text Template:Article summary text Template:Article summary heading Template:Article summary text Template:Article summary text Template:Article summary text Template:Article summary heading Template:Article summary text Template:Article summary text Template:Article summary end

Hello. I suppose the purpose of a user page is to inform others about myself, so I will do so by telling everyone about my configurations. I like to contribute to the Arch Wiki more than anything when it comes to helping the Arch Community. I click on "random page" and look for whatever things I can change at that page.

My configurations

Asus Eee PC 1015PEM


Note: rc.conf is no longer in use. Consider this a historical section.

# ------------

# --------
MODULES=(acpi-cpufreq vboxdrv vboxnetflt)

# ----------



# -------
DAEMONS=(@syslog-ng dbus !acpid networkmanager !network !dhcpcd !wicd @crond @vbox-service @cupsd @alsa slim mpd)


My MPD configuration is global on one computer. Coupled with the following line from /etc/fstab.conf, here is my MPD configuration. Also, I use sonata as my frontend.

/home/chuck/Music /var/lib/mpd/Music none bind
music_directory	"/var/lib/mpd/Music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
follow_outside_symlinks	"yes"
follow_inside_symlinks		"yes"
input {
        plugin "curl"
audio_output {
	type		"alsa"
	name		"My ALSA Device"
	mixer_type      "software"	# optional
	mixer_device	"default"	# optional
	mixer_control	"PCM"		# optional


Requires terminus-fonts.

alignment tr
background no
border_width 1
stippled_borders 1 
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
font Terminus:size=8
xftfont Terminus:size=8
gap_x 5
gap_y 5
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window_transparent yes
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale yes
show_graph_range yes
mpd_host localhost
mpd_port 6600
double_buffer yes

${font}${scroll 42 $nodename - $sysname $kernel on $machine }
${color lightblue}Uptime:$color $uptime
${color lightblue}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color lightblue}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color lightblue}CPU Usage:$color $cpu% ${cpubar 4}
${color lightblue}Processes:$color $processes  ${color lightblue}Running:$color $running_processes
${color lightblue}File systems: ${stippled_hr}
 /root 	$color${fs_used /}/${fs_size /} ${fs_bar 4 /} ${color lightblue}
 /home 	$color${fs_used /home}/${fs_size /home} ${fs_bar 4 /home}
${color lightblue}Networking: ${stippled_hr}
 Up:$color ${upspeed wlan0} ${color lightblue} - Down:$color ${downspeed wlan0}
 ${wireless_essid wlan0} ${wireless_bitrate wlan0} ${wireless_link_qual_perc wlan0}% ${color grey}${wireless_link_bar 4 wlan0}
 ${color lightblue}wlan0 ip addr: ${color}${addr wlan0}
${color grey}Name              PID   CPU%   MEM%
${color lightblue} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightblue} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightblue} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightblue} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightblue} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color lightblue} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${alignc}${color}${scroll 42 2 ${mpd_smart}}
${alignc}${color lightblue}${mpd_status} - ${mpd_elapsed} / ${mpd_length}
${color lightblue}${mpd_bar 4}
${color}Battery is ${battery BAT0}. 
#the next line is a battery bar color script. 100% green, 70% light green, etc.
${if_match ${battery_percent BAT0} < 100}${color green}${endif}${if_match ${battery_percent BAT0} < 70}${color lightgreen}${endif}${if_match ${battery_percent BAT0} < 50}${color yellow}${endif}${if_match ${battery_percent BAT0} < 35}${color orange}${endif}${if_match ${battery_percent BAT0} < 15}${color red}${blink BATTERY WARNING ${battery_percent BAT0}%}${endif}${battery_bar 4 BAT0}
${color}${battery_time BAT0} remaining.
${color lightblue} - ${kernel}${stippled_hr}
${color}${scroll 42 2 ${rss 10 item_titles 3 2}}
${color lightblue}Most Recent Arch Packages ${stippled_hr}
${color}${rss 10 item_titles 10 1}
${color lightblue}Tickers${stippled_hr}
${scroll 42 8 ${color}${rss 5 item_titles 5 2}}
${scroll 42 3 ${color lightblue}${rss 60 item_titles 3 2}}
${alignc}${font AvantGarde CE:size=12}${color grey}${time %T, %A  %D}

See picture of conky - note that this image doesn't include the Arch Linux ticker. The really long battery line makes the battery bar change color as the percentage changes.

Openbox Configurations

I use the following tools for easy configuration:

xfce4-power-manager &
tint2 &
loffice --nodefault --nologo --quickstart &
nautilus --no-default-window &
cairo-compmgr &
sonata --hidden &
#terminal &
xfce4-volumed &
nm-applet &
conky -d &
gnote --daemon &
xscreensaver -no-splash &
#/usr/lib/gnome-settings-daemon/gnome-settings-daemon &
#/usr/bin/gnome-keyring-daemon --start --components=pkcs11 &
#/usr/bin/gnome-keyring-daemon --start --components=secrets &
xfce-mcs-manager &

The following snippets of my Openbox configuration allow thunderbird to placed on desktop 2 always, and firefox on desktop 1 always. I only run windows xp under virtualbox so I force it on desktop 3. Also included are my keyboard shortcuts.

    <keybind key="W-m">
      <action name="Execute">
    <keybind key="W-c">
      <action name="Execute">
    <keybind key="A-F2">
      <action name="Execute">
    <keybind key="W-f">
      <action name="Execute">
    <keybind key="W-t">
      <action name="Execute">
    <keybind key="W-space">
      <action name="Execute">
        <command>sonata pp</command>
    <keybind key="W-Right">
      <action name="Execute">
        <command>sonata next</command>
    <keybind key="W-Left">
      <action name="Execute">
        <command>sonata prev</command>
    <keybind key="C-A-Right">
      <action name="DesktopRight">
    <keybind key="C-S-A-Left">
      <action name="SendToDesktopLeft">
    <keybind key="C-S-A-Right">
      <action name="SendToDesktopRight">
    <keybind key="C-A-Left">
      <action name="DesktopLeft">
    <keybind key="S-A-Up">
      <action name="SendToDesktop">
    <keybind key="S-A-Down">
      <action name="SendToDesktop">
    <keybind key="W-d">
      <action name="ToggleShowDesktop"/>
    <keybind key="A-F4">
      <action name="Close"/>
    <keybind key="A-Escape">
      <action name="Lower"/>
      <action name="FocusToBottom"/>
      <action name="Unfocus"/>
    <keybind key="C-A-m">
      <action name="Iconify"/>
    <keybind key="A-space">
      <action name="ShowMenu">
    <keybind key="A-Tab">
      <action name="NextWindow"/>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow"/>
    <keybind key="S-A-m">
      <action name="ToggleMaximizeFull"/>
    <keybind key="S-W-m">
      <action name="Resize"/>
    <keybind key="C-A-Tab">
      <action name="NextWindow">
    <keybind key="W-S-Right">
      <action name="DirectionalCycleWindows"/>
    <keybind key="W-S-Left">
      <action name="DirectionalCycleWindows"/>
    <keybind key="W-S-Up">
      <action name="DirectionalCycleWindows"/>
    <keybind key="W-S-Down">
      <action name="DirectionalCycleWindows"/>
    <keybind key="A-Menu">
      <action name="ShowMenu">
    <keybind key="XF86PowerOff">
      <action name="Execute">
    <keybind key="XF86Sleep">
      <action name="Execute">
        <command>dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend</command>
    <keybind key="W-e">
      <action name="Execute">
    <keybind key="W-r">
      <action name="Execute">
<application name="/usr/lib/virtualbox/VirtualBox --comment 'Windows XP' --startvm '6c987e84-84ba-4c1b-8d40-e7757063fc4e'">
    <application class="VirtualBox">
    <application name="Mail">
    <application name="Navigator">

Applications I Use

I am a college student and I want maximum usage from my computer. (as we all do!) Here are the programs I have found most useful during my studies.

  • gnote - good for jotting stuff down as well as being an attractive program.
  • rednotebookAUR - good program for taking quick or thorough notes in an organized fashion.
  • libreoffice - obviously.
  • networkmanager - works perfectly at ASU as well as the neighboring MCC
  • lyx - Most important tool I've downloaded so far, does everything perfectly for math and science classes. Note that the texlive-latexextra will enable you to use a lot more features.

Raspberry Pi

Recently I acquired a Raspberry Pi. As I progress with it, I will post tidbits of info about it.

Basic configuration

The default Arch Linux Raspberry Pi image comes with a 1.6gb LVM containing a root partition as well as a boot partition. On my 8gb SD card, there was a lot of unused space due to this. I simply resized the LVM partition and the root partition to consume the full 8gb and I have had no issues since

I would like to add that on one occasion, I attempted to use Gparted to resize the LVM/root partition and it completely screwed up the SD, so I had to re-image it. Use care.

I found that LXDE was slow using the xf86-video-fbdev driver that is recommended for use with the Pi. Xfce was even slower. I chose to use fluxbox instead of finding a different driver, and I have had minimal problems since.

Fluxbox's native Xorg use forced me to grow accustomed to native X applications. I installed xterm, xorg-xclock, emacs-nox, and I have used synergy with great success so far.