Posts Tagged ‘moc(p)’

2011w28

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 libdb.so 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.

Writing

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.

My software stack revisited – (Multi)media and entertainment

Thursday, December 23rd, 2010

I am probably abusing the English language with this use of the word multimedia, but I just couldn’t find any better way of describing audio, video and images in a word… sorry :P

Video

For playback I mostly use mplayer, but for some reason or other, keep VLC around, although I can’t really explain why.

I’ve successfully used k9copy to make backups of my DVD-collection, works great :)

Audio

Ok, so you know I like living on the command line, right? So it won’t come as a surprise to you when I say that I used to use cplay? I still keep it around, it really is quite nifty, but the lack of an easy (and documented) way of interacting with it externally (say, through keyboard shortcuts) made me finally look elsewhere (having to jump to a tag in order to pause the music when the phone rings isn’t fun).

So when I discovered moc (Music On Console) I was pleased. I could script it to my heart’s delight. Even better: it doesn’t need its curses-based UI to function, so I only bring it up if I want to edit the playlist, hit q when I’m done, and kill the terminal, and the music keeps flowing.

And for converting videos or audio between formats (or extracting the audio from a video) ffmpeg is the tool to do the job.

For finer editing of audio files, I use Audacity.

Images

For image viewing, I use eog and geeqie, which does a good job of complementing each other.

And although not a regular activity of mine, for a small project I was doing in my spare time recently I got the chance to use both Gimp and Imagemagick.

I’ll see to it tonight that I’ve used Inkscape more than three times so that I can honestly put it on the list as well, it deserves to be there.

Entertainment

I find astronomy quite fascinating, and although that is on a very amateurish (to the point that I haven’t bought a telescope or anything yet) level, Stellarium is a superb software.

festival, a text-to-speech synthesiser, might not at first glance seem all that entertaining, but it can indeed be, not to mention I actually got use for the accompanying package text2wave when setting up notifications for my instant messenger (audible hints that specific people have come online).

No list outlining entertainment would be complete without a mention about games and since I do, from time to time, need to get my mind off things, games provide the perfect distraction.

The bsd-games package contains a couple of CLI apps, both semi-useful stuff, and some games. Wump is my favorite game from that package, mostly due to fond memories from ITU.

Games are otherwise still one of the big problems for GNU/Linux although indie-developers like the ones who come together in the Humble Indie Bundle, are making good progress in making gaming platform-independent.

Finally I find programming quite entertaining, but that will be the topic for the next post, so I’ll end things here.

:wq