Konversation/Browsers: Difference between revisions

From KDE Wiki Sandbox
No edit summary
(Marked this version for translation)
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
On this page you can find information about how to make konversation open links in your favorite browser.
<!--T:1-->
On this page you can find information about how to make '''Konversation''' open links in your favorite browser.


==Konversation &amp; KDE Components==
== Konversation and KDE Components == <!--T:2-->
Konversation makes use of KDE's default browser setting to open links in a browser. To set your default browser;


# Open '''System Settings''' &rarr; '''Default Applications''' &rarr; '''Web Browser'''.
<!--T:3-->
# Select "'''in the following browser:'''" and insert </translate>[[Special:mylanguage/Konversation/Browsers#Browser specific commands|<translate>the command for your favorite browser</translate>]]<translate> in the input field.
'''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.
# Click '''Apply'''.


==Alternative way of making konversation open links==
== Alternative way of making Konversation open links == <!--T:6-->
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''' &rarr; '''Configure Konversation...''' &rarr; '''Behavior''' &rarr; '''General'''
<!--T:7-->
# In this menu, check the checkbox for "'''Use custom Web browser:'''" and fill in a </translate>[[Special:mylanguage/Konversation/Browsers#Browser specific commands|<translate>browser specific command</translate>]]<translate> in the input box.
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:
# Click '''Apply'''.


==Browser specific commands==
<!--T:8-->
# In '''Konversation''', click on <menuchoice>Settings -> Configure Konversation... -> Behavior -> General</menuchoice>.
# In this menu, check the checkbox for "<menuchoice>Use custom Web browser:</menuchoice>" and in the input box, fill in a [[Special:mylanguage/Konversation/Browsers#Browser specific commands|browser specific command]].
# Click <menuchoice>Apply</menuchoice>.


===Opera===
</translate><span id="Browser specific commands"></span><translate>


* To make links open in a new tab use:
==Browser specific commands== <!--T:10-->
opera -newpage


* To make links open in a new window:
=== Opera === <!--T:11-->
opera -newwindow


For a full list of command parameters refer to '''opera --help'''
<!--T:12-->
===Firefox & Mozilla===
* To make links open in a new tab use:
  opera -newpage
* To make links open in a new window:
  opera -newwindow


Firefox & Mozilla use a remote control script that will send commands to an already existing process.
<!--T:13-->
For a full list of command parameters refer to:
  opera --help


* To make links open in a new tab use:
=== Firefox and Mozilla === <!--T:14-->
firefox -remote "openURL(%u,new-tab)"


* To make links open in a new window use:
<!--T:15-->
firefox -remote "openURL(%u,new-window)"
Prior to version 36, '''Firefox''' and '''Mozilla''' use a remote control script that will send commands to an already existing process.


Of course, if you use Mozilla instead of Firefox, you need to substitute ''firefox'' with ''mozilla'' in the above command.
<!--T:16-->
* 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)"


<!--T:17-->
Of course, if you use '''Mozilla''' instead of '''Firefox''', you need to substitute ''firefox'' with ''mozilla'' in the above command.
<!--T:18-->
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.
<!--T:19-->
On Firefox >= 36 -remote control was removed.
* To make links open in a new tab use:
  firefox %u
* To make links open in a new window use:
  firefox -new-window %u
[[Category:Internet]]
</translate>
</translate>
[[Category:user]]

Latest revision as of 18:38, 2 March 2015

Other languages:

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

Prior to version 36, 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.

On Firefox >= 36 -remote control was removed.

  • To make links open in a new tab use:
 firefox %u
  • To make links open in a new window use:
 firefox -new-window %u