LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 08-23-2006, 02:38 PM   #1
sKAApGIF
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
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 572

Rep: Reputation: 64
The command to open (for example) /home/user/html/file.html in konqueror is
Code:
/usr/bin/konqueror --profile webbrowsing file:///home/user/html/file.html
To open it in Firefox (adjust to your path, of course):
Code:
/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
sKAApGIF
LQ Newbie
 
Registered: May 2006
Distribution: SuSE OSS 10.1
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks does the trick
 
  


Reply


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


All times are GMT -5. The time now is 11:42 AM.

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