18. August, 2012
I had several problems with Fieldrunners from Humble Bundle. The first problem is: There is only a 32 bit version, even though I get a download link for a 64 bit version – but both are the same.
The next problem is this error message:
cannot open audio device (Device or resource busy)
Fieldrunners: pcm.c:923: snd_pcm_state: Assertion `pcm' failed.
This is because Fieldrunners uses alsasound but on my system, PulseAudio blocks the audio device. To fix that, run the game with “padsp“:
which gives this error
ERROR: ld.so: object 'libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.
This is probably because padsp can’t find a 32 bit version of “libpulsedsp.so”. For openSUSE, you can find the package here: http://software.opensuse.org/package/pulseaudio Make sure you click “Show other versions” so you can select the 32 bit version (the browser will show you the 64 bit version if you use a 64 bit version of openSUSE).
Click on “32bit” to download the file (don’t use “1 Click Install”)
Use atool to unpack the archive (trying to install it with “rpm” or “1 Click Install” will fail since the package is for the 32 bit version of openSUSE). Copy the file “…/usr/lib/libpulsedsp.so” to “/usr/lib/libpulsedsp.so”. “padsp” will find it. Now you can run the game.
Unfortunately, the audio will be choppy for some reason. I have no solution for that (it’s also choppy when you disable pulseaudio). My workaround is to go to options and to disable sound effects and the game music.
31. August, 2011
Finally: 10th Circuit Affirms in All Respects – Novell, Not SCO, Owns the Copyrights, etc., by pj
Of course, this is SCO … I might be a little surprised if they didn’t try to appeal to the US Supreme Court 😉
SCO or how to waste millions of dollars for naught.
10. August, 2011
Many people own color printers today; they are so cheap, there is little point to buy a B&W model.
But I don’t want to print with color by accident. If you’re using Linux with CUPS, here is a solution: lpoptions
“lpoptions -l | grep -i color” will tell you what the color options and possible value are. My output looks like this:
ColorModel/Farbmodus: *CMYK Gray
Colorreprod/Farbwiedergabe: *Printersettings Textgraph Textphoto Vivid Publications Lineart
MediaType/Media Type: *PrnDef Auto Plain Transparency Labels Letterhead Bond Color Preprinted Prepunched Recycled Cardstock Vellum Envelope Rough Thick CoatedPaper Highqlty User1 User2 User3 User4 User5 User6 User7 User8
To change the default, use “lpoptions -o”:
lpoptions -o ColorModel=Gray
The first command tells you the new default:
ColorModel/Farbmodus: CMYK *Gray
CUPS saves these settings in the file ~/.cups/lpoptions.
17. May, 2011
Seeing is believing.
13. May, 2011
Image via Wikipedia
If you’re worried about security while you’re browsing the web (and you probably should), here is a simple solution that might actually work (or at least raises the bar quite a bit): BitBox (German)
In a nutshell, it’s a secured Linux system running Firefox 4 inside of VirtualBox. The browser can only access the resources of the virtual PC.
So to infect your real system, the hacker must: Break Firefox on Linux (which is hard), break Linux (hard), break through the virtual PC layer (not that easy either) to be able to infect your real PC (as opposed to just infect your PC).
11. May, 2011
Image via Wikipedia
If you want to run IE6-8 on Ubuntu (or any other Linux distro that support VirtualBox), see this blog post: Use Internet Explorer 6, 7 and 8 in Ubuntu
5. April, 2011
Sound on Linux was pretty stable but then came PulseAudio sigh. One of the major problems is that some programs don’t try to look for the PulseAudio server. Instead, they try to lock the sound devices under /dev. Flash is one of them.
But there is a solution: Create a file “$HOME/.asoundrc” with this content:
That redirects all clients which use ALSA to the PulseAudio server and everyone is happy.