LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2017, 09:16 AM   #1
Nartini
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Rep: Reputation: Disabled
Make an .exe autostart after opening it with wine.


First of all, hello everyone.

I'm currently testing a point of sale software on linux, its web based so it works, but for printing I need and extra software, an .exe.

For this to work correctly I would need that exe to start automatically with linux, i had no problems setting it to start with linux, but when you open it you need to press start.

The program as an option to start with windows, but with wine that does not work.

What i would like to know is if there's any way to press that start button automatically, or something like that, when the program starts.

Sorry if my explanation was confusing,

Thanks for the help in advanced.
 
Old 03-09-2017, 09:39 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Eltron Thermal printer?
 
Old 03-09-2017, 10:08 AM   #3
Nartini
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Printer model isn't the problem, even generic printers work, what i'm looking for is a way to make the program that runs trough wine start automatically.

The attached file shows the three options available at the start of the program: configuration, start and exit.

It's in Portuguese, I need that start to be pressed automatically, so the app starts really running, if there's a way of course.


Thanks in advanced.
Attached Thumbnails
Click image for larger version

Name:	Capture1.JPG
Views:	18
Size:	10.2 KB
ID:	24436  
 
Old 03-09-2017, 01:35 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Is it a GUI application, or is that just a GUI prompt for an otherwise headless program? If it's just a prompt, you can give it a virtual frame buffer to use for its GUI prompt, and then simulate a mouse click in the VFB with xdotool or similar.
 
Old 03-09-2017, 02:13 PM   #5
Nartini
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Honestly idk, when the program is working, by pressing start, it runs in the background, now about that xdotool i've heard of that and i'm tempted of trying, but i have no idea what's vfb, my knowledge of linux is a little limited, i'm still learning, but i'll search for that.
 
Old 03-09-2017, 07:19 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
maybe the file.exe has an /h option?

Code:
/path/to/printer_thingie.exe /h <enter>
It may be documented in the exe itself.
 
  


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
Opening exe Zekis Linux - Server 4 06-04-2011 04:45 PM
Opening a .exe file with Wine? KaylaJo96 Linux - Newbie 7 01-22-2009 01:48 PM
SETUP.EXE/autorun.exe don't run in wine mst3kman Linux - Games 3 01-22-2006 02:20 PM
Opening .exe files oldtrout Linux - Newbie 4 03-27-2005 05:46 PM
opening a .exe in linux psyklops Linux - General 6 10-21-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 AM.

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