VectorLinux
August 30, 2014, 06:08:59 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Wine and Drives not working  (Read 1680 times)
Tony_photoplus
Member
*
Posts: 9


« on: September 14, 2008, 10:09:18 am »

Have it all installed and up and running, to a point that is.  I have downloaded Wine package, it told me it was successful and that is not showing in the menu and I have not the foggiest idea where it is on the file system, come to think of it I have no idea where the programs are either.  So that's one issue.  The second issue is that I cannot see my CD/DVD drives.  So are they all derivative of the same problem?  If I can get Wine going then I can load the other program I need to finish off this computer for the village photographic club.

Thanks

Tony
Logged
newt
Vectorian
****
Posts: 1132



« Reply #1 on: September 14, 2008, 10:27:49 am »

CD/DVD drives are simply device-pointing files until something is actually put in the drive.  In other words, the drives themselves are unmounted until something is put in them and the tray closed.  At that point, a peice of software (vl-hot or HAL) checks the drive and "mounts" it to a specific place in the filesystem (/media or /mnt).  Also, an icon will show up on your desktop with the name of the CD/DVD.  It's certainly a different concept than windows, but (IMHO) it makes more sense.  How many times have you clicked on an empty CD/DVD drive in windows and got the 'Please put something in the CD/DVD drive' warning?  I would much prefer not having the drive listed unless there is actually something to look at - the way (most) linux distributions do it.

Wine is a different story, and one I'm not overly familiar with.  From the command line you should be able to type 'wine' and hit TAB to see what available tools are installed for wine.  My guess is that 'wine' ENTER will open the wine program, but (IIRC) you need to conifigure it first (wine-cfg, winecfg, wine-config, etc).  Hopefully someone who is more familiar with wine will help you out with more explicit instruction.

Cheers!
Logged
Tony_photoplus
Member
*
Posts: 9


« Reply #2 on: September 14, 2008, 10:34:44 am »

Thanks newtor, have put disk into the tray and nothing happens and can't configure how to put the Gimp icon onto the desktop.  So the vi-hot/hal doesn't seem to be working.  At a loss here as to what the next move is that will enable me to enable all the right programs and devices.

Also Autologin isn't working.  Keep getting the desktop without the bottom taskbar so I exit and then login.  Do keep setting to auto but not working

Tony
« Last Edit: September 14, 2008, 10:36:43 am by Tony_photoplus » Logged
newt
Vectorian
****
Posts: 1132



« Reply #3 on: September 14, 2008, 11:31:42 am »

I now realize I don't know which version of VL you're running.  5.9?  Light, Standard, or SOHO?  Did you use the Live version to install?

Unfortunately, I've never tried the autologin feature so I probably won't be much help there.

The CD/dvd drive issue is strange.  Do you recall which selection you chose during install to use?  It would have offered VL hot or HAL - this option may be found in VASMCC, Services, Services, select you boot level (GUI desktop is default), and look for a HAL or VL Hot option.  This is just a shot in the dark.  First, knowing what version of VL you're running will help to determine the possible problems.
Logged
Tony_photoplus
Member
*
Posts: 9


« Reply #4 on: September 14, 2008, 11:44:08 am »

It is the latest version of Vector light.  I only downloaded it the other day so it has to be the latest.  I have tried not using the auto login, but that is when it comes up as described before.  Well it does it on both occasions really.  So will try your thing in the CD tray later when I have the comp fired up.

Thanks

Tony
Logged
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #5 on: September 14, 2008, 11:53:19 am »

Have it all installed and up and running, to a point that is.  I have downloaded Wine package, it told me it was successful and that is not showing in the menu and I have not the foggiest idea where it is on the file system, come to think of it I have no idea where the programs are either.  So that's one issue.  The second issue is that I cannot see my CD/DVD drives.  So are they all derivative of the same problem?  If I can get Wine going then I can load the other program I need to finish off this computer for the village photographic club.

Did you install Wine with Gslapt or slapt-get? In other words, did you use VectorLinux tools for the installation?

If you did, you can check in /var/log/packages to see if wine is listed and where its components were installed. You can also do a which command. At the terminal prompt, type
which wine
and it should tell you where the executable is. And you can also do what newtor suggested: at a prompt type
wine
and hit the tab key. You should get a list of programs that begin with "wine."

That's just to make sure Wine is on your system. Assuming it is and that you installed with Gslapt or slapt-get, you now need to get Wine going. You should always do Wine things as user, never as root.

If you want to install a Windows program from a CD, you can either copy all the contents to your hard drive and install from there or install directly from the CD. To mount a CD, insert the CD in the CD-ROM drive and at a terminal prompt type
mount /mnt/cdrom

If you don't get an error message, you should be able to do
ls /mnt/cdrom
and get a list of files on the CD. (That's an "ell," not an "i".)

If you get the file list, you should see a file like INSTALL.EXE or SETUP.EXE. Switch to the CD-ROM directory like this:
cd /mnt/cdrom
and then start Wine so you can attempt to install the program. Type this at the terminal prompt:
wine INSTALL.EXE

or wine SETUP.EXE
or wine install.exe
or wine followed by whatever the installation file is called. Remember, Linux is case-sensitive, so if the file is listed in uppercase or lowercase, you need to use the same case after wine. The wine command is always lowercase, however.

At this time you may get to the same installation screen you would have in Windows and you go through it just as you do in Windows.

When you first run Wine, a /.wine directory will be created in your home directory. Note it is a hidden directory, so you have to enable hidden directory display in your file manager. If you look in this hidden directory, you will see what looks like Drive C on a Windows computer. It is located at /.wine/drive_c and your installed program should be in /Program Files or somewhere else on the fake Drive C. To start the program, change to the directory where the executable lives and type something like this at a terminal prompt:
wine "c:\\Program Files\\IrfanView\\i_view32.exe"
or
wine /home/yourusername/.wine/drive_c/AHEDW/AHD4.EXE

These are just examples. You have to substitute the paths to your installed applications. With luck, your program will start and run decently. You can then create a shortcut so you don't have to go through all those steps again. It's always a good idea to start a newly installed application from a terminal prompt the first time. If something is amiss, you'll get error messages that will help you troubleshoot any problems.

If you want your CD-ROM drive to be available under Wine (it'll appear under the /.wine/dosdevices directory), you do that through winecfg. Just type
winecfg
at a terminal prompt and the Wine configuration program will start up. Click on the Drives tab, then Browse, and select the /mnt/cdrom folder in the folder list.

You *need* some basic information about how to do things in Wine and what to do when something doesn't work. I suggest going to http://wiki.winehq.org/FAQ and reading through the questions. This is the easy way to find an answer for a specific topic. The best starting point for Wine information is here:
http://wiki.winehq.org/FrontPage

Notice there is a link to a database of applications that have been run successfully or unsuccessfully under Wine. You may find how whatever you want to install works under Wine.

Which brings me to the last thing. Do NOT assume that every, or any, Windows application will run under Wine. Some work flawlessly, some mostly work, some have problems but are usable, some are hopeless, some won't install at all. You won't know until you try. Sometimes troubleshooting reveals what the problem is and there are also things you can fiddle with through winecfg. You may be lucky and have your applications working well. Or you may have total failure. Let us know if what you want to install actually works as it may help someone else who wants to install the same thing.
--GrannyGeek
« Last Edit: September 15, 2008, 12:41:37 pm by GrannyGeek » Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
Tony_photoplus
Member
*
Posts: 9


« Reply #6 on: September 15, 2008, 10:34:39 am »

Thanks so much for all that info I shall have to delve deep into what you have said and sort it out.  But not this week it will now have to be next week I think (but you never know your luck I may get time of for good behavior).  I will let you know if successful.

Tony
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!