GNU bug report logs - #55235
[PATCH] gnu: Add touchegg.

Previous Next

Package: guix-patches;

Reported by: Rene Saavedra <nanuui <at> protonmail.com>

Date: Tue, 3 May 2022 01:03:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55235 in the body.
You can then email your comments to 55235 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Tue, 03 May 2022 01:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rene Saavedra <nanuui <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 03 May 2022 01:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rene Saavedra <nanuui <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add touchegg.
Date: Tue, 03 May 2022 01:01:03 +0000
[Message part 1 (text/plain, inline)]
hello,

I share this package, I think (gnu/packages/toys.scm), it is a good place to live; but i can change it.

Cheers

--
Rene
[0001-gnu-Add-touchegg.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Wed, 04 May 2022 13:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Rene Saavedra <nanuui <at> protonmail.com>, 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Wed, 04 May 2022 15:51:38 +0200
[Message part 1 (text/plain, inline)]
> + diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm

Doesn't look like a toy to me.

Rene Saavedra via Guix-patches via schreef op di 03-05-2022 om 01:01
[+0000]:
> +         ;; gnome-shell launch touchegg binary on startup and
> +         ;; touchegg requires root privileges for proper
> functioning.
> +         (add-after 'unpack 'disable-autostart
> +           (lambda _
> +             (substitute* "installation/touchegg.desktop"
> +               (("Exec=touchegg")
> +                "Exec=false")))))))

What does it need root for?

> +    (synopsis "Linux multi-touch gesture recognizer")

Is it Linux-specific?  Also, does it work in a pure environment (./pre-
inst-env guix shell --pure touchegg -- touchegg)?

> use libinput to communicate with +hardware.")

The exact library used seems like an implementation detail to me.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Sun, 08 May 2022 01:02:02 GMT) Full text and rfc822 format available.

Message #11 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Rene Saavedra <nanuui <at> protonmail.com>
To: 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Sat, 07 May 2022 21:53:44 +0000
[Message part 1 (text/plain, inline)]
hi Maxime,

>
> Doesn't look like a toy to me.
moved to gnu/packages/linux.scm

>
> What does it need root for?
touchegg --daemon requires to detect touchpad device.

> Is it Linux-specific? Also, does it work in a pure environment (./pre-
> inst-env guix shell --pure touchegg -- touchegg)?
fixed synopsis.

don't work in a pure environment, see error:
--
rex <at> crash ~/dev/guix$ ./pre-inst-env guix shell --pure touchegg -- touchegg --daemon
Touchégg v2.0.14.
Starting Touchégg in daemon mode
Starting daemon server...
Generating D-Bus introspection data
Creating D-Bus server
Server started at address unix:abstract=touchegg
A list of detected compatible devices will be displayed below:
Warning: Error opening device /dev/input/event3
Warning: Error opening device /dev/input/event0
Warning: Error opening device /dev/input/event1
Warning: Error opening device /dev/input/event5
Warning: Error opening device /dev/input/event8
Warning: Error opening device /dev/input/event6
Warning: Error opening device /dev/input/event9
Warning: Error opening device /dev/input/event10
Warning: Error opening device /dev/input/event11
Warning: Error opening device /dev/input/event7
Warning: Error opening device /dev/input/event2
Warning: Error opening device /dev/input/event4
--

>
> The exact library used seems like an implementation detail to me.
description fixed.

Cheers
--
Rene
[0001-PATCH-gnu-Add-touchegg.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Sun, 08 May 2022 10:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Rene Saavedra <nanuui <at> protonmail.com>, 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Sun, 08 May 2022 12:58:02 +0200
[Message part 1 (text/plain, inline)]
Rene Saavedra via Guix-patches via schreef op za 07-05-2022 om 21:53
[+0000]:
> > Is it Linux-specific? Also, does it work in a pure environment
> (./pre-
> > inst-env guix shell --pure touchegg -- touchegg)?
> fixed synopsis.
> 
> don't work in a pure environment, see error:
> --
> rex <at> crash ~/dev/guix$ ./pre-inst-env guix shell --pure touchegg --
> touchegg --daemon

That's the daemon, which apparently requires root whereas you're
running it as non-root (see Error opening device.  Try

(not sure if the -E is 
$ ./pre-inst-env guix shell --pure touchegg -- sudo -E touchegg --daemon

and

$ ./pre-inst-env guix shell --pure touchegg -- touchegg

instead.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Sun, 15 May 2022 22:17:03 GMT) Full text and rfc822 format available.

Message #17 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Rene Saavedra <nanuui <at> protonmail.com>
Cc: 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Sun, 15 May 2022 15:46:18 +0000
Hi Maxime,

> That's the daemon, which apparently requires root whereas you're
> running it as non-root (see Error opening device. Try
>
> (not sure if the -E is
> $ ./pre-inst-env guix shell --pure touchegg -- sudo -E touchegg --daemon

rex <at> crash ~/dev/guix$ ./pre-inst-env guix shell --pure touchegg -- $(sudo touchegg --daemon)

> $ ./pre-inst-env guix shell --pure touchegg -- touchegg
--
rex <at> crash ~/dev/guix$ ./pre-inst-env guix shell --pure touchegg -- touchegg
Touchégg v2.0.14.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/home/rex/.config/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Connection with Touchégg established
--

With this, touchegg works in a pure environment!.


Cheers
--
Rene




Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Wed, 18 May 2022 22:25:02 GMT) Full text and rfc822 format available.

Message #20 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Rene Saavedra <nanuui <at> protonmail.com>
Cc: 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Wed, 18 May 2022 22:24:24 +0000
Hi Maxime,

I will send an updated version of the package that works with a Shepherd service.


Cheers
--
Rene





Information forwarded to guix-patches <at> gnu.org:
bug#55235; Package guix-patches. (Fri, 20 May 2022 18:40:02 GMT) Full text and rfc822 format available.

Message #23 received at 55235 <at> debbugs.gnu.org (full text, mbox):

From: Rene Saavedra <nanuui <at> protonmail.com>
Cc: 55235 <at> debbugs.gnu.org
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Fri, 20 May 2022 18:39:05 +0000
[Message part 1 (text/plain, inline)]
Hi,

> I will send an updated version of the package that works with a Shepherd service.
>

Attached the updated version of the package, I did tests executing Touchegg as a service (which I will send in another mail, WIP).


--
Rene
[0001-PATCH-gnu-Add-touchegg.patch (text/x-patch, attachment)]

Reply sent to Julien Lepiller <julien <at> lepiller.eu>:
You have taken responsibility. (Sat, 04 Jun 2022 15:57:01 GMT) Full text and rfc822 format available.

Notification sent to Rene Saavedra <nanuui <at> protonmail.com>:
bug acknowledged by developer. (Sat, 04 Jun 2022 15:57:02 GMT) Full text and rfc822 format available.

Message #28 received at 55235-done <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
Cc: 55235-done <at> debbugs.gnu.org, Rene Saavedra <nanuui <at> protonmail.com>
Subject: Re: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Sat, 4 Jun 2022 17:56:38 +0200
Le Fri, 20 May 2022 18:39:05 +0000,
Rene Saavedra via Guix-patches via <guix-patches <at> gnu.org> a écrit :

> Hi,
> 
> > I will send an updated version of the package that works with a
> > Shepherd service. 
> 
> Attached the updated version of the package, I did tests executing
> Touchegg as a service (which I will send in another mail, WIP).
> 
> 
> --
> Rene

Hi Rene,

pushed to master as 28274a353d3618784a4035e928db688f0664aa8c, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jul 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.