Red Hat Bugzilla – Bug 139285
Xclients fallbacks not working as expected
Last modified: 2007-11-30 17:10:54 EST
I've just installed a fresh FC3, chose KDE, no Gnome or XFCE during
install. Before logging in the first time (to X), fetched all
updates. Then, login... whoa, twm! /etc/sysconfig/desktop has
DESKTOP="GNOME", and I don't have Gnome installed.
What this has to do with xinirc: while looking into this, I dug into
Xclients, the fallbacks of which do not work as I would expect, ie.
even given the above /etc/sysconfig/desktop setting, I would have
expected KDE to be launched as the system default. Attached is a
patch that fixes it. It also avoids a few "which" calls, and IMO
makes it a bit easier to follow.
What component should I file a bug about the incorrect
/etc/sysconfig/desktop setting against?
Created attachment 106682 [details]
Fix Xclients fallbacks
I've reviewed the above patch, and it looks good to me, with the
added bonus of making the code cleaner and less crackrockish.
Thanks Ville, I'm applying it to the next xinitrc build.
Thanks. Would you happen to have an idea what component to report the
root cause (see first paragraph in this bug report) against?
/etc/sysconfig/desktop is not owned by any package.
The "distribution" component is best used when one isn't quite
sure of the correct component for a particular problem. Bugs
filed against distribution are for both distribution generic issues
and requests, as well as for bugs that people aren't sure where to
file. The component owner (notting) will reassign them to the
component most likely to fit the problem domain.
Hope this helps.
Fixes integrated into xinitrc-4.0.16-1 in rawhide. Please test and
Fallback seems to work ok in FC4t2, xinitrc-4.0.18-1. Thanks.