Jump to content

Konversation/Browsers: Difference between revisions

From KDE UserBase Wiki
Hein (talk | contribs)
Claus chr (talk | contribs)
Replaced description of settings by link to relevant page for better maintainability
Line 7: Line 7:


<!--T:3-->
<!--T:3-->
'''Konversation''' makes use of KDE's default browser setting to open links in a browser. To set your default browser:
'''Konversation''' makes use of KDE's default browser setting to open links in a browser. See the [[Special:myLanguage/System Settings/Default Applications#Choose a standard browser|System Settings/Default Applications]] page for details on how to set the KDE default web browser.
 
<!--T:4-->
# Open <menuchoice>System Settings -> Default Applications -> Web Browser</menuchoice>.
# Select <menuchoice>in the following browser:</menuchoice> and insert into the input field </translate>[[Special:myLanguage/Konversation/Browsers#Browser specific commands|<translate><!--T:5-->
the command for your favorite browser</translate>]].
<translate><!--T:21-->
# Click <menuchoice>Apply</menuchoice>.


== Alternative way of making Konversation open links == <!--T:6-->
== Alternative way of making Konversation open links == <!--T:6-->

Revision as of 14:49, 2 August 2011

On this page you can find information about how to make Konversation open links in your favorite browser.

Konversation and KDE Components

Konversation makes use of KDE's default browser setting to open links in a browser. See the System Settings/Default Applications page for details on how to set the KDE default web browser.

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:

  1. In Konversation, click on Settings -> Configure Konversation... -> Behavior -> General.
  2. In this menu, check the checkbox for "Use custom Web browser:" and in the input box, fill in a browser specific command.
  3. 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 and Mozilla

Firefox and 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.