Wim Koorenneef's blog
Posted by Wim Koorenneef on 2011-09-02 10:52 CEST
Since many years I use midnight commander (mc) on the command line as a file manager and editor. The latest versions of Ubuntu Desktop capture the F10 function key preventing the use of F10 to close midnight commander. You have to use the mouse to close midnight commander which kinda defeats the purpose of using the command line. Here is how I changed the default behavior of F10:
With gconf-editor delete or change the following key to something other then F10: /apps/compiz-1/plugins/unityshell/screen0/options/panel_first_menu
Posted by Wim Koorenneef on 2010-03-28 09:07 CEST
Connecting to the webdav server of my provider Ziggo is easy. Just use Ubuntu's 'connect to server' function. As you can see from the screenshot you need the following user data:
- Server name: homedrive.ziggo.nl
- Directory: user @ home.nl
- User name: user @ home.nl
It is recommended that you create a bookmark (here: Homedrive). This way you can click the bookmark in Nautilus and enter the given directory.
Posted by Wim Koorenneef on 2009-03-01 08:05 CET
Some time ago I wrote about using fusedav to connect to a webdav server. For some reason I could only read from the server. Writing always resulted in an error.
Today I used davfs2 for the first time and writing is working like a charm. Configuration is a little bit of work however. First I installed davfs2 via apt-get, then I ran dpkg-reconfigure to make davfs2 run suid as root. The last step involved an entry in /etc/fstab and creating a directory in /media. Also make sure you are a member of the davfs2 group.
sudo apt-get install davfs2
Posted by Wim Koorenneef on 2009-02-21 21:04 CET
For some reason Dovecot started to complain about an expired ssl certificate. Well, actually my mail client thunderbird complained. In order to renew the certificate I used the following commands:
openssl genrsa -out server.key 1024
openssl req -new -x509 -key server.key -out server.pem -days 1826
cp server.key /etc/ssl/private/ssl-cert-snakeoil.key
cp server.pem /etc/ssl/certs/ssl-cert-snakeoil.pem
The important bit while creating the certificate is the common name. Fill in localhost or your server's domain name.
Posted by Wim Koorenneef on 2008-12-31 17:27 CET
I just bought a new webcam, a Logitech Quickcam Vision Pro (Mac version, 046d:09a6) with hardware controlled autofocus. Pictures are really sharp and the autofocus is cool too. Anyway, i needed to capture a small video with sound. Here's the ffmpeg command i used.
ffmpeg -t 10 -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -f oss -i /dev/dsp1 -f mp4 webcam.mp4
No need to compile ffmpeg, this works out of the box!