Other posts in this series:

Web Browser

I’ve found Opera to work the best with the retina display. Everything is scaled appropriately with the DPI without the need for any plugins or configuration tweaking:

sudo pacman -S opera

To assign a keyboard shortcut to it, add this to your .i3/config:

bindsym $mod+Shift+b exec opera

You’ll likely want to have $mod+Shift+b start a new window instead of opening a tab in an existing Opera window. To do this, you can pass the –new-window argument. However, I have found that passing –new-window to start the very first Opera window actually opens two windows. If this is the case, you can work arround it with the following:

bindsym $mod+Shift+b exec "opera $(pidof opera > /dev/null && echo --new-window)"

UPDATE: I very highly recommend uzbl if you’re looking for a bare-bones WebKit-based browser.

By default, i3 uses the almost-vi-like but shifted keys “j”, “k”, “l”, and “;” to move left/right/up/down. I prefer to change them to match exactly vi’s hkjl, especially being a Dvorak user, so I don’t have to keep yet another set of keys in my mind. The only changes you’ll need to make are to the following:

# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

and within the mode "resize" { ... } section:

bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
This will create a conflict with the previously mapped $mod+h. I’ve resolved this by taking a page out of Brian P. Hogan’s excellent book on tmux and mapped $mod+” ” and $mod+”-“ to put the container into horizontal and vertical split mode, respectively:
# split in horizontal orientation
bindsym $mod+bar split h

# split in vertical orientation
bindsym $mod+minus split v

Working with the Clipboard

Copying and Pasting is done similiar to how it’s done in OSX. Most applications use Ctrl+C and Ctrl+V to copy and paste. However, in urxvt, you’ll need to press Ctrl+Opt+C and Ctrl+Opt+V.

Another extremely useful tool for working with the clipboard is xclip:

sudo pacman -S xclip

You can use it just as you’d use OSX’s pbcopy and pbpaste. To put the current date into the clipboard:

date | xclip -i

Or perhaps you have some HTML in the clipboard that you want to convert to HAML. Assuming you have html2haml installed:

xclip -o | html2haml | xclip -i


Sound should “just work,” but the volume is muted by default. To unmute, install alsa-utils:

sudo pacman -S alsa-utils

And then run alsamixer and turn the master volume up.

Still no sound? Try rebooting.