Skip to content

feat: wl-clipboard-wsl - #970

Closed
karaolidis wants to merge 1 commit into
nix-community:mainfrom
karaolidis:wl-clipboard-wsl
Closed

feat: wl-clipboard-wsl#970
karaolidis wants to merge 1 commit into
nix-community:mainfrom
karaolidis:wl-clipboard-wsl

Conversation

@karaolidis

Copy link
Copy Markdown
Contributor

Resolves #700.

@karaolidis
karaolidis force-pushed the wl-clipboard-wsl branch 2 times, most recently from 7fba9c9 to 705635a Compare February 1, 2026 12:54
@SymphonySimper

Copy link
Copy Markdown

Hello! could you replace powershell.exe and clip.exe with their absolute paths? The current implementation won't work if wsl.wslConf.interop.appendWindowsPath is set to false. I have personally disabled this in my machine, as it slows down the PATH lookups.

  • powershell.exe -> /mnt/c/windows/system32/windowspowershell/v1.0/powershell.exe
  • clip.exe -> /mnt/c/windows/system32/clip.exe

Comment thread packages/wl-clipboard-wsl/default.nix Outdated
@karaolidis
karaolidis force-pushed the wl-clipboard-wsl branch 2 times, most recently from e0199b4 to 2405942 Compare March 6, 2026 05:26
Comment thread packages/wl-clipboard-wsl/default.nix Outdated
@karaolidis
karaolidis force-pushed the wl-clipboard-wsl branch 3 times, most recently from f1fa693 to cb5c74f Compare March 30, 2026 10:11
Comment thread packages/wl-clipboard-wsl/default.nix Outdated
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
@mdaniels5757 mdaniels5757 added the enhancement New feature or request label Jun 5, 2026
@nzbr

nzbr commented Jun 10, 2026

Copy link
Copy Markdown
Member

I just tested on my machine and the regular wl-clipboard utilities do seem to just work, so I don't really see why a custom solution would be neccessary

@karaolidis

Copy link
Copy Markdown
Contributor Author

I just tested it as well and it surprisingly did work. It wasn't this way when I first opened the PR, but I guess there's been updates to WSL since then to improve clipboard sharing? In any case, I suppose this PR is no longer necessary.

@karaolidis karaolidis closed this Jun 11, 2026
@inschrift-spruch-raum

Copy link
Copy Markdown
Contributor

Do we need to close the original issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows compatible wl-copy

6 participants