linux gdm服务,GDM (简体中文)

985f7e152ddfb13f29b2678b612154de.pngThis article or section needs to be translated.985f7e152ddfb13f29b2678b612154de.png

Notes: 文章大部分内容未被翻译。 (Discuss in Talk:GDM (简体中文)#)

翻译状态:本文是 GDM 的翻译。上次翻译日期:2018-08-08。如果英文版本有所更改,则您可以帮助同步翻译。

来自GDM - GNOME显示管理器:“GNOME显示管理器(GDM)是一个管理图形显示服务和处理图形用户登录的程序。

显示管理器s provide X Window System and Wayland users with a graphical login prompt.

安装

可通过安装

如果你更希望使用在GNOME 2中使用的旧的GDM和它的实用配置程序,安装AUR软件包。请注意,除非另有说明,否则本条目的其余部分均为讨论当前的GDM,而非旧的GDM。

您可能还希望安装以下内容:

gdm3setup — 一个用来配置GDM3的接口,有自动登陆选项并且能更改Shell的主题

开始

可通过enablegdm.service来在开机时启动GDM。

自动启动软件

One might want to autostart certain commands, such as xrandr for instance, on login. This can be achieved by adding a command or script to a location that is sourced by the display manager. See Display manager#Autostarting for a list of supported locations.

Note: /etc/gdm/Init目录不再是受支持的位置,参见[1].

配置

登录页面背景图片

96e3de75c73b482585c615db5563ff9f.pngThe factual accuracy of this article or section is disputed.96e3de75c73b482585c615db5563ff9f.png

Reason: Configuration is not persistent and will be gone after gdm update. Needs to be rewritten to enable user-themes gnome-shell extension for gdm user and use custom theme and set gsetting to use that theme (Discuss in Talk:GDM (简体中文)#)

Note:

自GNOME 3.16开始,GNOME Shell主题被存储为二进制文件。 (gresource)

This change will be overwritten on subsequent updates of

Firstly, you need to extract the existing GNOME Shell theme to a folder in your home directory. You can do this using the following script:

extractgst.sh

#!/bin/sh

gst=/usr/share/gnome-shell/gnome-shell-theme.gresource

workdir=${HOME}/shell-theme

for r in `gresource list $gst`; do

r=${r#\/org\/gnome\/shell/}

if [ ! -d $workdir/${r%/*} ]; then

mkdir -p $workdir/${r%/*}

fi

done

for r in `gresource list $gst`; do

gresource extract $gst $r >$workdir/${r#\/org\/gnome\/shell/}

done

Navigate to the created directory. You should find that the theme files have been extracted to it. Now copy your preferred background image to this directory.

Next, you need to create a file in the directory with the following content:

gnome-shell-theme.gresource.xml

calendar-arrow-left.svg

calendar-arrow-right.svg

calendar-today.svg

checkbox-focused.svg

checkbox-off-focused.svg

checkbox-off.svg

checkbox.svg

close.svg

close-window-active.svg

close-window-hover.svg

close-window.svg

corner-ripple-ltr.png

corner-ripple-rtl.png

dash-placeholder.svg

filter-selected-ltr.svg

filter-selected-rtl.svg

gnome-shell.css

gnome-shell-high-contrast.css

icons/message-indicator-symboli

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值