Re: [gdm-list] update



On 10/31/07, Matthias Clasen <matthias clasen gmail com> wrote:

> 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...
>

Of course, Ray pointed out that I overlooked the much simpler solution
to this problem, simply set /desktop/gnome/url-handlers/https/command
to
"/bin/true %s"


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