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

[BUG] Unable to copy or paste #12

Closed
1 task done
Larvotto opened this issue Aug 27, 2024 · 3 comments
Closed
1 task done

[BUG] Unable to copy or paste #12

Larvotto opened this issue Aug 27, 2024 · 3 comments

Comments

@Larvotto
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Nothing, when both copying from outside Obsidian and trying to paste within, or vice versa, using either Ctrl+C/Ctrl+V, or mouse. Copying and pasting within Obsidian works fine. I don't know if this is a KASM issue. Within the KASMVNC Settings, I have Clipboard Up, Clipboard Down, and Clipboard Seamless all checked. The KASM docs state that the latter only works in Chromium browsers, but I have the same problem when accessing Obsidian from Edge. Also tried pasting twice, because that was mentioned as being the solution for the same problem with the obsidian-remote container.

Expected Behavior

Copy and paste as normal

Steps To Reproduce

Running the docker compose as below. Tried accessing via both Firefox and Edge.

Environment

Docker compose via Portainer on Unraid.

CPU architecture

x86-64

Docker creation

services:
  obsidian:
    image: lscr.io/linuxserver/obsidian:latest
    container_name: obsidian
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Pacific/Auckland
      - DOCKER_MODS=linuxserver/mods:universal-git
    volumes:
      - /mnt/user/file/to/vaults:/vaults:rw
      - /mnt/user/appdata/file/to/config:/config
    ports:
      - 2998:3000
      - 2999:3001
    shm_size: "1gb"
    restart: unless-stopped

Container logs

[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:universal-git to container
[mod-init] linuxserver/mods:universal-git at sha256:ca6915c7374dbbecabe92b0e9fc3ef1a03a21efbbb4e0112e51ae364fadd0849 has been previously applied skipping
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    100
───────────────────────────────────────
/usr/bin/git
**** git already installed, skipping ****
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.2.0 - built Aug 24 2024 19:08:16
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
/config/.config/openbox/autostart: 1: /squashfs-root/obsidian: not found
19
 2024-08-27 21:12:28,936 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-08-27 21:12:28,944 [PRIO] Connections: accepted: @X.X.X.X_1724749948.936967::websocket
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

I believe you need to have a valid SSL certification for Chrome to allow the seamless copy/paste feature. Best thing to do is to put it behind a reverse proxy.

@Larvotto
Copy link
Author

@j0nnymoe Thanks. I'm doing this through a Cloudflare tunnel, for which I wasn't previously using SSL. So I turned that on through the Cloudflare dashboard. That still didn't allow me to Ctrl+v in Obsidian/KASMVNC (in Edge) - but I found that if I first left-mouse clicked on the Obsidian page, I could then Ctrl+v paste just fine. So I ended up using AutoHotkey to map a key combination (Ctrl+Shift+Alt+v) to execute a mouse click followed by Ctrl+v.

!^+v::
Send {Click}
^v

I'm guessing this isn't a Docker+Obsidian issue per se, so I'm closing. Thanks again.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants