[Bug 28621] cannot associate file type with open command

gratefulfrog gratefulfrog at gmail.com
Sun Jan 22 16:35:10 UTC 2006


Public bug report changed:
https://launchpad.net/malone/bugs/28621

Comment:
The answers are below:
I log on as "bob":

~$ ls -al .local/share/
total 12
drwx------  3 bob bob 4096 2005-02-24 13:31 .
drwx------  3 bob bob 4096 2005-02-24 13:31 ..
drwx------  2 bob bob 4096 2006-01-20 00:21 applications

I did what you said, and got the association to work, perfectly...

~/.local/share/applications$ cat gconf-editor-usercreated.desktop
[Desktop Entry]
Encoding=UTF-8
Name=gconf-editor
MimeType=text/plain;
Exec=/usr/bin/gconf-editor

Type=Application
Terminal=false
NoDisplay=true

And when I do that, the gconf-editor appears in the property dialog of
the list of associated applications.

However, when I try the same for file doc.lyx, it fails. Here's the content of the file: 
~/.local/share/applications$ more gconf-editor-usercreated.desktop
[Desktop Entry]
Encoding=UTF-8
Name=gconf-editor
MimeType=application/x-lyx;
Exec=/usr/bin/gconf-editor
Type=Application
Terminal=false
NoDisplay=true

When I do this, gconf-editor does not appear in properties dialog as an
associtated application and double click does not call it.

I am at a loss....

Thanks again!




More information about the desktop-bugs mailing list