Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-23-2006, 02:38 PM   #1
LQ Newbie
Registered: May 2006
Distribution: SuSE OSS 10.1
Posts: 20

Rep: Reputation: 0
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?
Old 08-23-2006, 03:22 PM   #2
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
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.
Old 08-24-2006, 08:15 AM   #3
LQ Newbie
Registered: May 2006
Distribution: SuSE OSS 10.1
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks does the trick


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome main menu behaviour (menu follows mouse) metalloid Linux - Software 2 06-29-2006 02:58 AM
Fresh Install Of Distr From Network - Boot Menu, Need to pull up a menu of OS dist to SupermanInNY Linux - Distributions 0 01-22-2006 12:48 PM
Menu bar being blocked by combo box in html ArulPrabhuT Programming 3 01-05-2005 04:09 AM
KDE applications menu replaced by Gnome style menu denh0 Mandriva 2 11-24-2003 01:14 AM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 03:40 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration