May 21, 2009
So after playing around with Arch Linux on my NC10 I decided to try out Ubuntu NBR (Netbook Remix) 9.04 on it.
So far it’s been quite pleasant. The NBR launcher interface is very nice and more adapted to the small screen than a regular desktop. Everything worked out of the box. Well almost. Two things needs a little tweaking, sound recording from the internal mic and suspending.
The sound recording issue is easy to fix. Open up the volume control and set the front mic levels quite high. Front mic boost should be turned off. Under recording, set the capture level to quite high as well (And make sure it’s not muted). Finally set the input source to front mic. That should be it! (If you can’t see some of the tracks mentioned above, enter settings in the volume control window and tick the tracks that are not there to make them show up in the mixer window)
You can now test your settings out in the sound recorder application, they will most likely need some fiddling before they’re perfect. Also, the volume on this laptop (Yes, I refuse to call it a netbook because it’s a silly word) is quite low in Linux. I don’t know if there is a way around that.
Now, the suspending issue. According to this bug report the NC10 has a problem resuming from being suspended. The solution it seems is to reboot the computer and when the Samsung logo appears press F2 to enter the BIOS. When in the BIOS, Press F11 and then F12 followed by an arrow key. A new hidden menu called Intel will appear. Enter this menu and then ICH Control Sub-Menu -> Integrated Device Control Sub-Menu -> SATA – Device 31, Function 2. Change this value from Compatible to Enhanced. When exiting the BIOS, save your changes and boot into your Ubuntu system. Suspend should now work fine (To be honest, I never tried suspending in Ubuntu myself before applying this work around, so I can’t say for sure it didn’t work before. However quite a few people seems to have reported this bug).
Now, enjoy your NC10 and shiny new Ubuntu NBR system. I will.
April 16, 2009
I got a Samsung NC10 today to play with. The first thing I did was of course to remove any trace of Windows from it, and after a bit of fiddling I’ve managed to get pretty much everything working in Linux (Yes I could have used a distro like Ubuntu or Fedora to do all that for me, but what would be the fun of that?). Wireless networking, webcam and graphics worked pretty much out of the box (Some small adjustments to speed things up on the graphics front). Even the function keys (The ones I care about) now work which is pretty sweet.
For anyone thinking of getting a netbook and running Linux on it, I can definately recommend this computer. Pretty cheap too which doesn’t hurt.
Oh, and Arch Linux rocks.
March 26, 2009
For some god forsaken reason, the working BankID java applet that my bank used (Which worked in any operating system that had java) was removed and replaced with some monstrosity that only worked in windows since it needed an external application. When a Linux version finally was released, only Ubuntu was the officially supported distro. Son of a bitch.
However I got it to work in my Gentoo installation with the following steps:
Get the latest version from http://install.bankid.com
Unpack it and open up the installation script (install-.sh)
Find the row that says #Install plugin for FF3. Edit the line under that to ln -s $INSTALL_DIR/personal/libplugins.so /usr/lib/nsbrowser/plugins
Make sure you have curl compiled with the gnutls and kerberos USE flags enabled
Create a symlink to your libcurl.so.4.1.1 called libcurl-gnutls.so.4 by running sudo ln -s /usr/lib/libcurl.so.4.1.1 /usr/lib/libcurl-gnutls.so.4
Install the BankID application by running the installation script
There you go. You should now be able to create new/edit/remove BankID’s in Gentoo Linux. Users of other “unsupported” distros can most likely follow these instructions with some modifications depending on their system.
January 24, 2009
Ok, I have no love for Microsoft what so ever. In fact I believe it just might be a cover for the devil trying to take over the world. I have to give it to them though, C# is a really nice language. I’ve been learning C# for a little while now and I do really enjoy it.
I’ve been working on a project in C++ but I do believe I’m switching over to C# instead since it’s so much nicer to work with. Of course, give me a few weeks and I might be cursing the living hell out if it, but I doubt it.
October 26, 2008
Let’s take a little break in the political ranting and go geeky. I’m using Gentoo Linux (Gentoo GNU/Linux for you FSF nutbags) and I tend to run some software marked unstable. To do this you have to unmask the packages you want to install. For some reason I could not get the autounmask package to work properly (It kept unmasking one package over and over again) and I got sick of manually entering each needed package into the unmask file.
Having too much time on my hands, I wrote a bash script that unmasks a package and all its dependencies. You call the script as:
For example, to unmask kde 4.1.2 you run:
I’ve successully unmasked portage 2.2_rc12, Gnome 2.24.0 and KDE 4.1.2 with this script.
This script will not handle blocked packages or EAPI incompabilities. For examle with KDE 4.1.2 I had to unmask and install portage 2.2_rc12 first due to the ebuild requirering a portage with EAPI-2 support, and I also manually had to uninstall qt-4.3 since it was blocking qt-4.4.
Anyhew, give it a go if you want to try it out, and you’re welcome to give me suggestions on how to improve it.
Get script here
September 7, 2008
Seems after a bunch of years of chugging along, my hard drive is on its last legs. Rebooted my computer only to be greeted by a message saying that my home partition could not be mounted due to errors. Ran a file system check that did find errors but could not repair them. I managed to rescue a few MP3-files and some documents, but about 50 gigs of data is lost never to be seen again. Awesome!
The suckiest thing about it is that since it’s a Seagate drive, I’m pretty sure it’s still under warranty (Seagate has a 5 year warranty on hard drives) but I can’t remember where I bought it and I have no receipt to show.
At least our kitchen is clean…