Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
External program handling Firefox/KDE
Hi,
I am writing in case anyone can help me achieve the following:
I am working on a website content management system (CMS). I want to be able to click on a link to a file on my computer within the CMS, and have the file open in a specified editor.
Specifically:
I need to use Firefox.
I want to open files in Quanta.
To achieve this I've tried creating a new arbitary protocol within Firefox called 'quanta':
* Type about:config into the address bar and press Enter.
* Right-click -> New -> Boolean -> Name: network.protocol-handler.external.quanta -> Value -> true
* Right-click -> New -> String -> Name: network.protocol-handler.app.quanta -> Value -> /usr/bin/quanta
Now, I create a link as follows:
<a href="quanta:/home/me/myfile.html">Open in Editor</a>
The result is that a new instance of Quanta opens but the specified file (/home/me/myfile.html) does not open.
A second problem is that a new instance of Quanta opens - I would prefer to open files in an already open instance of the program.
Any help much appreciated.