-   Linux - Desktop (
-   -   K Menu - calling html/webpage file from menu (

sKAApGIF 08-23-2006 01:38 PM

K Menu - calling html/webpage file from menu
I want to add a link into KDE's menu (K Menu), to an html file that's stored locally (offline). What would I use as command for example the file: /folder/file.html to make it open in a browser if the menu item is clicked?

KenJackson 08-23-2006 02:22 PM

The command to open (for example) /home/user/html/file.html in konqueror is

/usr/bin/konqueror --profile webbrowsing file:///home/user/html/file.html
To open it in Firefox (adjust to your path, of course):

/usr/local/bin/firefox file:///home/user/html/file.html
I don't know if it's necessary to specify the path or not. I haven't used KDE for a while.

sKAApGIF 08-24-2006 07:15 AM

Thanks does the trick :)

All times are GMT -5. The time now is 12:57 PM.