The Following User Says Thank You to qole For This Useful Post: | ||
![]() |
2010-06-13
, 12:26
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#232
|
I find it interesting that Maemo pretends to use the /etc/gnome/defaults.list file but it doesn't really, it still uses the /usr/share/applications/defaults.list ...
I find it interesting, too, that I copy the original file to a safe location, and then copy it back in my postrm file. But how is it that the file that my postrm script copies back upon removal of dbus-switchboard is different than the file it was supposedly linked to?
![]() |
2010-06-13
, 12:33
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#233
|
OK, qwerty12's gnomevfs suggestion prints the correct mimetype for both a local PDF with no extension and Dr. Hawking's paper on the web.
So now to fundamentally rewrite dbus-switchboard to use mime types instead of extensions
EDIT: I installed python-gnome2 and just did "import gnomevfs"
![]() |
2010-06-15
, 21:19
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#234
|
![]() |
2010-06-15
, 21:45
|
Posts: 729 |
Thanked: 155 times |
Joined on Dec 2009
|
#235
|
![]() |
2010-06-15
, 21:46
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#236
|
![]() |
2010-06-15
, 21:49
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#237
|
![]() |
2010-06-15
, 21:54
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#238
|
I'm uploading a new version due to a postinst error...
Should I switch to gnome-python as my dependency? python-gnome2 seemed so much cleaner to use... Can anyone tell me what package uses gnome-python?
~ $ apt-cache rdepends gnome-python
gnome-python
Reverse Depends:
digghomewidget
python-gnome2
rapier
python-gnome2
python-runtime
hermes
python-gnome2
fmms
fmms
fmms
fmms
fmms
fmms
fmms
fmms
fmms
fapn
python-gnome2
gnome-python-dev
python-gnome2
gnome-python-dev
python-gnome2
gnome-python-dev
python-gnome2
maegios
python-gnome2
|mevemon
python-gnome2
mclock
python-gnome2
lybniz
python-gnome2
mastory
python-gnome2
Depends: python-gnome | python-gnome2
try:
from gnome import gnomevfs
except ImportError:
import gnomevfs
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-06-15
, 21:59
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#240
|
The Following User Says Thank You to qole For This Useful Post: | ||
So now to fundamentally rewrite dbus-switchboard to use mime types instead of extensions
EDIT: I installed python-gnome2 and just did "import gnomevfs"
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2010-06-13 at 05:00.