Friday, September 10, 2010

Ubuntu autostart applications configuration

Recently, after kakku was showing off some kewl KDE stuff..i've been wanting to try Kubuntu..
I've been a Gnome user all along..I did use KDE a long time ago..but it failed to impress me at that time.
The last time, I tried to have both Gnome and KDE environments on my desktop, it was a big flop.
I had some autostart applications configured on Gnome that would be launched immediately after I login.
These autostart applications were cairo-dock, gdesklets and couple of other notification scripts that I hacked up.
However, these were messing up the desktop look and feel and I tried to put all this into one single shell script and have them launched if I was logging into the Gnome environment only.. I lost interest in KDE and that idea fell apart.
Today, I've decided to fix this problem and turns out, it is not that hard to fix it!
Both Gnome and KDE use a ~/.config/autostart directory to configure autostart applications.
Each of the applications has .desktop file where all the configuration is stored.
Open each of these files and add the line
"OnlyShowIn=GNOME;"
(without the quotes, ofcourse) and voila..u have it..this will make sure these applications will autostarted only in the Gnome environment.
If you want the applications to be autostarted only in KDE, change the line to
"OnlyShowIn=KDE;"
For any other desktop envrionments, please refer to the "Registered OnlyShowIn Environments" section at http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html

Tuesday, April 13, 2010

Upgrade to Lucid 10.04 Beta

I've, a couple of days ago upgraded to Lucid Lynx (10.04) BETA 1. I only can afford one PC and it turned out that wasn't the best idea to update to BETA 1 where I need my PC working all the time.
However , it wasn't long before I could get it to a working state, albeit, some goodies missing.
One thing that took my time ,(but no solution yet :( ) , is the missing proprietary ATI Radeon VGA drivers. Apparently , AMD hasn't released the ATI drivers suitable for Xorg 7.5 (?) and I'm still running with out any graphical goodies enabled.
Compiz still does not work and Plymouth crashes from time time and gdesklets fails to launch! ;).
These issues aside, the new version boots up quite fast, works slick, the new icons in Empathy are really appealing. I still need to explore the 'Application Indicators' technology.
One thing that stumped me was the automatic switch from Sun (well, now Oracle) java SDK to Open JDK. The good thing although is, I did not notice any difference when using Ecliopse, but I'd prefer to use the Sun JDK.
So, a quick way to change it back:

sudo update-java-alternatives -s java-6-sun

I hope the ATI drivers are out soon and gdesklets gets fixed soon so that I can use my custom developed applets!