Konversation/Browsere

From KDE UserBase Wiki
Revision as of 15:24, 2 August 2011 by Claus chr (talk | contribs) (Importing a new version from external source)
Other languages:

På denne side kan du finde information om, hvordan du får Konversation til at åbne links i din yndlingsbrowser.

Konversation og KDE-komponenter

Konversation bruger KDE's indstillinger for standardbrowser til at åbne links i en browser. Se siden Systemindstillinger/Standardprogrammer for detaljer om, hvordan man vælger KDE's standard webbrowser.

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.