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

Re: Trouble with xdg-open and mimetypes



On Mon, 01 Aug 2011 14:22:49 +0000, Walter Hurry wrote:

(...)

> walterh@saturn:~/log$ xdg-mime query default text/plain
> walterh@saturn:~/log$
> 
> It appears then, that there is no default application for mimetype text/
> plain.
> 
> The xdg-mime man page tells me that to register an application as
> default for a given mimetype, I should do this:
> 
> walterh@saturn:~/log$ xdg-mime default gedit.desktop text/plain
> 
> I do so, and note that a new file has been created:
> 
> walterh@saturn:~/log$ cat ~/.local/share/applications/defaults.list
> [Default Applications]
> text/plain=gedit.desktop
> 
> and that xdg-open backup.log now opens the file in gedit.

(...)

Mmm... take a look at this bug report and I'd say specifically comment 
#10:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618624

Greetings,

-- 
Camaleón


Reply to: