Konversation/Browsers: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
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.
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 ==
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'''.
'''Konversation''' makes use of KDE's default browser setting to open links in a browser. To set your default browser:
# 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.
# Click '''Apply'''.


==Alternative way of making konversation open links==
# Open <menuchoice>System Settings -> Default Applications -> Web Browser</menuchoice>.
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;
# Select <menuchoice>in the following browser:</menuchoice> and insert into the input field </translate>[[Special:myLanguage/Konversation/Browsers#Browser specific commands|<translate>the command for your favorite browser]]
# Click <menuchoice>Apply</menuchoice>.


# In Konversation, click on '''Settings''' &rarr; '''Configure Konversation...''' &rarr; '''Behavior''' &rarr; '''General'''
== Alternative way of making Konversation open links ==
# 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.
 
# Click '''Apply'''.
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 <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 </translate>[[Special:mylanguage/Konversation/Browsers#Browser specific commands|<translate>browser specific command]]
# Click <menuchoice>Apply</menuchoice>


==Browser specific commands==
==Browser specific commands==


===Opera===
=== Opera ===


* To make links open in a new tab use:
* To make links open in a new tab use: <code>opera -newpage</code>
opera -newpage
* To make links open in a new window: <code>opera -newwindow</code>


* To make links open in a new window:
For a full list of command parameters refer to <code>opera --help</code>
opera -newwindow


For a full list of command parameters refer to '''opera --help'''
=== Firefox and Mozilla ===
===Firefox & Mozilla===


Firefox & Mozilla use a remote control script that will send commands to an already existing process.
'''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:
* To make links open in a new tab use: <code>firefox -remote "openURL(%u,new-tab)"</code>
firefox -remote "openURL(%u,new-tab)"
* To make links open in a new window use: <code>firefox -remote "openURL(%u,new-window)"</code>


* To make links open in a new window use:
Of course, if you use '''Mozilla''' instead of '''Firefox''', you need to substitute ''firefox'' with ''mozilla'' in the above command.
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 [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.
[[Category:Internet]]
</translate>
</translate>

Revision as of 11:01, 25 July 2011

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. To set your default browser:

  1. Open System Settings -> Default Applications -> Web Browser.
  2. Select in the following browser: and insert into the input field the command for your favorite browser
  3. 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:

  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.