Polly - Twitter-Client für Linux mit Multi-Account

Polly (Logo)Es wird Zeit, dass ich hier Polly vorstelle, einen noch relativ jungen Twitter-Client für Linux. Für mich ist Polly der beste Twitter-Client, den es momentan für Linux gibt. Ok, da ist noch Tweetdeck; aber Tweetdeck basiert auf Adobe AIR, welches nicht mehr aktiv für Linux weiterentwickelt wird. Genau das und auch die (subjektive) Unbrauchbarkeit von Gwibber waren die Gründe, auf Polly umzusteigen.

Und dann kam Polly

Polly hieß anfänglich Schizobird, ist in Python programmiert und unterstützt mehrere Twitter-Accounts gleichzeitig (daher der ursprüngliche Name). Auf Wunsch einiger Nutzer wurde ein neuer Name gesucht, und Polly bekam schließlich den Zuschlag. Die Multi-Account-Fähigkeiten und eine Tweetdeck-ähnliche Darstellung der jeweiligen Accounts sowie der Spalten für Mentions und Direct Messages gaben für mich den Ausschlag, Polly etwas intensiver zu testen.

Aufgrund des noch recht jungen Alters von Polly war intensives Testen auch nötig, ich konnte einige Bugs finden und reporten und war positiv überrascht, wie schnell Hauptentwickler Marcelo Hashimoto auf meine Bugreports reagiert hat. Sogar einige meiner Feature-Wünsche sind mittlerweile in Polly enthalten! Da ist man doch gern Early Tester einer Open Source Software ;-)

Vogelhaltung

Es gibt ein PPA, das man als Quelle einbinden kann, um die Installation zu vereinfachen:

$ sudo add-apt-repository ppa:conscioususer/polly-daily
$ sudo apt-get update
$ sudo apt-get install polly

Ich bin aber einen anderen Weg gegangen und habe mir den Code direkt aus dem Repository ausgechekt: bzr . Vorteil: Ich kann regelmäßig und häufig per bzr update updaten, ohne auf eine Aktualisierung des PPA warten zu müssen. Nachteil: So eine "bleeding edge"-Version kann auch schon mal defekt sein. Das kam bei mir aber so gut wie nie vor:

$ cd ~  #Ins Home-Verzeichnis wechseln
$ sudo apt-get install python-socksipy python-oauth2 python-numpy bzr  #Benötigte Pakete installieren
$ bzr branch lp:polly  #Polly mittels bazaar auschecken
$ ~/polly/polly  #startet Polly

Natürlich könnt ihr das Verzeichnis polly jetzt auch woanders hinschieben. Wollt ihr den aktuellen Code aus dem Repository ziehen, genügt ein:

$ cd ~/polly
$ bzr update

Polly will einen Keks

Zu den bereits unterstützen Features zählen Favorites, Old- und New-Style Retweets, Mentions und Direct Messages - also fast alles, was man zum Twittern so braucht. Fotos und Videos können getwittert, Links automatisch gekürzt werden. Und Notifications lassen sich ins Ubuntu-System integrieren, wenn man's mag. Außerdem gibt es frei sortierbare Spalten, die Streams aus vier Kategorien enthalten können.

  • Tweet Stream: Home (der "normale" Stream); Mentions; eigene Tweets; Favorites; Retweets
  • User Stream: Followers; Friends
  • List Stream: meine Listen; Listen, auf denen ich stehe; Listen, die ich "abonniert" habe
  • Message Stream: Alle Direktnachrichten; Gesendete DMs; Empfangene DMs

Leider noch nicht implementiert ist die Twittersuche, aber der Menüpunkt dafür ist bereits vorhanden. Ich nehme an, das Feature wird in der nächsten größeren Version enthalten sein. Wer Ideen für weitere sinnvolle Features hat oder noch den einen oder anderen Bug findet, kann beides über Launchpad melden.

Polly hat bei mir mittlerweile Tweetdeck als Standard-Twitterclient abgelöst, und ich bin nicht der Einzige, dem das so geht ;-) Wenn ihr also nach einer sehr brauchbaren Alternative zu Gwibber und AIR-basierten Clients wie Tweetdeck sucht, gebt Polly einfach mal eine Chance.

Categories: Deutsche Beiträge | 3 Comments
Defined tags for this entry: , , ,
Tweet This!

How to build the latest Tomahawk Player on Ubuntu 11.04

Tomahawk Player Banner

Tomahawk Player is a next generation music player. It features custom stations (building upon the beatuiful Echo Nest), a playlist importer, social connection to Twitter, Google Chat, and Jabber. Maybe most important of all: It's able to find and pull music from different sources like YouTube, last.fm, SoundCloud, Skreemr, Spotify, and more using the Playdar approach. Of course, it can also play songs from your local library. Make sure to check out the video if you like to know more.

First a word of warning: Tomahawk is still beta, version 0.1.0 is the most current release, but there's no PPA yet for Ubuntu systems. The instructions in the wiki are for Maverick and didn't work for me. That's why I thought I write a short tutorial on how to compile Tomahawk Player on Ubuntu 11.04 (Natty Narwhal).

Update: No need to build version 0.1.0 yourself anymore if you are on Ubuntu 11.04, because the PPA has been updated! Just add ppa:paulo-miguel-dias/tomahawk to your sources, update, and install. In more detail:

sudo add-apt-repository ppa:paulo-miguel-dias/tomahawk
sudo aptitude update
sudo aptitude install tomahawk

Meet the dependencies

First of all, make sure you have all the dependencies installed. I am not 100% sure if the following list is complete because I might have already had some of the necessary libs on my system. Anyway:

sudo apt-get install build-essential cmake libtag1c2a libtag1-dev libqt4-dev libqt4-sql-sqlite \
    libphonon-dev libboost-dev zlib1g-dev libqjson-dev libz-dev \
    libqca2-dev pkg-config git-core phonon-backend-gstreamer

This should install all required packages. More experienced users could als try a different backend for phonon.

Furthermore, libechonest and Clucene are prerequesites for Tomahawk, so download the latest tarball from https://projects.kde.org/projects/playground/libs/libechonest/ and extract it. Step into the new directory libechonest-* and run these commands:

mkdir build && cd build
cmake ..
make
sudo make install

Now, clone CLucene from their git repository and install it:

git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene
cd clucene && mkdir build && cd build
cmake ..
make
sudo make install

Resolvers

Resolvers are small plugins to Tomahawk that enable the player to search and stream music from differen sources. There's already a collection of resolvers for a number of third-party services which can be used.

git clone https://github.com/tomahawk-player/tomahawk-resolvers.git

That's it for now, I show you how to enable various resolvers once we got the player up and running.

Optional Spotify support

If you live in a country where you have access to Spotify, you might want Tomahawk Player be able to stream music directly from this wonderful service. In order to do so, download the archive for your architecture from http://developer.spotify.com/en/libspotify/overview/ and extract it.

cd libspotify-*-linux*
sudo make install prefix=/usr/local

Now, cd into the tomahawk-resolvers directory that was created in the last step.

cd spotify
mkdir build && cd build
cmake ..
make

there should be an executable spotify_tomahawkresolver in the build directory. You can leave it there for the time being.

Build the actual player

Let's compile the Tomahawk Player itself alreaddy:

git clone https://github.com/tomahawk-player/tomahawk.git
cd tomahawk
git submodule init && git submodule update
mkdir build && cd build
cmake -DINTERNAL_JREEN=ON -DINTERNAL_QTWEETLIB=ON ..
make

You can probably go and drink a cup of coffee because the process takes a while ;-)

After this has finished, it's time to run the player for the first time: ./tomahawk. You can set up the location of your local music collection, you can enter various accounts, and you can add resolvers. In order to do so from the Tomahawk settings dialog, klick and the add button, navigate into the respective directory beneath tomahawk-resolvers, and select the *.js/*.py/*.php file or the above-mentioned spotify_tomahawkresolver executable. Play around with your new player a little to get to know all of its features.

Enjoy the future of music listening today!

Update: According to domme's comment, libgnutls-dev libgloox-dev are not required anymore, so I removed them from the instructions.

Categories: English Articles | 3 Comments
Defined tags for this entry: , , , , , ,
Tweet This!

Ubuntu Backup mit Back In Time

Back In Time ist ein Linux-Programm für die verhältnismäßig einfache Datensicherung des persönlichen Verzeichnisses (Home-Directory). Vorbild für Back In Time war Time Machine von Apple. Damit lassen sich Dateien sichern und aus jedem vergangenen Zeitpunkt wiederherstellen. Ähnliche Programme für Linux sind TimeVault und das Flyback. Back In Time wurde von Dan Oprea entwickelt.

Backupstrategien

Bei einem Backup sind für bestimmte Einsatzbereiche unterschiedliche Vorgehensweisen angebracht. Auf einem Serversystem oder bei einer Datenbank sind andere Maßnahmen notwendig als auf dem heimischen Desktop oder Notebook (vgl. dazu Sonderfall Privatnutzer). Einige Vorüberlegungen sollten immer angestellt werden, auch in unserem Fall der privaten Datensicherung.

Hier geht es vor allem darum, Datenverlust vorzubeugen und das System wiederherstellen zu können, falls die Festplatte den Geist aufgibt oder ein schwerwiegender Systemfehler auftritt. Zum einen sollen persönliche Daten und Dokumente wie Fotos, Musik oder Textdateien gesichert werden; zum anderen wäre es schön, wenn sich ein kaputtes System aus dem Backup heraus wiederherstellen ließe. Unter Ubuntu und anderen Linux-Systemen ist dies verhältnismäßig einfach zu bewerkstelligen.

Bevor ich auf Back In Time eingehe, noch ein Wort zur Hardware: Je nach Datenmenge, d.h. Gesamtgröße der zu sichernden Daten, wird auf andere Medien gesichert. Bei den heutigen großen Datenmengen reichen CDs oder DVDs kaum noch aus, so dass externe Festplatten das bevorzugte Medium darstellen, zumal diese im Verhältnis zur Kapazität immer günstiger werden. Weil auch ein externes Laufwerk kaputt gehen kann, können besonders wichtige Daten zusätzlich auf eine DVD gebrannt werden. Perfektionisten gehen nach dem aufwändigen Generationenprinzip vor.

Und natürlich existieren für anspruchsvollere Nutzer viele weitere Möglichkeiten, etwa Client-Server-Applikationen und Online-Backup-Dienstleister. Aber dies nur am Rande.

Continue reading "Ubuntu Backup mit Back In Time"
Categories: Deutsche Beiträge | 0 Comments
Defined tags for this entry: , , ,
Tweet This!

Installing gitosis on Ubuntu 8.04 LTS

This is supposed to be more like a reminder to myself, should I ever need to install gitosis on a server again. I carefully followed all the steps described here and here (German) on my Ubuntu 8.04 LTS server. But when it came to pushing my first project to the repository, git failed with ERROR:gitosis.serve.main:Repository read access denied

Turned out that none of the hooks in repositories/gitosis-admin.git/hooks/ was executable. A simple $ sudo chmod +x * solved the problem for me. Now, everything seems to be working fine.

Categories: English Articles | 0 Comments
Defined tags for this entry: , , , ,
Tweet This!

Portable Linux Apps

Back in the days when I was still a Windows user, portable apps where a good way of carrying current versions of my favorite tools with me on a USB stick. Now, this is also possible on most Linux variants with Portable Linux Apps.

Part of the Portable Apps website

There are already more than 50 apps you can put on your USB stick, just remember to make them executable. This is not only great if you want to run the application on any desktop, but it also comes in handy if you want to test out a nightly build without really installing it on your system. The latter remains stable, while the former hast got everything it needs to run contained in itself.

If you run into trouble there's a forum, too, where you can ask for help or request a new package - however there's not much happening there yet. But since everything is so dead easy, it should just work. At least on Ubuntu 10.04, OpenSUSE 11.2, and Fedora 12. You might want to use a LiveCD of one of these distributions if you're on a different system.

Categories: English Articles | 0 Comments
Defined tags for this entry: , , , , ,
Tweet This!