We should remove all .desktop files from htmlview, never again to
return. It creates duplicate entries for apps, and doesn't really help
jrb: don't forget to fix the panel :)
Created attachment 104154 [details]
And when someone changes their preferred browser?
Couldn't we not add back the .desktop file and set NoDisplay=true?
Changing the items (either their name or the fact that they display)
that appear in the menu would be a bad thing. Users obviously may
change their default browser to be Firefox, but that's because they
know the different between the browsers and will be fine with
launching "Firefox Web Browser".
Of course on the flip side, the panel launcher would probably do
better to be an htmlview launcher. Adding and removing launchers from
the panel isn't the easiest thing right now and I wouldn't want to
expect that people do it when they change their default browser.
Note that having htmlview in a desktop file causes difficult problems
because not all browsers are created equal. For instance the value of
StartupNotify= can't really be hard coded.
If redhat-web is important to have then what I think what we really
need is a htmlview type program that launches desktop files instead of
I guess this would mean changing the Preferred Applications hard coded
list of browser (name, command) pairs to a list of known desktop
files. For custom browers, a user specific desktop entry would need
to be written to ~/.local/share/applications like eel does when
changing default applications for mime types. Then the currently
selected browser's desktop file would be stored in gconf.
Just to clarify, both redhat-web.desktop and redhat-email.desktop to
launch htmlview and launchmail scripts are wanted? (Yes it does work,
only caveat being the StartupNotify thing, which can be easily worked
around for 99.9% cases.)
Mark convinced me that we should add it back, just for the panel.
Both redhat-web.desktop and redhat-email.desktop to launch each
respective Preferred Application?
redhat-web.desktop is the default handler for .html files in gnome. Is
this right? Will this file point to the default web browser?
I would rather not have this sort of one off hack set as the default
handler...but jrb probably has a better sense here?
After talking with mark, the plan is to add those desktop files back
with NoDisplay=True set. They will just be used by the panel.
redhat-web.desktop will launch htmlview, and the redhat-email.desktop
will just be a symlink to evolution. They won't appear in the menus
*** Bug 136062 has been marked as a duplicate of this bug. ***
Just another comment - we install our browsers to a shared NFS
directory and have been counting on the htmlview .desktop icons to
launch the default browser. It's not a big deal for me to modify the
.desktop icons in our kickstart scripts so they appear in the menus
(though perhaps these would be lost if newer versions of the htmlview
rpm are released?).
Anyways, I'm glad you kept the .desktop files.