Mailinglist Archive: opensuse-bugs (6552 mails)

< Previous Next >
[Bug 170055] Improve Firefox KDE integration
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 5 Aug 2009 06:02:49 -0600
  • Message-id: <20090805120249.ED080CC7CE@xxxxxxxxxxxxxxxxxxxxxx>

User llunak@xxxxxxxxxx added comment

--- Comment #13 from Lubos Lunak <llunak@xxxxxxxxxx> 2009-08-05 06:02:47 MDT
Determining if running in KDE: see KDE_FULL_SESSION in /usr/bin/startkde.

The interface from comment #6:

- isDefaultBrowser:
browserapp=$(kreadconfig --file kdeglobals --group General --key
if test "$browserapp" = "MozillaFirefox" -o "$browserapp" = "!firefox"; then
echo Yes it is

- setDefaultBrowser:
kwriteconfig --file kdeglobals --group General --key BrowserApplication

- setDesktopBackground:
probably no easy way right now, will check

- openApplication:
We do not really have a usercase of just opening a mail client without
anything, there is only API for opening mailto: URL. But it can be read from
profile=$(kreadconfig --file emaildefaults --group Defaults --key Profile)
client=$(kreadconfig --file emaildefaults --group "PROFILE_$profile" --key
if kreadconfig --file emaildefaults --group "PROFILE_$profile" --key
TerminalClient --type bool; then
term=$(kreadconfig --file kdeglobals --group General --key
TerminalApplication --default konsole)
client="$term -e $client"
if test -z "$client"; then
echo $client
We do not have a setting for news reader at all. Just use "knode".

- desktopBackgroundColor
Is this supposed to actually do something and in which directions? Otherwise
it's the same like with the wallpaper.

- openApplicationWithURI:
I'm not sure I get this one, what is it supposed to do other than
"<application> <url>" ? Download the file first if necessary? Also, why does
the application need to be specified, why not simply ask that URL to be opened,
by whatever the desktop finds appropriate?
Opening an URL by whatever KDE finds appropriate is the "kde-open" binary.
Downloading the contents of the URL and opening locally by an application is
"kioexec" binary (which is not in $PATH and is to be located using "kde4-config
--type exe --locate kioexec"). Using that one however is most probably wrong
with KDE (that's why it's internal), since most KDE applications can handle
URLs directly.

- defaultFeedReader:
Is this supposed to be the default RSS reader? We do not have a setting for
this, I don't use RSS, but I think here you simply want to use "akregator".

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >