当前位置: 首页>>技术问答>>正文


Xubuntu丑陋的锁屏

, ,

问题描述

当我锁定我的屏幕时,我没有得到笔记本电脑重启后出现的漂亮的登录对话框。我得到了类似于此的丑陋内容:

xubuntu,xscreensaver,ubuntu

我用谷歌搜索了这张图片,它不是精确的截图,但它几乎是一样的。我怎样才能解决这个问题?这是标准行为还是我打破了什么?燃烧屏幕的图片吓到了我,但我重复自己“别恐慌!”它有点帮助。

  • 这很难看。

  • 它看起来不像我环境的99%。

  • 我使用多种键盘布局。输入密码时,我需要查看哪一个是活动的,否则我在密码中输入拼写错误并且必须多次尝试登录。有了这个屏幕,我通常会在3-5次尝试中结束,因为我做出了错误的猜测和其他因紧张而引起的意外拼写错误。

  • 为什么叫XScreenSaver?我禁用了屏保。我恨他们。我只想在去洗手间或吃午饭时锁上电脑。我想要我的登录屏幕。

最佳解决方法

删除xscreensaver并安装gnome-screensaver,它具有更加光滑的外观:

sudo apt-get remove xscreensaver
sudo apt-get install gnome-screensaver

您还可以设置快捷键以使用键盘锁定屏幕:

<Start> <Settings Manager> <Keyboard> <Application Shortcuts> Add

Command: xflock4

ShortCut: <Super>l ; (e.g. press the "Windows key" + l)

NOTE: The only potential downside to this is that gnome-screensaver will pull the gnome dependencies which in a very minimalistic desktop might not already be present. But on most average systems the gnome libraries are already installed anyway so there is no overhead.

次佳解决方法

Xscreensaver是一个包,它是一个可扩展的屏幕保护程序框架,并锁定计算机。

根据this linuxfromscratch.org页面。

The XScreenSaver is a modular screen saver and locker for the X Window System. It is highly customizable and allows the use of any program that can draw on the root window as a display mode. The purpose of XScreenSaver is to display pretty pictures on your screen when it is not in use, in keeping with the philosophy that unattended monitors should always be doing something interesting, just like they do in the movies. However, XScreenSaver can also be used as a screen locker, to prevent others from using your terminal while you are away.

我不知道它在Lubuntu和Xubuntu中使用的原因,但可能是因为它的受欢迎程度,稳定性,而且可能是重量轻。

它还减轻了构建新软件包以替换现有软件的负担。

第三种解决方法

你喜欢黑色吗?试试slock,这是KISS原则的最好例子。

安装它:sudo apt-get install suckless-tools

然后,在xubuntu中配置它的最简单方法是:sudo apt-get remove xscreensaver

这是因为默认情况下,xscreensaver优先于其他屏幕保护程序,因此它们之间存在差异。删除后,您可以终止已在后台运行的xscreensaver线程,也可以重新启动。

享受简约。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/6713.html,未经允许,请勿转载。