skikir
2012-Jun-13 22:55 UTC
[Wine] Clicking image files will not auto open with irfanview.
I'm running PCLinuxOS and have Irfanview set as my default image viewer. When I click on an image file Irfanview opens properly but does not open the file as it does in Windows. I have to manually navigate to the image location through Irfanview to open it. I take a lot of pictures and have to crop, resize and adjust brightness and contrast a lot and Irfanview is my "go to first" viewing and editing tool because it is so fast, does so much and simple to use with just a few simple keyboard strokes. How can I get Irfanview to open the image when I double click it?
Martin Gregorie
2012-Jun-13 23:39 UTC
[Wine] Clicking image files will not auto open with irfanview.
On Wed, 2012-06-13 at 17:55 -0500, skikir wrote:> I'm running PCLinuxOS and have Irfanview set as my default image > viewer. When I click on an image file Irfanview opens properly but > does not open the file as it does in Windows. I have to manually > navigate to the image location through Irfanview to open it. I take a > lot of pictures and have to crop, resize and adjust brightness and > contrast a lot and Irfanview is my "go to first" viewing and editing > tool because it is so fast, does so much and simple to use with just a > few simple keyboard strokes. > > How can I get Irfanview to open the image when I double click it? >What usually do is: 1)write a wrapper script (call it 'irfanview') that: - sets WINEPREFIX for wherever you installed irfanview - changes directory to where the Irfanview EXE is installed - runs "wine Irfanview.exe $1 2)make the script executable and test it. The command irfanview imagename.jpg should run it 3)put the script somewhere safe that's in the search path (defined by $PATH) 4)now start your file manager (Nautilus if you're using Gnome or a Gnome-derived window manager) and configure it so your script is the preferred application for the image extensions you want to use Irfanview with. You do this in much the same way you would change file:program associations in Windows Exploder. Martin
kyolive1231
2012-Jun-14 06:33 UTC
[Wine] Re: Clicking image files will not auto open with irfanview.
Traveling across different Edmonton Escort (Banned Web Site/) can throw your schedule Edmonton Asian Escort (Banned Web Site/) When adding hours to your day by traveling west Edmonton Escorts (Banned Web Site/) you may need to take more insulin Edmonton Asian Escorts (Banned Web Site/) When losing hours traveling east
skikir
2012-Jun-14 17:49 UTC
[Wine] Re: Clicking image files will not auto open with irfanview.
OK,,,,,"write a wrapper script",,,"sets WINEPREFIX ..." ,,,, O,K...,,,, I think I will need to re read this a couple dozen times. [Shocked] Would I need to do this for every application running under Wine I install? Say, opening an .XLS file with Xcel or .PDF with Acrobat? Can I use aluminum or plastic for the wrapper? Or is this music...I hate Wrap. Don't get me wrong, I've been using computers since the 70's where we used lights and switches to load paper tape to be able to add 2+2. But I've just lost all interest of "making it work." I kinda thought this would have been an easy pass through function already integrated in the system. I have just absolutely developed a mental block anymore to throw backs to the command line and batch files.