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 19 May 2013, 15:36
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
IrfanView (in Wine), how to make it the default graphic app?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: 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
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 343

PostPosted: 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
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: 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
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3052
Location: Chickasha Oklahoma

PostPosted: Sun 01 Jul 2012, 11:09    Post subject:  

Very Happy 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
View user's profile Send private message Visit poster's website 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: Mon 02 Jul 2012, 05:00    Post subject:  

puppyluvr wrote:
Very Happy 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
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 2035
Location: World_Hub

PostPosted: 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* Wink include the Pup version you're run'n when asking for assistance.
Back to top
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: 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* Wink 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
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: 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
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 2035
Location: World_Hub

PostPosted: Fri 03 Aug 2012, 20:55    Post subject:  

See this post by Musher. Feedback would be nice..
Back to top
View user's profile Send private message 
snowy


Joined: 16 Nov 2007
Posts: 59

PostPosted: 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
View user's profile Send private message 
davids45


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

PostPosted: 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
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 789
Location: the Western Reserve

PostPosted: 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
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 1757

PostPosted: Tue 07 Aug 2012, 13:06    Post subject:  

Try:
Code:

wine /root/spot/portable/IrfanViewPortable/IrfanViewPortable.exe "$1"
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0585s ][ Queries: 12 (0.0057s) ][ GZIP on ]