Red Hat Bugzilla – Bug 90953
Menu entry should start htmlview, not mozilla
Last modified: 2007-04-18 12:53:46 EDT
Description of problem:
The .desktop file included in the htmlview package (redhat-web.desktop) will
execute mozilla binary. Surely the htmlview utility itself is what you want?
Version-Release number of selected component (if applicable):
-bash-2.05b$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
Below shows there are 3 files with that name in the distribution:
-bash-2.05b$ locate redhat-web.desktop
The first and last files are actually symbolic links to the middle file:
-bash-2.05b$ ls -l /var/lib/menu/kde/Applications/Internet/redhat-web.desktop
lrwxrwxrwx 1 root root 42 Apr 3 16:09
-rw-r--r-- 1 root root 1527 Feb 18 10:27
lrwxrwxrwx 1 desktop desktop 42 May 13 09:01
The file owned by the htmlview package is only a symbolic link:
-bash-2.05b$ rpm -qf /usr/share/applications/redhat-web.desktop
The 3rd file:
-bash-2.05b$ rpm -qf /var/lib/menu/kde/Applications/Internet/redhat-web.desktop
file /var/lib/menu/kde/Applications/Internet/redhat-web.desktop is not owned by
That is probably a bug, as it should be owned by something, but that's another
The actual file, is:
-bash-2.05b$ rpm -qf /usr/share/desktop-menu-patches/redhat-web.desktop
As you can see it is owned by redhat-menus, not htmlview.
-bash-2.05b$ grep ^Exec /usr/share/desktop-menu-patches/redhat-web.desktop
It does point to mozilla. Wether that is a bug or not, or is intentional,
I'm not sure, however it isn't an htmlview bug. I'll reassign this bug
report to the redhat-menus package and let the maintainer take over from
The /usr/share/applications symlink should move from htmlview to mozilla most
likely. redhat-web.desktop used to run htmlview but that didn't work right
so now it doesn't.
Ignore /var/lib stuff, that's autogenerated and transient, should not
be owned by anything.
Why would you want that (symlink in Mozilla)? Mozilla has got its own menu entry
already. And why can't you start htmlview? Seems to me that it works just fine,
but I haven't tested a lot; just replaced Exec, then tried once with default
settings, once with web browser changed to Galeon in Preferred Apps.
You've reassigned this back to htmlview, but it isn't clear to me how
this is an htmlview bug. Are you saying that the file that htmlview
is pointing too is correct and/or won't change now or any time soon, and
so the symlink htmlview provides, it shouldn't be, because doing so makes
it invalid? If that is the case, I can remove the symlink.
I am wondering however - what the deeper problem is here. When you say:
"redhat-web.desktop used to run htmlview but that didn't work right
so now it doesn't.", what do you mean exactly? Is htmlview buggy in some
way that should be fixed so this works? Or should htmlview be removed?
I'd like to investigate the real problem here if possible, and fix that.
TIA for any clarifications