Saturday, September 30, 2006

Looking Forward (To October)

I'm really looking forward to the end of October. Since I will then be able to update my Dapper laptop to Edgy Eft which will have AIGLX built in. Then I can install Beryl (a compiz-quinnstorm fork). I will not install beta software however, since I use that laptop for work etc... So the 'how I did it'-guide will have to wait.

If you can't wait however, this LiveCD could help. (Boot with "sabayon aiglx".)
(From the announcement.) Beryl is a fork of compiz, and a collection of other tools to go along with it. CSM has become Beryl Settings Manager (beryl-settings). CGWD has become Emerald, with its companion emerald-theme-manager.

Wednesday, September 20, 2006

What A Day(s)

Warning: the following post will probably contain swearing and profanity, this is because I am very mad at the moment... sorry.

The day before yesterday, around 2 a.m.: I stop working for that day and shut down my PC.
Yesterday: I start that PC (it's my Windows machine: be prepared for anything) and see 'One of your drives has to be checked for consistency...' yadda yadda. I am not woried, this has happened before, so I think: 'A check can't be bad.'.

Yeah, right, around 50% of the first check: chkdsk hangs... I wait... I wait some more... I start looking on the Internet for some support... This is gonna be bad... I think, and I restart.

I restart and restart and restart and the check keeps locking up. So I try to cancel it and start Windows.

STOP: VOLUME_NOT_MOUNTABLE or something like that... What the fuck! Again! Windows loads this time, but the system is remarkable slow. This is bad.

I grab an XP install disk and throw it in the drive... recovery console... trying to remember that !"£$ administrator password and running checkdisk as if there's no tomorrow...

Chkdsk is performing additional checks and fixes...
Chkdsk is performing additional checks and fixes...
Chkdsk is performing additional checks and fixes...

BSOD! A BSOD for god's sake! In a setup environment! How bad can things get? UNEXPECTED_CHECK_EXCEPTION what the!

Okay: let's search for tools and trials for NTFS file checking. Back in the day, we had Norton. Then: Norton was still a friend for sysadmins. But back in the day, we also had FAT32, which was more open and more known than NTFS... (Did you know that 'NTFS Recovery' in Norton Tools today actually means: chkdsk /r /f?)

Iolo Drivemedic Stuff Thingy Trial. I install quickly before Windows locks up again.

Iolo shit has performed an illegal operation and has to... goddammit! Is this a tool or what, it doesn't even work (Windows 64 bit maybe?) After scrutinizing the install maps I find the image for a boot disk 'Which will fix every error you see and do your laundry too!', or so it says above the 'BUY ME!' button on their site.

Turns out that boot floppy (Who has floppy's lying around the house? I'm glad I had.) is the result of a night filled with passion between MSDOS and FREEDOS: crappy mouse drivers are the result.

I try navigating my way through the screens with my arrow keys, but when the second screen shows some nice circles to select the drive I want to check, Tab, Space, Enter, Arrows and all the other keys don't work! Who makes this crap? Esc: exit application. I could cry. So I search for a PS/2 mouse, and plug it in. Of course you have to restart, because the ctmouse.exe crap refuses to believe that there is a mouse (apart from the one it made up at COM1). Now the mouse works (and believe it or not, both the USB and the PS/2 mouses (or mice) work now, I don't get this). I click my drive and I am happy this problem will be solved.

( ) Fix MBR.
( ) Fix Partition Table.

No shit Sherlock. All this trouble for this? Crap Iolo tools! I have news: the only tool which is a little bit fucking usable for fixing NTFS partitions is... chkdsk. That's right, MS had kept NTFS as their little dirty closed secret and now nobody can play with it. ntfsfix on Linux tries to give a little help, but doesn't do anything either. How bad is that? So chkdsk again... now from another install CD (you never know). After spinning and crunching the drive, it spits out:

The drive has one or more unrecoverable errors...

Oh really? Time to backup stuff then. But don't try this in Windows. You see, when you drag and drop some files, 10 files for example, and number 5 can't get copied for some reason, then it drops all the next 5 too, so you can spend some hours figuring out which file is giving you problems.

Luckily there is XCOPY, with it's /c flag (if i remember correctly) to continue copying if an error occurs, CLI tools still are the best tools. The only thing is that when there was an error: the whole fucking OS just crashed or froze. Great.

But never I will give up my 9GB of important documents and data!

I turn every CD and DVD I can find around: Knoppix 4.something, yes!

I boot Knoppix (lovely DVD that is) and prepare for some copying. Of course, you can't write to other NTFS files, so I had to copy my files over the network to my laptop. I boot up SSH server and in Knoppix I try:

scp -rpv /mnt/sda1/Documents\ and\ Settings/Yaddayaddayadda myuser@192.168.111.5:/home/myuser/backup

Which works. On some file I get an output/input error but at least it doesn't crash and saves what it can...

Until... a large file came up... '- STALLED -'. What does that mean? The network isn't down, is it? I try a quick ifconfig on Knoppix: only lo? Where has eth0 gone?

Turns out, if you use a nForce motherboard, it causes scp and sftp to crap out (or the other way around?). You have to turn your PC off and then turn it on again to recognize the eth0 again. (Restart? Forget it!)

A Windows Share, then, I start Samba (which is easy in Knoppix) and connect with my Laptop. I successfully copy the remaining files... (That was a few hours ago.)

Now I really want to know what has caused this behaviour. Since Scandisk Surface Scan isn't around anymore and replace with chkdsk over there, I try
badblocks -c 16000 -s -v -o ./out /dev/sda1

Holy cow: are all these bad blocks? This drive is only three (3!) years old! Name to blame: Maxtor. I hope it's still under warranty. Never I will buy their shitty drives again, never! So at the end: it wasn't really Windows' fault, but they could've made my job a lot easier.

Now I can go through the process of installing Windows all over again once more... I'm gonna take an aspirin now.

What have we learned?
  • Backup!
  • Download the newest Knoppix DVD and burn it now!
  • Maxtor is shitty.
  • The only tool we have for fixing NTFS files and indexes and attributes is chkdsk.
  • Luckily there's Linux, and SSH.
... goddammit!

Tuesday, September 19, 2006

Comparing Vista UIs

Nice post on Digg: this Blog post visually compares various user interfaces (Aero Glass, Basic,...). Be sure to check it out (although the site is getting dugg at the moment).

Monday, September 18, 2006

Crappy Scanners And Linux

Recently we got a new HP Scanner. It's a good, nice one without any complaints.

However: the scanner I used before was a crappy scanner with a brand nobody knows, picked up for almost nothing at some cheapskate-store (because I very rarely need to scan something). The installation of the drivers was always a pain, copying files around, right clicking .inf files and whatnot... And then hoping that it wouldn't throw a general 'TWAIN error' at me. People who know something about this whole TWAIN thing know it's a pain. According to Wikipedia, it stands for Technology (or Toolkit or Thing) Without An (or Any) Intelligent (or Important or Interesting) Name, which is just cheesy. Hell, I even think that Microsoft's new WIA (or: Windows Imaging Acquisition) is better.

Anyway: a few weeks ago, my Windows machine gave up scanning, maybe it had something to do with the fact that I was running Windows x64, I don't know. Reinstalling drivers: no dice. Moving files around: no dice. Installing drivers for other scanners (one can try): no dice. Unplugging the damn thing and throwing it out of the window... err... no dice.

Until now. I was thinking: "Hey look, there's that stupid old scanner, maybe this will work on Linux..." So I promised myself that I would spent a few minutes (not more) trying to get this to work, before dumping it completely.

I connect the scanner to a free USB port... nothing happens. No worries, after fiddling around I find that the command is xsane (hey, go easy on me, I'm still a bit of a Linux noob).

So I try that, and get a nice bunch of error messages... perfect.

failed to open device 'artec_eplus48u:libusb:001:002': invalid argument

Really? So my crappy brand scanner is actually an Artec. Fine, after searching a bit on Google I find the following suggestions, export this:
export SANE_DEBUG_ARTEC_EPLUS48U=9

And then run again, we now get some more information:

[artec_eplus48u] Try to open firmware file: "/usr/share/sane/artec_eplus48u/Artec48.usb"
[artec_eplus48u] Cannot open firmware file "/usr/share/sane/artec_eplus48u/1200.usb"
[artec_eplus48u] download_firmware_file failed

Apparently, .usb is a Windows driver, so good luck getting it. Luckily, the drivers where still on my other machine, and I do a search for every .usb I can find. Artec48.usb gets found and copied over to the directory xsane suggests: /usr/share/sane/artec_eplus48 (had to create it).

I tried again... It frickin' works! What a piece of cake.

If you happen to have the same problem, and want the Artec48.usb driver, you may of course drop me a note (macuyiko at gmail dot com).
I'm happy, now this scanner still is a little bit of use. This is what I like about Linux: if you have a problem: continue fiddling and trying without giving up. In the end it'll work out and you'll have learned a lot of things (which is great).

Penn & Teller's Bullshit Links

Featured yesterday on Digg: it seems that there are a lot of Penn & Teller episodes of 'Bullshit' on Google Video.

I had never seen this show before and find it quite funny. Some of the episodes are really hilarious (bottled water, creationism,...). Don't think that the show itself is a great scientific program tho[1], some of the tactics they use to prove their point are based on some psychological characteristics of humans. (E.g.: certain arrangements of groups will perform better than others. E.g.: presenting items in a specific order so that people will most of the times choose the second one due to conditioning from media: first show old boring bad product A, then introducing a better newer product B.) But still: many of the topics they show are indeed: 'bullshiat'...

[1]: Except creationism: that really is complete bullshit.

Saturday, September 16, 2006

My Dream App: More Contestants

It looks like My Dream App has announced all the contestants now. Let's see...

Bob: Pile o' Cards: use piles of cards with anything on them: text, media, widgets, pictures and more. Looks like this could become a handy little app.

Cameron: Atmosphere: 'a virtual outdoors for your desktop' - an enhanced weather application. This can prove handy for a lot of people but personally I wouldn't use it (since I can just look out of my window).

Dan: Blossom: 'a virtual plant that responds to productivity' - wow, this is a cool idea. Withering plants will correspond to lazy, game-playing computer sessions, thriving plants to a good productive day in Excel. Everyone will have different looking plants, awesome.

Dilon: Bookroom: reading e-books in a beautiful interface, looks good, maybe this will give some people an opportunity to read more again.

James: Destinations: the ideal app for the travellers. 'Plan vacations and trips with ease' sounds really useful to me.

Jeff: iGTD, Getting Things Done on the Mac with integration with iCal, IPod and more. Looks like this will also prove to be handy.

Josh: iGotPets: 'keep track of your pet's well-being'. A shame I don't have pets. So personally I wouldn't consider using this, but I can imagine that the 'pet-freaks' out there would love something like this.

Kevin: Hijack: Cocoa interface to browse and participate in discussion forums. Not sure what to make out of this. I'm curious how this will turn out.

Marshall: SweepIt: cleanup messy desktops with simple rules. I would love something like this (on all my machines, on all platforms). Since I spend a lot of time keeping my desktop and folders in clean, pure condition.

Mickey: Supplemental: 'Photo Booth for videos, with easy to use video logging'. If you're into videos (a lot of Mac-people are), then this could provide you with some extra help.

Mike: iSightSee: control your Mac using the iSight with hand gestures and movements. If this works (meaning: it actually does a good job at recognizing the different gestures) then this could also become a handy tool.

Raven: Telepath: push mail, news and more from your Mac via SMS. I wouldn't use this (it probably would be difficult to setup in some countries and/or it would cost a lot and my phone inbox is currently more than full), but some people might love it.

Richard: Whistler: 'ever had the urge to create a song'? With Whistler: you just tap, hum or whistle something into the app. Wow: if this works fine this would be amazing!

Rusell: Ground Control: 'Dashboard done right'. What can I say about this one? Let's see how it develops...

I think I have them all now. Again: all ideas are great and it looks like the competition will be hard! Check out MyDreamApp for more info. Nominating the contestants will be fun but difficult.

Friday, September 15, 2006

Zune


Old news really, but Microsoft has released more details about their upcoming music player, Zune, yesterday.

In my opinion, MS has done a very good job when it comes to designing this thing. Look at the brown version: it's very retro and stylish. I actually like them better than iPods (sorry Apple fans, I never liked them).

However, only time will tell if these things will be usable too. (Worst case: contains more DRM than iTunes. Or crashes with a BSOD...) Also: Microsoft still wants to get the 'Hey we are cool too!'-message out, without actually being hip. (Not that they have to in my opinion: the Zune looks very well designed.[1])

Still, at the moment I am more than happy with my Creative Vision: M music player: 30Gig and great battery live. Actually: I first wanted to get another iRiver, but since they now also use MTP[2], I decided to pick up something slimmer. The tag-based-browsing system is a pain in the shiny metal ass though, because I still have a lot of untagged MP3s, so I hope the next firmware update will contain directory/file name based browsing (please)...

Here's a video of Zune in action:


[1]: Then why is Vista so ugly?
[2]: Media Transfer Protocol...

Game: Lego Star Wars 2

I played a bit of Lego Star Wars 2 last night, I haven't gotten very far yet but it's quite an enjoyable game so far. People who've played the first one will feel right at home, since the two are almost identical in gameplay and graphics.

The game itself is - of course - very cheesy (it's Lego!). But everyone who touched the little stones in their childhood (who hasn't?) will love the little blocks and characters.

LSW2 is enjoyable in single player mode, but it becomes really fun when you press F2 (I have the PC version, of course) and a friend takes control of the other character: pure fun.

Platformers are rare these days, so LSW2 is one of the best platform-games today. together with Beyond Good And Evil, Psychonauts, and the first Lego Star Wars.

The graphics aren't next-gen, but the bright side is that you won't need a powerbox to run it.

If you've played the first one and loved it, you will love this one too. If you didn't like number one or don't like platformers in general, then you won't pick up this one.

Monday, September 11, 2006

Neverwinter Nights On My Ubuntu-Laptop

Today I finally decided to spend some time and try to install Neverwinter Nights on my laptop, since I absolutely still love that game. Of course: you could follow this howto, but since I don't have NWN Platinum or Diamond, I had to follow other instructions. I didn't want to pirate the game (I legally own the original and the two expansions, so I figured that would work too).

Instead I followed the instructions from Bioware, congrats to them for making this game available on a Linux (and Mac) platform!

Step 1: "Installing Using Downloaded Linux Client Resources"

Download the Linux Client Resources v1.29 (from BioWare). Extract this archive somewhere (e.g.: /home/user/Programs/nwn).

We will do the English install, for other languages: follow the Bioware instructions, these instructions are just narrowed down and compressed...

Also download the Linux Client 1.29 binaries (tar.gz, 5.3 MB). (Make sure you are logged in into the Bioware site, registering is free.) And also extract these into your installation folder. Make sure you overwrite all existing files - this is a rule for all further archives, unless stated otherwise.

If you have SoU and HoU, don't update to the latest version yet. And wait with playing the game ;).

Step 2: "Installing Shadows of Undrentide Expansion Pack"

Make sure step 1 completed succesfully. Since the Linux installer on the disk is broken, we will do it ourselves.

Make sure you can access the following files, they are in the CDs root folder.
Data_Shared.zip
Language_data.zip
Language_update.zip
Data_Linux.zip

Extract them into your installation folder in the above order (overwrite)!

Then delete the following files from your installation folder if they exist:

/INSTALL/data/patch.bif
/INSTALL/patch.key

And then execute the following command from a terminal:

./fixinstall

Step 3: "Installing Hordes of the Underdark Expansion Pack"

Make sure you completed steps 1 and 2.

Remove the following files if they exist:
/INSTALL/patch.key
/INSTALL/data/patch.bif
/INSTALL/ xp1patch.key
/INSTALL/data/xp1patch.bif

Again: get the following archives from the HoU CD root and unzip them into your installation folder in the following order:
Data_Shared.zip
Language_data.zip
Language_update.zip

Download nwclienthotu.tar.gz and also extract it into your nwn directory, overwriting all.

Again, run ./fixinstall from your installation directory.

Step 4: updating

Now update the game, download the patch here. To update, just overwrite-extract the archive you have downloaded in the installation map.

Step 5: fixing

I got the following error when starting Neverwinter with the ./nwn command:
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/username/.kde/socket-hostname.
can't create mcop directory

To fix this, I executed:
mkdir ~/.kde/socket-hostname
Replace hostname with your own hostname, of course (it is mentioned in the error).

Then everything worked perfectly fine: NWN starts and I can enter my CD keys, the game doesn't run like it does on my gaming machine, but I'm satisfied that it runs at all with such a small Thinkpad X60 with quite a crappy graphics chip.

Again: thanks to Bioware for making this available (which other game company would host a one-gigabyte file on their servers?).

Happy adventuring!

Sunday, September 10, 2006

Playstation 3 European Ad

It seems Sony is taking their advertisement campains seriously, the first European Playstation... oops I mean PLAYSTATION 3 ad hit the internet about yesterday. It seems that Sony doen't worry about the costs: the ad is more than 3 minutes long and more will follow.


You have to admit it: it's another cool ad. We only get to see some shots from a real game at the end, but it looks good... maybe the PS3 won't do as bad as everyone thinks after all... maybe it will do real good (after the price drop).

Friday, September 08, 2006

My Dream App finalists...

My Dream App - "Idol 2006" for Mac developers, has begun announcing finalists with - at this moment - still 15 people to go.

All the ideas are looking pretty neat at the moment:

Anders - Stick-It: 'A modernized sticky solution that lets people use virtual stickies just as they do in real life.' Sounds really cool and handy, but I think this app will have a hard time to compete with existing or comparable apps.

Andrew - Desktop Wars: an RTS game played on your desktop. As a matter of fact, I once tried to make a similar game when I was younger and when I had almost no programming experience. I never completed it. So I'm pretty exited about this idea.

Bogumil - Herald: a virtual newspaper app, using RSS and other technologies. Looks promising and it would be a great app if it can introduce the concept of RSS to more people.

Farzad - Portal: 'File syncing from the future.' I almost never use file-syncing apps (mostly because most of them are a pain to use). So if this app works out, it will make a lot of people happy!

Joe - Puppet Constructor: Flash for beginners: manipulate and animate 'puppets' with the ease of a toy. This is great, everyone who starts working with a complex app like Flash, or Photoshop or a 3d animation program wants to imitate 'all that cool stuff' they saw online or in magazines, only to be dissapointed with the steep learning curve. This app will probably provide hours of fun.

Michael - Chatboard: a virtual whiteboard. Has the potential to turn into a great collaboration tool, but it will again be a challenge to compete with other products in my opinion.

Michael - Cookbook: a lovely idea. Of course there already are cookbook applications, but this one will do online shopping, voiceovers, sharing, and more, the concept screenshot looks really neat.

Peter - Bubble Fish: 'Bubble Fish is the friend who knows everything, but without the annoyance factor.' With the abily to search on Flickr, Google and Wikipedia, this could turn out as a very handy little research tool.

Windy - iStyleIt: a 'virtual closet for your Mac', pick out, arrange and rate clothes and combinations. Sounds like a silly idea? Not really when you think about it. Share combinations with friends and save time in the morning when choosing what to wear. Even me (a guy!) like this idea... a modern life-app.

Be sure to check out mydreamapp.com, this whole 'contest-concept' is very entertaining and I will surely keep an eye on further development.

The only downside? Mac only, but it's better than Windows-only (now maybe some apps have the chance to get ported to Linux, one can hope).

See you next time!

Wednesday, September 06, 2006

Bravia The Second Advert

If there's one thing (and possibly the only thing) that Sony seems to do alright these days it must be their ads.

Remember the colored-balls Bravia ad? Of course you do.

It seems their second ad (again: with lots of color) is almost finished. Watch a cool production movie here. And see more images on the Bravia ad site.

Isn't it cool when there is so much advertising about an... ad? Absolutely lovely idea.

Also, I absolutely crave the "like. no. other." logo at the end, it makes me want to buy Sony products, a lot of them. If only the rootkit-scandal didn't happen.

Monday, September 04, 2006

Grinding Windows (To A Halt?)

Some of you have probably read this post on Digg. Someone apperantly made a video about Edgy Eft running 40 processes without crashing.

Some people basically replied "Windows [and Linux] can do this for ages!" or like "This is really neat!".

It is really cool though that the Ubuntu team has managed to quickly open Openoffice (around 3 seconds now), I am really looking forward to see that running on my laptop.

However, I wanted to prove that Windows will also not crash when doing this (not a recent version that is). So here it is: my video response, using the following amazing batch script:
:loopit
start sol
start mspaint
start calc
start notepad
goto loopit
It's the loop of doom! Sorry for the bad quality, but it's better than YouTube. When I close the command line window, Windows was running around 140 instances of Notepad
, Paint, Solitaire and Calculator each (screenshots maybe later). However: during all this, it did slow down, but is was still quite manageable afterwards. I had to stop the loop because Paint was starting to spit out error messages (as you can see in the video).

Then, I closed the four groups from the taskbar. Windows seems to have a bug here: it doesn't close all programs and some had to be closed manually (ah the fun!).

On which system was all this done: on my main Desktop/beast machine: two Opterons and 4GB of RAM, so I agree that this is in fact not really fair towards that first Linux-video, but it was a fun thing to do (I was surprised that Camtasia could survive the heavy load).

In conclusion: I do not want to flame Ubuntu or Linux in general (I am running it myself so...), but running 40 processes at once is not such a formidable feat. Also: Windows is more stable than Mac/Linux/Whatever-zealots tend to believe[1].

A, those lazy Sundays...

[1]: Except for Windows 3.1. And 95. And 98. 98SE too, a little. And ME. Especially ME. Stay away from ME... 2000 might work I think. Windows XP 32 bit too (I was running 64bit). And 2003 probably too.

Tuesday, August 29, 2006

More Tests

On those boring evenings I like doing Internet tests just for fun (see previous postings).

A few days ago I did some Mindviz tests:

This one is quite true:

I'm 45.0% nerdy!
My computer appears to be my best friend!

Take the Nerd Test at MindViz


And I'm kinda proud of this one ;):

I have an IQ of 156!
I am in the 99th percentile!
This means that I did better than 99 percent of the people who have taken this test!

The average score for this test is 100.
The maximum score is 167.
The minimum score is 66.

Take the IQ Test at MindViz


Also proud about this one:

I'm 47.7% lazy!
I may want to consider removing that youatloaf from my shirt

Take the Lazy Test at MindViz


Not so proud...

I'm 48.0% pure!
I'm on my way to a healthy existence, keep up the good work!

Take the Purity Test at MindViz


No news here:

I'm 50.0% freaky!
Wow calm down, I'm starting to freak you out!

Take the Freak Test at MindViz

Now This Is A Game I Am Looking Forward To

Introversion Software presents its third title, DEFCON, a stunning online multiplayer simulation of global thermonuclear war.

You play the role of a military Commander hidden deep within an Underground bunker. Your mission - to successfully exterminate your enemy's civilian population whilst disabling their ability to attack your own. Start by launching your battleships, subs and bombers in order to decimate your opponent's defences. Scramble together your alliances but remember only one can stand victorious.

Prepare your pre-emptive strike before one of your supposed allies gets the same idea. Choose the perfect moment for betrayal, obliterating your opponents with an apocalyptic thermonuclear barrage, but get it wrong and their devastating counter attack will bring you to your knees!

That really sounds cool. Remembers us of the movie Wargames of course. Check the videos on their website. Uplink and Darwinia were such great games too, try the demos if you haven't altready.

Linux Games

I've been checking out some games for my Linux machine recently (that almost sounds like an oxymoron). I'm not going to go all whiny on you with a "Linux does have games!"-post, but will just review a few of them (the most popular ones).
  • Planet Penguin Racer (a fork of Tux Racer): I never wanted this game, when all those Linux-sites/posts/magazines said: "hey look we have a racing game with a penguin" it just looked too kidish. However: it is quite entertainable, and making some maps is quite fun. This is a nice quickie-game for the people with direct 3d rendering enabled ;).
  • Neverball: a game where you tilt the play field to make a ball roll and pick up coins. It's fun and looks quite nice but I suck at it.
  • Freecraft: it's an RTS, with poor graphics (sorry), I didn't like it that much and wish there was a good RTS game for Linux. I don't have anything against sprites (I loved Age of Empires 1 and 2, Age of Wonders, Starcraft, Kohan, etc...), but this can look better.
  • Globulation 2: also an RTS. Also not bad but I don't like it that much.
  • Tuxkart: fun for a while but not fantastic.
  • Frozen Bubble: the game everyone knows, and still great fun too!
  • Pingus: a Lemmings clone. Well done game, will keep the oldskool puzzlers really entertained!
  • Rocks And Diamonds: an all-in-one Boulderdash clone. Which I absolutely love because I can even play the Supaplex levels.
  • Wesnoth: another instant-classic, hexgrid fantasy strategy game, well done graphics and great tactical fun both online and offline.
  • Crimson Fields: Battle Isle clone, not bad but the graphics aren't that great.
  • Advanced Strategic Command: also a Battle Isle clone: better (traditional) graphics and AI, but the interface/polishing could be better.
  • SCUMMVM: absolute favorite. Grab this program together with some fat old-Lucasarts-adventures torrents and relive all those classics... A fantastic game for those long train-trips. Ah... the memories of playing Broken Sword 2 and really diggin' the characters and story. They don't make such games anymore since Grim Fandago[1].
That's it. It's not F.E.A.R., no Civilization 4, no GTA and no Age of Empires 3, but it is enough to kill a few minutes. After all, my Linux computer is my work machine, so the less I play, the more work I get done...

[1]: Actually I'm lying: Dreamfall, Fahrenheit (a.k.a. Indigo Prophecy) and others are great recent adventure games.

Tuesday, August 22, 2006

Visiting AIGLX/Compix And Back Again

Here it is, as promised...

Yesterday I decided to "quickly give AIGLX/Compiz a go". I use AIGLX because I do this on my Thinkpad and it has an Intel card. AIGLX gives better performance with these cards.

There are already nice how-to's at this and this location, but I just wanted to share my experience, but also add some additional remarks. And: we will even revert back to the normal Gnome desktop...

1. Add the following to your sources list:
sudo gedit /etc/apt/sources.list

and add:

## AIGLX + COMPIZ...
deb http://ubuntu.compiz.net/ dapper aiglx
deb http://ubuntu.compiz.net/ dapper main
deb http://xgl.compiz.info/ dapper main aiglx
deb-src http://xgl.compiz.info/ dapper main aiglx
deb http://www.beerorkid.com/compiz dapper main aiglx
deb http://media.blutkind.org/xgl/ dapper main aiglx

You might be wondering why I add a lot of repos here. In my configuration, apt-get complained about some missing packages when I used the repos mentioned in the wiki/docs.

The following steps are exactly the same as the docs/wiki...

sudo apt-get update sudo apt-get dist-upgrade

3. Install the latest dri modules:

sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`

4. First purge Aiglx/Compiz:

sudo aptitude purge compiz-aiglx compiz-aiglx-gnome

5. Then install (I installed the Quinn packages, because I randomly read somewhere they were better):

sudo apt-get install compiz-quinn-aiglx compiz compiz-gnome

6. Now let's
sudo gedit
/etc/X11/xorg.conf

Edit the Screen section to 24bit mode:
DefaultDepth 24

Make sure your Modules section has the following loaded:
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

If you happen to have other modules: you may probably leave them in (I had one).

Make sure there is only one option in the Device section:
Section "Device"
Identifier "Intel Corporation Intel Default Card"
Driver "i810"
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0" EndSection

Add Aiglx to your server layout:
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Uncomment the DRI section:
Section "DRI"
Mode 0666
EndSection

Finally, you must have:
Section "Extensions"
Option "Composite" "Enable"
EndSection

7. Configure gdm:
sudo
gedit /etc/gdm/gdm.conf-custom

It must contain the following:
[servers]
0=aiglx
[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true

And restart gdm (pray):

sudo /etc/init.d/gdm restart

Note: my gdm restart did not seem to work (it just gave me the cli). If this happens to you, just do a simple sudo gdm, it will work when you reboot of course.

The following information is not in the docs/wiki:

Yes! It seems to boot. But my windows have no borders... see that new Compiz icon in the "taskbar" (top right), it looks like a red cube. Right click it, edit preferences, plugins, and enable most of them (test it out which ones work fine on your system). Make sure the first ones (gconf) are enabled. Save. Right click again and choose Restart Compiz. Your windows will now show borders and be wobbly and so (if you enabled the plugins).

Now let's fix Totem. I had gstreamer so:
totem-gstreamer
And then select on default video playback "XWindow (NoXv)" in video tab.

Now for some themes, make sure the following is installed:
sudo apt-get install gcompizthemer
sudo apt-get install cgwd
sudo apt-get install cgwd-themes

Note, you might also need to edit /usr/bin/compiz-start and replace all instances of gnome-window-decorator with cgwd (I had to do this). And restart Compiz.

Now right click the Compiz-cube again and choose Themes. You will now see: themes. Use them.

Some of the following information is in the docs/wiki...

After playing with it a few days I notices I liked old ways better. My system was performing well but the idea of using these experimental packages on my work laptop was a bit scary... let's go back now.

Let's revert all we did. Speed style.

1. Uncomment all the repos you added in /etc/apt/sources.list.
2. Open the totem properties again and set the Video back to auto.
3. Open /etc/gdm/gdm.conf-custom and remove everything you added, it will probably just contain:
[servers]
4. Open xorg.conf and uncomment/revert all your changes.
5. Uninstall Compiz:
sudo apt-get remove compiz-quinn-aiglx compiz compiz-gnome
sudo apt-get remove cgwd cgwd-themes
sudo apt-get remove xserver-xgl compiz compiz-gnome gset-compiz
Yes there are doubles. Yes it will complain about downgrading, just choose yes... don't worry.
6. Make a file in /etc/apt/preferences and put the following in it:
Package: *
Pin: release o=Ubuntu
Pin-Priority: 1001
save it.
7. Run:
sudo aptitude update
sudo aptitude upgrade
It will downgrade all your packages.
8. Open /etc/apt/preferences again and remove the lines from step 6.
9. Open synaptic, go to Status: Local or Obsolete and remove all Compiz or Quinn or Aiglx related packages.
Note: synaptic doesn't load? Probably a libcairo problem if I remember correctly (I had the same problem after installing Compiz Quinn). Make sure you followed the above steps correctly and do:
sudo apt-get install libcairo2-dev libxft-dev libfontconfig1-dev
10. Reboot and hope that all goes well :).

Wasn't that fun? And it only took 10 minutes...

Does anyone however know a similar alt-tab feature and the "I move my mouse to the upper right and get a nice window overview" feature for Ubuntu without using Ubuntu? Because I liked those two...

Didn't have the time for screenshots or screencasts. There are enough of them already. And you really have to experience it for yourself to really enjoy the full power. Compiz will be great when it's fully stable and in the main repos and easy installable...

Close Call

Latest Ubuntu xorg-core update breaks X. Oh boy...

If you are already in trouble are want some general info: head over to this thread. The package itself has been fixed (already). Be sure to download the point 4 and not the point 3 release.

So what's this all about? There was a main Dapper update which crashed X for a lot of people. These people (some of them) then became mad and started bitching about Ubuntu, X, or Linux in general.

Me too would like to comment on some of these aspects:
  • Yes, something was wrong. Luckily I didn't install the broken update (didn't get an update notification in time, phew).
  • Some people use the "you didn't pay for Ubuntu so you have no reason to blame them if something goes wrong" argument. I don't agree with this. It is the goal of Ubuntu and Linux in general to provide a stable and better alternative. Maybe you don't pay for Ubuntu, but in order to introduce Linux into the desktop and enterprice environment for heavy daily use, it should first strive for maximum control, security and stability. This situation would have been unacceptable for corporations who do pay for these products, thus: it is better to avoid it.
  • This is no reason however to start complaining. It's situations like this that really show of the power of the developers and the community. There was a fix up in the forums almost immediatly. And the package has been fixed already.
  • Of course it's difficult to search forums when you have to do it from the command line. So it never hurts to have Lynx or equivalent installed. And look at it this way: what if there was no cli? At least in Linux you always have a working bare environment in which you can fix things.
Just my two cents. Let's hope this does not have to happen again.

I was just working on my post regarding my AIGLX/Compiz experience, I will publish it soon.

Sunday, August 20, 2006

Moved a long time ago...

Just to let you know in case you didn't know already: I've moved my blog location. New address is http://bedagainstthewall.blogspot.com.

Saturday, August 19, 2006

Combat, New Blogger And A Farewell...

A farewell to Windows that is. Which I removed now from my laptop (since I'm so pleased with Ubuntu).

Of course I still have Windows on my gaming-slash-desktop machine. Playing a bit of Flatout 2 lately. I tried to download the F.E.A.R. Combat installer (multiplayer component of F.E.A.R. which is now released for free). But after installing and trying to run it quit with a nice ugly error... so no Combat for me until I sort this out.

I've been reading about the new Blogger and their closed beta. Pity for me. Until today: I accidently logged in with my Google account name and password and *poof*: it gave me an option to migrate. I picked a new template to try some things (I actually like this one now). The new templating system is quite cool: it is really easy to arrange items and pick fonts and colors.

I see that there is now an option set labels too for a post (which is a fancy name for "tags") which means I don't have to use the Technorati ones anymore...

That was all folks... more later.