KDE Ubuntu vs. Kubuntu?

Mark Roach mrroach at okmaybe.com
Wed Aug 24 03:10:38 UTC 2005


On Tue, 2005-08-23 at 11:57 -0400, Steve wrote:
> I am using Ubuntu (Gnome) currently. If I just apt-get KDE and all
> associated libs, will I be able to log in with a fully functioning KDE
> desktop? Or are there some issues with that?

Here's a tip for you. One thing that I like to do is to keep my Gnome
and KDE apps to themselves. I don't typically want KDE apps in the Gnome
menus or Gnome apps in KDE menus. What I do is this: before installing
KDE: (as root)

cd /usr/share/applications
for i in *.desktop; do
    if ! grep -q ^OnlyShowIn= $i; then
        echo 'OnlyShowIn=GNOME;' >> $i
    fi
done

Then after install KDE:

cd /usr/share/applications/kde
for i in *.desktop; do
    if ! grep -q ^OnlyShowIn= $i; then
        echo 'OnlyShowIn=KDE;' >> $i
    fi
done

I also have a rather ugly script that replaces the application name with
its generic name, so the KDE menu only lists the generic name unless
there are multiple apps with the same generic name, then it does
"Generic (appname)" If anyone wants to see that one, let me know.

-Mark





More information about the ubuntu-users mailing list