You are not logged in.

#1 2024-08-18 02:13:30

coldreactive
Member
Registered: 2024-07-04
Posts: 15

After a while (Hours), xfce4-screenshooter stops copying

Just half an hour ago, xfce4-screenshooter stopped copying to clipboard for seemingly no reason at all. The clipboard is still working because I can right-click an image in discord, copy image, and paste it into gimp. I can even copy from gimp into discord. However, xfce4-screenshooter, even from the terminal with xfce4-screenshooter -c -f will no longer copy to the clipboard. It does this even with the GUI Dialogue and telling it to copy to clipboard. In addition, when I use the command, it wipes the clipboard if there was anything in it. So it's only partially working. I don't know how to turn on logging or / troubleshoot xfce4-screenshooter.

Last edited by coldreactive (2024-08-18 02:15:15)

Offline

#2 2024-08-18 08:34:41

seth
Member
Registered: 2012-09-03
Posts: 60,792

Offline

#3 2024-08-18 08:54:37

coldreactive
Member
Registered: 2024-07-04
Posts: 15

Re: After a while (Hours), xfce4-screenshooter stops copying

This is what happens when I run that xfconf/grep command:

[ian@TheSaekoMeinaShrine ~]$ xfconf-query -c xfce4-panel -lv | grep clipman
[ian@TheSaekoMeinaShrine ~]$ 

And yes, the clipman plugin is installed to xfce4 panel. Octopi says such. The only "xfce4-panel.xml" file is located in ~/.config/xfce4/xfconf/xfce-perchannel-xml/ so I don't think that will be helpful. I'm the only user besides root on this system.

Last edited by coldreactive (2024-08-18 08:59:26)

Offline

#4 2024-08-18 09:00:08

seth
Member
Registered: 2012-09-03
Posts: 60,792

Re: After a while (Hours), xfce4-screenshooter stops copying

Tried to export XFSETTINGSD_NO_CLIPBOARD=1 ?
Do you lose the clipman process (does it crash)?

See the explanation in https://bbs.archlinux.org/viewtopic.php … 2#p2161912

Offline

#5 2024-08-18 09:13:40

coldreactive
Member
Registered: 2024-07-04
Posts: 15

Re: After a while (Hours), xfce4-screenshooter stops copying

seth wrote:

Tried to export XFSETTINGSD_NO_CLIPBOARD=1 ?
Do you lose the clipman process (does it crash)?

See the explanation in https://bbs.archlinux.org/viewtopic.php … 2#p2161912

I mean, I uninstalled the clipman plugin now (it was apparently explicitly installed and xfce4-screenshooter doesn't even use it), and ran xclip to see if that would fix the issue, but no, xfce4-screenshooter still can't copy data to the clipboard. I don't know what else to do, because that export variable looks like it's just telling xfce4 to say I have no clipboard, which I do, otherwise I wouldn't be able to copy and paste text. I don't know what the systemctl service for xclip even is anyway.

Worse still, I can use the following command after installing maim:

maim --window root | xclip -selection clipboard -t image/png

and it will actually send the desktop to the clipboard as intended, even though xfce4-screenshooter can't. In fact, right after I did that command, I tried using xfce4-screenshooter to copy to the clipboard, and it just wiped the clipboard. I can also confirm that import also works, and that it isn't the fault of the xfce4 keybinds crashing, as when I use my other thread's solution on the matter:

sh -c 'import -silent -window root png:- | xclip -selection clipboard -t image/png'

PrintScr will successfully screenshot the desktop to the clipboard. Something is very wrong with xfce4 for whatever reason here.

Last edited by coldreactive (2024-08-18 10:13:52)

Offline

#6 2024-08-18 15:58:49

seth
Member
Registered: 2012-09-03
Posts: 60,792

Re: After a while (Hours), xfce4-screenshooter stops copying

Have you tried to export that environment variable (w/ and w/o clipman installed/running)
As explained by lambdarch, the xfce clipboard daemon can be provided by clipman and xfsettingsd and this has previously broken against the gtk clipboard but also, if this has previosly been provided by xfsettingd and there's an sse w/ that daemon (like "it crashes") you'll end up w/ no/broken clipboard manager.

Offline

Board footer

Powered by FluxBB