Make an .exe autostart after opening it with wine.
Linux - GeneralThis 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
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.