Active Topics

 



Notices


Reply
Thread Tools
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#121
Tso, see the tear thread for reply.


Un27Pee : i already have a script to convert from Antiword to PDF to view in PDFviewer that is very fast and preserves fonts and some layout. Why would you want to use antiword -> leafpad? If there is a valid reason you would need script similar to my antiword->pdf script to associate as a handler.

Last edited by pipeline; 2009-03-23 at 23:08.
 

The Following User Says Thank You to pipeline For This Useful Post:
TheOne's Avatar
Posts: 43 | Thanked: 3 times | Joined on Feb 2009
#122
Thanks for the great app pipeline, much appreciated. This is for tso:

http://www.youtube.com/watch?v=7php1cwD-Jo&fmt=18
 
armtwister's Avatar
Posts: 16 | Thanked: 11 times | Joined on Mar 2009 @ Cambridge, England
#123
pipeline - thanks for this fantastic work!

pipeline: If you figure out new apps that work, let me know and i'll add them to configuration files.
This may be old hat, but the Gimp (from qole's Easy Debian works:
sudo debian hilda gimp "%params%"
I've been looking at opening e-mail attachments with Debian apps, and I wonder if you'd take a look here? Thanks.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#124
hey armtwister... it seems my debian hack is still in place so i am indeed still copying to /home/user/MyDocs for apps which :
- use /var/tmp directory (such as opening from web or opening attachments)
- and whose handler includes the word 'debian'.

I will remove that for next version since its no longer needed.

You could try editing (as root) the /usr/bin/dbus-switchboard.py file and removing the entire block which states 'Hack so that debian apps..." etc. its about 19 lines that would need to be removed.

Not sure if thats your problem or not... if you still encounter problems can you run dbus-switchboard.py (as user) in xterm, try opening your attachment, and then posting the output of the xterm console?

If thats too difficult, i can update the program this weekend and you can try it then.

You can also clean out the /home/user/MyDocs folder of old 'opened' attachments that are no longer needed. (since this directory isnt cleaned out on reboots like /var/tmp is)

Last edited by pipeline; 2009-03-25 at 23:13.
 

The Following User Says Thank You to pipeline For This Useful Post:
armtwister's Avatar
Posts: 16 | Thanked: 11 times | Joined on Mar 2009 @ Cambridge, England
#125
You could try editing (as root) the /usr/bin/dbus-switchboard.py file and removing the entire block which states 'Hack so that debian apps..." etc. its about 19 lines that would need to be removed.
Yup, that does it - I'm so happy .

I had just spotted your debugging suggestion in your original post and tried it. I was about to post the output (which indeed shows it trying to move the attachment from /var/tmp to MyDocs and failing due to lack of the 9-digit directory in MyDocs), but there's now no need !

I've learned quite a bit along the way...

Cheers!
 

The Following User Says Thank You to armtwister For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#126
Also, see if replacing "sudo debian hilda" with "debbie" works. I would love to know if that works now.
__________________
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!
 
armtwister's Avatar
Posts: 16 | Thanked: 11 times | Joined on Mar 2009 @ Cambridge, England
#127
Also, see if replacing "sudo debian hilda" with "debbie" works. I would love to know if that works now.
Yup, this works fine for oowriter, so it should also work for oocalc and ooimpress.

Also Gimp - debbie gimp "%params%" - works.
 

The Following User Says Thank You to armtwister For This Useful Post:
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#128
I have updated to version 1.2.8 which :
- includes the fixes mentioned above (remove debian hack, and using debbie script)
- added handlers for pygtkeditor, geany, leafpad
- added mime type integration for several file types... this will show icons now for doc, xls, csv, cpp, h, cs, py, pdb, and maybe a few others.

If you have problems with cpp, c, or .h files it may be due to a mime package in /usr/share/mime/packages/cpp.xml which is installed by pygtkeditor... delete that as root then run as root :
update-mime-database /usr/share/mime (or just reinstall dbus-switchboard)
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#129
I had forgot to add support for .c files so i added that.

I also added icons for .vb files, .ppt files, .mid (midi) , tar.gz, .gpx, .jar, and .torrent icon.

Sorry to those that already downloaded, but i refreshed the version 1.2.8 with these additions.

Last edited by pipeline; 2009-04-11 at 15:59.
 

The Following 3 Users Say Thank You to pipeline For This Useful Post:
Posts: 13 | Thanked: 0 times | Joined on Apr 2009
#130
sorry...i know nothing about Linux so I don't understand the scripts comments of above. I use Win ever since I use computer.
could anyone kindly tell me..when I get the error message of "unable to install dbus-switchboard. some application packages required for the installation are missing"..what should I do next please.

thank you
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:15.