Skip to content

X11docker will defeat the image copy and paste from shutter/ksnip onto GitHub. [--clipboard] #428

@hongyi-zhao

Description

@hongyi-zhao

On Ubuntu 20.04.3 LTS, I'm using the git master version of x11docker to run Deepin wine docker image with the command described here:

# x11docker version:
$ git log -1
commit 6f2bd38b71f5ba6e928c6381b529e6ff7bbcec0b (HEAD -> master, origin/master, origin/HEAD)
Author: mviereck <bachbaum24@gmx.de>
Date:   Sat Apr 2 11:23:14 2022 +0200

    --clipboard: do not echo script

$ x11docker --runasroot 'sed -r "s/^[[:blank:]]*[|]//" <<-EOF > /etc/sudoers
        |#$ sudo grep -Ev '\''^[ ]*(#|$)'\'' /etc/sudoers  
        |Defaultsenv_reset
        |Defaultsmail_badpass
        |Defaultssecure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
        |rootlesskitALL=(ALL:ALL) ALL
        |%admin ALL=(ALL) ALL
        |%sudoALL=(ALL:ALL) ALL
        |$USER ALL=(ALL) NOPASSWD:ALL
EOF' --xephyr --network=bridge --pulseaudio --xoverip --home --share=$HOME --sudouser -c --desktop --init=systemd -- --device /dev/mem:/dev/mem --cap-add=IPC_LOCK --cap-add=NET_RAW --cap-add=NET_BIND_SERVICE -- hongyizhao/deepin-wine:apricot

See the screenshot below:
Selection_089

At the same time, I use shutter and ksnip as my screenshot tools. Today, I find a strange thing: After I start the docker image with x11docker as mentioned above, the screenshot captured by shutter and ksnip will not be able to copy and paste directly from inside them onto GitHub. If I close x11docker, this problem disappears.

Any hints for fixing this problem?

Regards,
HZ

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions