修改elementary os lightdm登录背景How to change the grey background on lock screen in Elementary OS

回复
头像
admin
网站管理员
帖子: 53
注册时间: 2016-12-31, 08:39

修改elementary os lightdm登录背景How to change the grey background on lock screen in Elementary OS

帖子 admin » 2020-05-18, 01:20

ownloaded this: https://github.com/elementary/greeter/a ... master.zip

from https://github.com/elementary/greeter/

Extracted the zip to /tmp

I opened terminal, sudo -i, typed root password. Then run gimp as root (just type gimp in terminal), saved jpg file as png in greeter-master/data folder (replaced previous texture.png file).

Edited the SystemBackground.vala file located in /tmp/greeter-master/compositor/

sudo vi /tmp/greeter-master/compositor/SystemBackground.vala

Changed path from:
var texture_file = GLib.File.new_for_uri ("resource:///io/elementary/desktop/gala/texture.png");

to:
var texture_file = GLib.File.new_for_uri ("resource:///io/elementary/greeter/texture.png");

Installed all dependencies listed here:

https://github.com/elementary/greeter/b ... /README.md

gnome-settings-daemon >= 3.27
how to check version in terminal:
sudo gnome-control-center --version

Very important:
##############################
Installed dependencies:
sudo apt install -y libaccountsservice-dev libgdk-pixbuf2.0-dev libgranite-dev libgtk-3-dev liblightdm-gobject-1-dev libwingpanel-2.0-dev libx11-dev meson valac libmutter-2-0 libmutter-2-dev
##############################

cd /tmp/greeter-master
meson build --prefix=/usr
cd build
ninja
ninja install

It is working. Finally! Hell yeah!

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 0 访客