Opening new JPG files in same instance of PSP under Wine

Questions about Wine on Linux
Locked
noro
Newbie
Newbie
Posts: 4
Joined: Sun Jul 29, 2012 9:06 am

Opening new JPG files in same instance of PSP under Wine

Post by noro » Tue Sep 11, 2012 12:26 pm

I use Paint Shop Pro under Wine as my default program for opening JPG files on Linux Puppy.

I did this by setting the "Run action" for JPG files to: wine "/root/.wine/drive_c/Program Files/Jasc Software Inc/Paint Shop Pro 7/psp.exe" "${@//\//\\}

However, a new instance of PSP is opened every time I open a new JPG. How could I make it so that a newly opened JPG uses the instance of PSP that is already opened?

Thanks for any help.

Simon of Aragon
Level 3
Level 3
Posts: 94
Joined: Sat Sep 08, 2012 3:56 pm
Location: The Magical Land of Canada
Contact:

Re: Opening new JPG files in same instance of PSP under Wine

Post by Simon of Aragon » Wed Sep 12, 2012 5:29 pm

The "new instance" is a built in feature of PSP this much I read from the Corel webpage. There should be a setting somewhere in the program to stop it, but I am not familar with PSP. I don't see this being much of ado with Wine.

noro
Newbie
Newbie
Posts: 4
Joined: Sun Jul 29, 2012 9:06 am

Re: Opening new JPG files in same instance of PSP under Wine

Post by noro » Thu Sep 13, 2012 10:38 am

Thanks for the reply. Unfortunately there is no such setting in the program, The same problem exists in Windows and this is the solution: http://www.pspug.org/cgi-bin/forum/Blah ... 259400734/ but I don't think this is possible with WINE.

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Opening new JPG files in same instance of PSP under Wine

Post by vitamin » Sat Sep 15, 2012 7:47 am

noro wrote:I did this by setting the "Run action" for JPG files to: wine "/root/.wine/drive_c/Program Files/Jasc Software Inc/Paint Shop Pro 7/psp.exe" "${@//\//\\}
First of all do not run Wine or anything else for that matter as root on *NIX. Create a regular user account and do everything using it.
Second - that path translation is wrong. Use winepath -w <file> for path translation.
noro wrote:The same problem exists in Windows and this is the solution:
Yes, it is possible in Wine. You will have to add registry settings manually. Then use 'wine start file.jpg' to open your program.

noro
Newbie
Newbie
Posts: 4
Joined: Sun Jul 29, 2012 9:06 am

Re: Opening new JPG files in same instance of PSP under Wine

Post by noro » Sat Sep 15, 2012 6:59 pm

Cheers for the reply. Puppy Linux runs as root by default. I missed a quotation mark off the end of the path mentioned above, but it does work okay for me (should I change it to what you suggested)? I'm a Linux newbie so I'm not sure exactly what I should edit in the WINE registry. Any further help on this topic would be much appreciated. Thanks.

Locked