Re: wine-users Digest, Vol 29, Issue 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Sorry for delayed reply; I was very busy. Unfortunately even now I have very 
little free time (because of lot of work in real life) therefore in case of 
any questions I cannot promise fast reply.

On Tuesday December 4 2007 16:35, Eric Weir wrote:
> On 12/04/2007 L. Rahyen wrote:
>
>         If you want I can send you wrapper script which can be used to run
> Windows application from any working directory with UNIX (not Windows)
> paths as arguments (they will be automatically converted to Windows paths
> so Windows application can use them).
>         In other words such wrapper script will allow to use any Windows
> application as usual UNIX application. You can use it to create launching
> icons for your
>
>  Thanks. I'm interested.

	You can find it in the attachment. Scripts "axcrypt" and "axdecrypt" are 
based on the same template. Therefore you can use any of them to adapt to 
your particular Windows program(s). Just do this for each of your Windows 
programs that need this wrapper:

cp axcrypt my_program
nano my_program
chmod +x my_program
sudo mv my_program /usr/local/bin/

	You can use any editor you like instead of nano and substiture "my_program" 
with actual name of your Windows program. Then edit it as appropriate and 
save; chmod +x is important - it gives executable permission. And 
finally "mv" command installes it. Read comments in the script for more 
instructions.
        Please note that this is "preliminary" version of wrapper script. This 
means that there is no automatic MIME-type handling registration, no README, 
no user-friendly new program registration by automatic template-script 
creation and installation, no standard packages for different distros (key 
factor for easy installation), no "./configure && make install" and even no 
LICENSE (however you can find mention of GPL 3 in main script).
	
	Originally this script was written for AxCrypt so this package contains some 
kind of installer for wrapper-scripts for AxCrypt (the Windows program).
	If you like AxCrypt (it is freely downloadable) then you can use this 
installer (the ./INSTALL file) to install wrapper scripts for it system-wide 
by executing ./INSTALL as root. Make sure to read it *before* running.

	My template-like script automatically converts UNIX paths Windows paths 
before passing them to Windows program. So if you for example run:

axcrypt /home/myname/secret

        Everything will work as you expect (AxCrypt will 
encrypt /home/myname/secret; without wrapper-script it will give you an error 
about wrong path).

	Of course you can use my script for other Windows programs too - it is easy 
configurable. And it has some useful settings which may add convenient 
features to any Windows program (read comments in the script for more 
information).
	Please note that I wrote template script in user-friendly way so if you know 
very little about scripting you should be able to adapt scripts to any 
Windows program anyway - in simplest case you just need to specify its 
installation path and your WINE prefix directory (~/.wine by default) and set 
to blank any other options in the script if you don't need them.
	Yeah, I know, there is should be a easy way to just add new Windows programs 
to be used with this wrapper-script using GUI to be actually user-friendly 
(and maybe I implement it someday). But for now I provide it "as is".

	Attached package contain and example of how you can integrate any Windows 
program to Konqueror or Nautilus. Similarly, you can create an launch icon 
for any Windows program; with help of my wrapper-script this will allow you 
to drag-and-drop file(s) to the launch icon and your Windows program will be 
able to handle them because wrapper-script will automatically converts UNIX 
paths to Windows paths and optionally provides special features to handle 
directories for Windows programs which cannot do this and other useful 
tricks/options/features.

>  Also interested in learning if there's a way to get Windows applications'
> -- and sometimes Linux applications' -- icons in menu item configurations.

	Read KDE/Gnome help files. If you have specific question(s) you need to tell 
me what you are using: Gnome or KDE, and what exactly you want to achieve.

>  He also says there's a new version -- 9.50 -- that's worth upgrading to.
> I've got the WineHQ respository in my repositories list, but it hasn't
> suggested and upgrade -- I currently have 9.49. Why haven't I been
> upgraded?

	What distribution you are using? What commands you have used when you tried 
to upgrade WINE?

Attachment: AxCrypt-for-WINE.tar.bz2
Description: application/tbz

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux