调整登录屏幕

调整登录屏幕

有没有类似于 Login Screen GDM2 的应用程序?

它仅支持到 Ubuntu Lucid,MavericK 登录后的启动画面可用吗?

答案1

是的,Ubuntu-tweak 可以帮助您。

sudo apt-add-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

安装后,它将位于应用程序->系统工具中。您将能够调整 Ubuntu 的许多功能,包括 GDM。

一张图片胜过千言万语 :

Ubuntu 调整

答案2

据我所知,自 9.10 以来,只有 gdm 组可以更改外观属性。用户 gdm 打开的对话框允许进行与“普通”用户 GUI 中相同的更改:

gksudo -u gdm dbus-launch gnome-appearance-properties

答案3

好的,如何在命令行中执行此操作:

打开 GDM 自定义配置文件:

gksudo gedit /etc/gdm/custom.conf

应该有很多评论,最后看起来像这样:

[daemon]

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]

您必须在 gui 下添加几行如下内容:

[daemon]

[security]

[xdmcp]

[gui]
# Path to a gtkrc containing the theme for use in gdmlogin / gdmchooser.
Gtkrc=/path/to/gtkrc
# Specifies the maximum icon width (in pixels) that the face browser will display. Icons larger than this will be scaled.
MaxIconWidth=128
# Specifies the maximum icon height (in pixels) that the face browser will display. Icons larger than this will be scaled.
MaxIconHeight=128

[greeter]

[chooser]

[debug]

[servers]

您将在以下文件夹中找到 gtkrc 文件:

/usr/share/themes/"Theme Name"/gtk-2.0/gtkrc

只需将“主题名称”替换为您要使用的主题的名称(我建议您使用/usr/share/themes/Nautilus 查看真正的主题名称)。

我没有测试过,但它应该可以工作。我不知道你是否需要重新启动。

答案4

有一个项目旨在创建一个实用程序来调整 GDM2,它被称为GDM2 设置。但是上次我测试它时,它并不稳定,并且不允许任何比 Ubuntu Tweak 目前允许的更多的东西。但也许从那时起他们已经添加了功能,但我无法测试它,因为没有 Maverick 的 PPA。

如果你有 Lucid 或 Hardy:

sudo add-apt-repository ppa:gdm2setup/gdm2setup
sudo apt-get update
sudo apt-get install python-gdm2setup

相关内容