1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2013, 2015, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
8 ;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
11 ;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
12 ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
13 ;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
14 ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
16 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
17 ;;; Copyright © 2016, 2017, 2019 Marius Bakke <mbakke@fastmail.com>
18 ;;; Copyright © 2016 Petter <petter@mykolab.ch>
19 ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
20 ;;; Copyright © 2017 ng0 <ng0@n0.is>
21 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
22 ;;; Copyright © 2017 Marek Benc <dusxmt@gmx.com>
23 ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
24 ;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
25 ;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
26 ;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
27 ;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
28 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
29 ;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
30 ;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
31 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
32 ;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
33 ;;; Copyright © 2020 David Wilson <david@daviwil.com>
34 ;;; Copyright © 2020 Ivan Vilata i Balaguer <ivan@selidor.net>
35 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
36 ;;; Copyright © 2020 Damien Cassou <damien@cassou.me>
37 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
39 ;;; This file is part of GNU Guix.
41 ;;; GNU Guix is free software; you can redistribute it and/or modify it
42 ;;; under the terms of the GNU General Public License as published by
43 ;;; the Free Software Foundation; either version 3 of the License, or (at
44 ;;; your option) any later version.
46 ;;; GNU Guix is distributed in the hope that it will be useful, but
47 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
48 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49 ;;; GNU General Public License for more details.
51 ;;; You should have received a copy of the GNU General Public License
52 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
54 (define-module (gnu packages xdisorg)
55 #:use-module ((guix licenses) #:prefix license:)
56 #:use-module (guix packages)
57 #:use-module (guix download)
58 #:use-module (guix git-download)
59 #:use-module (guix utils)
60 #:use-module (guix build-system cmake)
61 #:use-module (guix build-system gnu)
62 #:use-module (guix build-system glib-or-gtk)
63 #:use-module (guix build-system meson)
64 #:use-module (guix build-system python)
65 #:use-module (guix build-system scons)
66 #:use-module (gnu packages)
67 #:use-module (gnu packages documentation)
68 #:use-module (gnu packages admin)
69 #:use-module (gnu packages base)
70 #:use-module (gnu packages algebra)
71 #:use-module (gnu packages autotools)
72 #:use-module (gnu packages check)
73 #:use-module (gnu packages compression)
74 #:use-module (gnu packages image)
75 #:use-module (gnu packages pkg-config)
76 #:use-module (gnu packages flex)
77 #:use-module (gnu packages freedesktop)
78 #:use-module (gnu packages gawk)
79 #:use-module (gnu packages gettext)
80 #:use-module (gnu packages gl)
81 #:use-module (gnu packages glib)
82 #:use-module (gnu packages gnome)
83 #:use-module (gnu packages haskell-xyz)
84 #:use-module (gnu packages icu4c)
85 #:use-module (gnu packages man)
86 #:use-module (gnu packages maths)
87 #:use-module (gnu packages m4)
88 #:use-module (gnu packages ncurses)
89 #:use-module (gnu packages perl)
90 #:use-module (gnu packages python)
91 #:use-module (gnu packages python-xyz)
92 #:use-module (gnu packages linux)
93 #:use-module (gnu packages gl)
94 #:use-module (gnu packages guile)
95 #:use-module (gnu packages xml)
96 #:use-module (gnu packages gtk)
97 #:use-module (gnu packages qt)
98 #:use-module (gnu packages xorg)
99 #:use-module (gnu packages fontutils)
100 #:use-module (gnu packages bison)
101 #:use-module (ice-9 match))
103 ;; packages outside the x.org system proper
105 (define-public arandr
111 (uri (string-append "https://christian.amsuess.com/tools/arandr"
112 "/files/arandr-" version ".tar.gz"))
115 "135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v"))
116 (modules '((guix build utils)))
119 ;; Do not record a timestamp and file name in gzipped man
120 ;; pages (this is equivalent to 'gzip --no-name'.)
121 (substitute* "setup.py"
122 (("gzip\\.open\\(gzfile, 'w', 9\\)")
123 "gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)"))
125 (build-system python-build-system)
128 (modify-phases %standard-phases
129 (add-before 'build 'configure
130 (lambda* (#:key inputs #:allow-other-keys)
131 (substitute* "screenlayout/xrandr.py"
132 (("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
135 (add-after 'install 'wrap-gi-typelib
136 (lambda* (#:key inputs outputs #:allow-other-keys)
137 (let ((out (assoc-ref outputs "out"))
138 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
139 (wrap-program (string-append out "/bin/arandr")
140 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
142 #:tests? #f)) ;no tests
143 (inputs `(("gtk+" ,gtk+)
144 ("pycairo" ,python-pycairo)
145 ("pygobject" ,python-pygobject)
147 (native-inputs `(("gettext" ,gettext-minimal)
148 ("python-docutils" ,python-docutils)))
149 (home-page "https://christian.amsuess.com/tools/arandr/")
150 (synopsis "Another RandR graphical user interface")
151 ;; TRANSLATORS: "X11 resize-and-rotate" should not be translated.
152 (description "ARandR is designed to provide a simple visual front end for
153 the X11 resize-and-rotate (RandR) extension. Relative monitor positions are
154 shown graphically and can be changed in a drag-and-drop way. Configurations
155 are saved as executable shell scripts which can be loaded without using this
157 (license license:gpl3+)))
159 (define-public autorandr
163 (home-page "https://github.com/phillipberndt/autorandr")
170 (file-name (git-file-name name version))
172 (base32 "1bb0l7fcm5lcx9y02zdxv7pfdqf4v4gsc5br3v1x9gzjvqj64l7n"))))
173 (build-system python-build-system)
179 (modify-phases %standard-phases
180 (add-before 'build 'configure
181 (lambda* (#:key inputs outputs #:allow-other-keys)
182 (let ((xrandr (string-append (assoc-ref inputs "xrandr")
184 (substitute* "contrib/etc/xdg/autostart/autorandr.desktop"
185 (("/usr") (assoc-ref outputs "out")))
186 (substitute* "autorandr.py"
187 (("popen\\(\"xrandr") (string-append "popen(\"" xrandr))
188 (("\\[\"xrandr") (string-append "[\"" xrandr))))
190 (add-after 'install 'install-contrib
191 (lambda* (#:key outputs #:allow-other-keys)
193 (string-append "DESTDIR=" (assoc-ref outputs "out"))
195 "BASH_COMPLETIONS_DIR=etc/bash_completiond.d"
197 "install_bash_completion"
199 "install_autostart_config"))))))
200 (synopsis "Auto-detect connected displays and load appropriate setup")
201 (description "Autorandr wraps around xrandr to help with X11
202 multi-screen configuration management. It allows the user to create profiles
203 for various multi-screen setups. Autorandr automatically detects the profiles
204 that can be activated based on the connected hardware. Hook scripts can be
205 used to further tweak the behaviour of the different profiles.")
206 (license license:gpl3+)))
208 (define-public bemenu
216 (url "https://github.com/Cloudef/bemenu.git")
218 (file-name (git-file-name name version))
220 (base32 "0piax49az5kp96r1g6dcgj87fi6p4jl286wlkxsdvljzpkn8q6gv"))))
221 (build-system cmake-build-system)
223 '(#:configure-flags '("-DBEMENU_WAYLAND_RENDERER=ON")))
227 ("libxkbcomon" ,libxkbcommon)
228 ("libxinerama" ,libxinerama)
232 ("wayland-protocols" ,wayland-protocols)))
234 `(("doxygen" ,doxygen)
235 ("pkg-config" ,pkg-config)))
236 (home-page "https://github.com/Cloudef/bemenu")
237 (synopsis "Dynamic menu library and client program inspired by dmenu")
239 "bemenu is a dynamic menu which allows the user to flexibly select from a
240 list of options (usually programs to launch). It renders the menu graphically
241 with X11 or Wayland, or in a text terminal with ncurses.")
242 (license (list license:gpl3+ ; client program[s] and other sources
243 license:lgpl3+)))) ; library and bindings
252 (url "https://github.com/hluk/CopyQ.git")
253 (commit (string-append "v" version))))
254 (file-name (git-file-name name version))
257 "0wlwq9xg8rzsbj0b29z358k4mbrqy04iraa8x0p26pa95yskgcma"))))
258 (build-system cmake-build-system)
260 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
261 #:tests? #f)) ; Test suite is a rather manual process.
264 ("qtscript" ,qtscript)
266 ("qtx11extras" ,qtx11extras)))
267 (synopsis "Clipboard manager with advanced features")
268 (description "CopyQ is clipboard manager with editing and scripting
269 features. CopyQ monitors system clipboard and saves its content in customized
270 tabs. Saved clipboard can be later copied and pasted directly into any
272 (home-page "https://hluk.github.io/CopyQ/")
273 (license license:gpl3+)))
283 (url "https://github.com/astrand/xclip.git")
285 (file-name (git-file-name name version))
288 "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
289 (build-system gnu-build-system)
291 '(#:tests? #f)) ;there is no test suite
293 `(("autoconf" ,autoconf)
294 ("automake" ,automake)))
295 (inputs `(("libxmu" ,libxmu)
297 (home-page "https://github.com/astrand/xclip")
298 (synopsis "Command line interface to X11 clipboard")
299 (description "Xclip is a command line interface to the X11 clipboard. It
300 can also be used for copying files, as an alternative to sftp/scp, thus
301 avoiding password prompts when X11 forwarding has already been setup.")
302 (license license:gpl2+)))
304 (define-public libxkbcommon
306 (name "libxkbcommon")
310 (uri (string-append "https://xkbcommon.org/download/libxkbcommon-"
314 "1wmnl0hngn6vrqrya4r8hvimlkr4jag39yjprls4gyrqvh667hsp"))))
315 (build-system meson-build-system)
320 ("wayland-protocols" ,wayland-protocols)
321 ("xkeyboard-config" ,xkeyboard-config)))
325 ("pkg-config" ,pkg-config)))
328 (list (string-append "-Dxkb-config-root="
329 (assoc-ref %build-inputs "xkeyboard-config")
331 (string-append "-Dx-locale-root="
332 (assoc-ref %build-inputs "libx11")
333 "/share/X11/locale"))))
334 (home-page "https://xkbcommon.org/")
335 (synopsis "Library to handle keyboard descriptions")
336 (description "Xkbcommon is a library to handle keyboard descriptions,
337 including loading them from disk, parsing them and handling their
338 state. It is mainly meant for client toolkits, window systems, and other
339 system applications; currently that includes Wayland, kmscon, GTK+, Qt,
340 Clutter, and more. Despite the name, it is not currently used by anything
342 (license (license:x11-style "file://COPYING"
343 "See 'COPYING' in the distribution."))))
345 (define-public libfakekey
353 (url "https://git.yoctoproject.org/git/libfakekey")
355 (file-name (git-file-name name version))
357 (base32 "1jw1d4wc1ysiijirc7apnz3sryrxbl9akgb92mh06dvfkz2nblj0"))))
358 (build-system gnu-build-system)
360 `(#:make-flags (list "AM_LDFLAGS=-lX11")
362 (modify-phases %standard-phases
364 ;; ./autogen.sh calls ./configure before shebangs have been patched.
366 (invoke "autoreconf" "-vfi"))))))
368 `(("pkg-config" ,pkg-config)
370 ;; For bootstrapping from git.
371 ("autoconf" ,autoconf)
372 ("automake" ,automake)
373 ("libtool" ,libtool)))
375 `(("libxtst" ,libxtst)
377 (home-page "https://www.yoctoproject.org/tools-resources/projects/matchbox")
378 (synopsis "X virtual keyboard library")
380 "Libfakekey is a virtual keyboard library for X.")
381 (license license:gpl2)))
383 (define-public xdotool
386 (version "3.20160805.1")
391 "https://github.com/jordansissel/xdotool/releases/download/v"
392 version "/xdotool-" version ".tar.gz"))
395 "1a6c1zr86zb53352yxv104l76l8x21gfl2bgw6h21iphxpv5zgim"))))
396 (build-system gnu-build-system)
398 '(#:tests? #f ; Test suite requires a lot of black magic
400 (modify-phases %standard-phases
402 (lambda* (#:key outputs #:allow-other-keys #:rest args)
403 (let ((out (assoc-ref outputs "out")))
404 (mkdir-p (string-append out "/lib"))
405 (setenv "PREFIX" out)
406 (setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
409 (native-inputs `(("perl" ,perl))) ; for pod2man
410 (inputs `(("libx11" ,libx11)
413 ("libxinerama" ,libxinerama)
415 ("libxkbcommon" ,libxkbcommon)))
416 (home-page "https://www.semicomplete.com/projects/xdotool/")
417 (synopsis "Fake keyboard/mouse input, window management, and more")
418 (description "Xdotool lets you simulate keyboard input and mouse activity,
419 move and resize windows, etc. It does this using X11's XTEST extension and
420 other Xlib functions. Additionally, you can search for windows and move,
421 resize, hide, and modify window properties like the title. If your window
422 manager supports it, you can use xdotool to switch desktops, move windows
423 between desktops, and change the number of desktops.")
424 (license license:bsd-3)))
433 (uri (string-append "https://www.x.org/releases/individual/app/"
434 name "-" version ".tar.bz2"))
436 (base32 "0lq5j7fryx1wn998jq6h3icz1h6pqrsbs3adskjzjyhn5l6yrg2p"))))
437 (build-system gnu-build-system)
439 `(("libxext" ,libxext)
441 ("libxrender" ,libxrender)
444 `(("pkg-config" ,pkg-config)))
445 (home-page "https://www.x.org/") ; no dedicated Xeyes page exists
446 (synopsis "Follow-the-mouse X demo")
447 (description "Xeyes is a demo program for x.org. It shows eyes
448 following the mouse.")
449 (license license:x11)))
452 (define-public pixman
459 "https://www.cairographics.org/releases/pixman-"
463 "1ryxzdf048x7wsx4dlvrr1p00gzwfs7lybnhgc7ygbj0dvyxcrns"))
464 (patches (search-patches "pixman-CVE-2016-5296.patch"))))
465 (build-system gnu-build-system)
467 '(#:configure-flags '("--disable-static")))
472 `(("pkg-config" ,pkg-config)))
473 (home-page "http://www.pixman.org/")
474 (synopsis "Low-level pixel manipulation library")
475 (description "Pixman is a low-level software library for pixel
476 manipulation, providing features such as image compositing and trapezoid
478 (license license:x11)))
480 (define-public libdrm
488 "https://dri.freedesktop.org/libdrm/libdrm-"
493 "0p8a1l3a3s40i81mawm8nhrbk7p97ss05qkawp1yx73c30lchz67"))
494 (patches (search-patches "libdrm-symbol-check.patch"))))
495 (build-system meson-build-system)
498 '(,@(match (%current-system)
499 ((or "armhf-linux" "aarch64-linux")
504 "-Dfreedreno-kgsl=true"))
507 #:phases (modify-phases %standard-phases
510 (invoke "meson" "test" "--timeout-multiplier" "5"))))))
512 `(("libpciaccess" ,libpciaccess)))
514 `(("pkg-config" ,pkg-config)))
515 (home-page "https://dri.freedesktop.org/wiki/")
516 (synopsis "Direct rendering userspace library")
517 (description "The Direct Rendering Infrastructure, also known as the DRI,
518 is a framework for allowing direct access to graphics hardware under the
519 X Window System in a safe and efficient manner. It includes changes to the
520 X server, to several client libraries, and to the kernel (DRM, Direct
521 Rendering Manager). The most important use for the DRI is to create fast
522 OpenGL implementations providing hardware acceleration for Mesa.
523 Several 3D accelerated drivers have been written to the DRI specification,
524 including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
526 (license license:x11)))
537 "http://bitmath.org/code/mtdev/mtdev-"
541 "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm"))))
542 (build-system gnu-build-system)
543 (arguments '(#:configure-flags '("--disable-static")))
544 (home-page "http://bitmath.org/code/mtdev/")
545 (synopsis "Multitouch protocol translation library")
546 (description "Mtdev is a stand-alone library which transforms all
547 variants of kernel MT events to the slotted type B protocol. The events
548 put into mtdev may be from any MT device, specifically type A without
549 contact tracking, type A with contact tracking, or type B with contact
551 (license license:x11)))
553 (define-public startup-notification
555 (name "startup-notification")
560 (uri (string-append "https://www.freedesktop.org/software/" name
561 "/releases/" name "-" version ".tar.gz"))
564 "0jmyryrpqb35y9hd5sgxqy2z0r1snw7d3ljw0jak0n0cjdz1yf9w"))))
565 (build-system gnu-build-system)
566 (native-inputs `(("pkg-config" ,pkg-config)))
569 ("xcb-util" ,xcb-util)))
570 (home-page "https://www.freedesktop.org/wiki/Software/startup-notification/")
571 (synopsis "Application startup notification and feedback library")
573 "Startup-notification contains a reference implementation of the startup
574 notification protocol. The reference implementation is mostly under an X Window
575 System style license, and has no special dependencies.")
576 ;; Most of the code is provided under x11 license.
577 (license license:lgpl2.0+)))
579 (define-public wmctrl
586 "https://sites.google.com/site/tstyblo/wmctrl/wmctrl-"
590 "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"))
591 (patches (search-patches "wmctrl-64-fix.patch"))))
592 (build-system gnu-build-system)
595 (list (string-append "--mandir="
596 (assoc-ref %outputs "out")
599 `(("pkg-config" ,pkg-config)))
604 (home-page "http://tomas.styblo.name/wmctrl/")
605 (synopsis "Command-line tool to control X window managers")
607 "Wmctrl allows to interact with an X window manager that is compatible
608 with the EWMH/NetWM specification. It can query the window manager for
609 information, and request for certain window management actions (resize and
610 move windows, switch between desktops, etc.).")
611 (license license:gpl2+)))
622 (url "https://github.com/resurrecting-open-source-projects/scrot.git")
624 (file-name (git-file-name name version))
626 (base32 "08gkdby0ysx2mki57z81zlm7vfnq9c1gq692xw67cg5vv2p3320w"))))
627 (build-system gnu-build-system)
629 `(("autoconf" ,autoconf)
630 ("autoconf-archive" ,autoconf-archive)
631 ("automake" ,automake)))
635 ("libXcursor" ,libxcursor)
636 ("libXfixes" ,libxfixes)))
637 (home-page "https://github.com/resurrecting-open-source-projects/scrot")
638 (synopsis "Command-line screen capture utility for X Window System")
640 "Scrot allows to save a screenshot of a full screen, a window or a part
641 of the screen selected by mouse.")
642 ;; This license removes a clause about X Consortium from the original
644 (license (license:x11-style "file://COPYING"
645 "See 'COPYING' in the distribution."))))
654 (url "https://github.com/naelstrof/slop.git")
655 (commit (string-append "v" version))))
656 (file-name (git-file-name name version))
659 "0fgd8a2dqkg64all0f96sca92sdss9r3pzmv5kck46b99z2325z6"))))
660 (build-system cmake-build-system)
662 '(#:tests? #f)) ; no "check" target
668 ("libxrender" ,libxrender)
670 (home-page "https://github.com/naelstrof/slop")
671 (synopsis "Select a region and print its bounds to stdout")
673 "slop (Select Operation) is a tool that queries for a selection from a
674 user and prints the region to stdout. It grabs the mouse and turns it into a
675 crosshair, lets the user click and drag to make a selection (or click on a
676 window) while drawing a pretty box around it, then finally prints the
677 selection's dimensions to stdout.")
678 (license license:gpl3+)))
687 (url "https://github.com/naelstrof/maim.git")
688 (commit (string-append "v" version))))
689 (file-name (git-file-name name version))
692 "1kbxsz8whfxl5blwsvpva2q95zwy72argwhi1cfqh5lrhzq5zrpp"))))
693 (build-system cmake-build-system)
695 '(#:tests? #f)) ; no "check" target
698 ("libjpeg" ,libjpeg-turbo)
700 ("libxcomposite" ,libxcomposite)
701 ("libxfixes" ,libxfixes)
702 ("libxrandr" ,libxrandr)
706 (home-page "https://github.com/naelstrof/maim")
707 (synopsis "Screenshot utility for X Window System")
709 "maim (Make Image) is a tool that takes screenshots of your desktop and
710 saves it in any format. Along with a full screen, it allows you to capture a
711 predefined region or a particular window. Also, it makes it possible to
712 include cursor in the resulting image.")
713 (license license:gpl3+)))
715 (define-public unclutter
722 "http://ftp.x.org/contrib/utilities/unclutter-"
726 "0ahrr5z6wxqqfyihm112hnq0859zlxisrb3y5232zav58j6sfmdq"))))
727 (build-system gnu-build-system)
729 '(#:tests? #f ; no check target
731 (modify-phases %standard-phases
734 (lambda* (#:key inputs outputs #:allow-other-keys)
735 (let* ((out (assoc-ref outputs "out"))
736 (bin (string-append out "/bin"))
737 (man1 (string-append out "/share/man/man1")))
740 (invoke "make" "install" "install.man"
741 (string-append "BINDIR=" bin)
742 (string-append "MANDIR=" man1))))))))
743 (inputs `(("libx11" ,libx11)))
744 (home-page "http://ftp.x.org/contrib/utilities/")
745 (synopsis "Hide idle mouse cursor")
747 "Unclutter is a program which runs permanently in the background of an
748 X11 session. It checks on the X11 pointer (cursor) position every few
749 seconds, and when it finds it has not moved (and no buttons are pressed
750 on the mouse, and the cursor is not in the root window) it creates a
751 small sub-window as a child of the window the cursor is in. The new
752 window installs a cursor of size 1x1 but a mask of all 0, i.e. an
753 invisible cursor. This allows you to see all the text in an xterm or
754 xedit, for example. The human factors crowd would agree it should make
755 things less distracting.")
756 (license license:public-domain)))
758 (define-public xautomation
765 (uri (string-append "https://www.hoopajoo.net/static/projects/"
766 "xautomation-" version ".tar.gz"))
770 "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf"))))
771 (build-system gnu-build-system)
776 ("libxtst" ,libxtst)))
778 `(("xorgproto" ,xorgproto)))
779 (synopsis "Tools to automate tasks in X such as detecting on screen images")
781 "Xautomation can control X from the command line for scripts, and
782 do visual scraping to find things on the screen. The control interface
783 allows mouse movement, clicking, button up/down, key up/down, etc, and
784 uses the XTest extension so you don't have the annoying problems that
785 xse has when apps ignore sent events. The visgrep program can find
786 images inside of images and reports the coordinates, allowing programs
787 to find buttons, etc, on the screen to click on.")
788 (home-page "https://www.hoopajoo.net/projects/xautomation.html")
789 (license license:gpl2+)))
791 (define-public xbanish
795 (home-page "https://github.com/jcs/xbanish")
798 (uri (git-reference (url home-page)
799 (commit (string-append "v" version))))
800 (file-name (git-file-name name version))
803 "0vp8ja68hpmqkl61zyjar3czhmny1hbm74m8f393incfz1ymr3i8"))))
804 (build-system gnu-build-system)
806 `(#:tests? #f ;no tests
807 #:make-flags (list "CC=gcc"
808 (string-append "PREFIX=" (assoc-ref %outputs "out")))
809 #:phases (modify-phases %standard-phases
810 (delete 'configure))))
813 ("libxfixes" ,libxfixes)
816 (synopsis "Banish the mouse cursor")
818 "@command{xbanish} hides the mouse cursor when you start typing, and
819 shows it again when the mouse cursor moves or a mouse button is pressed.")
820 (license license:bsd-3)))
822 (define-public xlockmore
828 (uri (list (string-append "http://sillycycle.com/xlock/"
829 "xlockmore-" version ".tar.xz")
830 ;; Previous releases are moved to a subdirectory.
831 (string-append "http://sillycycle.com/xlock/"
833 "xlockmore-" version ".tar.xz")))
836 "0b05wgj4mpssy4hd7km5c48i454dfg45p11mfmsr7xjd2gnz5gqi"))))
837 (build-system gnu-build-system)
839 '(#:configure-flags (list (string-append "--enable-appdefaultdir="
840 (assoc-ref %outputs "out")
841 "/lib/X11/app-defaults"))
842 #:tests? #f)) ;no such thing as a test suite
847 ("linux-pam" ,linux-pam)))
848 (home-page "https://sillycycle.com/xlockmore.html")
849 (synopsis "Screen locker for the X Window System")
851 "XLockMore is a classic screen locker and screen saver for the
853 (license (license:non-copyleft #f "See xlock.c.")
854 ))) ; + GPLv2 in modes/glx/biof.c.
863 "mirror://sourceforge/libxosd/libxosd/xosd-" version "/"
864 name "-" version ".tar.gz"))
867 "025m7ha89q29swkc7s38knnbn8ysl24g2h5s7imfxflm91psj7sg"))))
868 (build-system gnu-build-system)
871 (list (string-append "--mandir=" %output "/share/man"))))
876 ("libxinerama" ,libxinerama)))
877 (home-page "https://sourceforge.net/projects/libxosd/")
878 (synopsis "X On Screen Display")
880 "XOSD provides a C library and a simple utility (osd_cat) for displaying
881 transparent text on your screen.")
882 (license license:gpl2+)))
884 (define-public xbindkeys
890 ;; Download from the savannah mirror list fails
892 "http://www.nongnu.org/xbindkeys/xbindkeys-"
897 "060df6d8y727jp1inp7blp44cs8a7jig7vcm8ndsn6gw36z1h3bc"))))
898 (build-system gnu-build-system)
901 ("guile" ,guile-2.0)))
902 (home-page "https://www.nongnu.org/xbindkeys/")
903 (synopsis "Associate a combination of keys with a shell command")
905 "XBindKeys is a program that allows you to launch shell commands with
906 your keyboard or your mouse under the X Window System. It links commands to
907 keys or mouse buttons, using a configuration file. It's independent of the
908 window manager and can capture all keyboard keys (ex: Power, Wake...). It
909 optionally supports a Guile-based configuration file layout, which enables you
910 to access all XBindKeys internals, so you can have key combinations, double
911 clicks or timed double clicks take actions. Also all functions that work in
912 Guile will work for XBindKeys.")
913 (license license:gpl2+)))
923 (url "https://github.com/baskerville/sxhkd")
925 (file-name (git-file-name name version))
927 (base32 "0j7bl2l06r0arrjzpz7al9j6cwzc730knbsijp7ixzz96pq7xa2h"))))
928 (build-system gnu-build-system)
930 `(("asciidoc" ,asciidoc)
932 ("xcb-util" ,xcb-util)
933 ("xcb-util-keysyms" ,xcb-util-keysyms)
934 ("xcb-util-wm" ,xcb-util-wm)))
936 `(#:phases (modify-phases %standard-phases (delete 'configure))
937 #:tests? #f ; no check target
940 (string-append "PREFIX=" %output)
941 ;; Keep the documentation where the build system installs LICENSE.
942 (string-append "DOCPREFIX=" %output
943 "/share/doc/" ,name "-" ,version))))
944 (home-page "https://github.com/baskerville/sxhkd")
945 (synopsis "Simple X hotkey daemon")
946 (description "sxhkd is a simple X hotkey daemon with a powerful and
947 compact configuration syntax.")
948 (license license:bsd-2)))
950 (define-public rxvt-unicode
952 (name "rxvt-unicode")
956 (uri (string-append "http://dist.schmorp.de/rxvt-unicode/Attic/"
957 name "-" version ".tar.bz2"))
958 (patches (search-patches "rxvt-unicode-escape-sequences.patch"))
961 "1pddjn5ynblwfrdmskylrsxb9vfnk3w4jdnq2l8xn2pspkljhip9"))))
962 (build-system gnu-build-system)
964 ;; This sets the destination when installing the necessary terminal
965 ;; capability data, which are not provided by 'ncurses'. See
966 ;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
967 `(#:make-flags (list (string-append "TERMINFO="
968 (assoc-ref %outputs "out")
971 (modify-phases %standard-phases
972 (add-after 'install 'install-desktop-urxvt
973 (lambda* (#:key outputs #:allow-other-keys)
974 (let* ((output (assoc-ref outputs "out"))
975 (desktop (string-append output "/share/applications")))
978 (string-append desktop "/urxvt.desktop")
985 TryExec=~@*~a/bin/urxvt~@
990 (add-after 'install 'install-desktop-urxvtc
991 (lambda* (#:key outputs #:allow-other-keys)
992 (let* ((output (assoc-ref outputs "out"))
993 (desktop (string-append output "/share/applications")))
996 (string-append desktop "/urxvtc.desktop")
1000 Name=rxvt-unicode (client)~@
1001 Comment=Rxvt clone with XFT and unicode support~@
1002 Exec=~a/bin/urxvtc~@
1003 TryExec=~@*~a/bin/urxvtc~@
1009 `(("libXft" ,libxft)
1010 ("libX11" ,libx11)))
1012 `(("ncurses" ,ncurses) ;trigger the installation of terminfo data
1014 ("pkg-config" ,pkg-config)))
1015 ;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
1016 ;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
1017 (native-search-paths
1018 (list (search-path-specification
1019 (variable "TERMINFO_DIRS")
1020 (files '("share/terminfo")))))
1021 (home-page "http://software.schmorp.de/pkg/rxvt-unicode.html")
1022 (synopsis "Rxvt clone with XFT and unicode support")
1023 (description "Rxvt-unicode (urxvt) is a colour vt102 terminal emulator
1024 intended as an xterm replacement for users who do not require features such as
1025 Tektronix 4014 emulation and toolkit-style configurability. It supports
1026 unicode, XFT and may be extended with Perl plugins. It also comes with a
1027 client/daemon pair that lets you open any number of terminal windows from
1028 within a single process.")
1029 (license license:gpl3+)))
1031 (define-public xcape
1038 (url "https://github.com/alols/xcape.git")
1039 (commit (string-append "v" version))))
1040 (file-name (git-file-name name version))
1043 "09a05cxgrip6nqy1qmwblamp2bhknqnqmxn7i2a1rgxa0nba95dm"))))
1044 (build-system gnu-build-system)
1046 `(#:tests? #f ; no check target
1047 ;; no configure script
1048 #:phases (modify-phases %standard-phases (delete 'configure))
1049 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1050 "MANDIR=/share/man/man1"
1053 `(("libxtst" ,libxtst)
1054 ("libx11" ,libx11)))
1056 `(("pkg-config" ,pkg-config)))
1057 (home-page "https://github.com/alols/xcape")
1058 (synopsis "Use a modifier key in X.org as another key")
1060 "This utility for X.org allows to use modifier key as another key when
1061 pressed and released on its own. The default behaviour is to generate the
1062 Escape key when Left Control is pressed and released on its own.")
1063 (license license:gpl3+)))
1065 (define-public libwacom
1072 "https://github.com/linuxwacom/libwacom/releases/download/"
1073 "libwacom-" version "/libwacom-" version ".tar.bz2"))
1076 "0g48cdg2qpvrr2nk8ccibjg3iv7iqskdv66izxacqx70w47y1771"))))
1077 (build-system glib-or-gtk-build-system)
1079 `(#:configure-flags '("--disable-static")))
1081 `(("pkg-config" ,pkg-config)))
1084 ("libgudev" ,libgudev)
1086 ("libxml2" ,libxml2)))
1088 ;; libwacom includes header files that include GLib, and libinput uses
1089 ;; those header files.
1091 (home-page "https://linuxwacom.github.io/")
1092 (synopsis "Helper library for Wacom tablet settings")
1094 "Libwacom is a library to help implement Wacom tablet settings. It is
1095 intended to be used by client-programs that need model identification. It is
1096 already being used by the gnome-settings-daemon and the GNOME Control Center
1097 Wacom tablet applet.")
1098 (license license:x11)))
1100 (define-public xf86-input-wacom
1102 (name "xf86-input-wacom")
1108 "https://github.com/linuxwacom/xf86-input-wacom/releases/download/"
1109 "xf86-input-wacom-" version "/"
1110 "xf86-input-wacom-" version ".tar.bz2"))
1112 (base32 "11qk58az6qwii774ga45h5yqzipwn56f0d74kdbajqdv45p85gqj"))))
1115 (list (string-append "--with-sdkdir="
1116 (assoc-ref %outputs "out")
1118 (string-append "--with-xorg-conf-dir="
1119 (assoc-ref %outputs "out")
1120 "/share/X11/xorg.conf.d"))))
1121 (build-system gnu-build-system)
1123 `(("pkg-config" ,pkg-config)))
1125 `(("xorg-server" ,xorg-server)
1126 ("libxrandr" ,libxrandr)
1127 ("libxinerama" ,libxinerama)
1130 (home-page "https://linuxwacom.github.io/")
1131 (synopsis "Wacom input driver for X")
1133 "The xf86-input-wacom driver is the wacom-specific X11 input driver for
1134 the X.Org X Server version 1.7 and later (X11R7.5 or later).")
1135 (license license:x11)))
1137 (define-public redshift
1145 (string-append "https://github.com/jonls/redshift/"
1146 "releases/download/v" version
1147 "/redshift-" version ".tar.xz"))
1150 "1fi27b73x85qqar526dbd33av7mahca2ykaqwr7siqiw1qqcby6j"))))
1151 (build-system gnu-build-system)
1153 `(("pkg-config" ,pkg-config)
1154 ("intltool" ,intltool)))
1156 `(("libdrm" ,libdrm)
1159 ("libxxf86vm" ,libxxf86vm)
1160 ("glib" ,glib))) ; for Geoclue2 support
1161 (home-page "https://github.com/jonls/redshift")
1162 (synopsis "Adjust the color temperature of your screen")
1164 "Redshift adjusts the color temperature according to the position of the
1165 sun. A different color temperature is set during night and daytime. During
1166 twilight and early morning, the color temperature transitions smoothly from
1167 night to daytime temperature to allow your eyes to slowly adapt. At night the
1168 color temperature should be set to match the lamps in your room.")
1169 (license license:gpl3+)))
1171 (define-public redshift-wayland
1172 (let ((commit "7da875d34854a6a34612d5ce4bd8718c32bec804")
1175 (name "redshift-wayland")
1176 (version (string-append "1.12-"
1177 revision "." (string-take commit 7)))
1181 (url "https://github.com/minus7/redshift.git")
1183 (file-name (string-append name "-" version))
1186 "0nbkcw3avmzjg1jr1g9yfpm80kzisy55idl09b6wvzv2sz27n957"))))
1187 (build-system gnu-build-system)
1189 `(("autoconf" ,autoconf)
1190 ("automake" ,automake)
1191 ("libtool" ,libtool)
1192 ("pkg-config" ,pkg-config)
1193 ("intltool" ,intltool)))
1195 `(("libdrm" ,libdrm)
1198 ("libxxf86vm" ,libxxf86vm)
1199 ("glib" ,glib) ; for Geoclue2 support
1200 ("wayland" ,wayland)))
1201 (home-page "https://github.com/minus7/redshift")
1202 (synopsis "Adjust the color temperature of your screen (with Wayland support)")
1204 "Redshift adjusts the color temperature according to the position of the
1205 sun. A different color temperature is set during night and daytime. During
1206 twilight and early morning, the color temperature transitions smoothly from
1207 night to daytime temperature to allow your eyes to slowly adapt. At night the
1208 color temperature should be set to match the lamps in your room.
1210 This is a fork with added support for Wayland using the wlr-gamma-control
1212 (license license:gpl3+))))
1214 (define-public xscreensaver
1216 (name "xscreensaver")
1222 (string-append "https://www.jwz.org/xscreensaver/xscreensaver-"
1225 (base32 "15bv05vpfjwsrqbazrjmm382jd7vvw0mp6y9vasn6wvxzjf0in3k"))))
1226 (build-system gnu-build-system)
1228 `(#:tests? #f ; no check target
1230 (modify-phases %standard-phases
1231 (add-before 'configure 'adjust-gtk-resource-paths
1233 (substitute* '("driver/Makefile.in" "po/Makefile.in.in")
1234 (("@GTK_DATADIR@") "@datadir@")
1235 (("@PO_DATADIR@") "@datadir@"))
1237 #:configure-flags '("--with-pam" "--with-proc-interrupts"
1238 "--without-readdisplay")
1239 #:make-flags (list (string-append "AD_DIR="
1240 (assoc-ref %outputs "out")
1241 "/lib/X11/app-defaults"))))
1243 `(("pkg-config" ,pkg-config)
1244 ("intltool" ,intltool)))
1246 `(("libx11" ,libx11)
1247 ("libxext" ,libxext)
1253 ("libglade" ,libglade)
1254 ("libxml2" ,libxml2)
1256 ("libjpeg" ,libjpeg-turbo)
1257 ("linux-pam" ,linux-pam)
1263 ("libxrandr" ,libxrandr)
1266 (home-page "https://www.jwz.org/xscreensaver/")
1267 (synopsis "Classic screen saver suite supporting screen locking")
1269 "xscreensaver is a popular screen saver collection with many entertaining
1270 demos. It also acts as a nice screen locker.")
1271 ;; xscreensaver doesn't have a single copyright file and instead relies on
1272 ;; source comment headers, though most files have the same lax
1273 ;; permissions. To reduce complexity, we're pointing at Debian's
1274 ;; breakdown of the copyright information.
1275 (license (license:non-copyleft
1277 "http://metadata.ftp-master.debian.org/changelogs/"
1278 "/main/x/xscreensaver/xscreensaver_5.36-1_copyright")))))
1286 (uri (string-append "http://www.vergenet.net/~conrad/software"
1287 "/xsel/download/xsel-" version ".tar.gz"))
1290 "070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr"))))
1291 (build-system gnu-build-system)
1293 `(("libxt" ,libxt)))
1294 (home-page "http://www.vergenet.net/~conrad/software/xsel/")
1295 (synopsis "Manipulate X selection")
1297 "XSel is a command-line program for getting and setting the contents of
1298 the X selection. Normally this is only accessible by manually highlighting
1299 information and pasting it with the middle mouse button.
1301 XSel reads from standard input and writes to standard output by default,
1302 but can also follow a growing file, display contents, delete entries and more.")
1303 (license (license:x11-style "file://COPYING"
1304 "See COPYING in the distribution."))))
1306 (define-public xdpyprobe
1312 (uri (string-append "https://github.com/alezost/" name
1313 "/releases/download/v" version
1314 "/" name "-" version ".tar.gz"))
1317 "1h09wd2qcg08rj5hcakvdh9q01hkrj8vxly94ax3ch2x06lm0zq8"))))
1318 (build-system gnu-build-system)
1320 `(("libx11" ,libx11)))
1321 (home-page "https://github.com/alezost/xdpyprobe")
1322 (synopsis "Probe X server for connectivity")
1324 "Xdpyprobe is a tiny C program whose only purpose is to probe a
1325 connectivity of the X server running on a particular @code{DISPLAY}.")
1326 (license license:gpl3+)))
1334 (uri (string-append "https://github.com/DaveDavenport/rofi/"
1335 "releases/download/"
1336 version "/rofi-" version ".tar.xz"))
1339 "1nslmyqyzhfr4hxd4llqkkkb8ap8apkdna32rllvar7r576059ci"))))
1340 (build-system gnu-build-system)
1345 ("startup-notification" ,startup-notification)
1346 ("librsvg" ,librsvg)
1347 ("libxkbcommon" ,libxkbcommon)
1349 ("xcb-util" ,xcb-util)
1350 ("xcb-util-xrm" ,xcb-util-xrm)
1351 ("xcb-util-wm" ,xcb-util-wm)))
1356 ("glib:bin" ,glib "bin")
1357 ("pkg-config" ,pkg-config)))
1359 `(#:parallel-tests? #f ; fails in some circumstances
1361 (modify-phases %standard-phases
1362 (add-before 'configure 'adjust-tests
1364 (substitute* '("test/helper-expand.c")
1367 (("g_get_home_dir \\(\\)") "\"/\""))
1369 (home-page "https://github.com/DaveDavenport/rofi")
1370 (synopsis "Application launcher")
1371 (description "Rofi is a minimalist application launcher. It memorizes which
1372 applications you regularly use and also allows you to search for an application
1374 (license license:expat)))
1376 (define-public tint2
1382 (uri (string-append "https://gitlab.com/o9000/" name
1383 "/repository/archive.tar.gz?ref=" version))
1384 (file-name (string-append name "-" version ".tar.gz"))
1387 "1kwzwxy4myagybm3rc7dgynfgp75742n348qibn1p2an9ggyivda"))))
1388 (build-system cmake-build-system)
1390 '(#:tests? #f ;no test target
1392 (modify-phases %standard-phases
1393 (add-after 'unpack 'fix-installation-prefix
1395 (substitute* "CMakeLists.txt"
1396 (("/etc") "${CMAKE_INSTALL_PREFIX}/etc"))
1401 ("librsvg" ,librsvg)
1402 ("libxcomposite" ,libxcomposite)
1403 ("libxdamage" ,libxdamage)
1405 ("libxinerama" ,libxinerama)
1406 ("libxrandr" ,libxrandr)
1407 ("startup-notification" ,startup-notification)))
1409 `(("gettext" ,gettext-minimal)
1410 ("pkg-config" ,pkg-config)))
1411 (home-page "https://gitlab.com/o9000/tint2")
1412 (synopsis "Lightweight task bar")
1414 "Tint2 is a simple task bar made for modern X window managers. It was
1415 specifically made for Openbox but it should also work with other window
1416 managers (GNOME, KDE, XFCE etc.).
1418 The taskbar includes transparency and color settings for the font, icons,
1419 border, and background. It also supports multihead setups, customized mouse
1420 actions, a built-in clock, a battery monitor and a system tray.")
1421 (license license:gpl2)))
1424 (let ((commit "488ab66019f475e35e067646621827c18a879ba1")
1428 (version (string-append "0.9.5-" ; Taken from `config.mk`.
1429 revision "." (string-take commit 7)))
1433 (url "https://github.com/robm/dzen.git")
1435 (file-name (string-append name "-" version))
1438 "0y47d6ii87vf4a517gi4fh0yl06f8b085sra77immnsasbq9pxnw"))))
1439 (build-system gnu-build-system)
1441 `(#:tests? #f ; No test suite.
1442 #:make-flags ; Replacement for `config.mk`.
1444 (string-append "VERSION = " ,version)
1445 (string-append "PREFIX = " %output)
1446 "MANPREFIX = ${PREFIX}/share/man"
1448 "LIBS = -lc -lX11 -lXinerama -lXpm $(shell pkg-config --libs xft)"
1449 "CFLAGS = -Wall -Os ${INCS} -DVERSION=\\\"${VERSION}\\\"\
1450 -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT $(shell pkg-config --cflags xft)"
1455 (modify-phases %standard-phases
1456 (delete 'configure) ; No configuration script.
1457 ;; Use own make-flags instead of `config.mk`.
1458 (add-before 'build 'dont-include-config-mk
1460 (substitute* "Makefile" (("include config.mk") ""))
1463 `(("libx11" ,libx11)
1466 ("libxinerama" ,libxinerama)))
1467 (native-inputs `(("pkg-config" ,pkg-config)))
1468 (synopsis "General purpose messaging, notification and menuing program for X11")
1469 (description "Dzen is a general purpose messaging, notification and menuing
1470 program for X11. It was designed to be fast, tiny and scriptable in any language.")
1471 (home-page "https://github.com/robm/dzen")
1472 (license license:expat))))
1474 (define-public xftwidth
1477 (version "20170402")
1482 (url "http://github.com/vixus0/xftwidth")
1483 (commit "35ff963908d41a8a6a7101c434c88255728025ee")))
1486 "1jwl25785li24kbp0m1wxfwk4dgxkliynn03nsj813cjr34kq16h"))
1487 (file-name (string-append name "-" version "-checkout"))))
1488 (build-system gnu-build-system)
1489 (inputs `(("freetype" ,freetype)
1491 ("fontconfig" ,fontconfig)
1492 ("libxft" ,libxft)))
1494 `(("pkg-config" ,pkg-config)))
1497 (modify-phases %standard-phases
1498 (add-after 'unpack 'fix-makefile ; /usr/bin doesn't show up in PATH
1499 (lambda _ (substitute* "Makefile" (("usr/") "")) #t))
1500 (delete 'check) ; no check included in Makefile
1501 (delete 'configure))
1503 (let ((out (assoc-ref %outputs "out")))
1504 (list (string-append "DESTDIR=" out)))))
1505 (synopsis "Calculator for determining pixel widths of displayed text using Xft fonts")
1506 (description "xftwidth is a small C program for calculating the pixel
1507 widths of displayed text using Xft fonts. It is especially useful in scripts
1508 for displaying text in graphical panels, menus, popups, and notification
1509 windows generated using dzen. These scripts are often used in conjunction with
1510 minimalistic tiling window managers such as herbstluftwm and bspwm.")
1511 (home-page "http://github.com/vixus0/xftwidth")
1512 (license license:expat)))
1514 (define-public xcb-util-xrm
1516 (name "xcb-util-xrm")
1521 "https://github.com/Airblader/xcb-util-xrm/releases"
1522 "/download/v" version "/xcb-util-xrm-" version ".tar.bz2"))
1525 "118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h"))
1526 (modules '((guix build utils)))
1530 (delete-file-recursively "m4")
1532 (build-system gnu-build-system)
1534 `(("pkg-config" ,pkg-config)
1536 ("libx11" ,libx11))) ; for tests
1538 `(("libxcb" ,libxcb)
1539 ("xcb-util" ,xcb-util)))
1540 (home-page "https://github.com/Airblader/xcb-util-xrm")
1541 (synopsis "XCB utility functions for the X resource manager")
1543 "The XCB util module provides a number of libraries which sit on
1544 top of libxcb, the core X protocol library, and some of the extension
1545 libraries. These experimental libraries provide convenience functions
1546 and interfaces which make the raw X protocol more usable. Some of the
1547 libraries also provide client-side code which is not strictly part of
1548 the X protocol but which has traditionally been provided by Xlib.
1550 XCB util-xrm module provides the following libraries:
1552 - xrm: utility functions for the X resource manager.")
1553 (license license:x11)))
1555 (define-public xcalib
1559 (home-page "https://github.com/OpenICC/xcalib")
1565 (file-name (git-file-name name version))
1568 "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr"))
1571 ;; Add missing documentation for the new --output option.
1572 ;; This upstream patch can be removed on the next update.
1576 home-page "/commit/"
1577 "ae03889b91fe984b18e925ad2b5e6f2f7354e058.patch"))
1578 (file-name "xcalib-update-man-page.patch")
1581 "0f7b4d5484x4b9n1bwhqmar0kcaa029ffff7bp3xpr734n1qgqb6")))))))
1582 (build-system cmake-build-system)
1584 '(#:tests? #f)) ; no test suite
1585 (inputs `(("libx11" ,libx11)
1586 ("libxext" ,libxext)
1587 ("libxrandr" ,libxrandr)
1588 ("libxxf86vm" ,libxxf86vm)))
1589 (synopsis "Tiny monitor calibration loader for XFree86 (or X.org)")
1590 (description "xcalib is a tiny tool to load the content of vcgt-Tags in ICC
1591 profiles to the video card's gamma ramp. It does work with most video card
1592 drivers except the generic VESA driver. Alter brightness, contrast, RGB, and
1593 invert colors on a specific display/screen.")
1594 (license license:gpl2)))
1596 (define-public nxbelld
1603 (url "https://github.com/dusxmt/nxbelld.git")
1607 "04qwhmjs51irinz5mjlxdb3dc6vr79dqmc5fkj80x1ll3ylh5n3z"))
1608 (file-name (git-file-name name version))))
1609 (build-system gnu-build-system)
1610 (arguments '(#:configure-flags `("--enable-sound"
1613 (native-inputs `(("autoconf" ,autoconf)
1614 ("automake" ,automake)
1615 ("pkg-config" ,pkg-config)
1617 (inputs `(("libx11" ,libx11)
1618 ("alsa-lib" ,alsa-lib)))
1619 (synopsis "Daemon that performs an action every time the X11 bell is rung")
1620 (description "nxbelld is a tiny utility to aid people who either don't
1621 like the default PC speaker beep, or use a sound driver that doesn't have
1622 support for the PC speaker. The utility performs a given action every time
1623 the X bell is rung. The actions nxbelld can currently perform include running
1624 a specified program, emulating the PC speaker beep using the sound card (default),
1625 or playing a PCM encoded WAVE file.")
1626 (home-page "https://github.com/dusxmt/nxbelld")
1627 (license license:gpl3+)))
1629 (define-public xautolock
1635 (uri (string-append "https://www.ibiblio.org/pub/linux/X11/"
1636 "screensavers/xautolock-" version ".tgz"))
1639 "18jd3k3pvlm5x1adyqw63z2b3f4ixh9mfvz9asvnskk3fm8jgw0i"))))
1640 (build-system gnu-build-system)
1642 `(("imake" ,imake)))
1644 `(("libx11" ,libx11)
1645 ("libxext" ,libxext)
1646 ("libxscrnsaver" ,libxscrnsaver)))
1650 (modify-phases %standard-phases
1652 (lambda* (#:key inputs outputs #:allow-other-keys)
1653 (let ((imake (assoc-ref inputs "imake"))
1654 (out (assoc-ref outputs "out")))
1655 ;; Generate Makefile
1657 (substitute* "Makefile"
1658 ;; These imake variables somehow remain undefined
1659 (("DefaultGcc2[[:graph:]]*Opt") "-O2")
1660 ;; Reset a few variable defaults that are set in imake templates
1662 (("(MANPATH = )[[:graph:]]*" _ front)
1663 (string-append front out "/share/man")))
1664 ;; Old BSD-style 'union wait' is unneeded (defining
1665 ;; _USE_BSD did not seem to fix it)
1666 (substitute* "src/engine.c"
1667 (("union wait status") "int status = 0"))
1669 (add-after 'install 'install/man
1671 (invoke "make" "install.man"))))))
1672 (home-page "https://ibiblio.org/pub/Linux/X11/screensavers/")
1673 (synopsis "Program launcher for idle X sessions")
1674 (description "Xautolock monitors input devices under the X Window
1675 System, and launches a program of your choice if there is no activity after
1676 a user-configurable period of time.")
1677 (license license:gpl2)))
1679 (define-public screen-message
1681 (name "screen-message")
1686 "https://www.joachim-breitner.de/archive/screen-message"
1687 "/screen-message-" version ".tar.gz"))
1690 "1lw955qq5pq010lzmaf32ylj2iprgsri9ih4hx672c3f794ilab0"))))
1691 (build-system gnu-build-system)
1692 (inputs `(("gtk3" ,gtk+)
1695 (native-inputs `(("pkg-config" ,pkg-config)))
1697 ;; The default configure puts the 'sm' binary in games/ instead of bin/ -
1699 `(#:make-flags (list (string-append "execgamesdir=" %output "/bin"))))
1700 (synopsis "Print messages on your screen")
1701 (description "@code{screen-message} is a tool for displaying text on
1702 your screen. It will make the text as large as possible and display it
1703 with black color on a white background (colors are configurable on the
1705 (home-page "https://www.joachim-breitner.de/projects#screen-message")
1706 (license license:gpl2+)))
1708 (define-public xss-lock
1709 ;; xss-lock does not seem to be maintained any longer, but the last commits
1710 ;; fix important issues so we package them.
1711 (let ((version "0.3.0")
1713 (commit "1e158fb20108058dbd62bd51d8e8c003c0a48717"))
1716 (version (git-version version revision commit))
1720 (url "https://bitbucket.org/raymonad/xss-lock.git")
1722 (file-name (git-file-name name version))
1725 "10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r"))))
1726 (build-system cmake-build-system)
1727 (inputs `(("glib" ,glib)
1728 ("xcb-util" ,xcb-util)))
1730 `(("python-docutils" ,python-docutils)
1731 ("pkg-config" ,pkg-config)))
1734 (synopsis "Use external screen locker on events")
1735 (description "@code{xss-lock} listens to X signals to fire up a
1736 user-defined screensaver. In effect this allows to automatically lock the
1737 screen when closing a laptop lid or after a period of user inactivity (as set
1738 with @code{xset s TIMEOUT}). The notifier command, if specified, is executed
1739 first. Additionally, xss-lock uses the inhibition logic to lock the screen
1740 before the system goes to sleep.")
1741 (home-page "https://bitbucket.org/raymonad/xss-lock")
1742 (license license:expat))))
1744 (define-public python-pyperclip
1746 (name "python-pyperclip")
1751 (uri (pypi-uri "pyperclip" version))
1754 "1p505c23ji06r28k1y67siihsbdzdf1brhlqpyv9ams4gk9863pp"))))
1755 (build-system python-build-system)
1757 '(#:tests? #f)) ; Not clear how to make tests pass.
1761 (home-page "https://github.com/asweigart/pyperclip")
1762 (synopsis "Python clipboard module")
1764 "Pyperclip is a clipboard module for Python, handling copy/pasting from
1766 (license license:bsd-3)))
1768 (define-public numlockx
1775 ;; It seems that upstream is gone.
1776 (url "https://github.com/rg3/numlockx")
1778 (file-name (git-file-name name version))
1781 "1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2"))))
1782 (build-system gnu-build-system)
1784 `(("xorg-server" ,xorg-server)))
1785 (home-page "https://github.com/rg3/numlockx")
1786 (synopsis "Turns on the numlock key in X11")
1787 (description "@command{numlockx} is a tiny program that lets you turn on
1788 the numlock key in X11. It can be called from the user's initialization files
1789 to automatically turn it on on login.")
1790 (license license:expat)))
1792 (define-public xrandr-invert-colors
1794 (name "xrandr-invert-colors")
1799 (url "https://github.com/zoltanp/xrandr-invert-colors.git")
1800 (commit (string-append "v" version))))
1801 (file-name (git-file-name name version))
1804 "1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h"))))
1805 (build-system gnu-build-system)
1807 `(#:make-flags (list "CC=gcc")
1808 #:tests? #f ; there are none
1810 (modify-phases %standard-phases
1813 (lambda* (#:key outputs #:allow-other-keys)
1814 (let* ((out (assoc-ref outputs "out"))
1815 (bin (string-append out "/bin")))
1816 (install-file "xrandr-invert-colors.bin" bin)
1819 `(("libxrandr" ,libxrandr)))
1820 (home-page "https://github.com/zoltanp/xrandr-invert-colors")
1821 (synopsis "Invert display colors")
1822 (description "This package provides a small utility for inverting the
1823 colors on all monitors attached to an XRandR-capable X11 display server.")
1824 (license license:gpl3+)))
1834 (string-append "https://www.umaxx.net/dl/sct-"
1838 "0r57z9ki8pvxhawfxys0v5h85z2x211sqxki0xvk1bga88ryldlv"))))
1839 (build-system gnu-build-system)
1841 '(#:make-flags (list "CC=gcc")
1842 #:tests? #f ; No tests exist.
1844 (modify-phases %standard-phases
1846 (add-after 'unpack 'fix-sctd-paths
1847 (lambda* (#:key outputs inputs #:allow-other-keys)
1848 (let ((out (assoc-ref outputs "out"))
1849 (coreutils (assoc-ref inputs "coreutils"))
1850 (inetutils (assoc-ref inputs "inetutils"))
1851 (sed (assoc-ref inputs "sed")))
1852 (substitute* "sctd.sh"
1853 (("\\$\\(which sct\\)") (string-append out "/bin/sct"))
1854 (("date") (string-append coreutils "/bin/date"))
1855 (("printf") (string-append coreutils "/bin/printf"))
1856 (("sleep") (string-append coreutils "/bin/sleep"))
1857 (("logger") (string-append inetutils "/bin/logger"))
1858 (("sed") (string-append sed "/bin/sed"))))))
1860 (lambda* (#:key outputs #:allow-other-keys)
1861 (let ((out (assoc-ref outputs "out")))
1862 (install-file "sct" (string-append out "/bin"))
1863 (install-file "sctd.sh" (string-append out "/bin"))
1864 (install-file "sct.1" (string-append out "/man/man1"))
1865 (install-file "sctd.1" (string-append out "/man/man1"))
1866 (rename-file (string-append out "/bin/sctd.sh")
1867 (string-append out "/bin/sctd"))
1870 `(("coreutils" ,coreutils) ; sctd uses "date", "printf" and "sleep"
1871 ("inetutils" ,inetutils) ; sctd uses "logger"
1872 ("libxrandr" ,libxrandr)
1873 ("sed" ,sed))) ; sctd uses "sed"
1874 (home-page "https://www.umaxx.net")
1875 (synopsis "Set the color temperature of the screen")
1876 (description "@code{sct} is a lightweight utility to set the color
1877 temperature of the screen.")
1878 (license (license:non-copyleft "file://sct.c")))) ; "OpenBSD" license
1880 (define-public xsecurelock
1882 (name "xsecurelock")
1887 "https://github.com/google/xsecurelock/releases"
1888 "/download/v" version "/xsecurelock-" version ".tar.gz"))
1890 (base32 "070gknyv0s5hz9hkc6v73m2v7ssyjwgl93b5hd4glayfqxqjbmdp"))))
1891 (build-system gnu-build-system)
1894 '("--with-pam-service-name=login"
1896 "--with-default-authproto-module=/run/setuid-programs/authproto_pam")))
1898 `(("pandoc" ,ghc-pandoc)
1899 ("pkg-config" ,pkg-config)))
1901 `(("fontconfig" ,fontconfig)
1903 ("libxcomposite" ,libxcomposite)
1904 ("libxext" ,libxext)
1905 ("libxfixes" ,libxfixes)
1908 ("libxrandr" ,libxrandr)
1909 ("libxscrnsaver" ,libxscrnsaver)
1910 ("linux-pam" ,linux-pam)))
1911 (home-page "https://github.com/google/xsecurelock")
1912 (synopsis "X11 screen lock utility with the primary goal of security")
1913 (description "@code{xsecurelock} is an X11 screen locker which uses
1914 a modular design to avoid the usual pitfalls of screen locking utility design.
1916 As a consequence of the modular design, the usual screen locker service
1917 shouldn't be used with @code{xsecurelock}. Instead, you need to add a helper
1918 binary to setuid-binaries:
1920 (setuid-programs (cons*
1921 (file-append xsecurelock \"/libexec/xsecurelock/authproto_pam\")
1924 (license license:asl2.0)))
1926 (define-public wl-clipboard
1928 (name "wl-clipboard")
1929 (version "2.0.0_beta2")
1934 (url "https://github.com/bugaevc/wl-clipboard.git")
1936 (file-name (git-file-name name version))
1938 (base32 "0wyqbaph9v1v6lwfcjf8gjhdl70icpss4wapshzfxcz3l9m1p8hv"))))
1939 (build-system meson-build-system)
1941 `(("pkg-config" ,pkg-config)))
1943 `(("wayland" ,wayland)
1944 ("wayland-protocols" ,wayland-protocols)))
1945 (home-page "https://github.com/bugaevc/wl-clipboard")
1946 (synopsis "Command-line copy/paste utilities for Wayland")
1947 (description "Wl-clipboard is a set of command-line copy/paste utilities for
1949 (license license:gpl3+)))
1951 (define-public autocutsel
1957 (uri (string-append "https://github.com/sigmike/autocutsel"
1958 "/releases/download/" version "/"
1959 "autocutsel-" version ".tar.gz"))
1962 "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"))))
1963 (build-system gnu-build-system)
1965 '(#:tests? #f)) ; no "check" target
1966 (native-inputs `(("libx11" ,libx11)
1967 ("libxaw" ,libxaw)))
1968 (home-page "https://www.nongnu.org/autocutsel/")
1969 (synopsis "Automated X11 clipboard and cutbuffer synchronization")
1970 (description "@code{autocutsel} tracks changes in the server's cutbuffer
1971 and clipboard selection. When the clipboard is changed, it updates the
1972 cutbuffer. When the cutbuffer is changed, it owns the clipboard selection.
1973 The cutbuffer and clipboard selection are always synchronized.")
1974 (license license:gpl2+)))
1976 (define-public jgmenu
1984 (url "https://github.com/johanmalm/jgmenu.git")
1985 (commit (string-append "v" version))))
1986 (file-name (git-file-name name version))
1989 "1wsh37rapb1bszlq36hvwxqvfds39hbvbl152m8as4zlh93wfvvk"))))
1990 (build-system gnu-build-system)
1992 `(("cppcheck" ,cppcheck)
1994 ("pkg-config" ,pkg-config)))
1998 ("librsvg" ,librsvg)
2000 ("libxml2" ,libxml2)
2001 ("libxrandr" ,libxrandr)
2005 (modify-phases %standard-phases
2006 (add-after 'unpack 'fix-tests
2008 (substitute* "scripts/cppcheck-wrapper.sh"
2009 (("--library=/usr/share/cppcheck/cfg/gnu\\.cfg")
2013 (lambda* (#:key outputs #:allow-other-keys)
2015 (invoke "./configure"
2016 (string-append "--prefix=" (assoc-ref outputs "out")))
2018 (synopsis "Simple X11 menu")
2020 "This is a simple menu for X11 designed for scripting and tweaking. It
2021 can optionally use some appearance settings from XSettings, tint2 and GTK.")
2022 (home-page "https://jgmenu.github.io/")
2023 (license license:gpl2)))
2025 (define-public xwallpaper
2033 (url "https://github.com/stoeckmann/xwallpaper")
2034 (commit (string-append "v" version))))
2035 (file-name (git-file-name name version))
2038 "175fzifvia58vah2x7509drvfn3xfv5d9szgh9x1w1a1w8rcs2hx"))))
2039 (build-system gnu-build-system)
2041 `(("autoconf" ,autoconf)
2042 ("automake" ,automake)
2043 ("pkg-config" ,pkg-config)))
2045 `(("libjpeg-turbo" ,libjpeg-turbo)
2049 ("xcb-util" ,xcb-util)
2050 ("xcb-util-image" ,xcb-util-image)))
2051 (home-page "https://github.com/stoeckmann/xwallpaper")
2052 (synopsis "Wallpaper setting utility for X")
2054 "The xwallpaper utility allows you to set image files as your X
2055 wallpaper. JPEG, PNG, and XPM file formats are supported.
2057 The wallpaper is also advertised to programs which support semi-transparent
2059 (license license:isc)))
2061 (define-public xwrits
2068 (uri (string-append "https://www.lcdf.org/~eddietwo/xwrits/"
2069 "xwrits-" version ".tar.gz"))
2071 (base32 "1n7y0fqpcvmzznvbsn14hzy5ddaa3lilm8aw6ckscqndnh4lijma"))))
2072 (build-system gnu-build-system)
2075 (modify-phases %standard-phases
2076 (add-after 'install 'install-docs
2077 (lambda* (#:key outputs #:allow-other-keys)
2078 (let* ((out (assoc-ref outputs "out"))
2079 (doc (string-append out "/share/doc/xwrits")))
2080 (install-file "GESTURES" doc)
2081 (install-file "README" doc)
2084 `(("libx11" ,libx11)
2085 ("libxinerama" ,libxinerama)))
2086 (home-page "https://www.lcdf.org/~eddietwo/xwrits/")
2087 (synopsis "Reminds you to take wrist breaks")
2088 (description "Xwrits reminds you to take wrist breaks for prevention or
2089 management of repetitive stress injuries. When you should take a break, it
2090 pops up an X window, the warning window. You click on the warning window,
2091 then take a break. The window changes appearance while you take the break.
2092 It changes again when your break is over. Then you just resume typing.
2093 Xwrits hides itself until you should take another break.")
2094 (license license:gpl2)))
2096 (define-public xsettingsd
2104 (url "https://github.com/derat/xsettingsd.git")
2105 (commit (string-append "v" version))))
2106 (file-name (git-file-name name version))
2109 "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v"))))
2110 (build-system scons-build-system)
2112 `(("libx11" ,libx11)))
2114 `(("pkg-config" ,pkg-config)
2115 ("googletest" ,googletest)
2116 ("googletest-source" ,(package-source googletest))))
2118 `(#:scons ,scons-python2
2122 (modify-phases %standard-phases
2123 (add-before 'build 'patch-sconstruct
2124 (lambda* (#:key inputs #:allow-other-keys)
2125 (substitute* "SConstruct"
2126 ;; scons doesn't pick up environment variables automatically
2127 ;; so it needs help to find path variables
2128 (("env = Environment\\(")
2131 'PATH': os.environ['PATH'],
2132 'CPATH': os.environ['CPATH'],
2133 'LIBRARY_PATH': os.environ['LIBRARY_PATH'],
2134 'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH']
2136 ;; Update path to gtest source files used in tests
2137 (("/usr/src/gtest") (string-append
2138 (assoc-ref inputs "googletest-source")
2140 ;; Exclude one warning that causes a build error
2141 (("-Werror") "-Werror -Wno-error=sign-compare"))
2143 ;; The SConstruct script doesn't configure installation so
2144 ;; binaries must be copied to the output path directly
2146 (lambda* (#:key outputs #:allow-other-keys)
2147 (let* ((out (assoc-ref outputs "out"))
2148 (bin (string-append out "/bin")))
2150 (install-file "xsettingsd" bin)
2151 (install-file "dump_xsettings" bin)
2153 (home-page "https://github.com/derat/xsettingsd")
2154 (synopsis "Xorg settings daemon")
2155 (description "@command{xsettingsd} is a lightweight daemon that provides settings to
2156 Xorg applications via the XSETTINGS specification. It is used for defining
2157 font and theme settings when a complete desktop environment (GNOME, KDE) is
2158 not running. With a simple @file{.xsettingsd} configuration file one can avoid
2159 configuring visual settings in different UI toolkits separately.")
2160 (license license:bsd-3)))
2162 (define-public clipnotify
2170 (url "https://github.com/cdown/clipnotify.git")
2172 (file-name (git-file-name name version))
2175 "1v3ydm5ljy8z1savmdxrjyx7a5bm5013rzw80frp3qbbjaci0wbg"))))
2176 (build-system gnu-build-system)
2179 (modify-phases %standard-phases
2182 (lambda* (#:key inputs outputs #:allow-other-keys)
2183 (let* ((out (assoc-ref outputs "out"))
2184 (bin (string-append out "/bin"))
2185 (doc (string-append %output "/share/doc/" ,name "-" ,version)))
2186 (install-file "clipnotify" bin)
2187 (install-file "README.md" doc)
2189 #:make-flags (list "CC=gcc")
2190 ;; the package provides no test suite:
2193 `(("libx11" ,libx11)
2194 ("libXfixes" ,libxfixes)))
2195 (home-page "https://github.com/cdown/clipnotify")
2196 (synopsis "Notify on new X clipboard events")
2197 (description "@command{clipnotify} is a simple program that, using the
2198 XFIXES extension to X11, waits until a new selection is available and then
2201 It was primarily designed for clipmenu, to avoid polling for new selections.
2203 @command{clipnotify} doesn't try to print anything about the contents of the
2204 selection, it just exits when it changes. This is intentional -- X11's
2205 selection API is verging on the insane, and there are plenty of others who
2206 have already lost their sanity to bring us xclip/xsel/etc. Use one of those
2207 tools to complement clipnotify.")
2208 (license license:public-domain)))
2210 (define-public clipmenu
2211 (let ((commit "bcbe7b144598db4a103f14e8408c4b7327d6d5e1")
2215 (version (string-append "6.0.1-"
2216 revision "." (string-take commit 7)))
2221 (url "https://github.com/cdown/clipmenu.git")
2223 (file-name (git-file-name name version))
2226 "12vvircdhl4psqi51cnfd6bqy85v2vwfcmdq1mimjgng727nwzys"))))
2227 (build-system gnu-build-system)
2230 (modify-phases %standard-phases
2234 (lambda* (#:key inputs outputs #:allow-other-keys)
2235 (let* ((out (assoc-ref outputs "out"))
2236 (bin (string-append out "/bin"))
2237 (doc (string-append %output "/share/doc/"
2238 ,name "-" ,version)))
2239 (install-file "clipdel" bin)
2240 (install-file "clipmenu" bin)
2241 (install-file "clipmenud" bin)
2242 (install-file "README.md" doc)
2244 (add-after 'install 'wrap-script
2245 (lambda* (#:key inputs outputs #:allow-other-keys)
2246 (let* ((out (assoc-ref outputs "out"))
2247 (clipnotify (assoc-ref inputs "clipnotify"))
2248 (coreutils-minimal (assoc-ref inputs "coreutils-minimal"))
2249 (gawk (assoc-ref inputs "gawk"))
2250 (util-linux (assoc-ref inputs "util-linux"))
2251 (xdotool (assoc-ref inputs "xdotool"))
2252 (xsel (assoc-ref inputs "xsel")))
2255 (wrap-script (string-append out "/bin/" prog)
2258 (string-append dir "/bin"))
2259 (list clipnotify coreutils-minimal
2260 gawk util-linux xdotool xsel)))))
2261 '("clipmenu" "clipmenud" "clipdel")))
2264 (lambda* (#:key inputs outputs #:allow-other-keys)
2265 ;; substitute a shebang appearing inside a string (the test
2266 ;; file writes this string to a temporary file):
2267 (substitute* "tests/test-clipmenu"
2268 (("#!/usr/bin/env bash")
2269 (string-append "#!" (which "bash"))))
2270 (invoke "tests/test-clipmenu")
2273 `(("clipnotify" ,clipnotify)
2274 ("coreutils-minimal" ,coreutils-minimal)
2276 ("guile" ,guile-3.0) ; for wrap-script
2277 ("util-linux" ,util-linux)
2278 ("xdotool" ,xdotool)
2280 (home-page "https://github.com/cdown/clipmenu")
2281 (synopsis "Simple clipboard manager using dmenu or rofi and xsel")
2282 (description "Start @command{clipmenud}, then run @command{clipmenu} to
2283 select something to put on the clipboard.
2285 When @command{clipmenud} detects changes to the clipboard contents, it writes
2286 them out to the cache directory. @command{clipmenu} reads the cache directory
2287 to find all available clips and launches @command{dmenu} (or @command{rofi},
2288 depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
2289 After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
2290 (license license:public-domain))))