Gnomov projekat dokumentacije
gnome-doc-list@gnome.org
Ekaterina Gerasimova
kittykat3756@gmail.com
Prenosni računar se uspavljuje kada spustite poklopac, da bi sačuvao energiju.

# Zašto se moj računar gasi kada spustim poklopac?

Kada spustite poklopac vašeg prenosnog računara, vaš računar će obustaviti rad kako bi sačuvao energiju. To znači da računar zapravo nije ugašen — samo se uspavao. Možete da ga povratite podizanjem poklopca. Ako se ne povrati, probajte da kliknete mišem ili da pritisnete neki taster. Ako i ovako ne proradi, pritisnite dugme za napajanje.

Neki računari ne mogu ispravno da obustave rad, obično zato što njihove komponente nisu u potpunosti podržane operativnim sistemom (na primer, upravljački programi Linuksa nisu potpuni). U tom slučaju, možete uvideti da niste u mogućnosti da povratite vaš računar nakon što ste spustili poklopac. Možete da probate da ispravite problem sa obustavom, ili možete da sprečite računar da pokuša da obustavi rad kada spustite poklopac.

# Stop the computer from suspending when the lid is closed

These instructions will only work if you are using systemd. Contact your distribution for more information.

If you do not want the computer to suspend when you close the lid, you can change the settings for that behavior. You will need to have an administrator password to change the setting.

Be very careful if you change this setting. Some laptops can overheat if they are left running with the lid closed, especially if they are in a confined place like a backpack.

Otvorite program Terminal iz pregleda Aktivnosti.

Run the following command:

    $ sudoedit /etc/systemd/logind.conf

You will now see the contents of the file. Look for `HandleLidSwitch=` in the file. The line may be quoted out with a `#` at the start and may be followed by an argument. If the line already exists, unquote it. Otherwise, add the line.

[Login] HandleLidSwitch=lock

You can use lock for the screen to lock, ignore for nothing to happen, poweroff for the computer to switch off or suspend to suspend. For more information, see logind.conf help.

Once you finish editing the file, save your changes and quit the editor.

Run the following command to make your change work:

    $ sudo systemctl restart systemd-logind.service

If you do not run that command, the change will only work after your computer is restarted.