| Author |
Message |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Sat 30 Jun 2012, 15:02 Post subject:
IrfanView (in Wine), how to make it the default graphic app? |
|
I would like to open all graphic files by default in IrfanView under Wine. I have IrfanView installed and working.
Is this possible?
|
|
Back to top
|
|
 |
jafadmin
Joined: 19 Mar 2009 Posts: 343
|
Posted: Sat 30 Jun 2012, 15:43 Post subject:
|
|
You'll probably get better info from the Wine web site since your question isn't actually a "puppy" question.
http://wiki.winehq.org/FAQ
|
|
Back to top
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Sun 01 Jul 2012, 10:24 Post subject:
|
|
Sorry. i don't agree. It's a Linux/Puppy issue involving linking to some where in the Linux installation with a certain instruction I have, in fact, done it in the past, in Mint, but I can't remember the specific instruction need, nor where I found it out.
|
|
Back to top
|
|
 |
puppyluvr

Joined: 06 Jan 2008 Posts: 3052 Location: Chickasha Oklahoma
|
Posted: Sun 01 Jul 2012, 11:09 Post subject:
|
|
Hello,
Look into mime types for Rox..
The answer is there..
_________________ "Close the "Windows", and open your eyes, to a whole new world"
http://puppylinuxstuff.meownplanet.net/puppyluvr/
http://theplpd.webs.com/
Nothing but Puppy since 2.15CE...
|
|
Back to top
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Mon 02 Jul 2012, 05:00 Post subject:
|
|
| puppyluvr wrote: | Hello,
Look into mime types for Rox..
The answer is there.. |
Thanks very much for the suggestion, but I'll need a bit more help on doing that. I don't really understand what I should do.
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2035 Location: World_Hub
|
Posted: Mon 02 Jul 2012, 07:26 Post subject:
|
|
If after this you still haven't figured what to do- post back with the full path to your IrfanView executable..
As a friendly reminder- *always* include the Pup version you're run'n when asking for assistance.
|
|
Back to top
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Thu 02 Aug 2012, 05:43 Post subject:
|
|
| Semme wrote: | If after this you still haven't figured what to do- post back with the full path to your IrfanView executable..
As a friendly reminder- *always* include the Pup version you're run'n when asking for assistance. |
Sorry. I only saw your post today. I will look into that,
Thanks.
|
|
Back to top
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Thu 02 Aug 2012, 07:11 Post subject:
|
|
I'm using Lucid 5.28.
I'm editing and completely rewriting this post because I made some progress shortly after posting it.
I figured I needed to change /usr/local/bin/defaultimageviewer
I changed it to: | Code: | | wine /root/spot/portable/IrfanViewPortable/IrfanViewPortable.exe "$@" |
Now, clicking on an image opens Irfanview, but not the image.
I can now drag the image into IrfanView, but is it possible to make a further step and have the image open in IrfanView automatically?
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2035 Location: World_Hub
|
Posted: Fri 03 Aug 2012, 20:55 Post subject:
|
|
See this post by Musher. Feedback would be nice..
|
|
Back to top
|
|
 |
snowy

Joined: 16 Nov 2007 Posts: 59
|
Posted: Mon 06 Aug 2012, 04:16 Post subject:
|
|
| Semme wrote: | | See this post by Musher. Feedback would be nice.. |
Thanks. I had a look. I'll try it later and report back.
|
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 580 Location: Chatswood, NSW
|
Posted: Mon 06 Aug 2012, 20:45 Post subject:
|
|
G'day snowy,
A crude method but simple may help.
A bit of background. I need to use a Windows-wine program for orienteering maps (these have an extension .ocd).
For each Pup, I load wine plus a number of already "installed" programs in the .wine directory (as a sfs or by sym-links from my data partition).
I have a desktop/pinboard icon for my mapping program. To get it to open a map file by default, I open Rox, navigate to any map file, right-click this and select "Set Run Action".
This displays a dialog box which I then drag my program's desktop icon into.
So then clicking on any .ocd file, opens up the map.
With Irfan, drag its .exe to the pinboard/desktop if you haven't already, so you have an executable icon (check it does run).
Now right-click an image file in Rox and "Set Run Action" by dragging the Irfan icon into the box where it says.
I expect you'd need to do this for each type of image format Irfan or you want to use. But it is very quick to set-up once you get the hang of it.
David S.
David S.
|
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 789 Location: the Western Reserve
|
Posted: Mon 06 Aug 2012, 21:50 Post subject:
Subject description: . . |
|
@snowy
Mmmhm, 'associating' file types is used by most file managers (if you use other than rox), for instance xfe uses a file types section in its rc for open, view and edit for each file type by extension. I usually use gview for a quick look if I don't anticipate editing an image file.
Not sure if %f would work if $@ isn't giving you joy (I forget these basics, so consider that as an uninformed guess fwiw.. )
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1757
|
Posted: Tue 07 Aug 2012, 13:06 Post subject:
|
|
Try:
| Code: |
wine /root/spot/portable/IrfanViewPortable/IrfanViewPortable.exe "$1" |
|
|
Back to top
|
|
 |
|