xsel icon indicating copy to clipboard operation
xsel copied to clipboard

Xsel problem with "tmux"

Open mehrdad-mixtape opened this issue 2 years ago • 1 comments

Hi, I use ubuntu 22.04 When I open tmux on my terminal and I wanna to use xsel show me this error:

$ hostname | xsel --clipboard --input
xsel: Can't open display: (null)
: Inappropriate ioctl for device

but, when I open a terminal without tmux, xsel is working good

mehrdad-mixtape avatar Feb 26 '23 05:02 mehrdad-mixtape

Check your DISPLAY env variable when in tmux ?

mckellygit avatar Feb 27 '23 05:02 mckellygit