Posts Tagged ‘ncmpcpp’

My Software Stack 2011 edition

Saturday, December 31st, 2011

I realize that I haven’t written my customary “software stack” post for this year yet. But hey, from where I’m sitting, I still have … 36 minutes to spare ;)

I’ll be using the same categories as last year; system, communications, web, development, office suite, server, organization, and entertainment.


The OS of choice is still Archlinux, my window manager is still wmii, my terminal emulator is rxvt-unicode, upgraded by also installing urxvt-tabbedex.

My shell is still bash, my cron daemon is still fcron, and my network manager is wicd.

To this configuration I’ve added the terminal multiplexer tmux, and have lately found out just how useful mc can be. Oh, and qmv from the renameutils package is now a given part of the stack.


Not much change here, Thunderbird for email, Pidgin for instant messaging, irssi for IRC.

Heybuddy has been replaced by identicurse as my micro-blogging ( client. Heybuddy is very nice, but I can use identicurse from the commandline, and it has vim-like bindings.

For Pidgin I use OTR to encrypt conversations. For Thunderbird I use the enigmail addon along with GnuPG.

This means that Thunderbird still hasn’t been replaced by the “mutt-stack” (mutt, msmtp, offlineimap and mairix) and this is mostly due to me not having the energy to learn how to configure mutt.

I also considered trying to replace Pidgin with irssi and bitlbee but Pidgin + OTR works so well, and I have no idea about how well OTR works with bitlbee/irssi (well, actually, I’ve found irssi + OTR to be flaky at best.


Not much changed here either, Firefox dominates, and I haven’t looked further into uzbl although that is still on the TODO list, for some day.

I do some times also use w3m, elinks, wget, curl and perl-libwww.

My Firefox is customized with NoScript, RequestPolicy, some other stuff, and Pentadactyl.

Privoxy is nowadays also part of the loadout, to filter out ads and other undesirable web “resources”.


In this category there has actually been some changes:

  • gvim has been completely dropped
  • eclipse has been dropped, using vim instead
  • mercurial has been replaced by git

Thanks in no small part to my job, I have gotten more intimate knowledge of awk and expect, as well as beginning to learn Perl.

I still do some Python hacking, a whole lot of shell scripting, and for many of these hacks, SQLite is a faithful companion.

Doh! I completely forgot that I’ve been dabbling around with Erlang as well, and that mscgen has been immensely helpful in helping me visualize communication paths between various modules.

“Office suite”

I still use LaTeX for PDF creation (sorry hook, still haven’t gotten around to checking out ConTeXt), I haven’t really used sc at all, it was just too hard to learn the controls, and I had too few spreadsheets in need of creating. I use qalculate almost on a weekly basis, but for shell scripts I’ve started using bc instead.

A potential replacement for sc could be teapot, but again, I usually don’t create spreadsheets…


Since I’ve dropped mercurial, and since the mercurial-server package suddenly stopped working after a system update, I couldn’t be bothered to fix it, and it is now dropped.

screen and irssi is of course always a winning combination.

nginx and uwsgi has not been used to any extent, I haven’t tried setting up a VPN service, but I have a couple of ideas for the coming year (mumble, some VPN service, some nginx + Python/Perl thingies, bitlbee) and maybe replace the Ubuntu installation with Debian.


I still use both vimwiki and vim outliner, and my Important Dates Notifier script.

Still no TaskJuggler, and I haven’t gotten much use out of abook.

remind has completely replaced when, while I haven’t gotten any use what so ever out of wyrd.


For consuming stuff I use evince (PDF), mplayer (video), while for music, moc has had to step down from the throne, to leave place for mpd and ncmpcpp.

eog along with gthumb (replacing geeqie) handles viewing images.

For manipulation/creation needs I use LaTeX, or possibly Scribus, ffmpeg, audacity, imagemagick, inkscape, and gimp.

Bonus: Security

I thought I’d add another category, security, since I finally have something worthwhile to report here.

I’ve begun encrypting selected parts of my hard drive (mostly my email directory) using EncFS, and I use my passtore script for password management.

And sometimes (this was mostly relevant for when debugging passtore after having begun actively using it) when I have a sensitive file which I for a session need to store on the hard drive, in clear text, I use quixand to create an encrypted directory with a session key only stored in RAM. So once the session has ended, there is little chance of retrieving the key and decrypting the encrypted directory.

Ending notes

That’s about it. Some new stuff, mostly old stuff, only a few things getting kicked off the list. My stack is pretty stable for now. I wonder what cool stuff I will find in 2012 :D



Sunday, July 17th, 2011

This week has been slow,  I’ve done much writing and little hacking, but today (Friday) as my friend again pinged me about an Excel problem, things started moving.

Problem solving

He had a formula which he’d stared himself blind at, and thus didn’t realize that most of the job was already done, and he just had to add another column where he executed =Q<ROW_NUMBER_HERE>/5

But I’ve been there and done that, sometimes you just need a second, fresh, pair of eyes on the problem.

While trying to help, I attempted to start LibreOffice Calc, didn’t work, it needed of version 0.5.2 or some such. I had refused pacman to upgrade to that version because that would break mocp.

mpd / ncmpcpp

I ended up biting the bullet, replacing mocp with mpd / ncmpcpp, so I think I’ve made @mk happy now ;D

Configurating mpd wasn’t as straight forward as it could have been. The otherwise so excellent ArchWiki actually impeded my efforts by making the first configuration suggestion be to use an mpd user, while only secondly suggesting tying mpd to your primary user account. That solution, of course, I found in the Arch Forums, which simply pointed out that the first suggestion is crap and that the second suggestion is almost guaranteed to work, which it ultimately did.

Configuration of ncmpcpp on the ArchWiki is also something of a joke, and there the solution lay with google. I am going to try establishing a minimal ncmpcpp configuration and complement the wiki.

In replacing mocp I also had to rewrite my wmii keybindings to work with ncmpcpp instead. That was fun, the new scripts where a bit shorter than their mocp-dittos. If this is due to me being a better programmer, or ncmpcpp having a cleaner API I leave unsaid ;)

I did get to use qcp (from renameutils package) to copy the old mocp-scripts into new ncmpcpp and that was a treat for this purpose.


I have begun a little writing project, using vim and LaTeX and wanted to make my writing environment a little more … interactive, so I tried tmux, which is screen-like. It seems pretty nice, although not exactly what I was looking for.

Other than that I also tried conque (which lets vim launch a terminal from inside a vim window). This was more what I was looking for, but to be brutally honest, the modality of vim didn’t translate all to well into that terminal.

I ended up discarding both, for the time being vim, wmii and ye olde urxvt will have to do. At least until I get a better understanding of what it is that I feel is lacking. But tmux piqued my interest. I will have to look into that some more.