如何设置gnome屏幕保护程序?


10

我正在运行Ubuntu GNOME 15.04,并且已经安装了gnome-screensaver,但是在通过系统和系统设置进行了一些搜索之后,无法找到此屏幕保护程序的任何配置设置。当我在终端中运行它时,我得到:

**(gnome-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

您检查设置了吗?
TheWanderer

@ Zacharee1:是的,这就是我的意思是“ ...以及我的系统设置...”。

哎呀 抱歉。您在哪里检查设置,之后又重新启动了?
TheWanderer

@ Zacharee1:我检查了“电源”部分,现在检查了“背景”部分。不,我没有进行重启,但是我已经检查过,并且没有应用程序报告他们需要一个,尽管有时他们需要它但不报告,但这很少见(嗯,我只看到了一个几次)。

Answers:


16

侏儒设置

您可以通过Settings> 来控制屏幕保护程序Background,抱歉,但GUI中没有更多选项。

在此处输入图片说明

和通过

Settings > Power

在此处输入图片说明


调整工具

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-command

控制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

这是一个经常更改的屏幕保护程序吗?我没有看到间隔长度或目录源等任何选项
利亚琳
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.