Konversation/Browsers: Difference between revisions
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
See [http://www.mozilla.org/unix/remote.html remote control of unix mozilla] for more information. | See [http://www.mozilla.org/unix/remote.html remote control of unix mozilla] for more information. | ||
</translate> | </translate> | ||
Revision as of 23:11, 24 July 2011
On this page you can find information about how to make konversation open links in your favorite browser.
Konversation & KDE Components
Konversation makes use of KDE's default browser setting to open links in a browser. To set your default browser;
- Open System Settings → Default Applications → Web Browser.
- Select "in the following browser:" and insert the command for your favorite browser in the input field.
- Click Apply.
Alternative way of making konversation open links
If for whichever reason KDE components is not available to you (for example when you're using a different window manager and would still like to use konversation), it is possible to specify your favorite browser inside of Konversation. To do this;
- In Konversation, click on Settings → Configure Konversation... → Behavior → General
- In this menu, check the checkbox for "Use custom Web browser:" and fill in a browser specific command in the input box.
- Click Apply.
Browser specific commands
Opera
- To make links open in a new tab use:
opera -newpage
- To make links open in a new window:
opera -newwindow
For a full list of command parameters refer to opera --help
Firefox & Mozilla
Firefox & Mozilla use a remote control script that will send commands to an already existing process.
- To make links open in a new tab use:
firefox -remote "openURL(%u,new-tab)"
- To make links open in a new window use:
firefox -remote "openURL(%u,new-window)"
Of course, if you use Mozilla instead of Firefox, you need to substitute firefox with mozilla in the above command.
See remote control of unix mozilla for more information.