Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
to run a program with wine you have to call it from the command line.
Open a terminal... browse to a directory with a windows executable, [eg notepad.exe], and type: 'wine notepad.exe'.
You will probably get errors about your wine installation not being set up, in which case have a look in /etc/wine.conf, or ~/.wine/config. More in the man page.
when i type wine notepad.exe the following error comes
wine: creating configuration directory '/home/t23/.wine'...
cp: cannot stat `/usr/share/wine/wine.inf': No such file or directory
wine: wineprefixcreate failed while creating '/home/t23/.wine'.
please please please don't expect to be able to use wine for everything you ever want. you can't, and you shouldn't want to. ALWAYS try to find native applications before resorting to Wine.
There's another setup program called winesetuptk i think, try that. but you should be able to just read some of the docs on winehq to get going properly.
what I found out about wine is you should download the rpm and install it and then download the winesetuptk rpm and install it then go to /usr/bin and double click wineconfigtk and it will walk you through the setup.
I can then run "wine notepad.exe" but I get errors about acccessing Lc:\\windows so if you can figure that part out, that'd be great!
I installed Wine from source. [I don't/can't use rpms]
A '.wine' directory appeared in my home directory.
Within was a 'config' file. I editted this, and set the 'c' drive to my home directory.
When I ran 'notepad' [appears to be a program which uses wine], it said 'cannot find c:/windows' or something like that. I created a windows, and windows/system directories in my home dir [which was set to c].
The next compaint was about fonts, so I symlinked the windows/fonts directory to my fonts directory.
No further problems. Works fine. [Then again all I run is paint and calc!]
Any problems must be in that config file, in '~/.wine'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.