[Bug 52670] Re: Kubuntu setting default components don't affect gnome/gtk apps
Joseph Garvin
k04jg02 at kzoo.edu
Tue Nov 27 17:51:45 UTC 2007
Is anything wrong with this solution?:
Change the x-www-browser script to first check if the $BROWSER
environment variable is set. If it is set, use the browser it says. If
not, use the browser specified by debian-alternatives. Then update
kcontrol to also change $BROWSER.
Because environment variables can be changed by users, this lets users
change their preferred browser without having to sudo edit some script,
_and_ there can still be a system default (the one specified by debian
alternatives).
I think this is preferable to checking for KDE_FULL_SESSION or the value
of DESKTOP_SESSION because that would mean putting a desktop environment
specific (KDE) hack into Thunderbird. Then we have to think of
submitting a bug to the Mozilla team for what it should do if XFCE is
the desktop, or Rox filer is, etc. The above solution gives users will
get consistent behaviour even if they do something odd like run kcontrol
within Gnome and change the preferred browser setting (this is not
unheard of -- e.g. I am going to install kcontrol on my friend's laptop
so he can use the GUI font installer since Gnome currently lacks one,
and some Gnome users probably install it to change the theme of their QT
apps).
--
Kubuntu setting default components don't affect gnome/gtk apps
https://bugs.launchpad.net/bugs/52670
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
More information about the kubuntu-bugs
mailing list