Wine Windows Emulation Trouble
I'm trying to associate all .exe files with Wine, so I followed the following tutorial: http://tinyurl.com/325grl
I added binfmt_misc to /etc/rc.d/rc.modules and also added the following mount line to /etc/fstab: Code:
none /proc/sys/fs/binfmt_misc binfmt_misc 0 0 Code:
echo ':windows:M::MZ::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register Code:
root@alkos333:~# echo -n ':windows:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register Code:
me@alkos333:~$ for file in $(grep 'echo' /etc/rc.d/rc.local | cut -d '>' -f 2); Code:
-rw-r--r-- 1 root root 0 2007-07-02 21:22 /proc/acpi/ibm/hotkey |
Quote:
|
Quote:
|
Yeah, I'm running 2.6.20. What do you mean by reboot and run *.exe files? If I try to execute *.exe in bash, it tries to execute them as shell scripts and I need it to use wine to execute the files.
|
FWIW, why not make up your wine style command lines
then in your ~/.bashrc just make a bunch of aliases each (short) alias launches a longer wine style startup This is Linux. Rather than to make Linux adopt to like DOS (where, in DOS, app.exe launches the app) -- Alan. |
Quote:
I'd love to do some investigation myself, but my Linux box currently has Ubuntu on it so I can't. And to answer acumming's question, one advantage of doing this is that it works in a graphical run dialog box as well as from the console. You'd be able to press ALT-F2 and type "minesweeper.exe" instead of "wine minesweeper.exe", which saves some work. |
Quote:
|
Quote:
Now I'm wondering if alias can work in a .desktop (or launcher) file. I can't recall if I've tried this or not. -- Alan. |
Thanks, Road Map. As soon as I find time time to install Slackware 12 and verify this myself, I'll remove the obsolete information from my guide.
I would like some clarification, though, on the purpose of the two echo statements in the rc.local file in your screenshot. If I understand you correctly, you seemed to be saying that they weren't needed. |
Quote:
Quote:
I tested today these informations in Slackware 12.0 (kernel 2.6.21.5-nosmp) with wine-0.9.40-i486-1kjz.tgz. It works. |
Note to Dugan
Hi Dugan,
I was flicking through new threads and I discovered your post, with the video-editing link. I'm looking for decent video editing software in Linux and I wonder if you'd be prepared to follow through if I posted a new thread (I know video-editing doesn't belong in this one and I apologise to everyone for butting in). I've recently moved over to Linux, using ubuntu, and I've found replacements for most of my Windows software. Statistics is a big thing for me and after a long thread with a lot of helpful posters I've found software I'm comfortable with. This is a Slackware forum, so I'm well outta place, but I'll post a new thread on the software forum and hope to catch you there. Best wishes, eoinrua |
Quote:
So what you are saying is that as long as I run those echo statements by executing rc.local, I will be fine and can run *.exe files from anywhere on the system, not just ~/.wine/drive_c ? |
Quote:
|
All times are GMT -5. The time now is 09:24 AM. |