Possible to copy paste into gamescope windows?
It seems that gamescope windows have isolated copy and paste, i was wondering if theres any way i can copy from outside gamescope into it?, right now i cant copy my password for example into the gamescope window. Ty for your help. Im running on Sway if it matters
Yeah, I think clipboard sync is something we'll want to have at some point.
This would be beneficial on the steam deck as well
While only a workaround, I wrote a tool that will run gamescope for you, launching a process outside of gamescope and within gamescope that use a unix socket to transmit clipboard changes. Therefore you effectively have a working clipboard in gamescope.
While only a workaround, I wrote a tool that will run gamescope for you, launching a process outside of gamescope and within gamescope that use a unix socket to transmit clipboard changes. Therefore you effectively have a working clipboard in gamescope.
I don't sucess to use this (arch linux, with steam and gamescope 3.11.30-1 from AUR). may I copy the gamescopetool file somewhere ?
Also, I prefere to use flatpak steam with com.valvesoftware.Steam.Utility.gamescope Is there a way to get it working for flatpak ?
While only a workaround, I wrote a tool that will run gamescope for you, launching a process outside of gamescope and within gamescope that use a unix socket to transmit clipboard changes. Therefore you effectively have a working clipboard in gamescope.
I don't sucess to use this (arch linux, with steam and gamescope 3.11.30-1 from AUR). may I copy the gamescopetool file somewhere ?
Also, I prefere to use flatpak steam with com.valvesoftware.Steam.Utility.gamescope Is there a way to get it working for flatpak ?
You can copy it whereever you want. It should be fine.
I am not using flatpak, so I have no way to verify the workings, but from what I know, as long as you have access to the executable of gamescopetool from within the flatpak sandbox and if gamescope is in the $PATH within that sandbox, it should work just the same.
gamescopetool is currently relatively dumb. It will just launch gamescope (that's why gamescope has to be in the $PATH) and pass the path to itself as the first argument to launch (that's why it doesn't matter where gamescopetool is located).
Settings for a game I launch in steam are for example: /home/myuser/bin/gamescopetool -w 1920 -h 1090 -f -- %command%. If your homedirectory is available from within flatpak, the same thing should work for you.
I paste gamescopetool side to gamescope in /usr/bin and chown it to my user, now it works.
trying to do same for flatpak under : /var/lib/flatpak/runtime/com.valvesoftware.Steam.Utility.gamescope/x86_64/stable/active/files/bin, this don't work.
it seems that flatpak miss depencies for runing gamescopetool:
steam error gamescopetool: /usr/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by gamescopetool) .
thank you
would love to see this implemented