Post tagged: python

Monitor Brightness on the Desktop

Since I found the buttons on my monitor to be inconvenient, I decided to try to go for a commandline utility that could set the brightness. There are several ways this can be implemented:

  • the driver offers screen brightness setting through ACPI (via /sys/class/backlight, should work on most …

Firefox, remote commands and Xfce

I replaced the default browser in Xfce (Settings → Preferred Applications) with a custom Python script to do some additional URL handling. To open a link in Firefox you just have to run firefox -remote OpenURL(<url>) and you can even use it with multiple instances (add -P <profile>).

Using the …

Replacing Soldat's Fileserver

Here the updates go again… This time I rewrote Soldat's internal fileserver in Python.

Leo had problems with it on his TTW server which runs the Windows binary of soldatserver via wine because it runs better (that's at least his opinion) than the native Linux version, except for the …

X-Chat 2 Now Playing Plugin for Quod Libet

I'm using Quod Libet as music player on Ubuntu now since most of the other players weren't to my likes. XMMS and Audacious are too simple; I need my media library. I don't like Rythmbox's media library, I don't quite remember why though. Amarok. It's bloatware (plus it's for KDE …

X-Chat 2 Shell Plugin

I wrote a X-Chat 2 Python Plugin today that allows you to run commands in a shell.

You can split a command you want to run into multiple lines by ending your input with a \ — just like you would do in a terminal. Newlines can be done using \n though …