#!/bin/bash

echo "" > /etc/gdm3/greeter.dconf-defaults

cat <<EOF >> /etc/gdm3/greeter.dconf-defaults

# These are the options for the greeter session that can be set 
# through GSettings. Any GSettings setting that is used by the 
# greeter session can be set here.

# Note that you must configure the path used by dconf to store the 
# configuration, not the GSettings path.


# Theming options
# ===============
#  - Change the GTK+ theme
[org/gnome/desktop/interface]
# gtk-theme='Adwaita'
#  - Use another background
[org/gnome/desktop/background]
# picture-uri='file:///usr/share/themes/Adwaita/backgrounds/stripes.jpg'
# picture-options='zoom'
#  - Or no background at all
[org/gnome/desktop/background]
# picture-options='none'
# primary-color='#000000'

# Login manager options
# =====================
[org/gnome/login-screen]
#logo='/usr/share/images/vendor-logos/logo-text-version-64.png'

# - Disable user list
# disable-user-list=true
# - Disable restart buttons
# disable-restart-buttons=true
# - Show a login welcome message
# banner-message-enable=true
# banner-message-text='Welcome'

# Automatic suspend
# =================
[org/gnome/settings-daemon/plugins/power]
# Время (в секундах) до типа события, указанного ниже
sleep-inactive-ac-timeout=0

# Тип события для питания от сети
sleep-inactive-ac-type='nothing'

# Время (в секундах) до типа события, указанного ниже
sleep-inactive-battery-timeout=0

# Тип события для питания от батареи
sleep-inactive-battery-type='nothing'

[org/gnome/desktop/session]
# Время (в секундах) до отключения (погасания) экрана
idle-delay=uint32 0


EOF

