win7屏保文件.scr
Ubuntu 12.04 doesn’t ship with any screen savers, just a black screen that appears when your system is idle. If you’d rather have screensavers, you can swap gnome-screensaver for XScreenSaver.
Ubuntu 12.04没有附带任何屏幕保护程序,只是在系统空闲时出现黑屏。 如果您希望使用屏幕保护程序,则可以将gnome-screensaver替换为XScreenSaver。
Screensavers were actually removed back in Ubuntu 11.10. Ubuntu uses gnome-screensaver and inherited the change from upstream GNOME. The GNOME developers think a black screen that puts your monitor into lower-power mode is optimal.
屏幕保护程序实际上是在Ubuntu 11.10中删除的。 Ubuntu使用gnome-screensaver并从上游GNOME继承了更改。 GNOME开发人员认为,使显示器进入低功耗模式的黑屏是最佳选择。
安装XScreenSaver (Installing XScreenSaver)
First, fire up a terminal from Ubuntu’s Dash.
首先,从Ubuntu的Dash启动一个终端。
Next, run the following command to uninstall gnome-screensaver:
接下来,运行以下命令来卸载gnome-screensaver:
sudo apt-get remove gnome-screensaver
sudo apt-get删除gnome屏幕保护程序
Install XScreenSaver and some additional screensaver packages with the following command:
使用以下命令安装XScreenSaver和一些其他屏幕保护程序包:
sudo apt-get install xscreensaver xscreensaver-data-extra xscreensaver-gl-extra
须藤apt-get install xscreensaver xscreensaver-data-extra xscreensaver-gl-extra
配置屏幕保护程序 (Configuring Your Screensaver)
After installation, perform a search in the Dash for Screensaver. Launch the Screensaver utility and use it to configure XScreenSaver and select your screensaver settings.
安装后,在Dash中为Screensaver执行搜索。 启动Screensaver实用程序,并使用它来配置XScreenSaver并选择您的屏幕保护程序设置。
The Screensaver utility will prompt you to stop the gnome-screensaver process and launch the xscreensaver background process when you start it.
Screensaver实用程序将提示您停止gnome-screensaver进程,并在启动时启动xscreensaver后台进程。
By default, XScreenSaver will choose a random screensaver each time it starts. You can specify the screensavers it chooses from or enable “Only One Screensaver” mode to always use your favorite screensaver.
默认情况下,XScreenSaver每次启动时都会选择一个随机的屏幕保护程序。 您可以指定从中选择的屏幕保护程序,也可以启用“仅一个屏幕保护程序”模式以始终使用您喜欢的屏幕保护程序。
XScreenSaver doesn’t embrace gnome-screensaver’s minimalism — many XScreenSaver screensavers offer a large amount of options you can tweak by clicking the Settings button.
XScreenSaver不包含gnome-screensaver的极简主义-许多XScreenSaver屏保提供了大量选项,您可以通过单击Settings按钮来进行调整。
添加到启动 (Adding to Startup)
To actually use the screensavers, you’ll want XScreenSaver to start in the background each time you log in. If it doesn’t start, it can’t notice your system is idle and launch screensavers.
为了真正使用屏幕保护程序,您希望每次登录时XScreenSaver都在后台启动。如果它没有启动,则不会注意到您的系统处于空闲状态并启动屏幕保护程序。
Get started by launching the Startup Applications utility from the Dash.
通过从Dash启动启动应用程序实用程序来开始使用。
Add a startup program with the following command. The name and comment here can be anything you like.
使用以下命令添加启动程序。 这里的名称和评论可以是您喜欢的任何东西。
xscreensaver -nosplash
xscreensaver -nosplash
更换锁屏 (Replacing Lock Screen)
Unity calls gnome-screensaver when you click the Lock Screen option in the system menu or use the Ctrl+Alt+L keyboard shortcut. To lock your screen with XScreenSaver, you can create a custom keyboard shortcut that calls XScreenSaver instead.
当您单击系统菜单中的“锁定屏幕”选项或使用Ctrl + Alt + L键盘快捷键时,Unity会调用gnome-screensaver。 要使用XScreenSaver锁定屏幕,可以创建一个自定义的键盘快捷方式,该快捷方式调用XScreenSaver。
First, open the Keyboard utility from the Dash.
首先,从Dash打开键盘实用程序。
Click the Shortcuts tab, select the Custom shortcuts section, and click the + button. Specify the following command for your custom shortcut:
单击快捷方式选项卡,选择自定义快捷方式部分,然后单击+按钮。 为自定义快捷方式指定以下命令:
xscreensaver-command -lock
xscreensaver-command -lock
Click the word “disabled” after creating your custom shortcut and key in your desired keyboard shortcut when the words “new accelerator” appear – Ctrl+Alt+L is the default shortcut that locks your computer. If you use the default combination, you’ll be prompted to reassign it away from the default gnome-screensaver shortcut.
创建自定义快捷方式后,单击“禁用”,并在出现“新加速器”时键入所需的键盘快捷方式– Ctrl + Alt + L是锁定计算机的默认快捷方式。 如果使用默认组合,系统将提示您将其重新分配给默认的gnome-screensaver快捷方式。
Use the keyboard shortcut whenever you want to lock your system. Unfortunately, the Lock Screen option in Unity’s system menu doesn’t work with XScreenSaver.
每当您想锁定系统时,请使用键盘快捷键。 不幸的是,Unity系统菜单中的“锁定屏幕”选项不适用于XScreenSaver。
恢复您的更改 (Reverting Your Changes)
Reverting these changes is simple. Just run these commands to uninstall XScreenSaver and reinstall gnome-screensaver:
还原这些更改很简单。 只需运行以下命令来卸载XScreenSaver并重新安装gnome-screensaver:
sudo apt-get remove xscreensaver xscreensaver-data-extra xscreensaver-gl-extra sudo apt-get install gnome-screensaver
sudo apt-get删除xscreensaver xscreensaver-data-extra xscreensaver-gl-extra sudo apt-get安装gnome-screensaver
If you reassigned the Ctrl+Alt+L keyboard shortcut, go back into the Keyboard configuration window, delete your custom shortcut, and reassign Ctrl+Alt+L to the Lock screen option under System.
如果您重新分配了Ctrl + Alt + L键盘快捷键,请返回到“键盘配置”窗口,删除自定义快捷键,然后将Ctrl + Alt + L重新分配给“系统”下的“锁定”屏幕选项。
Ubuntu’s developers plan on writing a new screensaver system to replace gnome-screensaver and adding it to Ubuntu by default. In the future, installing XScreenSaver will not be necessary.
Ubuntu的开发人员计划编写一个新的屏幕保护程序系统以替换gnome-screensaver,并将其默认添加到Ubuntu。 将来将不再需要安装XScreenSaver。
翻译自: https://www.howtogeek.com/114027/how-to-add-screensavers-to-ubuntu-12.04/
win7屏保文件.scr