• Tutorial // Closed LID and Music...


    sudo gedit /etc/systemd/logind.conf

    \# This file is part of systemd.  
    >\#  
    >\# systemd is free software; you can redistribute it and/or modify it  
    >\# under the terms of the GNU Lesser General Public License as published by  
    >\# the Free Software Foundation; either version 2.1 of the License, or  
    >\# (at your option) any later version.  
    >\#  
    >\# See logind.conf(5) for details  
    >  
    >[Login]  
    >\#NAutoVTs=6  
    >\#ReserveVT=6  
    >\#KillUserProcesses=no  
    >\#KillOnlyUsers=  
    >\#KillExcludeUsers=root  
    >\#InhibitDelayMaxSec=5  
    >\#HandlePowerKey=poweroff  
    >\#HandleSuspendKey=suspend  
    >\#HandleHibernateKey=hibernate  
    >HandleLidSwitch=ignore  
    >\#PowerKeyIgnoreInhibited=no  
    >\#SuspendKeyIgnoreInhibited=no  
    >\#HibernateKeyIgnoreInhibited=no  
    >\#LidSwitchIgnoreInhibited=yes  
    >\#IdleAction=inhibited  
    >\#IdleActionSec=30min  
    >\#RuntimeDirectorySize=10%  
    >\#RemoveIPC=yes
    

    sudo systemctl restart systemd-logind

    Rattenpack

    Ubuntu 'urself… Rattenpack…

  • sudo gedit /etc/systemd/logind.conf

    \# This file is part of systemd.  
    >\#  
    >\# systemd is free software; you can redistribute it and/or modify it  
    >\# under the terms of the GNU Lesser General Public License as published by  
    >\# the Free Software Foundation; either version 2.1 of the License, or  
    >\# (at your option) any later version.  
    >\#  
    >\# See logind.conf(5) for details  
    >  
    >[Login]  
    >\#NAutoVTs=6  
    >\#ReserveVT=6  
    >\#KillUserProcesses=no  
    >\#KillOnlyUsers=  
    >\#KillExcludeUsers=root  
    >\#InhibitDelayMaxSec=5  
    >\#HandlePowerKey=poweroff  
    >\#HandleSuspendKey=suspend  
    >\#HandleHibernateKey=hibernate  
    >HandleLidSwitch=ignore  
    >\#PowerKeyIgnoreInhibited=no  
    >\#SuspendKeyIgnoreInhibited=no  
    >\#HibernateKeyIgnoreInhibited=no  
    >\#LidSwitchIgnoreInhibited=yes  
    >\#IdleAction=inhibited  
    >\#IdleActionSec=30min  
    >\#RuntimeDirectorySize=10%  
    >\#RemoveIPC=yes
    

    sudo systemctl restart systemd-logind

    Rattenpack

    Ubuntu 'urself… Rattenpack…

  • Why you don’t post this in our wiki?

    Thanks!

Posts 3Views 888
Log in to reply