Notices


Reply
Thread Tools
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#291
No, when I tap on .abw file it opens pop-up menu "Select application". With .docs works as should be (yellow banner 'Launching Abiword'). So, debugger doesn't give any data after 'dbus-switchboard started'.

File is OK, because it could be opened within Abiword.

Last edited by kolos; 2010-06-21 at 22:31.
 
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#292
I managed to open the file, if I in pop-up menu 'Select application' select 'dbus switchboard'. That starts Abiword.

Last edited by kolos; 2010-06-21 at 22:37.
 
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#293
Here is my output:
Code:
~ $ dbus-switchboard.py
dbus-switchboard started
--
-- dbus-switchboard: Received an RPC to mime_open.
-- dbus-switchboard: RPC had arguments ['file:///home/user/MyDocs/.documents/test/ABW.abw'].
-- dbus-switchboard: Interface is org.dbus.switchsvc 
-- dbus-switchboard: user_data is <osso.context.Context object at 0x407bf030> 
------
-- params : file:///home/user/MyDocs/.documents/test/ABW.abw
-- params2 : /home/user/MyDocs/.documents/test/ABW.abw
-- realparams : file:///home/user/MyDocs/.documents/test/ABW.abw
-- realparams2 : /home/user/MyDocs/.documents/test/ABW.abw
------
-- params2 mimetype is:  application/x-abiword 
------
-- dbus-switchboard (runcmd) : /usr/bin/run-standalone.sh debbie abiword "file:///home/user/MyDocs/.documents/test/ABW.abw" &
Starting Debian abiword file:///home/user/MyDocs/.documents/test/ABW.abw
Chroot dir specified: /.debian
No image file or partition specified.
ls: /media/mmc1/debian*.img*: No such file or directory
/.debian has a qmount already!
/home/user/MyDocs/debian-m5-v3d.img.ext2 already mounted on /.debian...
Everything set up, running chroot...

(process:2669): Gdk-WARNING **: locale not supported by C library

(process:2669): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#294
@Qole, Rebhana: in the URI tab on my device all image-something mimetypes. including image-jpeg, are associated with hildon-browser.desktop:X-Osso-URI-Action-Open.
Can you confirm please? In order to make my hack work I have to change that to dbus-switchboard.

Also, if I apt-get purge dbus-switchboard, things get normal again and jpg get opened by the image-viewer. So it must be dbus-switchboard that directs them to the browser.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-06-22 at 04:35.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#295
kolos: I had to add a line to /usr/share/applications/defaults.list
Code:
application/x-abiword=hildon-dbus-switchboard.desktop
I'll add that to the next version.

debernardis, rebhana: just tried to open a photo from the filemanager; getting the same problem! Opens in the browser! What a goofy system.
__________________
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 2 Users Say Thank You to qole For This Useful Post:
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#296
Originally Posted by qole View Post
kolos: I had to add a line to /usr/share/applications/defaults.list
Code:
application/x-abiword=hildon-dbus-switchboard.desktop
I'll add that to the next version.
Thanks qole!

If I understand right I can add this line myself without updating installation? I'm asking that because I would like also to associate Leafpad with .txt files and the situation is pretty the same as with Abiword and .abw files, except that now Notes is handling .txt files by default.

Would be the right line for Leafpad, this one?

Code:
application/x-leafpad=hildon-dbus-switchboard.desktop

Last edited by kolos; 2010-06-22 at 06:20.
 
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#297
I put the line for Abiword in defaults.list and now assiciation works fine. I also tried with that 'my line' for Leafpad, but still Notes opens .txt files instead of Leafpad.

I have another issue. I have installed FreOffice, which is in Dbus-switchboard associated with .doc and .pps files and that works fine. FreOffice should also handle .rtf files but that's not working in my case, it starts and than hangs on black screen. So, because of that I associated .rtf files with Abiword which works great in File Manager. Now, the problem is when .rtf files are attached to emails. In that case if I tap on .rtf file it initiate FreOffice instead of Abiword (without any yellow banner). Same happens when I tap on .doc attachments, FreOffice starts without yellow banner despite the fact that it's associated with .doc files in Dbus-switchboard. But that's not so crucial, because I want for .doc files to be opened with FreOffice.
Another thing that I have notice is that .abw attachments are handled properly with Abiword (initiated with yellow banner). So, obviously in my case .doc and .rtf attachments are not handled with Dbus-switchboard because of FreOffice installation.

I apologize for all linguistic mistakes I made. Sorry guys, but English is not my native language.

Last edited by kolos; 2010-06-22 at 12:44.
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#298
Originally Posted by qole View Post
debernardis, rebhana: just tried to open a photo from the filemanager; getting the same problem! Opens in the browser! What a goofy system.
It doesn't for me - also from the filemanager I get the photo application, and I haven't changed anything related to media in the dbus-switchboard setup.
__________________
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
#299
kolos: If you go to the dbus-switchboard GUI and then go to the "Defaults" button, look for the application/rtf entry and change it to the bright green setting. Then press "Dbus Switchboard" at the top and choose "Save". RTF files should now open in Abiword.
__________________
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:
casper27's Avatar
Posts: 844 | Thanked: 521 times | Joined on Jan 2009 @ UK southampton
#300
Photos open as normal for me both from file manager and camera app.Got latest version installed.
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:26.