![]() |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
New version (1.2.13-3fremantle1) fixes the gnome dependency problem (thanks qwerty12 ! ) and repairs the softlink to /etc/gnome/defaults.list upon removal (thanks rebhana ! )
|
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
Quote:
Now to a new problem I've encountered: I believe in the previous version of dbus-switchboard, I could use microB to view my directories and when I clicked on an .odt file, it would open OO Writer immediately. For some reason that doesn't work any longer. Now it obviously tries to run something, because the screen goes black for a while with the little clock ticking away, but then it comes back with nothing. From file manager I can open OO Writer by selecting dbus-switchboard, but as I said, from microB it had done that by itself before. On the other hand, when I open files on the internet with a file extension recognized by dbus-switchboard, I get the option of opening them with it or saving it on the device, so that works. |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
Quote:
Quote:
Quote:
Code:
dbus-switchboard.py |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
Are you escaping the URI? Filenames recieved from the browser must be unescaped (the File Manager sends them "properly"). I was using a GLib function, but I bet Python offers such a function (you'll probably find it being used elsewhere in dbus switchboard).
|
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
UPDATE:
I think I see the problem: When a local file is clicked via the browser, I am feeding a bad filename to GnomeVFS. There are two // at the beginning of the file path... I think that is a straightforward fix... Thanks again, rebhana. |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
I've opened the local file Anmeldung.doc with microB, which mimetype (from the libfile-mimeinfo-perl package that I installed in Easy Debian) recognizes correctly:
Code:
[user@deb-m5v3d: ~]mimetype Anmeldung.doc Code:
dbus-switchboard started EDIT2: Wow, you two are fast! :eek: Can you tell me where to fix the script? |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
I'll package up another version ASAP.
Why do they send such a strange parameter? ['//home/user/docname.doc'] The two slashes aren't part of any convention that I'm aware of... EDIT: Rebhana, do you want to give me your mimetype list extensions? |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
1 Attachment(s)
Quote:
dbus-switch-apps.cfg: Code:
OpenOffice,cli,"debbie-sue ooffice ""%params%""" In dbus-switch-xref.cfg, you could actually map a lot more extensions to OpenOffice, but I haven't made a comprehensive list yet. |
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
1 Attachment(s)
I have extended my dbus-switch-xref.cfg such that it covers more completely the files that evince (native and E.D.) and ooffice can display, in case you are interested.
|
Re: How To : Associate MPlayer, Transmission, and other apps as default handlers
New version (1.2.14) uploaded to Extras-devel:
I am aware that the "old" config files are all reset to package defaults at each update. This is a fairly systemic problem, however, so I am going to address this in a later update. My "new" mimetype list doesn't get updated at all, so if you want the new list, you have two choices: either delete your current list before updating: Code:
rm -r /home/user/.mimetypes Code:
cp /usr/lib/dbus-switchboard/user-mimetypes.list /home/user/.mimetypes |
All times are GMT. The time now is 16:15. |
vBulletin® Version 3.8.8