Tim's Site
Bookmarks Linux, Etc. Faith Journal Miscellaneous
Making KNewsTicker work with Mandrake 8.1

Mandrake 8.1's menu layout works great, however it has a flaw that causes KNewsTicker to be unable to launch Konqueror to view news items. KNewsTicker depends on kfmclient_html.desktop being in the $MENUROOT/System menu of KDE - and it's not there. The obvious solution (it would seem) is to copy kfmclient_html.desktop from /usr/share/applnk/System to /usr/share/applnk-mdk/System, however everytime the update-menus program is run (i.e. when you install a new MDK-friendly RPM), this menu item is wiped out since the item isn't registered with the menu system (based on debian's menu package). Here is how to fix this problem permanently:
  • First we need to sign in as root (or "su" to root if you prefer), and launch your favorite text editor. This can be pico, kwrite, emacs, or even vi (if you insist).
  • Now in the text editor we need to add this one line to the file (it should be all on one line):
    ?package(kdebase): needs="kde" kde_filename="kfmclient_html" section="System" title="Konqueror" icon="konqueror.png" command="kfmclient openURL %u text/html" mimetypes="text/html" kde_opt="\\nTerminal=0\\nInitialPreference=9\\nNoDisplay=true"
  • Now save this file as /usr/lib/menu/kfmclient_html.
  • Finally, still as root, type "update-menus" in a terminal window.
Enjoy!

Back to Tim's main Linux page

TIM-KB#003 REV. 1
© 2001-2003 Timothy R. Butler, please contact the author for reprint permission. Asisaid, asisaid.com, and the asisaid.com logo are trademarks of Timothy R. Butler.


Last Modified: Saturday, 06-Mar-2004 00:48:44 CST TRB