LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 01-24-2022, 11:31 PM   #31
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by Johyn View Post
Yes ondoho, that works with wineconsole
Great. I created a .desktop file that works:
Code:
[Desktop Entry]
Name=Helherron
Exec=wineconsole ~/.wine/drive_c/Program\ Files\ \(x86\)/helherron-2-1055-win-x86/Helherron.exe
Encoding=UTF-8
Value=1.0
Type=Application
Categories=Game;
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.

Last edited by ondoho; 01-24-2022 at 11:32 PM.
 
Old 01-25-2022, 07:12 PM   #32
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
Nops. Got from wineconsole 'starting program failed. The comand is invalid.'.
 
Old 01-26-2022, 12:50 AM   #33
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
so you may try
Code:
Exec=wineconsole /home/user1/.wine/drive_c/Program\ Files\ \(x86\)/helherron-2-1055-win-x86/Helherron.exe
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.
 
Old 01-26-2022, 09:19 AM   #34
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
Yes it's valid, though, look: wineconsole ~/.wine/drive_c/Helherron/Helherron.exe. No \. Is that important?
 
Old 01-26-2022, 09:39 AM   #35
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
\ 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.
 
Old 01-26-2022, 10:04 AM   #36
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
So doesn't come from the path... Where?
 
Old 01-28-2022, 10:14 AM   #37
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by pan64 View Post
\ 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.
 
Old 01-29-2022, 05:01 AM   #38
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Johyn View Post
Nops. Got from wineconsole 'starting program failed. The comand is invalid.'.
Adapt the Exec line to reflect the actual location of the file on your system, not mine.
 
Old 01-29-2022, 05:11 AM   #39
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-29-2022, 05:48 AM   #40
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Interesting. For me it works.
  1. what is logged to the wineconsole? Show us ALL of it.
  2. try replacing
    Code:
    Exec=wineconsole ~/.wine/drive_c/Program\ Files\ \(x86\)/helherron-2-1055-win-x86/Helherron.exe
    with
    Code:
    Exec=sh -c "wineconsole ~/.wine/drive_c/Program\ Files\ \(x86\)/helherron-2-1055-win-x86/Helherron.exe"
 
Old 01-29-2022, 07:18 AM   #41
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Both works for me (tested on gnome Debian 64bits)

Exec=bash /home/user/path_to_sh/xxx_appli.sh
.. or
Exec=/usr/bin/wineconsole "/home/user/.wine/drive_c/Program Files (x86)/path-to-exe-HHpp/yyyy.exe" &
 
Old 01-29-2022, 07:38 AM   #42
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
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...

Last edited by Johyn; 01-30-2022 at 08:10 AM.
 
Old 01-30-2022, 04:44 AM   #43
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Johyn View Post
Why screenshot when text is enough? Christ.

Anyhow, try my version.

Also I have no idea what floppy you're talking about.

Also please remove the oversized image from your ppost.
 
Old 01-30-2022, 05:24 AM   #44
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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.
 
Old 01-30-2022, 08:24 AM   #45
Johyn
Member
 
Registered: Dec 2019
Posts: 57

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] firefox launcher doesn't show icon on panel bar of slackware but launcher still there mshlinux Linux - Newbie 6 04-24-2013 10:56 PM
Launcher Problems! Why is there a line through my icons on my launcher? LinuxNoob12 Linux - Newbie 1 10-26-2012 01:37 AM
LXer: Move unity launcher to the bottom with Unity Bottom Launcher | PPA Ubuntu LXer Syndicated Linux News 0 12-19-2011 12:30 AM
Creating a launcher (could be java launcher) The_Messiah Linux - Newbie 12 04-06-2005 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration