I would like to know if I could connect to a wine desktop interface, like I do for Cinnamon, KDE or else. I've noticed that wine doesn't use the x-server, but the wine application to load window frames.
What does it really take to run an x-server session with wine as desktop interface or window manager?
It would be interesting to me, to know the minimal desktop requirements to run a full wine desktop on top of a Ubuntu 22.04 server optimized only for wine gaming.
I've been on the cage its man page on the advice of @Savchenko Dmitriy, in order to understand its working.
It seems it launches one base application. What would obviously be only a wine environment. That's a nice way to put it, but I didn't think pure wine would work this way. I think it will not work based on what I’ve read on winehq's website (I do not have stored the page link). It says pure wine would have no point, because it’s the possibility of deleting the entire configuration and creating another easily that is more convenient for its purpose.
Therefore it should remain à linux interface with a gnome menu and taskbar, but the desktop and file browser should be wine. That's more what I'm looking to do.
I would use TTY1 for my wine instance in 32bit and TTY2 for 64 only to run wine tasks, but by remaining on the same linux user account.
My interest of doing this would be for me to be able to:
- Force to kill processes by switching to the tty0 if needed.
It happens that a stuck game in fullscreen makes the mouse pointer unavailable and no tab goes through the "start"-menu. I made a keyboard shortcut to open the process manager, but it remains in the background or doesn't open in some cases. The only thing that did work was by accessing TTY0, login in and using the reboot. (I'm used to GUI, there might be commands to control the TTY7, default GUI session from there).
Without the need to restart, I would be able to force closing the stucked app or manage processes and edit configurations from my default Cinnamon desktop and installed GUI tools.
The restart of wineboot would occur every logoff and logon.
I'm still searching for how. I think I should search how a linux desktop session is made (on Ubuntu in my case) to find a way to do it.
This winehq article is about the same question, but the answer doesn't contain the solution. Only the great lines on how to do it. I'll try it as soon I've time to do so.
Here you'll find a screenshot of wine running in 1920x1020 so I see the taskbar.
- I can't get rid of the wine title bar.
- In full screen I need to know how to run the Cinnamon taskbar on top.
I might be able to run it as an X-App but I've found little information about it. It will probably be more complicated.
My next step is see how to create a CustomXSession running wineboot over a clear Cinnamon desktop environment with wine explorer as default file browser.
I can also see that all folders opened in wine, have a glass of wine as icon in the Cinnamon taskbar. There it should show the wine explorer icon instead.