On my lubuntu 22.04 I have installed the package unclutter by the command:
sudo apt-get install unclutter
A description of this package is the following:
unclutter hides your X mouse cursor when you don’t need it, to prevent it from getting in the way. You have only to move the mouse to restore the mouse cursor.
After the installation and the reboot I could see the following unclutter process by ps aux:
$ ps aux | grep unclutter
myuser 926 0.0 0.1 4704 2784 ? S 09:39 0:00 /usr/bin/unclutter -idle 1 -root
Furthermore by systemctl status I can suppose that unclutter has been started by systemd because the output of the command systemctl status contains:
$ systemctl status
├─user.slice
| ├─user-1000.slice
| │ ├─[email protected]
| | ...
| └─session-1.scope
| │ ├─ ...
| │ ├─ ...
| │ ├─ 926 /usr/bin/unclutter -idle 1 -root
... ... ...
unclutter-startup
By the command apt list --installed I have found that, with unclutter, is also installed the package unclutter-startup, and in the documentation the description of this other package is:
autostart infrastructure for unclutter and unclutter-xfixes
This sentence explains that unclutter, by the package unclutter-startup, has an autostart infrastructure which is responsible of it startup.
My question
Probably the program unclutter is started by a service, but I can't understand what is the service which starts it. So how can I disable unclutter without remove the package?
systemctl status <pid-of-unclutter>show?systemctl status <pid-of-unclutter>shows are: 1)session-1.scope, 2)Loaded: loaded (/run/systemd/transient/session-1.scope; transient)3)CGroup: /user.slice/user-1000.slice/session-1.scopeunclutter-startup, I'd say that's the/etc/X11/Xsession.d/90unclutterscript.unclutterby the file/etc/default/unclutterand not directly by the file/etc/X11/Xsession.d/90unclutter.