Kubuntu 7.04 – Kernel Upgrade, the Easy Way…

I found a link on the Ubuntu Forums HERE.  I followed the directions, rebooted, and am now on the Ubuntu-2.6.22-9 kernel.

So far, no issues to report.

One thing to keep in mind – if you have the proprietary nvidia driver loaded (via envy or whatever), make sure you edit the /etc/X11/xorg.conf file and replace the driver “nvidia” with “nv” or “vesa”, before you reboot.  If all goes well, when you reboot and log in, rerun envy (or whatever) to reinstall the nvidia driver, restart X, and you are done.

Also, before you reboot, have a quick look at your /boot/grub/menu.1st file, just as a sanity check to make sure your first boot entry is the 2.6.22-9 kernel.  Mine was not, for some reason – probably because I can’t stop mucking around – so I got a kernel panic.  I reset the computer, hit ESC to enter the GRUB boot menu, and selected the correct entry.  After it booted and I was logged in, I removed the bogus entries.

I have noticed that the kernel image and initrd files I have used are symlinked in the root directory (“/”) to the actual files in the /boot directory.  Not sure why this is – maybe it is the way Debian systems are put together.

Kubuntu Tip – Japanese Input….

I got it working, but it was a little different than Mandriva and took a few tries to get working right. I found THIS link, which really cleared up some confusion I had with a few other HOWTO guides I looked at. I applied these tips, but only installed Japanese language support.

One thing to keep in mind is that the file /etc/X11/Xsession.d/74custom-scim_startup doesn’t exist, so you’ll have to make it. I also made a .fonts.conf file in my home directory and restarted X, but deleted it because my fonts went to crap. After I deleted the file, my fonts went back to normal.

After you are done, restart X. You can either make a startup script for scim or skim in the .kde/Autostart directory, or just use the “Run Command…” tool from the menu and run skim or scim (I prefer skim).

Also, the changes are system-wide, so the scim or skim tool will be present on all logins.

Kubuntu Tip – KDE Menu Administration for Multiple Users….

Problem:  The new kids computer has myself, my wife, and both kids as separate users.  We need different menus.  The default menus are not as well organized as I am used to in Mandriva, so I have a lot of work just cleaning up *my* menus (my bad – I installed a LOT of stuff, hehe).  Sure would be nice if I could just, I dunno, COPY A FILE….

This drove me nuts for a few hours, but after trolling the Ubuntu forums, I found my *CLUE*.

By first logging in as child #1 to create the default menus, logging off, and copying my .config/menus/applications-kmenuedit.menu to that home directory, the menus for child #1 were changed.  I had to first make the .config/menus folders and change ownership after the file copy (mkdir -p /home/username/.config/menus as root, copy file, chmod -R username:username /home/username/.config), but once done, copied, and configured, it was easy to further modify the menus.

I logged in as that username, deleted all system admin tools and submenus from the main menu, logged off, and repeated the mkdir/copy/chown process for child#2 using the applications-kmenuedit.menu file from child #1.  Now I have consistent user menus for the kids, while me and my wife have the full menus.

Rebuilding on Kubuntu…

Well, that free computer is now finally getting some use.  In fact, I am rebuilding everything, so after swapping out hardware to prep the freebie to become the new main computer, and the former champ to become the replacement for my son, I have decided to load Kubuntu 7.04.  The retired general now has one SATA hard drive, and is keeping the nvidia card.  It gained a new sound card, WiFi card, DVD all-in-one drive (the old internal and external USB drives had gone bad), and media card reader (from the freebie computer).  The new king has six SATA 80 GB hard drives, but needs a better video card, and has no room left for the media card reader.

Now, the Kubuntu install on the old computer….

It went well, smooth as glass.  I was able to start loading packages using Adept Manager.  Ran into a few snags with things breaking or locking, which I was able to fix.  Hardware detection is very good (better than Mandriva, I think), and setting up the USB printer (an HP 6210 All-In-One) was truly effortless.  I got the nvidia driver installed using the Envy script, which was very cool – but it would be nicer if it offered to just restart X instead of rebooting the computer.  I chose NO and just restarted X instead – glxgears went from a pre-install 182 fps to a post-install 7600+ fps (Beryl or compiz were not running).

First impressions?  Very easy to use, very nicely integrated, huge software repository (with universe and multiverse repositories enabled).

Second impressions?  Hides or changes too much – I do not count a learning curve as a bad thing, but I have gotten used to being able to manually roll in a vanilla kernel, and install nvidia drivers at the console login.  I like knowing what is in my inittab file – but it looks like this has been replaced by Upstart.  My attempt to install a new kernel failed, as did my attempt to install lilo (elilo).  Not sure why elilo failed, but even if it had not, the kernel install would have (I think).  I did find a tutorial for installing the nvidia driver and for installing a new kernel by hand, but a lot more depends on installing packages beyond what was needed on Mandriva.  Anyway, the kernel install was just a stab to see if it would work – I will just take more time and learn how to do it the Ubuntu way later on.

I *am* learning my way around dpkg and the apt- commands, and am getting used to sudo.   I really appreciate that sudo is available to the first user – I was getting worried that my wife and kids might be getting sudo privs and could screw something up, but nope – it’s just me.  Sure, I can visudo and relearn what to do, again, to more actively manage sudo privs, but it is nice that I do not have to.

So, I have to learn how to manually install the nvidia drivers, work with run levels without inittab (the stuff I found seems to indicate that if I build an inittab file, that will be given priority over upstart), and most importantly, roll in a new kernel.  This I need so I can pick up on the newest wireless hardware additions – this computer is going upstairs one day, and there ain’t no LAN cables there…

Overall, though, I like Kubuntu.  Some things are different, and I of course have some relearning to do, but barring any showstoppers, I am seriously considering a complete switch to Kubuntu.  I am waiting for the release of Mandriva 2008 in September before I make up my mind – if it is a good upgrade to 2007, I’ll keep using it as well.  One thing is for certain – I am off of Cooker.