by default it doesn't work. These is a fix mentioned on upstream's github. "For those using a systemd unit and not using a desktop environment which does it automatically, you must import $DISPLAY so that clipmenud knows which X server to use. For example, in your ~/.xinitrc do this prior to launching clipmenud: systemctl --user import-environment DISPLAY" Systemd users should be notified about this via elog
All user sessions should, if overriding an integrated DE experience and not using the template xinitrc, be copy-pasting this from the stock xinitrc: if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?* ; do [ -x "$f" ] && . "$f" done unset f fi This includes /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c842bf21dbd9bb41c1b19250431488257882f26 commit 8c842bf21dbd9bb41c1b19250431488257882f26 Author: Ferenc Erki <erkiferenc@gmail.com> AuthorDate: 2024-08-09 16:20:59 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-23 02:03:11 +0000 x11-misc/clipmenu: notify systemd users about expected environment Closes: https://bugs.gentoo.org/844118 Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)