From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id vyxdBkcF9mASYgEAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 01:05:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mGIdAUcF9mDwXgAA1q6Kng (envelope-from ) for ; Mon, 19 Jul 2021 23:05:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DC561CB8F for ; Tue, 20 Jul 2021 01:05:42 +0200 (CEST) Received: from localhost ([::1]:39260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5cKT-0002t9-F4 for larch@yhetil.org; Mon, 19 Jul 2021 19:05:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5cAB-0001Zh-5x for guix-patches@gnu.org; Mon, 19 Jul 2021 18:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5cAA-0001zK-Iq for guix-patches@gnu.org; Mon, 19 Jul 2021 18:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5cAA-0003xf-HO for guix-patches@gnu.org; Mon, 19 Jul 2021 18:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49652] [PATCH] gnu: Add unclutter-xfixes Resent-From: iKaSeRo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jul 2021 22:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49652@debbugs.gnu.org Cc: iKaSeRo X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162673525815168 (code B ref -1); Mon, 19 Jul 2021 22:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2021 22:54:18 +0000 Received: from localhost ([127.0.0.1]:60579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5c9R-0003wa-E0 for submit@debbugs.gnu.org; Mon, 19 Jul 2021 18:54:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:54602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5byV-0003gL-82 for submit@debbugs.gnu.org; Mon, 19 Jul 2021 18:43:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5byU-0008SS-Tn for guix-patches@gnu.org; Mon, 19 Jul 2021 18:42:58 -0400 Received: from ikasero.com ([2001:19f0:6c01:218e:5400:3ff:fe23:b75]:49478 helo=mail.ikasero.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5byR-0002aF-UE for guix-patches@gnu.org; Mon, 19 Jul 2021 18:42:58 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:16a2:436d:f000:d65d:64ff:fed7:6da]) by mail.ikasero.com (Postfix) with ESMTPSA id 6C1957D43A; Mon, 19 Jul 2021 22:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ikasero.com; s=mail; t=1626734570; bh=Q2Ae8T6E4FXfPz/RHCHGha4NI59xOGkAaY3Wx8CiTjA=; h=From:To:Cc:Subject:Date:From; b=BqcnzM8EwaYLBN4ZxCo9karhzRvBM0RCqa1auGtr/rb+hTGj00uOhTGzIhxM907j8 cvHyqCvMzUyYs+H4EQTbtn4DaTT+Oix/Lduu6Pp4X3nBq0N0Qm2lzkDVc/AXQkRLk/ cEyw8HIJNypd0uSd5/7H8nXdEFwO0svUT/QPst7c/AiRxtpU/4NpsHhbkD9cQBtY/X TmVzYo1tbsFQ5PwjHkuKS7ZK63cyKDWtEkOhLP1BbSy5wufV+3GiWLvBEUu/inq3iX D6Dadic2DT685xUu+Ss5Q5ShG+LT3pV6daDqWlqw5mm0pyh/d23XCCa7g+OeSvVzAF OY0ssrtQoKAHw== From: iKaSeRo Date: Tue, 20 Jul 2021 01:42:18 +0300 Message-Id: <20210719224218.5320-1-ahmed@ikasero.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:19f0:6c01:218e:5400:3ff:fe23:b75; envelope-from=ahmed@ikasero.com; helo=mail.ikasero.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 19 Jul 2021 18:54:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 19 Jul 2021 19:05:33 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626735942; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vUgGdBWE0hwVzcYP+CeDf8OJH5COBQy5C0qbzaHv6Lo=; b=G+5/xwGfP80rdMLEfH+k8anRVgmW81WDHvv8Cxk1U4NEX5pvDqNgJNWHilwueF1yrosGn3 vZCu88ELk8IIJlpFOndpg6YpsWYM+DLY3+PK+fQPDYUr4CpBGgRFlWJxoag5mdb8WROPtp V7vLVVCQ8YIRmNkRApt/ZlAc5ma30P1vN7dLDMK3NFz7EO7rVI6W80zcGXMlA1Z+ds6tW6 laFiPL4JMMKpKkIX1x1RToGBtBoAkSth1Y+6nZx7sxmBuCTJlbKT0M9imd5a+0aDL3Ir4r Sqv4115B/y4/NGOvQfdS/22SNUQ4B9BHy3do3op/6+L2v2gS8WASd59Gjabvlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626735942; a=rsa-sha256; cv=none; b=aGFnQRNzG35ZziQ5ao041ecFn9fBtITuKerRZl5C6fi6DGp0aViGvyQBdlt0XjDkq7NOtn fUBrsUkf95kk8hlG7twFhlmetHG8QyPjgMsUoUtJ8/xQZRzWs8cx1ORaxh7eI6CyPMEGaj xN0TRele9ui+4dMHkVtLOyzG8Lrg0W/D5DAHWFcAMkW7HhzDUmavWgK9K7ZkPTD4VTUNXH XMYl6/GRq3Sa9xCAh8ZqO1E9D5cww4WIBtJsA5Ypi4CTLrlK6txkorNOorWxykG/ESaYkb yAX82pZCisxvc7U5VM04qfW74RaUUZyCTIbOSLewGWUEsUp2n/oEhL+KZFPYDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikasero.com header.s=mail header.b=BqcnzM8E; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikasero.com header.s=mail header.b=BqcnzM8E; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7DC561CB8F X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: KFknyM0/YBVB * gnu/packages/xdisorg.scm (unclutter-xfixes): New variable. --- gnu/packages/xdisorg.scm | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 22f29c93be..5dd1d73472 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2021 Paul A. Patience ;;; Copyright © 2021 Niklas Eklund ;;; Copyright © 2021 Nikita Domnitskii +;;; Copyright © 2021 ikasero ;;; ;;; This file is part of GNU Guix. ;;; @@ -100,6 +101,7 @@ #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) + #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages m4) #:use-module (gnu packages man) @@ -907,6 +909,54 @@ xedit, for example. The human factors crowd would agree it should make things less distracting.") (license license:public-domain))) +(define-public unclutter-xfixes + (package + (name "unclutter-xfixes") + (version "1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Airblader/unclutter-xfixes") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b")))) + (build-system gnu-build-system) + (arguments '(#:tests? #f + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("libx11" ,libx11) + ("libev" ,libev) + ("libxfixes" ,libxfixes) + ("libxi" ,libxi))) + (native-inputs + `(("asciidoc" ,asciidoc) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/Airblader/unclutter-xfixes") + (synopsis "Hide idle mouse cursor") + (description + "unclutter-xfixes is a rewrite of the popular tool unclutter, but +using the x11-xfixes extension. This means that this rewrite doesn't +use fake windows or pointer grabbing and hence causes less problems +with window managers and/or applications. + +Unclutter is a program which runs permanently in the background of an +X11 session. It checks on the X11 pointer (cursor) position every few +seconds, and when it finds it has not moved (and no buttons are pressed +on the mouse, and the cursor is not in the root window) it creates a +small sub-window as a child of the window the cursor is in. The new +window installs a cursor of size 1x1 but a mask of all 0, i.e. an +invisible cursor. This allows you to see all the text in an xterm or +xedit, for example. The human factors crowd would agree it should make +things less distracting.") + (license license:expat))) + (define-public xautomation (package (name "xautomation") -- 2.32.0