Jump to content

File associations w/KDE


eroica
 Share

Recommended Posts

hello,

One short ? I want to be able to create a shortcut to an html page on desktop and have mozilla open it not Konqueror. when I tried changing file assosciation of html files in KDE configure I told KDE to use the shell script @ /usr/local/mozilla/mozilla to open the s/c with. when i clicked on the s/c all i got were a bunch of warnings about missing kde apps and mozilla opened to some local kde page on my hard drive. Can someone please explain how u would go about getting mozilla to open web page & s/c on ones machine. by the way i'm using mandrake 9.1 & mozilla 1.5...

 

:wall: alan

Link to comment
Share on other sites

the easiest way would be just to do:

mozilla /path/to/page.html

if you just want it to use only that page. if you want to change the default browser, I'd assume that'd be in KDE Control Center somewhere (I don't use KDE, so I'm not sure).

Link to comment
Share on other sites

yeah i did goto the kde cc and change the html file association to use mozilla first but it didnt work properly. Mozilla would open but not go the web short cut.I had the file association pointing to the mozilla shell script. is maybe that the problem?

 

alan

Link to comment
Share on other sites

I doubt it is possible to let mozilla open the html file on your desktop and konquror all other html files using kcontrol.

 

Maybe you could use a little script and place that on you desktop.

 

#!/bin/bash
mozilla-firefox /home/XXXX/Desktop/HTML-bestand

 

This works for me but you'll have of course 2 files on your desktop.

 

Good luck

 

<edit> another way: create a 'shortcut to an application' on your desktop and give in the field 'command' mozilla-firefox /home/XXXX/Desktop/HTML-bestand.

Edited by devries
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...