Re: [Evolution] Can't run Gnome Control Centre



On Tue, 2004-05-04 at 21:58, Des Dougan wrote:
I'm using red-carpet to keep Evo 1.5 snapshots up to date. I just found
that I can't access the Gnome Control Centre (which I wanted to do to
enable me to run Mozilla when I click on a link).

I get:

D800:/home/ddougan # /opt/gnome/bin/gnome-control-center

** (gnome-control-center:14705): WARNING **: Could not find directory of
control panels [preferences:///]

Feels like a Gnome Control Center bug to me. Please ask the packager
(SuSE probably) to fix it.


I run KDE as my desktop environment, on SuSE 9.0. 

Anyway, below are some notes on how to change the browser even without
using the Gnome Control Center. You will need a working gconf though.

...guenther


Setting default browser using *gconftool* (Gnome 2.0/2.2)
---------------------------------------------------------

You will need GConf (and the gconf daemon running) to set this. If you
do *not* have the Gnome Control Center installed, there is a way to set
this using GConf directly:

See, which values are stored in that sub-tree. Save the output to a
file, so you can revert to those settings!

$ gconftool-2 -R /desktop/gnome/url-handlers/unknown
 command = mozilla %s
 need-terminal = false
 enabled = true

Now, this should enter all those values (at least, they work for me):

$ gconftool-2 --set --type=string /desktop/gnome/url-handlers/unknown/command 'mozilla %s'
$ gconftool-2 --set --type=bool /desktop/gnome/url-handlers/unknown/need-terminal false
$ gconftool-2 --set --type=bool /desktop/gnome/url-handlers/unknown/enabled true


Setting default browser using *gconftool* (Gnome 2.4)
-----------------------------------------------------

This is basically the as above, just some GConf key change:

The relevant key on Gnome 2.4 has changed, but is pretty much similar.
Simply substitute "unknown" by "http", especially in the commands to set
the values.
 /desktop/gnome/url-handlers/http

Also, the "https" branch may be useful. However, this is *not* set using
the GUI method mentioned above.


-- 
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; }}}

Attachment: mozilla-remote.sh
Description: Text Data



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