[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Evolution] Make Konqueror the default browser



> I have ASP Linux 9.0 (a derivative of RH 9.0), Evo 1.2.3. I'd like to
> make Konqueror my default browser. In Gnome's system options it is
> already set as such - but Evo still starts Mozilla. Starting 'gnomecc'
> did not help - the program is simply not found.
> 
> I know I should go over to 1.4 someday, but can the problem be solved in
> 1.2.3 somehow?

As you mentioned, you probably will upgrade, here are the settings for
Evolution 1.2.x and 1.4.x versions.

To set Konqueror as default browser, just replace 'gnome-moz-remote'
with 'konqueror' and adjust the parameters if needed or change the
attached script. "%s" is the given URL.

...guenther


Evolution 1.4 / Gnome 2.x
-------------------------

Open the "Gnome Control Center" > Preferred Applications > Web Browser
or simply run:
# gnome-default-applications-properties

 check 'Custom Web Browser'
 Command: gnome-moz-remote --newwin "%s"

This will present you every link (clicked in a Gnome 2 app) in a new
mozilla window. If you prefer tabs (instead of new windows) like me,
change it similar like that:

 Command: mozilla-remote.sh "%s"

Have the attached script in your path (or change the command to have the
whole path) and make the script executable.


Evolution 1.2 / Gnome 1.4
-------------------------

Check your ~/.gnome/Gnome file. You need something like that:

[URL Handlers]
default-show=gnome-moz-remote --newwin "%s"

If there are http-show or similar entries, change them, too.


gnome-moz-remote %s
 will only open a new mozilla, when none running
 displays the URL in the current mozilla (old content overwritten)

gnome-moz-remote --newwin %s
 will only open a new mozilla, when none running
 displays the URL in a new mozilla window


I use the following default-show entry:

default-show=/home/guenther/bin/mozilla-remote.sh "%s"

With the attached mozilla-remote.sh script (must be executable) it acts
like the --newwin option, but displays the new URL in a new *tab* if
there is already a mozilla running.

I don't lose the displayed URL and can even click multiple URLs and see
them all in the same mozilla.

If you have a ~/.gnome/gnome-moz-remote file, check it, rename it or
plain delete it. You can change settings there too, although you won't
need it.


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
#!/bin/sh

gnome-moz-remote --remote='openURL('$1', new-tab)' || gnome-moz-remote $1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]