Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I may not have the correct term here. What I'm trying to do is get a Windows graphic viewer (irfanview) to load a file from the command line. Simply, I want to click on a jpeg in KDE and have it come up in IView.
Here's my association command:
wine '/tralce/.wine/drive_c/Program Files/IrfanView/i_view32.exe' 'winepath -w %f'
However, irfanview thinks that I mean for the "winepath -w" to be the file loaded. Is there some kind of pipe I should be using here? Nothing I've tried works.
Ordinarily that would work, except that the path is a unix path contained in the variable %f, which winepath -w is converting to a Windows path to make nice with Irfanview. The variable has to be there in order for me to be able to load any image from the KDE interface.
That may be. However in this instance I want to append the output of 'winepath -w %f' to the command 'wine i_view32.exe'. Not to be rude, and please don't take this as rudeness, but that's the way I want to solve this issue.
I've come to the conclusion that the command needs to be processed algebraically. As in:
wine i_view32.exe (winepath -w %f)
which in my mind would yield:
wine program C:\path\filename.jpg
I feel as though I haven't been overly clear as to the purpose. I use KDE. I want to be able to click on a jpg in Konqueror and have wine launch Irfanview with the windows path and filename of the jpg that I clicked on. It's not something I have to have, I just want to do this, partly because dad lives off of irfanview and hates all the viewers that he's seen with Linux, and I really don't want him to be stuck with crap Vista. Ah, but I'm rambling. I just like seamless shell integration.