Я выполняю Ubuntu GNOME 15.04, и у меня есть установка gnome-screensaver
, однако после выполнения некоторые перерывают мою систему и мои параметры настройки системы, я не могу найти любые параметры конфигурации для этой экранной заставки. И когда я выполняю его в Терминале, я добираюсь:
** (Гном-screensaver:20082): ПРЕДУПРЕЖДЕНИЕ **: экранная заставка, уже работающая на этой сессии
Таким образом, как я настраиваю его?
Информация об ОС:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Flavour: GNOME
GNOME Version: 3.16
Информация о пакете:
gnome-screensaver:
Installed: 3.6.1-0ubuntu16
Candidate: 3.6.1-0ubuntu16
Version table:
*** 3.6.1-0ubuntu16 0
500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
Можно управлять экранной заставкой через Настройки> Фон, извините, но в GUI больше нет опций.
и через
Настройки> Питание
Немного больше опций находится в Инструменте Тонкой настройки Gnome
gsettings
или dconf-editor
И все опции можно получить доступ через gsettings
. Вот список всех доступных ключей для экранной заставки
% gsettings list-keys org.gnome.desktop.screensaver
picture-opacity
logout-enabled
lock-enabled
logout-delay
embedded-keyboard-enabled
primary-color
idle-activation-enabled
secondary-color
logout-command
color-shading-type
embedded-keyboard-command
show-notifications
picture-options
lock-delay
show-full-name-in-top-bar
picture-uri
status-message-enabled
ubuntu-lock-on-suspend
user-switch-enabled
и для управления питанием
% gsettings list-keys org.gnome.settings-daemon.plugins.power
button-power
critical-battery-action
percentage-low
priority
lid-close-suspend-with-external-monitor
idle-dim
button-hibernate
sleep-inactive-ac-type
button-sleep
button-suspend
sleep-inactive-battery-timeout
time-low
lid-close-ac-action
notify-perhaps-recall
percentage-critical
percentage-action
sleep-inactive-battery-type
time-action
lid-close-battery-action
idle-brightness
sleep-inactive-ac-timeout
time-critical
active
use-time-for-policy
Управлять gnome-screensaver
необходимо использовать
gnome-screensaver-command
От man gnome-screensaver-command
SYNOPSIS
gnome-screensaver-command [OPTION...]
DESCRIPTION
gnome-screensaver-command is a tool for controlling an already running instance of gnome-screensaver.
OPTIONS
--exit Causes the screensaver to exit gracefully
-q, --query
Query the state of the screensaver
-t, --time
Query the length of time the screensaver has been active
-l, --lock
Tells the running screensaver process to lock the screen immediately
-a, --activate
Turn the screensaver on (blank the screen)
-d, --deactivate
If the screensaver is active then deactivate it (un-blank the screen)
-V, --version
Version of this application