Brightness Control with Nvidia

My hopefully last challenge was to get the brightness control working with the hardware buttons and even with software. The proprietary Nvidia driver needs an additional config entry.

Add under "Device section":

Option "RegistryDwords" "EnableBrightnessControl=1"

Now you should control your brightness via software and via hardware on most Laptops

Comments (0)

2013-02-27 14:27:52

Internal speakers Lenovo T530

Hi Folks,

just got a strange behavior on my Laptop. Last weekend I recognised, that the internal speakers weren't working correctly. Everything else worked find. After a bit googling I found, that it could "Auto-Mute Modes" fault. Setting it to disabled had no effect.

So today I took a closer look at the settings in alsamixer. The problem was just a muted channel. Unmuted the speaker channel and *tada* there is sound again on my speaker:

amixer -c 0 sset Speaker on

Comments (0)

2013-02-05 21:08:28


Cleaned up the download section. I removed old versions of DarX. The download statistics told me that only the most resent version is downloaded. So there should be no need of older version.

Even if you needed them it is too late. No files, no backup, no old versions. Grab the source code and build your own version.

Comments (0)

2012-12-27 15:46:38


Three months ago I promised to write a Linux pendant for DarX

Now it is time to release the first version. Nothing special. Just x01 with stats and highscore

Quick instruction:

  • Compile with make
  • Start the game
  • Adjust $HOME/.nDarx/conf
  • Enjoy

The next releases will contain adjustable settings from within the menu and cricket (my favourite game).

Comments (1)

2012-12-26 19:11:54

DarX on GitHub

So this is probably my last post about DarX on OS X. I just published the sources on GitHub. Feel free to use it for your own scoring machine...

Comments (0)

2012-11-07 12:11:44

SSH tunnel

From time to time I need a different IP with full webaccess for testing purpose. So I start an SSH tunnel to my server and configure my webbrowser to use a socksproxy at port 8080:

ssh -D 8080 -C -q -N host.tld

Comments (0)

2012-11-06 22:24:48

Playlist for mpd

Here is a little script to generate playlists from folders for mpd. Execute this Skript with the folders name under your music folder.

if [ -z "$1" ]
        echo $0 folder
        cd /mnt/data/
        find music/"$1" -name '*.mp3' > /mnt/data/playlists/"$1".m3u

Comments (0)

2012-09-26 20:42:22

Copy flashvideos to disk

So if you want to save flashvideos from certain websites, you can use this little script. Flash saves all his files in /tmp but deletes them instantly from the filesystem. No file is just deleted immediate from the disk while the application, which creates the file, is running. The file is still accessible through procfs. This script actualy just search for the flashplayer and copies the open file from procfs to your home directory.

A little shell magic and every open flashvideo in any browser is saved to your disk:

FPID=`/usr/bin/pgrep -f`
DATE=`date +%d%m%y`


while [ $rc -eq 1 ]
        mkdir $HOME/video/$DATE
        if [ $rc -eq 1 ]
                mkdir $VDIR/$DATE-$count
                let count=count+1

CDIR=$VDIR/`ls -tr $HOME/video/|tail -1` 

for FD in `ls -l /proc/$FPID/fd/|grep deleted|awk '{print $9}'`
        cat /proc/$FPID/fd/$FD > $CDIR/$FD.flv

Comments (0)

2012-09-22 15:14:39


Hi out there

A few month ago I decided to switch back to Linux. Because of this I will discontinue the developement of DarX. In a few days I will publish the sourcecode on GitHub. Anyone who is interested in future developement is welcome. But be aware, there will be nearly no support for my quick and dirty solutions...

If I find enough time, I will try to programm the Linux pendant of DarX. But don't expect it too early.

Nevertheless I will post from time to time some shellscripts or tips about Linux which probably could also used in Mac OS X.

Comments (0)

2012-09-22 11:59:18

Safari wasd

Just adjust the Safari extension Vim keybindings for Safari for my own needs. You can now navigate through webpages with wasd and the typical Vim movement hjkl.

The README can be found here, except the dd and d command does not work as described and you can navigate with wasd. So happy browsing.

Source can be found here.

Comments (0)

2012-01-29 12:18:57