Hi I am a new user of wine. I just installed Wine from the ubuntu package (under Kubuntu) and tried to make the configuration. I cannot reach to open the c: browser. Wine seems working a few seconds and then nothing happens. That situation occurs also with some windows programs, some others are working correctly. Can I get some help ? Another question is: how to make an icon for a .bat program ? The icon I have created opens the script as text and does not execute it as a program Thank you Michel Perreau
On Sun, 2010-02-07 at 06:06 -0600, Perreau wrote:> Another question is: how to make an icon for a .bat program ? The icon > I have created opens the script as text and does not execute it as a > program >Write the bat file and create or locate the image you'll use for the icon. Create a Gnome Launcher that runs the Wineconsole command you use to execute the .bat file. However, it may be easier to wrap that in a bash shell script and then start that with a launcher. The script would be something like this: ===================batscript=========================#!/bin/bash wineconsole batfile.bat ===============end of batscript====================== Make batscript executable: code: chmod u+x batscript and put it somewhere where its always available. The Linux convention is to create a 'bin' directory in your login directory and then add it to the search path by putting the line export PATH=$PATH:$HOME/bin:. in the .bash_profile file in your login directory. You'll have to logout and login again for this to take effect. Now test batscript by running it from the Linux command line. You may want to use a 'pause' command as its final action so you get a chance to read its output. When you're happy with it, create a launcher that uses 'batscript' as its command and references your icon image. Martin
> I just installed Wine from the ubuntu package (under Kubuntu) and tried to make the configuration. > I cannot reach to open the c: browser.Not sure what you mean by that. Probably you mean the ubuntu Drive C: link. This is a ubuntu addition and not standard wine. If you can't fix that and want to look at your drive c: go to your home drive. Turn on browsing of hidden files. Go to the .wine folder in your home drive then drive_c>Wine seems working a few seconds and then nothing happens. That situation occurs also with some windows programs, some others are working correctly. >Run your application in a terminal. See the wine faq for that: http://wiki.winehq.org/FAQ#run_from_terminal John
Thanks for your answers. I have made further investigation to my system. What I mean by "c:browser inaccessible" is that the item automatically generated by the installation of wine in the menu "wine" does not work. I have looked to what command this item is corresponding ? I have found "xdg-open ./win/dosdevices/c:" and the answer is something as "undefined mime-type". I understand that it imeans that some associations have not been set properly during the installation of wine. I do not know why ? However, that is not a big problem, because i have actualy access to c: by the usual file manager of KDE. Michel