-
|
To start with a praise: I have tested this Netbrain-Zwift tool in docker for about 20 hours now. Approx. once per hour I have a short hang of about 1s, but no crashes so far. That is more stable than it was in Windows! Now my issue: I have set cursor size in Ubuntu (24.04.3 LTS) to 48 - better for my old eyes. But in Zwift the cursor size is very small. This is true for both full screen and window mode. Thanks so far for this tool! |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 26 replies
-
|
I actually have a similar issue on my zwift setup. I use a 55" tv with 4k resolution, so I have display scaling set to actually be able to see something. Wine doesn't seem to respect the display scaling out of the box. So I also have a tiny zwift cursor, luckily I have a zwift ride and use the controllers to navigate the ui, so the tiny cursor is not really an issue for me. As for configuring zwift. The graphics configuration options are for zwift itself, they don't have anything to do with cursor size or wine. The environment variables in the config file are not passed through to the container, if you want to do that, you can use It may be possible to change the DPI in wine or configure display scaling #82. I don't know if anyone tried to get that to work yet. I haven't looked further into it myself since I don't want to get worse graphics just to get a larger cursor. Long story short, there's no easy way to get a larger cursor in wine as far as I know. Of course I'm happy to be proved wrong. |
Beta Was this translation helpful? Give feedback.
-
|
No, that doesn't work for me, too. Would've been too easy. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, there is file user.reg in directory .wine where there is a parameter CursorSize (in format dword). In general: Configuration files in host systems should be translated to configuration files in containers, independent of the operation systems involved. Ok, now I'm dreaming about extensions where we would need AI I guess. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I'll try that tomorrow. |
Beta Was this translation helpful? Give feedback.
-
|
So, one step further now, but now I realize that there are central things which I do not completely understand. So: To change this value in the registry works, but I do not really understand the whole structure of Netbrain-Zwift so far. EDIT: When I do "su user" before, the right registry file /home/user/.wine/user.reg is changed. Another step! |
Beta Was this translation helpful? Give feedback.
-
|
Ok, ok: update_zwift.sh and the most other scripts which I missed are inside the container. Knot in my brain now but I got it. But how do I change a script which only exists "virtually" on my PC? |
Beta Was this translation helpful? Give feedback.
-
|
Yes, only one way to find out. "Check out the repo" and only run a certain script sounds easy, but when I look into the documentation I see "fork and pull model", "shared repository model", "pull request", "branch", "nix", "flakes", "visual studio" etc. and the more I read the more I get confused where to start. I have developed software in big projects in C, Java and others on many different OS which partially run since decades in whole my country (Germany) and parts of Europe, my first computer in 1979 had 1K of memory, no monitor and was in a self built wooden box, etc., so I'm not a beginner, but in this context I'm really confused where to start. Do I need Nix or whatever before I can start? Already the first step in "Getting started" namely "fork the repository" confuses me because I do not want to fork the whole project. |
Beta Was this translation helpful? Give feedback.
-
|
First try done:
How would I start a bash in this new container to control that the registry entry is added? The name is still the same of course (zwift-<USER-ID>). |
Beta Was this translation helpful? Give feedback.
-
|
So at the moment I use my local version which shows a big cursor. When I look at this issue it looks like I should not immediately update because it would probably crash? |
Beta Was this translation helpful? Give feedback.
-
|
Closed for now |
Beta Was this translation helpful? Give feedback.

Thanks, I have done that and after the update it doesn't crash. At least it starts normally and the cursor is still big. For now I stay with size 120. 😄
I have checked that "my" registry parameter CursorBaseSize is NOT set when XCURSOR_SIZE is used. But the Windows Registry is younger than graphical environment, so there will be more than one method to control cursor size.
I should read some Docker documentation to really understand how this works and why not only Wine is used to start Zwift on Linux but Wine inside of a (Docker or Podman) container. Maybe it is really necessary or maybe it is "only" easier to configure?