Posted in Linux on Apr 22nd, 2011
I was using xmodmap ~/.Xmodmap in my .Xsession to remap caps lock to the super key utilizing the following configuration in .Xmodmap: ! disable caps lock and map to super clear Lock remove lock = Caps_Lock add mod4 = Caps_Lock After some updates in Debian testing, this configuration did not work anymore. I found some information [...]
Read Full Post »
Posted in Linux on Apr 8th, 2011
To get gitweb working with lighttpd on Debian 6 Squeeze, create a file in /etc/lighttpd/conf-available named 99-gitweb.conf with the following content: server.modules += ( "mod_cgi", "mod_setenv", ) # configuration for gitweb, ignore this url in 10-simple-vhost.conf $HTTP["url"] =~ "^/gitweb/" { server.document-root = "/usr/share/" server.indexfiles = ("index.cgi") cgi.assign = ( ".cgi" => "/usr/bin/perl" ) [...]
Read Full Post »
Posted in Linux on Mar 29th, 2011
Some PDF files are restricted in such a way that some PDF viewers do not allow to print, edit or extract parts of the PDF content. PDF viewers like Okular or Evince used on Linux are ignoring these restrictions, but Windows viewers like the Adobe Reader are obeying these limitations. In my case I wanted [...]
Read Full Post »
Posted in Linux on May 5th, 2010
To get the X200 Wacom Tablet to work i have made several steps, that i will describe later in the post. After the last update of xserver-xorg-input-wacom i also got the touch input working without problems. First my hardware specifications: Thinkpad X200 Tablet (with Stylus and Touch) 2x Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz [...]
Read Full Post »
Posted in Linux on Feb 27th, 2010
To allow access to a folder on your webserver only for a specific ip range, you have to create a new file in /etc/lighttpd/conf-available named 20-restrict-access.conf with the following content: $HTTP["host"] == "example.com" { $HTTP["remoteip"] != "134.169.0.0/16" { $HTTP["url"] =~ "^/Downloads/" { url.access-deny = ( "" ) } } } This restricts the access to [...]
Read Full Post »