GNU bug report logs -
#72254
29.4; Cannot yank media when image come from Gnome-shell screenshot
Previous Next
Full log
View this message in rfc822 format
[செவ்வாய் ஜூலை 23, 2024] Robert Pluim wrote:
>>>>>> On Tue, 23 Jul 2024 15:16:15 +0200, Sébastien Gendre <seb <at> k-7.ch> said:
>
> Sébastien> If I evaluate this:
>
> Sébastien> (cl-defmethod gui-backend-get-selection ((selection-symbol (eql 'CLIPBOARD))
> Sébastien> (target-type (eql 'TARGETS))
> Sébastien> &context (window-system x)
> Sébastien> &optional time-stamp terminal)
> Sébastien> (message "Hello World!"))
>
>
> Sébastien> And then take an screenshot and evaluate (gui-get-selection 'CLIPBOARD
> Sébastien> 'TARGETS) from an org-mode buffer, I still get the same result: image/png
>
> OK. Which Linux distribution is this?
>
> Robert
Hearing that OP uses GNOME, are we sure OP is not running the PGTK port?
If that is the case, AFAIU context will not be x?
FWIW, I tried copying an image to clipboard and the gui-get-selection
above returns [TARGETS image/png] in a PGTK build of the emacs-30
branch.
This bug report was last modified 339 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.