-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2021-04-15 at 12:19 +0200, jdd@dodin.org wrote:
Le 15/04/2021 à 12:02, Carlos E. R. a écrit :
You have to start the service. And you can change configuration options.
# service enable lap
<tab>
gives nothing :-(
Sorry for the delay, the laptop was off and I forgot. minas-tirith:~ # systemctl status laptop-mode ● laptop-mode.service - Laptop Mode Tools Loaded: loaded (/usr/lib/systemd/system/laptop-mode.service; enabled; vendor preset: disabled) Active: active (exited) since Wed 2021-04-14 23:13:18 CEST; 1 day 22h ago Docs: man:laptop_mode(8) man:laptop-mode.conf(8) http://github.com/rickysarraf/laptop-mode-tools Process: 8203 ExecReload=/usr/sbin/laptop_mode auto (code=exited, status=0/SUCCESS) Main PID: 1470 (code=exited, status=0/SUCCESS) minas-tirith:~ # minas-tirith:~ # systemctl cat laptop-mode # /usr/lib/systemd/system/laptop-mode.service [Unit] Description=Laptop Mode Tools Documentation=man:laptop_mode(8) man:laptop-mode.conf(8) Documentation=http://github.com/rickysarraf/laptop-mode-tools [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/laptop_mode init auto ExecStop=/usr/sbin/laptop_mode init stop ExecStopPost=/bin/rm -f /var/run/laptop-mode-tools/enabled ExecReload=/usr/sbin/laptop_mode auto StandardOutput=journal StandardError=journal TasksMax=infinity [Install] WantedBy=multi-user.target minas-tirith:~ # minas-tirith:~ # rpm -qf /usr/lib/systemd/system/laptop-mode.service laptop-mode-tools-1.69.2-lp152.3.3.noarch minas-tirith:~ # - -- Cheers, Carlos E. R. (from openSUSE 15.2 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYHnlxhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVY4UAoI15EIJ6cmpSuYsO6hjP +4ZgOzWDAJ9F2XcRwH/eAI04638ze+du8Y4IpA== =Mi17 -----END PGP SIGNATURE-----