Hello drcicero, you might want to check out my fork where I applied my modified version of your patch and the primary monitor stuff I found on a git repo. I also spent a couple of days updating the code, now I think it might be easy to support gtk4 while still supporting gtk3 and gtk2 check out my fork and help me test: https://github.com/wdlkmpx/lxrandr/commits/master
Shouldn't this be marked as closed-fixed?
lxrandr: Center dialog...
lxrandr: Wait 2 seconds before showing confirmation dialog
lxrandr: fix 'GLib-CRITICAL **: Source ID XX was not found whenattempting to remove it'
Sorting modes by aspect ratio does not work properly, the "resolution" combobox displays a wrong item as the default one, i decided to remove that part, i attach a new version of the patch...
This is really a nice patch... should be merged ASAP. I fixed a couple of issues i found: I changed this line: g_ptr_array_add( strv, g_strdup_printf("%s (%ld:%ld)", str, width, height) ); To g_ptr_array_add( strv, g_strdup_printf("%s (%lld:%lld)", str, width, height) ); And this line: *first_space = NULL; to *first_space = 0;