Saturday, May 21, 2011

Scribble, Scrabble, Scrobble.. MPD and last.fm

I'm using mpdscribble for last.fm scrobbling from now on since scrobby isn't in portage anymore.

And again I had to create and copy some stuff because I want to run it as my normal user like I also do with MPD.

Here's the way how I've made it work:

Mpdscribble <=0.21 has a small bug and doesn't work with >=curl-7.21.0, so the curl useflag needs to be disabled in /etc/portage/package.use:

media-sound/mpdscribble -curl


OR

Unmask the most recent version v0.22 in /etc/portage/package.keywords:

~media-sound/mpdscribble-0.22


Install mpdscribble:

emerge mpdscribble


Create the needed directories in your user home:

mkdir -p ~/.config/mpdscribble


Copy the config file from /etc/mpdscribble.conf to ~/.config/mpdscribble. You need to be root for doing so because the config file is only readable as root.

sudo cp /etc/mpdscribble.conf /home/<your user>/.config/mpdscribble/


Edit the config file ~/.config/mpdscribble/mpdscribble.conf but take care to use full pathes:

pidfile = /home/<your user>/.config/mpdscribble/mpdscribble.pid
log = /home/<your user>/.config/mpdscribble/mpdscribble.log
verbose = 1

[last.fm]
url = http://post.audioscrobbler.com/
username = <your last.fm user>
password = <your last.fm password>
journal = /home/<your user>/.config/mpdscribble/lastfm.journal


Everything else is commented out.

Now you can start mpdscribble:

mpdscribble --conf ~/.config/mpdscribble/mpdscribble.conf

Wednesday, May 11, 2011

Sunflower - A GTK Twinpanel File Manager

I've recently found a great replacement for Krusader.
It is still early alpha and there isn't an ebuild for it yet but it's pretty stable already.

I'm going to make an ebuild later this week.

Just fetching the source, unpacking it and starting the Sunflower.py will do the job if you want to test it already.

Home of Sunflower FM
Screenshots

QT apps in a GTK environment

QT applications which don't require kdelibs or other parts of KDE can easily be installed with a matching GTK theme. I'm using Picard and SMplayer for example.

Though, it needs some preparations to have a small and clean QT install and be able to switch the theme.

I'm using the default/linux/amd64/10.0/desktop profile to set my global environment.

My USE-Flags in /etc/make.conf:

-qt4 -accessibility -plasma -jit -exceptions


USE-Flags in /etc/portage/package.use:

dev-python/PyQt4 -svg -webkit -multimedia -opengl
x11-libs/qt-gui -cups -mng -tiff gtkstyle
net-libs/webkit-gtk jit
x11-libs/qt-sql -postgres -sqlite


It's important to enable qt3support, which is standard in the desktop profile. Then you won't need KDE's systemsettings because the qt3support package comes with a small tool called qtconfig to switch the theme. The 'GTK-alike' theme is built when you enable the gtkstyle USE-Flag.
All other USE-Flag should match your personal needs. I've disabled almost everything because I don't need support for most things in Picard or SMplayer.

Wednesday, May 4, 2011

belak overlay

I've merged most important ebuilds from zentoo to belak overlay.

There are actually only two ebuild which went there:
app-editors/scribes
x11-misc/easystroke

A nice advantage for all who are using these ebuilds.. belak is in the layman list and can easily be added with "layman -a belak".

I'll keep those two up to date in belak overlay from now on.. soo please add it ^^