You are not logged in.

#1 2006-10-06 03:34:13

damjan
Member
Registered: 2006-05-30
Posts: 454

KDE difference when starting programs from desktop or button

This is very strange. I'm using KDE 3.5.4 from normal Arch packages.

I've noticed that Firefox (installed from mozilla.org, not package) looks different when started from the desktop icon, than when started from the kicker button. The desktop icon is a 'Link to application'.
The kicker button is a 'Non-kde application'.

I wondered how it can look different, so I started each copied the process environment to a file of both (one after the other)*. I compared the environments and the interesting this is, one has
DISPLAY=:0
the other has
DISPLAY=:0.0
but that's not so important.

The one started from the desktop has GTK2_RC_FILES and GTK_RC_FILES set, the one from kicker didn't have them. The one started from the desktop also had  ~/.kde/share/config/gtkrc-2.0 in GTK2_RC_FILES and this was actually what caused the difference in the firefox look.
After I removed that file, now Firefox looks the same in both cases - the way I set it up with gtk-theme-switch2 (and some personal corrections in ~/.gtkrc-2.0).


NOW, is this a BUG a FEATURE or what? Also,
- can anyone else see this behaviour?
- can anyone check in other KDE versions?
- in other distributions?

* The commands I used, in case anybody needs it:
cat /proc/PID/environ | xargs -0 -n1 | sort > firefox-env.desktop
cat /proc/PID/environ | xargs -0 -n1 | sort > firefox-env.button

Offline

Board footer

Powered by FluxBB