i3status No Battery Problem Fix

I am still fixing the final little issues after my switch from Fedora to Mint and this morning came across a problem with i3status and its battery reporting. The default setup stated there was no battery, clearly an issues as I was running on battery power at the time with my laptop.

The fix turned out to be quite easy (on Linux Mint 16 XFCE),

Firstly you need an i3status.conf file that you can edit,

cp /etc/i3status.conf ~/.i3status.conf

then edit .i3status.conf

nano .i3status.conf

then change the references to battery 0 to battery 1

so

order += "battery 0"
becomes
order += "battery 1"

and

battery 0 {
format = "%status %percentage %remaining"
}

becomes

battery 1 {
format = "%status %percentage %remaining"
}

finally I don’t like the estimated time feature so this gets rid of it

battery 1 {
format = "%status %percentage" # %remaining"
}

dmenu Linux Mint 16

Having decided to have a change from Fedora on my netbook I decided to install Linux Mint 16 XFCE edition (This is the simple version of that story, more detailed version to come!). The install of Mint was very easy, quick and to be honest very impressive however I wanted to install i3-wm as a prefer titling window managers and the reduced memory use is useful on my netbook.

Having installed the meta package within Mint I was impressed to be offered the opportunity to boot into i3 however I found that dmenu had not been installed. This seamed a bit weird as the meta package does mention it by name. The first sign of the problem is when you try and launch dmenu is does not work.

To confirm the problem just run (in a terminal)

dmenu -v

This should fail to find anything in which case just run

apt-get install dmenu

Once dmenu is installed it should just start working.