Re: [gdm-list] update



On 10/26/07, William Jon McCann <mccann jhu edu> wrote:
> On 10/26/07, Matthias Clasen <matthias clasen gmail com> wrote:
> > On 10/25/07, William Jon McCann <mccann jhu edu> wrote:
> > >
> > >  For one, we don't want bug
> > > buddy to bring up a file-chooser.
> >
> > On that note, we also don't want the links in about dialogs to bring
> > up a web browser. I just noticed this problem again in the about
> > dialog of g-p-m. I had a quick look at the gconf lockdown things, but
> > I couldn't figure out how to prevent this.
>
> Exactly.  This is one reason why I removed the panel with notification
> area until we can figure it out.  I suppose one idea would be to add a
> separate set of GConf defaults by putting $USER in the  GConf database
> path.  But then we may need to start adding special cases to
> applications.  Not sure that is a good way to go.

The mime system is pretty undecipherable, but here is how I managed to
mute http handlers after some fiddling:

1) turn of url handlers:
gconftool-2 --set --type boolean /desktop/gnome/url-handlers/http/enabled false

2) create a desktop file in ~/.local/share/applications/nop.desktop:
[Desktop Entry]
Encoding=UTF-8
Name=true
MimeType=text/html;
Exec=/bin/true %u
Type=Application
Terminal=false
NoDisplay=true

3) Put it in ~/.local/share/applications/defaults.list:
[Default Applications]
text/html=nop.desktop

4) Put it in ~/.local/share/applications/mimeinfo.cache:
[MIME Cache]
text/html=nop.desktop


Repeat for any other interesting mime type that may be activated from
the ui that you put on the login screen...

Matthias


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