- Package:
- xfce4-genmon-plugin
- Source:
- xfce4-genmon-plugin
- Description:
- Generic Monitor for the Xfce4 panel
- Submitter:
- Nathaniel Morck Beaver
- Date:
- 2023-04-23 22:15:06 UTC
- Severity:
- normal
Dear Maintainer,
When the spawned command is set to 'xsel' to show the text currently in
the primary clipboard, 'xsel' fails because there is no /dev/stdin,
presumably since genmon_Spawn() closes stdin.
This is also reproducible on 3.4.0-2+b1 on Debian unstable.
One workaround is to write a wrapper script like this:
xsel < /dev/stdin
However, it would be better if this were not necessary.
I will also file a feature request for 'xsel' in case that would be better.
Sincerely,
Nathaniel Beaver
P.S. Another workaround is to use 'xclip -o', since 'xclip' does not
require stdin.
Hi, it looks to me as this is a similar symptom to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000793, since it is also related to standard input. If so, then the fix has been merged: https://gitlab.xfce.org/cquike/xfce4-genmon-plugin/-/merge_requests/1 The fix is part of the recent release 4.2.0 (https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start#latest_release), so it would be great to get that fixed for bookworm.