LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simple Wine question (https://www.linuxquestions.org/questions/linux-newbie-8/simple-wine-question-486292/)

lupusyonderboy1 09-23-2006 01:00 PM

simple Wine question
 
I've installed two applications recently with Wine, DVD Decrypter and Miranda IM, but . . . I've lost them both.

I don't really understand the linux file system, so every time I'm given a pathway with a '.' or '~' in it, I don't know where it is.

So anyway, both were installed to default locations. How do I launch them and create working desktop shortcuts (the installers lnks don't work).

oh, and i'm using the latest Ubuntu, up to date.

Zmyrgel 09-23-2006 01:28 PM

Wine usually installes all programs under the users home directory... Check ~/.wine folder.

~/.wine is same as /home/<user>/.wine
. in command line means current folder

David the H. 09-23-2006 01:39 PM

Ok, first of all, relax. It's not that difficult. the ~ just represents your home directory, so it's the equivilent of /home/username/. Files that begin with a dot are "hidden" files, ones that don't show up on a regular file listing. In a console you can list hidden files and folders with "ls -a". Your gui file browser should also have a command somewhere to show hidden files.

Now wine is a bit different from most programs because it's a *nix proram, but it also has to pretend to be a Windows machine to the programs it runs. The actual physical installation of programs by default is a fake windows directory structure located in ~/.wine/, a hidden directory in your home folder. You can change this if you want though. But from within wine, this directory structure appears to be a Windows machine to the programs it's running.

So you can actually run programs two ways. You can use the actual location: wine "~/.wine/drive_c/Program Files/Miranda/Miranda.exe", or you can enter it as a Windows path: wine "c:\Program Files\Miranda\Miranda.exe". Changing these to whatever the real path is, of course.

I hope that clears it up. You can check out this previous thread about creating desktop shortcuts for wine apps: http://www.linuxquestions.org/questi...d.php?t=477527

lupusyonderboy1 09-23-2006 02:58 PM

ok so far so good, thanks for your help.
how do i navigate to a directory that has a space in it's name?

like i can navigate to ~/.wine/drive_c/
but i can't do cd Program Files, i assume because there's too man arguments or something.

lupusyonderboy1 09-23-2006 03:02 PM

solved it on my own using '\', thanks guys

David the H. 09-23-2006 04:55 PM

Good for you. If you don't know about it, you can also use tab completion. Type the first few letters of a file or folder and hit the tab button, and bash will autocomplete it for you. If the file name has a space or other illegal character in it, it will automatically escape it for you.


All times are GMT -5. The time now is 12:11 AM.