Answer the question
In order to leave comments, you need to log in
How do I turn off my computer after a period of inactivity?
It is necessary to turn off the computer after a period of inactivity, the mouse does not move there, etc.
Tell me how this can be done, the MATE graphical environment. It is necessary to turn off the computer, not to sleep or hibernation.
Answer the question
In order to leave comments, you need to log in
Decided in the following way.
yum -y install xfce4-power-manager
echo "HandlePowerKey=poweroff" >> /etc/systemd/logind.conf
echo "IdleAction=poweroff" >> /etc/systemd/logind.conf
echo "IdleActionSec=10min" >> /etc/systemd/logind.conf
xfce4-power-manager
mkdir -p /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/
cp $PATH_SCRIPT/config/xfce4-power-manager.xml /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/
chown -R user:user /home/user/.config/xfce4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question