public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joost Roeleveld <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Default applications
Date: Mon, 06 Jun 2011 13:39:59 +0200	[thread overview]
Message-ID: <10808619.C4b5oGboes@eve> (raw)
In-Reply-To: <4DEBF1E6.5020100@gmail.com>

On Sunday 05 June 2011 22:15:18 Ignas Anikevicius wrote:
> On 05/06/11 21:34, Volker Armin Hemmann wrote:
> > .local/share/applications/mimeapps.list
> 
> Thanks, I have found that, but I failed to find any documentation on
> what is the syntax of the file as this file on my laptop is very sparse.
> 
> I.

I found the following in eselect news:
**
2011-04-27-glib-228
  Title                     Upgrade to GLIB 2.28                                                                                                                                                                       
  Author                    The Gentoo Freedesktop Maintainers <freedesktop-
bugs@gentoo.org>                                                                                                                           
  Posted                    2011-04-27                                                                                                                                                                                 
  Revision                  1                                                                                                                                                                                          
                                                                                                                                                                                                                       
The method for setting default applications for specific URI types                                                                                                                                                     
(https://, mailto://, etc.) changed in dev-libs/glib-2.28 and newer.                                                                                                                                                   
If you previously set them in GConf using the Configuration Editor,                                                                                                                                                    
they will now be ignored.                                                                                                                                                                                              
                                                                                                                                                                                                                       
If you use GNOME, you must upgrade gnome-session and                                                                                                                                                                   
gnome-control-center and set your default browser/mail-client again.                                                                                                                                                   
                                                                                                                                                                                                                       
If you don't use GNOME, you should ensure that the file                                                                                                                                                                
~/.local/share/applications/mimeapps.list has the following content:                                                                                                                                                   
                                                                                                                                                                                                                       
[Added Associations]                                                                                                                                                                                                   
x-scheme-handler/http=$browser_name.desktop;                                                                                                                                                                           
x-scheme-handler/https=$browser_name.desktop;                                                                                                                                                                          
x-scheme-handler/mailto=$mailclient_name.desktop;                                                                                                                                                                      
                                                                                                                                                                                                                       
Replace $browser_name.desktop and $mailclient_name.desktop with the                                                                                                                                                    
appropriate file from /usr/share/applications that can handle                                                                                                                                                          
http/https/mailto URIs.                                                                                                                                                                                                
                                                                                                                                                                                                                       
The system-wide version of the file is often at                                                                                                                                                                        
/usr/share/applications/defaults.list instead.                                                                                                                                                                         

Please make sure that your browsers and mail clients have been upgraded
to the latest stable versions before doing all this.

More information about using defaults.list and mimeapps.list is at:

http://www.freedesktop.org/wiki/Specifications/mime-actions-spec

**

This should help?

--
Joost



  parent reply	other threads:[~2011-06-06 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 19:54 [gentoo-user] Default applications Ignas Anikevicius
2011-06-05 20:34 ` Volker Armin Hemmann
2011-06-05 21:15   ` Ignas Anikevicius
2011-06-05 21:28     ` Dale
2011-06-06 11:39     ` Joost Roeleveld [this message]
2011-06-05 20:57 ` Dale
2011-06-05 21:17   ` Ignas Anikevicius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10808619.C4b5oGboes@eve \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox