+6

Improve usability under Windows Subsystem for Linux with GUI (WSLg)

Marc Strapetz 2 years ago updated by Benny Neugebauer 2 months ago 3

WSLg can be used to run SmartGit in Linux environment while using Windows as main development OS.

We have tried it briefly and SmartGit seems to mostly work file in WSLg.

Out findings are summarized here:

https://docs.syntevo.com/SmartGit/HowTos/Running-on-WSLg.html

There are a few nuisances, such as SmartGit updates failing, which can be improved.

The current plan is to spend a couple days in the next couple months to try to fix nuisances.

However, if this proves to be complicated, we'll get back to more popular feature requests, unless this topic gains more votes.

If you're interested in using WSLg with SmartGit, please describe your use cases and any problems you encountered.

Note: this topic is about running SmartGit from within WSLg. If you want to access repositories on WSL from Windows, vote for topic 1409.

I love the fact that Smart Git is compatible with WSLg. It's a significant differentiator compared to other Git tools!

I've observed that when using a 5K2K screen (5120x2160px) with 175% DPI Scaling on Windows 11, the UI of SmartGit appears extremely small. It seems that my Windows scaling option is not being applied to the Linux UI (I am using SmartGit with GTK_THEME=Adwaita).

I tinkered with "-Dswt.autoScale=100" in "~/.config/smartgit/smartgit.vmoptions," but no luck.

I also encounter numerous "gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar" warnings in the console while navigating within the SmartGit user interface using my mouse. Is there any additional information I can provide to address this issue?

Yes, that's where I found the hint with "-Dswt.autoScale=100". I am running SmartGit 23.1.1.