[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gui-get
From: |
Emanuel Berg |
Subject: |
Re: gui-get |
Date: |
Fri, 12 Nov 2021 08:12:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Po Lu wrote:
>> (gui-get-selection 'primary)
>> (gui-get-selection 'secondary)
>> (gui-get-selection 'clipboard)
>
> gui-get-selection uses the X selection names. So you should
> be doing:
>
> (gui-get-selection 'PRIMARY)
> (gui-get-selection 'SECONDARY)
> (gui-get-selection 'CLIPBOARD)
OK, thanks, but the are still all nil.
Now xsel(1x) and xclip(1) started to work tho ... what did
you do? :O
$ DISPLAY=":0" xsel -o
the truth is out there
As does xsel.el [1] - sweet ... no idea why or why the
`gui-get-selection' don't work.
[1] https://dataswamp.org/~incal/emacs-init/xsel.le
--
underground experts united
https://dataswamp.org/~incal
- gui-get, Emanuel Berg, 2021/11/12
- Re: gui-get, Po Lu, 2021/11/12
- Re: gui-get,
Emanuel Berg <=