Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #257558
| From | "Susmita/Rajib" <bkpsusmitaa@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal |
| Date | 2023-04-25 07:20 +0200 |
| Message-ID | <GojfP-4lCT-1@gated-at.bofh.it> (permalink) |
| References | <Go4Tv-4cp9-1@gated-at.bofh.it> <GojfP-4lCT-3@gated-at.bofh.it> <GojfP-4lCT-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
To: debian-user@lists.debian.org
Subject: Re: Request for guidance to output(print, i.e.) mouse
movements, key press, perepherals insert, etc., on a terminal
From: Darac Marjal <mailinglist@darac.org.uk>
Date: Mon, 24 Apr 2023 18:24:06 +0100
Message-id: <[🔎] ab7599f3-2c92-358c-2ba4-250284395936@darac.org.uk>
In-reply-to: <[🔎]
CAEG4cZXDPaY3hkjYTf=FNm7byybFztmaB-mo8RkvH-_vkPMP7A@mail.gmail.com>
References: <[🔎]
CAEG4cZXDPaY3hkjYTf=FNm7byybFztmaB-mo8RkvH-_vkPMP7A@mail.gmail.com>
[ ... ]
Try looking at "evtest".
[ ... ]
Thanks Mr. Marjal, for replying to my query.
First of all, my apology for typing incorrectly the word Peripheral.
My dear illustrious leaders and senior list members of debian-user,
Checked a few of stackoverflow questions with your input and the
string [stackoverflow "monitor mouse" debian].
These are about monitoring mouse/keystroke
programmatically using c programming language, not with bash script.
BUT my point is that GNU/Linux system must be doing this. I like to
seek the data from the system program(s) that is/are monitoring all
peripherals.
>From these questions, found evemu, but this isn't available in Debian.
Only on freedesktop. But an alternative is available: evemu-tools. But
Debian manpages doesn't have an evemu-tools entry.
Raed the manual of evtest. There are very little
example code lines. evtest isn't installed in the Official Debian
GNU/Linux Live 11.6.0 lxde 2022-12-17T11:46.
Tthe package information was raed for evtest. evtest according to
Debian is only being maintained. Advised that it was better to look for
evemu.
>From the package repository, it was found that evemu have separate
manpages, each for:
evemu-describe
evemu-device
evemu-event
evemu-play
evemu-record
I read the man pages and tried:
evemu-describe /dev/input/eventX
For my laptop.
Could I please be advised on how to:
(1) monitor event0 (keyboard), event6 (external USB optical mouse) real time?
(2) If there is a way to monitor mouse-clicks or keystroke, i.e., the
two events, in real time, without a script or a programming language
like c or python?
(3) monitor the USB ports when some device is inserted into the ports?
Best wishes,
Rajib
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-24 16:00 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal Darac Marjal <mailinglist@darac.org.uk> - 2023-04-24 19:30 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-25 07:20 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal David <bouncingcats@gmail.com> - 2023-04-25 07:50 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-25 15:30 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-05-02 10:10 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal songbird <songbird@anthive.com> - 2023-05-02 16:10 +0200
Re: Request for guidance to output(print, i.e.) mouse movements, key press, perepherals insert, etc., on a terminal Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-05-03 10:30 +0200
csiph-web