Entries tagged firefox

How I pay podcast producers and other online artists and don’t spend any extra money on it

Posted on 5. Januar 2013 Comments

//update: This doesn’t work anymore. Quote from the website: „aFlattr is currently unavailable. Due to the termination of the operating agreement from Amazon aFlattr is not operating right now and the future is not yet clear.“

 

1. I listen to a lot of podcasts and would like to thank them by throwing them a coin in their hat but don’t really have money left to spend.

2. I also buy something at Amazon nearly every month, be it for university or private, for work or friends(-> I get the money back)

Most of the (German) podcasts have a rel:payment-tag in their feeds and use it for the Swedish micopayment system flattr. This enables me to just press a button in my podcatcher.

The website and Firefox plugin aFlattr generates affiliate links for the stuff I buy on amazon and sends the money to my flattr account. That way I give away some money by buying stuff 🙂

Programme über SSH auf Display :0 starten

Posted on 25. September 2012 Comments

Um Programme über SSH auf einem Bildschirm zu starten, der über Kabel angeschlossen ist muss man bei bestimmten Konfigurationen erstmal herausbekommen, welches Display zu welchem physikalischen Bildschirm gehört. Wenn es nur einen gibt ist es meistens 0.

Der aktuelle Bildschirm ist gelockt, d.h. wenn man versuchen würde über SSH jetzt ein Programm zu starten kommt folgende Meldung:

pi@raspberrypi ~ $ leafpad
leafpad: Anzeige kann nicht geöffnet werden:

Oder über xinit:

pi@raspberrypi ~ $ xinit leafpad :0
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

Um das zu lösen muss kann man folgende Befehle benutzen:

pi@raspberrypi ~ $export DISPLAY=:0
pi@raspberrypi ~ $ firefox

Das ist vor allem praktisch, falls VNC nicht auf den ersten Display vom X-Server zugreifen kann(-> x0vnc). Um einfach nur eine grafische Oberfläche zu bekommen reicht ja normalerweise das XForwarding vom SSH-Server oder normales VNC
Credits go to Oli.