1 |
Hello, |
2 |
|
3 |
On Tue, Mar 06, 2007 at 07:47:40AM +0100, Bo Ørsted Andresen wrote: |
4 |
> On Monday 05 March 2007 21:43:03 Matthew R. Lee wrote: |
5 |
> > When I click on a URL in an email it opens a new Konqueror window. However |
6 |
> > I have it set in my Konqueror configuration to "Open as tab in existing |
7 |
> > Konqueror when URL is called externally" I've looked through the KMail |
8 |
> > configuration settings but I can't find anywhere to change this. Is there |
9 |
> > a way? |
10 |
> |
11 |
> This has been annoying me too. I'm quite interested if anybody knows a better |
12 |
> way to fix it but I've worked around it by setting /usr/local/bin/konqueror |
13 |
> as my Web Browser in kcontrol -> KDE Components -> Component Chooser. If you |
14 |
> do the same do remember to make /usr/local/bin/konqueror executable. |
15 |
> |
16 |
> $ cat /usr/local/bin/konqueror |
17 |
> #!/bin/bash |
18 |
> |
19 |
> SESS="$(/usr/kde/3.5/bin/dcop | sed '/^konqueror/q;d')" |
20 |
> |
21 |
> if [[ -z "${SESS}" ]]; then |
22 |
> /usr/kde/3.5/bin/konqueror "$*" |
23 |
> else |
24 |
> /usr/kde/3.5/bin/dcop "${SESS}" konqueror-mainwindow\#1 newTab "$*" |
25 |
> fi |
26 |
|
27 |
I do not use KMail, but you probably could replace this script with |
28 |
kfmclient. I use that one from many applications (usually non-KDE ones). |
29 |
|
30 |
With regards |
31 |
|
32 |
-- |
33 |
Hallowed be the zeroes and ones |
34 |
|
35 |
Michal "vorner" Vaner |