This is mostly just a bunch of links and personal notes.
"Microsoft seems to have gotten a lot of mileage out of the C2 rating for NT with no network connection. I wonder if a B3 rating for Linux with no power cord might be of value." — Michael Driscoll on the kernel mailing list.
I've been using Linux professionally for quite a while: first SGI IRIX machines in 2000, then custom-built RAID PCs with Linux, then Mosix clusters, then driver development which is much easier on the Linux kernel than on modern versions of Windows, and finally full fledged embedded Linux systems where every bit of the bootloader and operating system is under my control and not under the control of Bill Gates. But there remains the issue of my home computer with its 10 year history of upgrades and cruft.
Why would I want to change OS on a system that works fine with XP ? Well, really I don't. Except that Bill gates in his infinite wisdom decided that if I change too much hardware he will deny the licence. I wanted to change the motherboard/processor/memory combo but was afraid to do so. Also the main system disk was always on its knees on its olden days 80Gb, never mind the other 2Tb of disk inside the unit on which I cannot just 'move' the operating system.
So when the system drive had a major brain fart one day in early 2009, I decided to skip a
ski-mountaineering trips to jump ship and install kubuntu on a new hard drive, import my data, and then try to figure out how to replace some of my faithfull applications and Windows-only hardware. The installation of Linux was basically painless, with only two major glitches: the lack of a proper graphics mode in X for my monitor and the failure of the WiFi.
I found a proper xorg.conf file for my
DoubleSight DS-240WB monitor on the web (thank you!), but apparently I should just have used the nvidia-settings utility to set it for me automagically.
So I had to give up on my Belkin DWL-G122 wireless which I replaced with faster and more reliable
PLC (power Line Carrier) units. No driver necessary. Anyway, the wifi did work fine 2 years ago but now with the ubiquity of wireless ADSL modems, there are more than 15 competing networks in range, leading to crap performance. A note of importance to all those with PLC devices: don't plug them into surge protected power strips. Those will filter out the high frequencies used to transmit leading to abysmal performances.
Among the first things I noticed is that the keyboard is too fast, I often type dooublee characters. I briefly saw a kcontrol tab to take care of it, but it disapeared forever after the first sytem update (while clearly visible on other identical systems). Now all I have is this flimsy "xset r rate 200 30"
Knode for usenet, Kmail for email and Kontact instead of wab take some getting used to after using outlook express for 15 years. Thunderbird had a bug where links would not be clickable.
The main reason I held onto Windows for so long was my photo processing software: Paint Shop Pro, PTgui, SilkyPix, HS-V3, monitor calibration, etc... It takes years to get the most out of those programs.
So 2 years after the thorough review of raw processing sofware I did, I tried out the offerings for Linux. In short they are sub-par and I want my
SilkyPix back. I installed it both in Wine (a Windows API implementation under Linux) and in VirtualBox (a virtual machine that runs a WinXP install simply). Both have pros and cons: Wine is faster but has some user interface hiccups. I did the same for PTgui and installed Paint Shop Pro in VirtualBox.
For scanning, the linux version of VueScan is flawless with my Nikon Coolscan 4000 slide scanner. But not so on the Epson Perfection V500. After reading quite a bit, I downloaded the DEB 32bit package [libltdl7] files from http://www.avasys.jp/ and installed them with sudo dpkg --force-architecture --install iscan*386.deb, never mind that I'm on a 64-bit system.
But for monitor and printer calibration, the expensive and shitty
DataColor equipement is far from working. The software installs but won't run under Wine. Linux won't recognize the Spyder probes, although some people have managed to use LCms and Argyll to generate profile files but I can't figure out how. The software installs and runs on VirtualBox, and it works fine for generating printer profiles, but it generates empty monitor profiles.
I had kept my previous monitor profile which can be used simply in Linux with the command "xcalib Profile.icm", but the inability to generate a new one (if I change graphic card or monitor for instance) is nagging. Also the printer profiles generated work fine as long as I print under the virtualized WindowsXP, but I have found absolutely no way to use them in Linux.
About VirtualBox, this system is awesome as it can pass an arbitrary USB device to the virtual OS, even if the Linux host doesn't recognizes it ! For instance I can use my
Epson R1800 under Linux, or pass it to Windows when I need to make a profiled print. I also (try to) use the spyder probes through VirtualBox. Make sure to set the number of processors before you install XP, as it doesn't like a change in the number of CPUs afterwards.
Finally about graphics, never mind what you can find on some forums, I could not get my recent Hercules webcam to work. But a new
Logitech QuickCam Pro 9000 worked out of the box. If going shopping, pick from this list.
On Windows I had an NTFS disk encrypted by TrueCrypt at the device level. I failed to mount it on Linux directly. Ubuntu would mount new drives via TrueCrypt, but not this one, saying it was corrupted with the very unhelpful message: "$MFTMirr does not match $MFT (record 36)". Mounting it temporarily on Windows, doing "chkdsk /F" on it then allowed me to mount it on Linux and copy its content to another encrypted disk, this time using Linux native ext3 filesystem.
Doing a backup and then data extraction of my failing former Windows disk was easy: dd if=/dev/sda1 of=WinSysDisk.img bs=1M conv=noerror. Then I can just mount that file as an ntfs partition and copy its content over.
One of the reasons I wanted to move to Linux was the ease of installation. Yes, times have changed ! On Windows you install the OS and reboot. Then install the security updates and reboot. Then the service packs and reboot. Then the various system update and reboot. Then the secondary updates and reboot. Then at this stage you still you have a unusably bare system and you need to google for all the current versions of your usual software, download them, install, reboot, launch, customize. Damn, that license doesn't work anymore with the new version, etc... Usually it takes me a good 3 days. I've wasted months of my life installing windows and associated software according to this method.
Linux makes it all so much simpler: you install the OS and reboot. The installer pops up with updates; apply and reboot. So far, not much difference. Then you launch the application installer and select all those you want. Click OK, that's it, no reboot necessary. And each time there's a new version of either the OS or the various applications, the updates are automated and all together. Magic.
For years I had a
LAMP stack running on Windows: Apache web server, Php, MySQL server, PhpMyAdmin, gallery2, svn, etc... All very delicate to install and keep up to date. On Linux you just click them in the installer and then all you need to do is fine tune their config files according to your needs.
My former svn repositories required a bit of massaging to move to Linux. I had to run the following on each of them: svnadmin recover /path/to/repos and just ignore the errors. I miss TortoiseSvn though, although KdeSvn is not bad and learning the command line for basic stuff is no biggie.
By the way, it is a good idea to pass the /etc directory under version control. All your critical system configuration files are there and you never know if a silly upgrade will break things. For this you first create an etc repository in your svn server directory: svnadmin create /var/www/SVN/etc (as www-data, not as root). Then you create an empty etc directory somewhere (not in '/') which you check out as root: cd /tmp; sudo svn co http://localhost/svn/etc. You then move the .svn to the real /etc and delete the temporary one: sudo mv /tmp/etc/.svn /etc/; sudo rmdir etc; cd /etc; sudo svn add ...; sudo svn commit when you can add whatever /etc files you fancy under version control. Always remember to sudo before svn'ing anything in /etc
Installing the ssh server is a no brainer, just remember to NAT port 22 on the router.
I got VNC to work in order to remotely access my Ubuntu box the following 4 steps:
By now everybody knows that OpenOffice is a perfect replacement for MS Office: it's free and it doesn't have the horribly messy ribbon menus of Office2007. And it can open tab separated .csv files !
So shortly after installing, I tested two of the reasons why Linux can beat Windows to a pulp. First one is a complete motherboard+processor+memory change. I had a Tyan mobo with Athlon 64 X2 with the AMD64 version of Ubuntu, so I had to stay in that line. I got a different brand of mobo (
AsRock),
more cores and 4 times the amount of
memory. Assemble, put the old drive in... and it boots without even a tweak of the BIOS or GRUB. And it doesn't bring up a message telling me that either I copied Windows illegally or that I changed too much hardware, either way pay up, thank you bitch.
The only hitch is the ethernet driver that no longer works. I have to compile a slightly different version, which took all of 5 minutes, but then the next kernel upgrade fixed the issue... So now it's a non issue.
The second test was upgrading the hard drive. This time I used a Knoppix live CD to boot, used dd to copy one partition to the next drive and then enlarged the partition to fill the whole drive. Rather painless.
What is the command line to get the content of the clipboard ? Or to pipe something in it ? In cygwin I used it very often, for instance to sort the content of the clipboard getclip | sort | putclip I'm aware that there are two different clipboards in Ubuntu, the Ctrl-C/Ctrl-V KDE facility and the select/middle-click ancient X-clipboard, so if they are two different commands, that's OK... but I couldn't find them !
Couldn't get KDevelop to compile even a simple hello world. I'll stay with makefiles for now.
The sound works fine, including the multimedia keys of my old Microsoft Multimedia Keyboard... somehow. The volume up and down keys would raise the PCM volume used by most apps, but Amarok uses the separate Master channel. The solution is to go in [System settings][Keyboard & Mouse][Global][Kmix] and to change the key assignement from [Decrease Volume] to [Decrease Volume - Master ...]. There may be more than one choice, try them out. Do the same thing for the [Mute] key.
The sort order of konqueror/dolphin file manager makes no sens to me: it sorts A, _B and C in that order, instead of the correct _B, A, C. I can find no information on what characters are ignored or treated peculiarly.
I write daily in 3 languages but I prefer a US keyboard for programming. I can add foreign keyboards or the more useful 'US'intl' keyboard for accents, but some are missing, like the 'ç'. Unlike Windows there's no magical set of keys that will type any char. On any Windows box since at least version 3 I can do Alt+135 for a 'ç' and it will work on any keyboard setup and any installed language. On Linux I can define custom actions to bring a specific char, but it needs to be configured on every PC...
As long as I'm doing big changes, I might as well keep going. After all, KDE is a window manager not unlike Windows ! There are other window managers that operate on completely different principles. I tried 'Awesome' which is an interesting concept... except that with the utter lack of a tutorial, I couldn't even figure out how to close an application, or hide it, or fullscreen it, or anything except drop to a console and kill it.
A couple months after I started using Ubuntu as my main PC, I was in my parents home, upgrading their old computer. New mobo, new HD. Of course XP refused to restart after I clone the disk. So I start the painful install / configure / patch process. After 24 hours and everything nearly ready, SP3 crashes during its post-install. The whole install is now a brick. It's sunday afternoon and I leave in an hour...
I go in a rage, put my Kubuntu install CD and after 30 minutes I have the full system and all its applications up and configured. I spend the rest of the allotted time to customize the system: obvious icons on the desktop to firefox, kmail (with the old messages imported), Xsane, OpenOffice, Dolphin, Gimp, my image import script and the few other apps they are likely to use. I rename some of them to make it clear what they do. I setup ssh so that I can login remotely to fix issues. And I leave, only telling them that with the new upgrade things will be a 'little different'. I cross my fingers on this understatement, waiting for the complaints calls to pour in.
After 2 weeks, I get the first call: "Yeah, it works fine but we don't have Skype anymore". Clickety click, ssh login, install. Done. "Is that it?". "Yeah, pretty much". I consider this experiment widely successful.
Counters: Page:635, Section:2605358, Site:20676289.
Forward to the next Hack page. Back to my contact page, my computer page or my home page.