Setting up mpd and mpc to use with dmenu and i3 on Arch Linux

Posted by jason on May 11, 2012, 5:46 p.m.
Tags: arch i3
  1. Install mpd and mpc:
    [jason@jason ~]$ pacman -S mpd mpc
  2. I copied the /usr/share/mpd/mpd.conf.example file to /etc/mpd.conf and bent it to my will. Here's what it looks like:
    [jason@jason ~]$ cat /etc/mpd.conf
    music_directory		"/var/lib/mpd/music"
    playlist_directory "/var/lib ...

NFS (v4) Shares on CentOS 6

Posted by jason on Jan. 30, 2012, 12:39 p.m.
Tags: arch centos linux sysadmin

Here's a few I had to do while trying to set up read-write NFS shares between a CentOS 6 NFS server and an Arch Linux client. The Arch Wiki NFSv4 page was a huge help.

Set up NFS domain

Edit /etc/idmapd.conf on both the client and the ...


Arch Linux: Open files directly from Chromium in i3 or Awesome

Posted by jason on Dec. 6, 2011, 7:13 a.m.
Tags: arch awesome config i3 linux

These instructions are for i3 without using a desktop environment like gnome or KDE. My problem was that I would download a file in Chromium, and when I tried to open it, it would open the file in firefox before being opened in the appropriate application. Here's the solution ...


Awesome WM widget tooltip example

Posted by jason on Oct. 22, 2011, 10:58 a.m.
Tags: arch awesome config linux widgets

I thought I'd post a simple example of how to set up a custom tooltip for a widget in Awesome.

This example will add an icon to a wibox, and when the user hovers over it, that machine's internal and external IP addresses will be shown. To do ...


Problems with Ethernet RTL8111/8168B controller in Arch Linux

Posted by jason on Sept. 30, 2011, 7:34 a.m. - 1 comment
Tags: arch linux sysadmin

Problem

After a fresh Arch Linux install, I was having problems with my ethernet card: it kept flaking out and ifconfig was showing a ridiculous number of dropped packets and errors.

Here's the exact card I have, as described by "lspci | grep -i ethernet":

07:00.0 Ethernet controller ...

An Example of Troubleshooting in Arch Linux

Posted by jason on Aug. 13, 2011, 3:13 p.m. - 1 comment
Tags: arch config linux sysadmin

I recently had a rather obscure problem with my Intel 5100 wireless card in Arch Linux. I doubt you had the same problem--this post is meant to illustrate the thought process (or lack thereof) while troubleshooting a random issue in Arch Linux.

The Problem

I went about a month without ...


Awesome WM widgets configuration

Posted by jason on July 21, 2011, 3:45 p.m. - 10 comments
Tags: arch awesome config linux widgets

I've been using Awesome WM for about six months, and I love it. The hard part was configuring everything--especially the widgets. Before using Awesome, I'd never seen nor heard of lua--the scripting language that awesome uses for its configuration files--but I am a programmer by trade, so it ...


VIM, Xdebug, and PHP 5.3 (compiled from source) on Arch Linux

Posted by jason on June 1, 2011, 5:28 p.m.
Tags: arch linux php vim xdebug

I finally got sick of using echo statements to debug my PHP scripts, so I decided to install xdebug and use it from within VIM. I followed this guide, but there were some things that were specific to my setup--namely, using Arch Linux with PHP 5.3 compiled from source ...