Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 21:30
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
"Set run action" for Wine .exe programs
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Author Message
davids45


Joined: 26 Nov 2006
Posts: 655
Location: Chatswood, NSW

PostPosted: Sat 21 Nov 2009, 20:19    Post_subject:  

G'day again,

Well that didn't take long.

And mcewanw, have you been taking lessons from my wife on how to hide my socks by putting them in front of me in my sock drawer?
When I actually read all of your earlier post about using the slashes but with a "@" in place of the first suggested "1", by using this slash combination in the application_x files for Word & Excel, all is now fast and fine.

So "${@//\//\\}" works with the MS Office programs data files clicked from ROX.

F'rinstance, in /root/Choices/MIME-types/, my specially created file application_x-xls reads:

#!/bin/sh
exec wine "/root/.wine/drive_c/Program Files/Microsoft Office/Office/EXCEL.EXE" "${@//\//\\}"

And now opens any .xls file I click from ROX. In dpup482beta (I'm using this now), I have not altered the /root/Choices/MIME-types/application_vnd-ms.excel but I have changed the globs entry to go to my applications_x-xls file, not to application_vnd-ms.excel

I first got this working in Pup4.2 a few minutes ago, where I had left the globs alone and just edited the application_vnd-ms.excel file with the above wine line using "${@//\//\\}".

So it looks like there are two ways to finally skin this particular cat.

David S.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0368s ][ Queries: 12 (0.0034s) ][ GZIP on ]