-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Paste image from clipboard #577
Comments
Have you enabled the usage of system clipboard? To my knowledge obsidian.nvim is not able to access your system clipboard unless you specifically tell Neovim to use it. |
|
I'm going to have to test this later. Haven't used obsidian.nvim in a while, but can't update my system for now. Please remind me after friday if I do end up forgetting. Until I check, I'd suggest verifying if wl-clipboard properly handles images in other apps. |
Other apps work fine. I tried flake updating to see if that would do something, sadly to no avail. My config is a fork of https://github.com/LilleAila/nvf-config with some minor irrelevant modifications. LilleAila has had the same problem: LilleAila/nvf-config#2, but fixed itself for him randomly. For me however, the error persists when doing |
Description
When using obsidian.nvim's
:ObsidianPasteImage
command it says "No image data in clipboard". It works with the same clipboard with nixvim config.👟 Reproduction steps
:ObsidianPasteImage
withvim.useSystemClipboard = true;
👀 Expected behavior
The image gets pasted with obsidan.nvim.
😓 Actual Behavior
Error message: "No image data in clipboard"
💻 Metadata
"x86_64-linux"
Linux 6.6.63, NixOS, 25.05 (Warbler), 25.05.20241205.d0797a0
yes
yes
nix-env (Nix) 2.24.10
/etc/nixpkgs/channels/nixpkgs
📝 Relevant log output
No image data in clipboard
The text was updated successfully, but these errors were encountered: