![]() |
2010-06-11
, 22:40
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#222
|
I would like to know how qwerty did it for evince. His evince.desktop file contains
Could something like that be done for "debbie evince" as well?Code:Exec=evince StartupNotify=true Terminal=false Type=Application Icon=evince X-Osso-Service=org.gnome.evince.ApplicationService X-Osso-Type=application/x-executable MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;image/*;application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation;
![]() |
2010-06-11
, 22:53
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#223
|
[D-BUS Service] Name=org.gnome.evince.ApplicationService Exec=/usr/bin/evince
The Following User Says Thank You to rebhana For This Useful Post: | ||
![]() |
2010-06-11
, 23:03
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#224
|
Btw, the Maemo port of evince is great - I'm just sorely missing postscript support.
![]() |
2010-06-11
, 23:11
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#225
|
Apologies if I'm misunderstanding you. I don't use Easy Debian so I'm unfamilar with its workings, but I believe you'd have to go through DBus Switchboard and get it to run Easy Debian Evince as the script wouldn't know of recieving arguments via D-Bus, which is part of how "associations" work in Maemo.
The Following User Says Thank You to rebhana For This Useful Post: | ||
![]() |
2010-06-11
, 23:14
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#226
|
...but you are passed the full path which is enough to figure out the MIME type in your program (I think GnomeVFS has functions for this).
![]() |
2010-06-11
, 23:25
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#227
|
![]() |
2010-06-12
, 07:02
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#228
|
Btw, I noticed that the deinstallation is not restoring everything to the previous state. Before, /usr/share/applications/defaults.list was a symlink to /etc/gnome/defaults.list, and now they are separate with different contents. That doesn't seem to have any effects as far as I see, though.
![]() |
2010-06-12
, 07:08
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#229
|
On second thought - could that possibly interfere with other packages if they assume that /etc/gnome/defaults.list will be read by mime updates?
![]() |
2010-06-13
, 03:20
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#230
|
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log