Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure where the Weston plugin looks for GUI apps (*.desktop files) #937

Open
mhlr opened this issue Dec 28, 2022 · 1 comment
Open
Labels
enhancement New feature or request fixinbound start-menu-integration Windows Start Menu integration

Comments

@mhlr
Copy link

mhlr commented Dec 28, 2022

Is your feature request related to a problem:

A number of tools have their own package ecosystem and may install *.desktop files in alternative locations =, eg conda, R, Guix, ... The Weston plugin only looks in /usr/share/applications and does not pick up apps from these locations. To have WSLg recognise these apps the deskop files must be copied to and kept up to date in /usr/share/applications.

Describe the solution you'd like:

A way (eg config file) to specify the list of directories searched for *.desktop files.

Describe alternatives you've considered:

  • manually syncing all directories to /usr/share/applications
  • a cron job in wsl to sync the directories
  • something OverlayFS/UnionFS/MergeFS to make /usr/share/applications look like a combination of all the desired directories

Additional context:

No response

@mhlr mhlr added the enhancement New feature or request label Dec 28, 2022
@mhlr mhlr changed the title Configure where the Weston pluging looks for GUI apps (*.deskptop files) Configure where the Weston pluging looks for GUI apps (*.desktop files) Dec 28, 2022
@mhlr mhlr changed the title Configure where the Weston pluging looks for GUI apps (*.desktop files) Configure where the Weston plugin looks for GUI apps (*.desktop files) Dec 28, 2022
@hideyukn88 hideyukn88 added the start-menu-integration Windows Start Menu integration label Jan 5, 2023
@hideyukn88
Copy link
Member

This is now supported by WSL version 1.1.2 (https://github.com/microsoft/WSL/releases/tag/1.1.2) by configuring .wslgconfig, like below, thanks!

C:\Users\[Your User Name]\.wslgconfig

[system-distro-env]
WESTON_RDPRAIL_SHELL_APP_LIST_PATH=/home/foo/.local/share/applications:/opt/another/path1:/opt/another/path2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixinbound start-menu-integration Windows Start Menu integration
Projects
None yet
Development

No branches or pull requests

2 participants