Linux on my MacBook

Posted in Hardware-related, Linux / unix, Software-related on January 13th, 2008 by Jan

I’m currently trying to get Linux (Debian Sid) working on my MacBook… it’s installed, but still needs lots of tweaking.

Most of the things work out of the box, except the things listed below:

Specific things that work (after tweaking):

  • Xorg with resolution at 1280×800
  • WiFi (atheros)
  • special buttons (volume/brightness/…)

Things that need to work still:

  • Touchpad (well, it works, but it needs to work better)
  • iSight

Sources I’m using at the moment:

I’ll write a detailed post on this later… when I’m not uberly lazy ;)

Vmware console on Debian Lenny

Posted in Linux / unix, Software-related, Virtualisation on December 30th, 2007 by Jan

I just installed VMWare server on my gf’s linux-laptop, but the server console didn’t want to start for some reason… Just came back to the command line, nothing happening.

Running vmware as
LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD vmware made things work, strangely enough ;)

Guess it’s because she’s not running any dbus-aware windowmanager, and thus said library not being loaded before the start of the server console. Ah well, fixed now ;)

arm-linux crosscompiling on Debian Sid

Posted in Linux / unix, Software-related on September 29th, 2007 by Jan

Here’s a simple howto on how to install an ARM crosscompiling environment on your Debian Unstable:

  1. Install crosscompiler packages from http://debian.speedblue.org/
  2. Create a virtual deb package extraction directory:
    1. Create the directory /usr/arm-deb
    2. Create the directory /usr/arm-deb/usr
    3. Create the following symlinks in /usr/arm-deb/usr:
      1. ln -s /usr/arm/bin /usr/arm-deb/usr/bin
      2. ln -s /usr/arm/lib /usr/arm-deb/usr/lib
      3. ln -s /usr/arm/include /usr/arm-deb/usr/include
      4. ln -s /usr/arm/share /usr/arm-deb/usr/share

    This will allow easy package extraction.

Now, download the packages you need manually (from http://packages.debian.org/ and extract them in the directory using dpkg -x <package file> /usr/arm-deb

To compile something, you first have to add /usr/arm/bin to your path (export PATH=/usr/arm/bin:$PATH), set include paths to those include files (export CPPFLAGS=”-I/usr/arm/include”) and add
-host=arm-linux to your ./configure.

Happy compiling ;)

Gallery-Remote

Posted in Linux / unix, Software-related on May 27th, 2007 by Jan

I was trying to get GalleryRemote installed today on my Linux installation (because for obscure reasons, using the java applet in gallery directly crashes my browsers), which wouldn’t run. Attempting to run the installer gave obscure errors like:

awk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
...

A quick search led me to see that the problem was related to the variable LD_ASSUME_KERNEL being set, causing libc6 to fail loading its libraries.

So, the process to get it up and running is:

  1. download GalleryRemote (non-vm)
  2. run this in the directory where you downloaded it:
    $ cp GalleryRemote.1.5.Linux.NoVM.bin GalleryRemote.1.5.Linux.NoVM.bin.orig
    $ cat GalleryRemote.1.5.Linux.NoVM.bin.orig | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > GalleryRemote.1.5.Linux.NoVM.bin
  3. install GalleryRemote
  4. run this in the directory where you installed it:
    $ cp Gallery_Remote Gallery_Remote.orig
    $ cat Gallery_Remote.orig | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Gallery_Remote

Now you should be all set to use GalleryRemote!

Oh, I forgot…

Posted in Linux / unix, Software-related on April 13th, 2007 by Jan
… but Debian Etch got released last week. Yay! :)

Fight image spam with FuzzyOCR & Spamassassin

Posted in Linux / unix, Software-related on February 16th, 2007 by Jan

I guess you all know about Spam Assassin. It’s a wonderful tool that allows you to filter out tons of spam easily.

Unfortunately, spammers are using images more and more to circumvent the baysan (and other) filter methods spam filters use. So, we need to incorporate some OCR’ing into spamassassin to make it hit those ugly things too!

Useful article: http://www.howtoforge.com/fight_image_spam_with_fuzzyocr_spamassassin

On Debian Sid, it’s as easy as
apt-get install fuzzyocr3 ocrad ;)

Goodbye Microsoft!

Posted in Linux / unix, Software-related on January 29th, 2007 by Jan

Now we have a very simple way for the Windows-people to turn to linux: A windows installer to install Debian ;)

http://goodbye-microsoft.com/

September in Spain

Posted in Spain, Travels on September 28th, 2005 by Jan

On tuestday, 20 september I took the plane (yes, I gave it back ;p) once again to spain, to visit Diana :) :)

After a pretty boring flight (but good inflight menu) landing there, taking the cab to the appartment and having a mjummy good home-made pizza (even home-made dough!!), I helped reinstalling Diana’s laptop - new, faster and bigger harddisk. The Windows installer was a bit of a bitch, so we continued on with linux, which was on pretty soon. Putting it to download all the packages for Debian and then to sleep… (bed waterbed-effect without water! :P)

The next day we packed up soonish and drove with Mum off to Rascafria, a little village to the north of Madrid, for the remainder of the week. It was a bit of a boring drive there, and then ofcourse finding the way in the village itself. It’s really a cute and pitoresque village, and it felt like going back a few deccenia in time :P
The house itself was a modern house, nicely built and roomy, with a nice bathroom and kitchen - which is important!
After unpacking all the stuff from the car we took a little stroll into the village, which has a has-been waterstream and so, did a little bit of necessary grocery shopping and then went back to the house, having dinner (pisto with eggs), watching some tv and bed!

On thursday we drove off to Segovia, further up north in Spain. It has a well-kept Roman Aquaduct, and lots of old beautiful buildings. We first got lost in the city centre with the car, finally got out (damn smalls streets!) and parked around 10-mins walk from the centre. Unfortunately it’s a pretty touristic city, but it’s nice nonetheless ;)
For lunch there we had the typical Segovian dish: Cochinillo Asado (Roast Pig), which is made in a coal oven until it’s so tender you can cut it with an eating plate! (which they did, and then trew the plate on the ground so you could see it was a stupid plain old porcelain plate). Verrrrrrry good. As soup we had Sopa Castellana (Castillian soup), which is a sort of broth, with lots of old bread, pieces of meat, olive oil, garlic and egg. Heavy, but good soup.

After lunch we walked around in the city more, looking at the Cathedral and the churches. After that we went back to the car, and drove home - happy and tired ;p Dinner that eve was home-made croquetas! Mjummy!

The next day was a quiet day at home, legs tired and all.. Just watched some tv, read some, overall restful day. We baked an orange cake too, which is like *droooooool* mjummmmmmmmmm….Dinner was stew with baked potatoes, good!

On saturday we went off to Buitrago, to see the Midieval Fair there. Unfortunately I wasn’t feeling too well, and it was too crowded to find a place to eat, so we bought some stuff and went back home. Lunch consisted of meat with pan con aceite (olive-oil bread). Quiet day too, overal. In the eve we had more croquetas, cheese and the bread. After watching some tv we went to bed.

Sunday we had to go back to Madrid, pack up everything in my own suitcase and leave back for Belgium in the early eve. The stays are always too short… but I’m going back next month!

Jan

(ps: pics can be found here)