{"id":20368300,"url":"https://github.com/depau/wsl-startup","last_synced_at":"2025-07-04T12:34:10.011Z","repository":{"id":72603529,"uuid":"245242823","full_name":"depau/wsl-startup","owner":"depau","description":"Scripts to set up a \"normal\" GNU/Linux GUI environment on WSL","archived":false,"fork":false,"pushed_at":"2021-05-01T21:07:40.000Z","size":20,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T05:37:37.537Z","etag":null,"topics":["archlinux","wsl","wsl1","wsl2"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-05T18:49:57.000Z","updated_at":"2025-02-21T15:52:20.000Z","dependencies_parsed_at":"2023-05-24T15:45:23.073Z","dependency_job_id":null,"html_url":"https://github.com/depau/wsl-startup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/depau/wsl-startup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Fwsl-startup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Fwsl-startup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Fwsl-startup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Fwsl-startup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depau","download_url":"https://codeload.github.com/depau/wsl-startup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Fwsl-startup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263542603,"owners_count":23477455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","wsl","wsl1","wsl2"],"created_at":"2024-11-15T00:40:10.310Z","updated_at":"2025-07-04T12:34:10.005Z","avatar_url":"https://github.com/depau.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSL startup scripts\n\nScripts to get a standard GNU/Linux environment on WSL (WSL1 and WSL2).\n\nRead more on my blog: https://blog.depau.eu/2020/03/05/installing-arch-wsl-manually/\n\n## Usage\n\n- Copy `.wsl_startup` to your home\n- Copy `wsl-startup` somewhere in your path\n- In `.wsl_startup/enabled`, create symlinks to all scripts you need in `../available`\n- Add `source ~/.session_env` to your `~/.bashrc`\n\nMake sure `wsl-startup` is run by at every login, so all programs\nare started correctly (such as GNOME keyring and its SSH agent).\n\nTo do that you can add a shortcut like so:\n\n1. Copy the `NoConsole.vbs` script to your Windows C: drive.\n2. Open Explorer to `%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup`.\n3. Right-click an empty space, \"New\" → \"Shortcut\".\n4. Set the location to the `NoConsole.vbs` script you just copied, and set the name\n   to whatever you want\n5. Right-click the newly created shortcut, open Properties\n6. In the \"Target\" field, at the end add:\n   ```\n   [SPACE] wsl -- /linux/path/to/wsl-startup\n   ```\n\nThe `NoConsole.vbs` script will let you run `wsl-startup` without showing a command\nprompt window.\n\n## Xorg on WSL2\n\nVcxsrv needs additional configuration on WSL2, check my blogpost for instructions.\n\nOn WSL1 you should enable `40_xorg_setup`, on WSL2 you should use `40_xorg_setup_wsl2`\ninstead.\n\n## License\n\nGNU GPLv3.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepau%2Fwsl-startup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepau%2Fwsl-startup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepau%2Fwsl-startup/lists"}