[SOLVED] Help making a launcher for a wine executable.
antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
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.
Maybe that's preferable to putting the folder on the Desktop.
Explanation: I had similar (not the same though) problems with Windows games under Wine, I think it has to do with the environment, wineconsole seems to be creating a special WINE environment before it runs the command.
I'm sure the same could be achieved in other ways if one knew the ins and outs of WINE.
You need to check if that path (/home/user1/.wine/drive_c/Program\ Files\ \(x86\)/helherron-2-1055-win-x86/Helherron.exe) is valid, points to the real Helherron.exe.
\ is required before space and ( ), because they are special characters. Your solution (to put it into /home/user1/.wine/drive_c/Helherron) is probably better.
\ is required before space and ( ), because they are special characters. Your solution (to put it into /home/user1/.wine/drive_c/Helherron) is probably better.
or perhaps use the "" ? = put the line
Exec=wineconsole "/home/user1/.wine/drive_c/Program Files (x86)/helherron-2-1055-win-x86/Helherron.exe"
or perhaps the whole link before wineconsole must be used? /usr/bin/wineconsole (I am not in the front of my own linux PC to test; its why its written as suggestion)
see https://linux.die.net/man/1/wine https://linux.die.net/man/1/wineconsole
Last edited by floppy_stuttgart; 01-28-2022 at 10:18 AM.
My path is correct ondoho: wineconsole ~/.wine/drive_c/Helherron/Helherron.exe. When launchin from terminal, it works fine. But in the launcher, got this wineconsole error and invalid command.
Here's the stuff: https://imgur.com/uK0iaUk.png. 'wineconsole ~/.wine/drive_c/Helherron/Helherron.exe' in the command of the launcher. Your replaced floppy and ondoho gives that error: https://imgur.com/eEuQqCq.png. Exec=bash /home/syl/.wine/drive_c/Helherron/Helherron.exe.sh in command...
extremely hard to follow what's going on. So I would suggest you to try to understand what those commands and arguments mean and also try to interpret error messages.
For example (in your attached picture) failed to execute Exec=bash probably means you tried to execute "Exec=bash" which is definitely wrong. But I have no idea where is this error message coming from. You need to know what did you modify and how.
~ means your home directory, better to replace /home/<username>, sometimes helps.
Also I have no idea about that floppy thing.
Erh, floopy is floppy_stuttgart. Then, tried again to put your version ondoho, with my path(Exec=sh -c "wineconsole ~/.wine/drive_c/Helherron/Helherron.exe"), in command of launcher, but that just gives this "Exec=bash" error message...
'wineconsole ~/.wine/drive_c/Helherron/Helherron.exe' works fine from a terminal. Just how should i configure the launcher corespondin?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.