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 Wed 20 Aug 2014, 22:45
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 [31 Posts]   Goto page: Previous 1, 2, 3
Author Message
davids45


Joined: 26 Nov 2006
Posts: 643
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 from previous:   Sort by:   
Page 3 of 3 [31 Posts]   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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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