Hardy Heron Upgrade Complete! (Ubuntu)

Posted April 22nd, 2008. Filed under Code Linux

Last night I decided on a whim to upgrade to the latest RC (release candidate) of Ubuntu called Hardy Heron (8.x).  It’s due to officially be released in a few days so I figured it should be fairly stable and I thought I’d beat the rush and upgrade now.   Usually I do these sort of things with little planning and last night was no exception!

  • No backup (rsync is sooo easy but really, what could go wrong?)
  • Started the upgrade right about the time a huge thunderstorm was overhead (computers love lightening!)
  • Forgot once again to backup my xorg.conf file (just in case)

The upgrade took about an hour.  Soon it rebooted my system and of course my monitors were all a mess.  Seems the NVidia drivers either didn’t get upgrade or got hosed.  Sigh.   Then I go to hit the Ubuntu forums (a great resource) and they are down for maintenance or something.  Ooops.

But I did find one post on the web that suggested trying Envy to load the latest NVidia drivers. I did that and things still weren’t right so I loaded up the package manager, uninstalled EVERYTHING NVidia related and tried Envy again.  This time I got nvidia-settings to run and from there it was just a simple matter of setting things up again and tweaking my xorg.conf file.   The only other thing that didn’t work was my sound for some reason but a quick search on the web and I found a few suggestions and after fiddling a bit I got it working as well.

I didn’t really have time afterwards to dig around and find out what’s new with the latest release but will hopefully have time to do that tonight after the TACFUG meeting!   Overall I’ve been very happy with Ubuntu but I do wish they could spend some time fixing the monitor setup issues.  That has been an issue during the last 2-3 upgrades.

Ubuntu, NVIDIA and Two Monitors

Posted January 22nd, 2008. Filed under Code Linux

Ever since I’ve been using two monitors at work I’ve wanted to setup two monitors at home but finances are tight and I just can’t afford another flat screen. But this weekend I did dust off my daughters old 17″ CRT and tried to get it working with my Dell widescreen. I knew the latest Ubuntu had made advances in setting up monitors but I was also familiar with hacking on xorg.conf so I wasn’t too concerned with screwing anything up. I backed up my xorg.conf and started tinkering.

NVIDIA Settings dialog I originally messed with Ubuntu’s native screen controls but they were having no effect. After a bit of digging I discovered if you are using the ‘restricted’ NVIDIA drivers (which I was) there is another application for tweaking settings – nvidia-settings. This was a bit confusing. Which one to use? (Ubuntu should check to see if the NVIDIA drivers are installed and if so disable the native screen tools.) The NVIDIA application provided a nice dialog – both screens were showing – but at incorrect resolutions. I tweaked a few things – saved, restarted my session. Nothing happened. The CRT was working but my Dell widescreen was doing nothing. I tried a few more things and got frustrated so I hit the Ubuntu forums. Lots of threads on there about running dual head but no real silver bullet solutions. One suggestion did mention running the settings application as sudo. I tried that and things started to work. After a bit more experimentation I got the following modes to work.

Twinview Twinview – this is a NVIDIA setting. It basically takes your current desktop and ’stretches’ it across both monitors. This would probably work OK if both monitors were the same size and resolution but since mine were different – it was a bit odd to work with. I could also not ‘contain’ my applications to one screen. If I maximized a window – it would stretch across both monitors. Not ideal.

X-w/compiz Next I turned off Twinview and enabled Xinerama.

Xinerama is an extension to the X Window System which enables multi-headed X: applications and window managers which use two (or more) physical displays as one large virtual display.

This worked but oddly enough some applications (like terminal and Gnome Do) would not start. After tinkering a bit I discovered the fancy new compositing window manager Compiz wasn’t running. Why? I have no idea. But overall this was the most “Windows” like setup. I could drag running applications between screens but if I maximized an application it would contain itself to one monitor. But without Compiz running the system was unusable. If I can get Compiz running in this mode I’ll be happy.

X w/no compiz Finally I removed the Xinerama setting and just set configured two X sessions. This gave me two independent desktops. I had two taskbars, two desktops and while I could drag and drop icons and files between the two screens I could not open an application on one desktop and move it to the other. This works and is what I’m using now but obviously it is not ideal.

I’m going to tinker with the ‘restricted’ NVIDIA drivers a bit more. If I can’t make any progress I may try the drivers from the NVIDIA site itself and see if anything improves. The other alternative is to figure out why Compiz isn’t running and fix that.

I’ve been so happy running Ubuntu it is a shame that getting this setup is so difficult. While I’m happy tweaking things I could easily see others hitting this roadblock and giving up. Hopefully the Ubuntu team will make some progress on tightening up the integration between native Ubuntu apps, restricted drivers and Compiz.

Gnome Do – Quicksilver For Linux

Posted December 5th, 2007. Filed under Code Linux

I’m into application launchers.

At work (on Windows) I use Find And Run Robot and have gotten really used to launching applications (and a lot of other neat functionality) with the keyboard. I’ve been missing the same thing on Gnome at home but tonight stumbled upon Gnome Do it’s still fairly immature but so far I’ve not had any issues with it and it will launch apps, find my bookmarks, and with a few plugins will search my Tomboy notes as well as skim though my MP3 collection in Rhythmbox. Very slick!!! Installation was just a matter of adding a new repository and doing an apt-get install. The author has a blog where you can read a bit more about the project.

Ubuntu 7.10

Posted October 18th, 2007. Filed under Code Linux

Ubuntu 7.10 is available today. I’ve been running the betas for a few weeks now with just a few issues but I update frequently and things have been really smooth lately.

If you haven’t tried Ubuntu yet give it a shot! I’ve been using Ubuntu now for more than a year now and could never go back to Windows. I would switch at work as well but I’m stuck with running Powerbuilder though I could probably get by with a VM install for that.

Gutsy Gibbon is certainly easier to install and set up than Windows Vista, and it’s very close to matching Mac OS X when it comes to making things “just work” out of the box. Wi-Fi, printing, my digital camera and even my iPod all worked immediately after installation — no drivers or other software required. ~Wired

No Microsoft headaches and no Apple ‘upgrade fee’ every year or so… it’s free!

On the web:

Ubuntu Gutsy Upgrade

Posted September 28th, 2007. Filed under Code Linux

Tonight I updated my Ubuntu install to the latest Gutsy beta (7.10). So far so good. This is the first upgrade I’ve done where it correctly set my widescreen monitor resolution so that was nice (no manually editing config files!).

I’ve also enabled the new flashy Compiz window effects but am not that impressed. And it doesn’t appear the help works so I have no idea how to do anything with it – I have to dig around a bit and see if I can find some docs. Performance seems about the same – my CPU meter barely moves :)

Some of the preferences are a bit improved – but some things like the Deskbar applet seem to have taken a step back. I’ve always been a Gnome fan but am looking forward to KDE4.0 as well – might switch for awhile and try out the alternatives. I love Linux :)

ColdFusion 8 Install On Ubuntu

Posted September 7th, 2007. Filed under Code Linux

Tonight I’m installing ColdFusion 8 at home. So far the install has gone very smoothly. Installed Apache 2 first and then ran the installer for CF8.

One place I got stuck was during the CF install it asked me the location for my Apache binaries. I had no idea and the examples the installer suggested were all for Red Hat related systems.

A quick Google turned up this handy reference: Distros Default Layout on the Apache wiki.

Debian, Ubuntu (Apache 2):

ServerRoot :: /etc/apache2
DocumentRoot :: /var/www
Apache Config Files :: /etc/apache2/apache2.conf
Default VHost Config :: /etc/apache2/sites-available/default, /etc/apache2/sites-enabled/000-default
Module Locations :: /etc/apache2/mods-available, /etc/apache2/mods-enabled
ErrorLog :: /var/log/apache2/error.log
AccessLog :: /var/log/apache2/access.log
cgi-bin :: /usr/lib/cgi-bin
binaries (apachectl) :: /usr/sbin
start/stop :: /etc/init.d/apache2 (start|stop|graceful|configtest)

What was really funny is before starting I did a quick Google on “ubuntu coldfusion” and one of the top links was a post here I had made some time ago called ColdFusion Install on Ubuntu which had some useful links – though most of those dealt with ColdFusion 7.

Update: Great ColdFusion 8 / Ubuntu installation guide on Adrian J. Moreno iknowkungfoo site.

http://www.iknowkungfoo.com/blog/index.cfm/2008/6/6/The-ACME-Guide-64bit-Ubuntu-804-Edition-Part-1

Google Desktop – For Linux

Posted June 28th, 2007. Filed under Code Linux

I was catching up on news and just noticed this tidbit – yesterday Google released the new Docs interface – and they also released Google Desktop – for Linux! The Google Desktop blog says:

…it includes almost all the features from the first Windows version of Google Desktop Search plus the Quick Search Box…

So it is missing some features (no Sidebar) but it’s a start. I need to dig around more and see if it’s running on top of Wine or what… would also be nice if it integrated in the Gnome Deskbar.

Dell and Ubuntu Announcement?

Posted May 1st, 2007. Filed under Code Linux

A few months ago Dell launched their Idea Storm site. The idea was to solicit feedback from users on what they’d like to see from Dell. One of the most popular requests was Dell systems pre-loaded with Linux!

Today there is supposed to be an announcement that Dell has picked Ubuntu for it’s distribution! This is great news and it will be interesting to see now that Dell has committed to offering Linux if the public opens their wallets and purchases systems with Linux vs. Windows. I also haven’t heard anything regarding support – will Dell provide support? Will Canonical (the backers behind Ubuntu)? This may also open the door for Canonical to push server versions of Ubuntu as well…

There is also a Slashdot post about this today.