WINE and Slackware64. Programs Only Run in a Terminal.
Once again, I would like to say a word of Thanks to Mr. Volkerding, Alien BOB, and the entire Slackware team for a job very well done on Slackware64. :hattip:
Alien BOB's work on Slackware64, his "True Multilib"* files, and his latest creation, a 64 bit package of WINE, is truly outstanding and way beyond "the call of duty." *You should copyright that Alien BOB and/or make it a registered trademark. :) I did a search of the last month's posts and didn't see anything about this problem (in the Slackware forum). After installing Slackware64 and the "True Multilib" files, I installed the same version of WINE that worked so well with Slackware 12.2. Unfortunately, I found that while a windows application would run if it was fired it up from the prompt in a terminal (Konsole), it would not work, using the same command, as an item from the menu. Thinking perhaps a new version was in order I looked around and found Alien BOB's recent 64 bit package of WINE. BTW, it runs better than any previous version of WINE I've used. Thanks, again. However, the above outlined problem remains. Anyone know a fix? Many Thanks. :) |
Hi!
I thought I could run my Wine-installed programs from their installed menus in Slackware64, but now I am not so sure.. I'll have to wait until I can boot into 64bit to test that (I only have one 64bit computer and that is compiling VLC in 32bit now.) Eric |
I have quicken starting from the menu here, however the menu item is one I created not one added by wine. I can start from menu, panel, command line or clicking on an icon. This works in both KDE and XFCE on Slackware64-13.0 (multi-lib) with a stock kernel and wine-1.1.24-x86_64-1_SBo.
samac |
Quote:
If I enter this command at the prompt in a console, wine /home/nai/.wine/drive_c/ahdw/ahd3.exe the program will run. However, if I put that same command in a command line box using the KDE Menu Editor, the program won't run. I've been trying different options, but no success as of the moment. BTW, the above command line worked perfectly with WINE in Slackware 12.2. Thanks. |
wine '/home/nai/.wine/drive_c/ahdw/ahd3.exe'
samac |
Quote:
:( |
Now What?
Well, this morning when I ran,
/home/nai/.wine/drive_c/ahdw/ahd3.exe in a konsole it returned the error: wine: cannot find '/home/hai/.wine/drive_c/ahdw/ahd3.exe' It is there, I checked, and the permissions are correct, i.e., they are set for my user name and the group, "users." Just for chuckles I deleted the /drive_c/ahdw directory and re-installed the program from scratch via WINE. Didn't change a thing, still the same problem. So, I then copied the ahdw directory to my home directory and ran, wine /home/hai/ahdw/ahd3.exe in a konsole and it did work. However, it still won't work if ran from a menu entry using the KDE Menu Editor. It is probably something simple, but none of the tweaks I've tried so far have worked. I've been running this same old windows program, "The American Heritage Talking Dictionary" for years under wine and have always been able to make it work, i.e., until now, for whatever reasons. I've never been able to get the audio to work, but I'm happy just to have the dictionary and thesaurus at my fingertips. Anymore suggestions on how to make this work from the menu would be greatly appreciated. Many Thanks. :hattip: |
A couple of thoughts which probably have already been done. Is this a newly compiled wine or one that you had lying about? Have you tried wincfg?
samac |
try doing what samac said, except use double quotes, not single
tobyl |
Quote:
|
Quote:
|
Curious. I have 64 bit current with multilib and just installed alien's wine package. It worked for me with double quotes for the path (although i used the notepad.exe)
tobyl |
wine /home/username/.wine/drive_c/ahdw/ahd3.exe
wine /home/username/ahdw/ahd3.exe Just FYI, neither of the above worked from a menu with KDE, but the second of the two, wine /home/username/ahdw/ahd3.exe does work as a menu item with Xfce. As with KDE the first one only works within a console. |
This might be super obvious, but did you try giving the full path to wine in the menu command?
1) Please post the menu command you're using. 2) In the menu editor advanced tab, select run in terminal. Hopefully you'll get some output if things aren't working OK. |
Quote:
Quote:
|
In your above posts you never tried giving the full path in the menu: /usr/bin/wine /home/nai/.wine/drive_c/ahdw/ahd3.exe
Also try wine C:\ahdw\ahd3.exe or wine "C:\ahdw\ahd3.exe" (if that's where you installed the program in your wine environment). |
Thanks for all your suggestions, they are appreciated, but the results are the same with or without the /usr/bin/.
|
Damn. That's wacked. This is a stretch, but do you have multiple wine executables and maybe one of them doesn't have the execute privilege?
I also have gotten wine to work with custom KDE menu items, although I used the 32-bit version and pulled the latest wine version. |
Whatever directory you're in when you run wine from the terminal, set that as your "work path" in the KDE menu editor. See if that works.
|
Sorry, no Joy.
It works in Slackware 12.2, with KDE 3.5.10. It works in Slackware64-13, with Xfce. It does NOT work in Slackware64-13, with KDE 4.2.4, and wine-1.1.17-i486-1_rlw.tgz or wine-1.1.29-x86_64-1alien.tgz. |
Update.
The problem remains with KDE 4.3.1. OTOH, all the other problems I was having with 4.2.4 seem to have been resolved with 4.3.1. |
I know this shouldn't matter, but are you using an icon with your menu item? If not, could you try it?
Just yesterday I installed the latest wine 1.1.30 and created a menu item for a game I play. This is with stock KDE 4.2 in Slackware. |
The Solution.
Eureka!
Finally solved it. I have ms-office running in WINE (all but the sound). Don't use it, but like to show people that it is possible. I took a look at the way WINE set up the menu entries and wrote it down. Then I had WINE install The American Heritage Dictionary to wherever it preferred and wrote down the location. WINE did not, for whatever reason, make a menu entry for the program. I opened the menu editor and put this on the command line: env WINEPREFIX="/home/username/.wine" wine "C:\AHDW\AHD3.EXE" Bingo. It fired right up. Now, if I could get sound to work in WINE... :) |
Wine doesn't create menu items for most of the programs that I install--I just create the menu items myself. For your sound issues, run winecfg once and select Alsa as your default audio driver. That should be all there is to it.
|
Quote:
|
All times are GMT -5. The time now is 02:16 AM. |