Ubuntu 19.04 无法更改锁屏背景

Mau*_*Gtz 6 lock-screen gnome-shell

我在我的新计算机上安装了新版本,我想通过修改/usr/share/gnome-shell/theme/ubuntu.css文件来更改我之前在 18.04 LTS 版本中完成的锁屏背景,但在这个新版本中它已更改为,/usr/share/gnome-shell/theme/gnome-shell.css并且我#lockDialogGroup从中修改了选择器:

#lockDialogGroup {
    background: #2e3436 url(resource:///org/gnome/shell/theme/noise-texture.png);
    background-repeat: repeat;
Run Code Online (Sandbox Code Playgroud)

对此:

#lockDialogGroup {
    background-image: url(file:///home/mauriciogtz/Pictures/Wallpaper.jpg);
    background-repeat: no-repeat;
    background-size: cover;;
    background-position: center; }
Run Code Online (Sandbox Code Playgroud)

但我无法让它工作,我已经重新启动了我的电脑。

UnK*_*OWn 13

在 Ubuntu 19.04 中

该文件/usr/share/gnome-shell/theme/Yaru/gnome-shell.css将满足您的要求。

在此处输入图片说明

在此处输入图片说明


2020 年 1 月 10 日编辑

您也可以在此页面上详细查看https://github.com/PRATAP-KUMAR/login-lock-screen-bg-change以通过 Ubuntu 18.04、19.04 和 19.10 的脚本设置背景