Blog

QuodLibet and Mirage for Similar Music

I found a plugin for QL that allowes to automatically enqueue similar tracks to play them back. It's called Autoqueue and also works for Rhythmbox and Banshee.

To install it, install bzr and banshee-extension-mirage, first.:
sudo aptitude install bzr banshee-extension-mirage

Or if you use apt-get instead of aptitude yet:
sudo apt-get install aptitude bzr banshee-extension-mirage

;) Then load the newest version:
bzr lp:autoqueue

Then copy the following three files to your plugins folder:
cd autoqueue; mkdir ~/.quodlibet/plugins/events/; cp quodlibet_autoqueue.py mirage_songs.py mirage_miximize.py ~/.quodlibet/plugins/events/
August 31, 2010 - .p.e - quodlibet plugin howto - 5 Views - Permalink

Vimperator

I decided to show my .vimperatorrc
So here it is:

"2.3.1 (created: 2010/04/07 18:25:13)


"" Side Effects ""
command d -nargs=0 :emenu Delicious.Bookmarks Sidebar

"" Website shortcuts ""
command heise -nargs=0 :tabopen http://www.heise.de, http://derstandard.at/Web, http://golem.de
command news -nargs=0 :tabopen http://heute.de, http://tagesthemen.de, http://zeit.de, http://news.yahoo.de
command ril -nargs=0 :emenu View.Sidebar.Read It Later

"" Faster navigation ""
nmap K 3k
nmap J 3j
nmap <C-h> fprev
nmap <C-l> fnext
cmap <C-c> <Esc>

"" variables ""
set complete=slfb
set defsearch=scroogle
set editor="xfce4-terminal -x vim"
set guioptions=
set runtimepath=/home/spz/.vimperator
source! /home/spz/.vimperatorrc.local

"" make rss feeds visible in statusbar ""
javascript <<EOF
(function(){
var feedPanel = document.createElement("statusbarpanel");
feedPanel.setAttribute("id", "feed-panel-clone");
feedPanel.appendChild(document.getElementById("feed-button"));
feedPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
document.getElementById("status-bar")
.insertBefore(feedPanel, document.getElementById("security-button"));
})();
EOF

javascript <<EOF
(function(){
var rilPanel = document.createElement("statusbarpanel");
rilPanel.setAttribute("id", "feed-panel-clone");
rilPanel.appendChild(document.getElementById("RIL_urlbar_add"));
rilPanel.appendChild(document.getElementById("RIL_urlbar_mark"));
rilPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
document.getElementById("status-bar")
.insertBefore(rilPanel, document.getElementById("feed-panel-clone"));
})();
EOF

June 21, 2010 - .p.e - vimperator firefox browser - 46 Views - Permalink

Use relative paths in bash


#!/bin/bash

cd `dirname $0`/your/script/folder/
python runyourscript.py $1
June 18, 2010 - .p.e - bash linux - 45 Views - Permalink
Older Issues