Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-29-2005, 11:12 AM   #1
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
Question GQView and Paint Shop Pro - Opening files!

Hi folks

I've finally gotten my wife to transition to Gentoo, but she's missing some simple Windows based apps. One of the main ones was being able to browse thumbnails in Explorer and then directly open them in Paint Shop Pro for editing. She's not keen on Gimp so I installed Wine and Paint Shop Pro which work perfectly.

The problem I have is that I can't seem to associate JPG files to open in PSP under KDE/Konquerer. If I associate JPG to PSP it automatically opens PSP but the file that was selected isn't opened, just the application. I've added %U on the end like most other Graphics apps in the mime type associations.

I thought it may be a bug with KDE so I installed GQview and as an external editor I added the following:

wine ~/.wine/drive_c/Program\ File/Jasc/Paint\ Shop\ Pro/psp.exe %f

I added the %f as the other external editors also had this one the end. Yet again, when I ask GQView to open a file for editing in PSP it manages to open PSP fine, but doesn't open the image I selected.

Any help or hints? BTW, this works fine under Windows but I'm desperate to keep her away from it as you can imagine
Old 12-29-2005, 02:00 PM   #2
Harmaa Kettu
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
PSP doesn't find the file because KDE and GQview are giving it unix-style /path/to/the/file.jpg that it doesn't understand.

This wrapper script assumes you have the root filesystem mapped as Z drive in wine, like it is in the default configuration. Save it as /usr/local/bin/run_psp or something similar, make it executable with chmod +x and associate image files to it, using the %U or %f as you did before.

win_name=`echo -n $1 | perl -pe 's|/|\\\\|g; print "Z:"' -`
exec wine ~/.wine/drive_c/Program\ File/Jasc/Paint\ Shop\ Pro/psp.exe $win_name


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine and Paint Shop Pro 9 ?? valerie_tux Linux - Software 10 04-10-2010 01:15 AM
Is there a Paint Shop Pro for Linux OldSarge Linux - Software 35 12-12-2007 12:14 PM
Wine and Paint Shop Pro 8 - Need Help matthurne Linux - Software 5 12-07-2007 08:19 AM
app to read paint shop pro format? xslf Linux - Software 2 12-29-2003 03:27 PM
WINE : Paint Shop Pro 8 ionstorm Linux - Software 12 09-14-2003 08:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration