Eu tenho o Ubuntu 18.04.1
simples
Na minha opinião, a melhor maneira de fazer isso:
step1: make backup of the file /usr/share/gnome-shell/theme/ubuntu.css - if you have another desktop for ubuntu you can find file ubuntu.css just using command locate ==> locate ubuntu.css
step2: vim /usr/share/gnome-shell/theme/ubuntu.css and find part below
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
step3: change it to
#lockDialogGroup {
background: #2c001e url(file:///usr/share/backgrounds/warty-final-ubuntu.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
calrificação: como você pode ver, nós mudamos o nosso
" background: #2c001e url( recurso: // " parte para o == > " background: #2c001e url( file: // "
e, em seguida, configure o caminho para a imagem.
Eu usei /usr/share/backgrounds/ para o caminho com imagem. Também adicionei algumas propriedades css para centralizar a imagem.
Esta é apenas a configuração do arquivo css . É isso)