Skip to content

Show X410 and VcXsrv options directly in pengwin-setup GUI menu#440

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/add-x410-option-to-gui
Draft

Show X410 and VcXsrv options directly in pengwin-setup GUI menu#440
Copilot wants to merge 3 commits intomasterfrom
copilot/add-x410-option-to-gui

Conversation

Copy link
Contributor

Copilot AI commented Nov 11, 2025

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 X410 to GUI X410 to 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.

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>image

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>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@crramirez
Copy link
Collaborator

@copilot try again

Copilot AI and others added 2 commits November 12, 2025 19:59
Co-authored-by: crramirez <8397379+crramirez@users.noreply.github.com>
Co-authored-by: crramirez <8397379+crramirez@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 12, 2025

@copilot try again

Done! X410 and VcXsrv options are now directly visible in the GUI menu, regardless of WSLg state.

The updated menu now shows:

┌──────────────────────────────── GUI Menu ────────────────────────────────┐
│ Install an X server or various other GUI applications                    │
│ [SPACE to select, ENTER to confirm]:                                     │
│                                                                           │
│ [ ] WSLG       Force disable WSLg just for Pengwin                       │
│ [ ] X410       Configure X410 to start on Pengwin launch or view link    │
│ [ ] VCXSRV     Install the VcXsrv open source X-server                   │
│ [ ] DESKTOP    Install Desktop environments                              │
│ [ ] GUILIB     Install a base set of libraries for GUI applications      │
│ [ ] HIDPI      Configure Qt and GTK for HiDPI displays                   │
│ [ ] NLI        Install fcitx or iBus for improved non-Latin input        │
│ [ ] SYNAPTIC   Install the Synaptic package manager                      │
│ [ ] TERMINAL   Install Terminals on Windows or WSL for using WSL         │
│ [ ] WINTHEME   Install a Windows 10 theme along with LXAppearance...     │
│                                                                           │
│              <Ok>                          <Cancel>                       │
└───────────────────────────────────────────────────────────────────────────┘

Changes in commits:

  • e2287c5: Updated tests and completions
  • 0e403ca: Main implementation showing X410/VcXsrv directly in menu

Copilot AI changed the title [WIP] Add X410 option to pengwin-setup GUI menu Show X410 and VcXsrv options directly in pengwin-setup GUI menu Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

X410 missing from pengwin-setup GUI menu

2 participants