Notices


Reply
Thread Tools
Posts: 74 | Thanked: 34 times | Joined on Jan 2008
#211
Originally Posted by qole View Post
niv: you have to also change the setting in XRefs to

.wav MPlayer

(or replace ".wav" with whatever the file extension is)

Don't forget to save!

EDIT: as I've said before, this is python, so it isn't compiled. The .deb IS the source file.
qole: I forgot to maintain that I also had the XRefs set to .wav Mplayer
but the issue still persist even with current update.
I read that this is python, but hoped to see your changes in a git, to see how you solved the latest issues, so I can learn more.

but when I install this package from deb on my N800 - it works fine

Last edited by niv; 2010-06-10 at 16:59.
 

The Following User Says Thank You to niv For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#212
niv:

I haven't put this in a git repository because this code really isn't mine. I've hacked a few pieces of it to fix bugs and Maemo 5 OS changes, but it is mainly the same package.

Does your filename end in .wav because it needs to have that extension to work...

Are you having these problems on an N900 or an N800?
__________________
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!
 
Posts: 74 | Thanked: 34 times | Joined on Jan 2008
#213
1. yes my filename does end with .wav
2. given the same dbus-switchboard It doesnt work on the N900 but does on the N800

Last edited by niv; 2010-06-12 at 05:14.
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#214
Originally Posted by qole View Post
It is working fine for me on my N900.

OpenOffice Writer opens my Word documents, both from the file manager and from e-mail, and Evince opens my PDFs.

You just have to remember with PDF (and other types with apps already associated) to go to the defaults tab and switch that type to dbus-switchboard.
I've installed dbus-switchboard, and found that it works very nicely indeed although it took me a while to figure out that from file manager I have to look for dbus-switchboard in the list of possible and impossible applications to open an odt file with.

From the browser, it immediately launched OO Writer when clicking on an odt file, but when I did so for the first time, at one point during the long wait for OO, mypaint opened on top of it, and I swear I haven't even touched the phone while it was doing that. I have to see whether this is reproducible, since so far it's a one-timer.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#215
Perhaps it's of interest how many mistakes I made before successfully adding OO Calc as a handler for .ods files Unless there are some good ways of improving the GUI, there definitely needs to be a howto in wiki.maemo.org eventually!

First, new entries to XRef did not show up at all, because I was typing in the handler manually instead of choosing from the drop-down menu. Don't know how many times I tried before working that out.

Then, in entering the file extension, it was not clear whether I needed to type in [ods] or [.ods] or ods or .ods, so I tried first simply ods. Such a faulty entry in XRef could however not be deleted, although it disappeared when closing and reopening the GUI without saving.

Well, I finally made it, and it immediately worked, without having had to reboot (as I had expected from the notice that popped up during installation).

EDIT: A more minor detail: the icon for the GUI is almost completely invisible in the Maemo menu. Only while pressing on it do I briefly see a greyish wormlike thing.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log

Last edited by rebhana; 2010-06-11 at 17:36.
 

The Following User Says Thank You to rebhana For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#216
Since I've managed to add .ods and .odp handling, I now want to do something more useful for myself (I'm not really using OO much), namely to add support for e.g. postscript files. I would like to have them handled by Easy Debian's evince, because the Maemo version is not capable of that and more excitingly I could immediately print them out from evince on network printers via CUPS.

Evince in Easy Debian can handle the following mime types
Code:
application/pdf
application/x-bzpdf
application/x-gzpdf
application/postscript
application/x-bzpostscript
application/x-gzpostscript
image/x-eps
image/x-bzeps
image/x-gzeps
application/x-dvi
application/x-bzdvi
application/x-gzdvi
image/vnd.djvu
application/x-cbr
application/x-cbz
But I have no idea how to include them, associate them to the corresponding file types, and map them all to "debbie evince". Is that at all possible through the GUI, or do I need to manually edit files (if so, which)?.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#217
niv:

I got .wav files to associate with dbus switchboard by changing both audio/wav and audio/x-wav in the defaults. I think you may have missed the first one...
__________________
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!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#218
rebhana:

You have to add non-existant types to /usr/share/applications/defaults.list manually.

And yes, I am aware that the GUI, not written by me, could use some serious work. I would like to try making a new GUI in qt as part of my self-training. But I don't know if or when I'll get the time to do that.

So probably the best thing for now is to start documenting all the quirks and tricks of this GUI, and if I get an opportunity, I'll write a new GUI.
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#219
I have encountered a (for me) more serious problem with dbus-switchboard:

On the archive for scientific preprints, I had no difficulty reading pdf files either with the osso-pdf-viewer or evince by opening for example this paper by Stephen Hawking, http://arxiv.org/pdf/0710.2029, in the browser. Even though this does not have a file extension pdf, it is recognized as a pdf file and handled accordingly. But with dbus-switchboard installed, it no longer opens the osso-pdf-viewer or evince, because it's no longer recognized as pdf. It instead offers dbus-switchboard as a catch-all application, but that apparently works on file extensions only.

So I de-installed dbus-switchboard, and this now works again. Would you have an idea of how to make that also possible with dbus-switchboard or would that require a completely different setup not based on file extensions?

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.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 

The Following User Says Thank You to rebhana For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#220
dbus-switchboard currently only handles files with file extensions.

The simple solution here is to download files and add extensions, then use the file manager to open the files with dbus-switchboard.

The more complex, but far better, solution is to figure out how to pass the detected mime type to dbus-switchboard and use that to determine the handler, rather than the file extension.

Does anyone know how to pass the mime type to dbus-switchboard?
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:13.