Show X410 and VcXsrv options directly in pengwin-setup GUI menu
This PR makes X410 and VcXsrv X server options directly visible in the pengwin-setup GUI menu, addressing the usability issue where users had to first disable WSLg before these options would appear.
<issue_title>X410 missing from pengwin-setup GUI menu</issue_title>
<issue_description>
Is this intentional? If so how should I configure X410 now?</issue_description>
<agent_instructions>show wslg, x410, vcxsrv options in pengwin-setup, regardless the wslg state, just hide wslg option if wsl1 or it is not available ($WSL2_GUI_APPS_ENABLED undefined)</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@crramirez Yes it is.Choose the first option to disable wslg. Then the option for configuring XServer will appear. Looks like it is not as usable as I thought.
Regards </comment_new>
Changes Made
-
Modified
pengwin-setup.d/gui.sh: X410 and VcXsrv options now appear directly in the main GUI menu instead of being hidden behind a CONFIGURE submenu - Updated menu logic: WSLG option only displays when WSL2 with WSLg support is available (WSL2 == WSLG)
- Removed CONFIGURE submenu approach: Users no longer need to disable WSLg first to access X server options
- Updated bash completions: Added X410 and VCXSRV to the GUI menu completion options
-
Updated tests: Changed test path from
GUI CONFIGURE X410toGUI X410to reflect the new direct menu access
Menu Behavior
- WSL2 with WSLg: Shows WSLG, X410, and VcXsrv options
- WSL2 without WSLg: Shows only X410 and VcXsrv options
- WSL1: Shows only X410 and VcXsrv options
All three options (WSLG, X410, VcXsrv) are now shown regardless of WSLg state, with WSLG hidden only on WSL1 or when WSLg is not available, making X server configuration much more discoverable and user-friendly.
- Fixes WhitewaterFoundry/Pengwin#791
Original prompt
This section details on the original issue you should resolve
<issue_title>X410 missing from pengwin-setup GUI menu</issue_title> <issue_description>
Is this intentional? If so how should I configure X410 now?</issue_description>
<agent_instructions>show wslg, x410, vcxsrv options in pengwin-setup, regardless the wslg state, just hide wslg option if wsl1 or it is not available ($WSL2_GUI_APPS_ENABLED undefined)</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@crramirez Yes it is.Choose the first option to disable wslg. Then the option for configuring XServer will appear. Looks like it is not as usable as I thought.
Regards </comment_new>
- Fixes WhitewaterFoundry/Pengwin#791
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.