Tag Archives: linux

WinE Tricks

Java crashes with EXCEPTION_ACCESS_VIOLATION (0xc00000005) The AirVideo Server for iPhone runs only under Mac and Windows and needs Bonjour and JRE. Java always crashed with After some poking around, I found a thread at nabble.com. Disabling the d3d9.dll was the solution: That was it. Now, Java should run smoothly.

ALSA Sound Card Order

The default soundcard to be used with ALSA is that with the index 0 in /proc/asound/cards. Usually this is the first found sound device. If you want to change this order, you have to find out the name of the kernel module used for that card and then add the desired index to it in… Read More »

Wallpaper Changer

Desktop Drapes Has some problems under Karmic Koala (e.g. the thumbnails are not shown, crashes if you delete a selected image). The list of enabled images is kept in ~/.gnome2/drapes.xml. Wally Seems to not work in Karmic. Wallpaper Tray It is a panel applet which shows a small thumbnail of the current active image. It… Read More »

PC Speaker in Linux

Enable in Ubuntu If you want some scripts to emit beeps, e.g. because you don’t always have your headphones on, you first have to enable the pcspkr module. This is per default disabled in Ubuntu. To enable it again, do the following: After that, you can play around with the beep program.

Rip YouTube videos/audio

The tools you need are described on blog.joff3.com. There’s also the nice youtube-dl package. One thing I noticed: the ffmpeg command there re-encodes the audio which might loose some quality. To just dump the audio off the Flash video, use: This is for 240px videos. All larger ones use AAC format. Use this: If you… Read More »

apt-cacher(-ng)

apt-cacher and apt-cacher-ng both act as a proxy between apt-get or aptitude and the Debian repositories. It stores the packages upon first request and loads them from cache on further ones. If you have 2 or more Ubuntu PCs in your network, you can save a massive amount of bandwidth with it. Installation That was… Read More »

Colourful make and gcc

Install the packages colormake and colorgcc. Then create the following alias: Also add this environment variable: And you should be set.

Swapfile instead of partition

If you don’t want to create a designated swap partition (e.g. if you plan to downsize it later) and don’t want to play around with GPartEd, you can create a swapfile instead. To create a 512 MiB swapfile, do the following: To automatically add the swapfile upon boot, add this line to the /etc/fstab: You… Read More »