Enter the following command to open the css file in gedit.
$ sudo gedit /usr/share/gnome-shell/theme/ubuntu.css
Search for the term ‘lockDialog’ by pressing Ctrl+D and entering this keyword in the search bar. This way you will be directed to the location where we want to make the required changes.
Search for the term ‘lockDialog’ by pressing Ctrl+D and entering this keyword in the search bar. This way you will be directed to the location where we want to make the required changes.
Replace the [fileLocation/filename.png] part with the location and filename of the image you want to use as the new background.
Save this file by clicking the Save button located at the top right corner of the text editor.
Restart your computer for these changes to take effect.
Enter the following command to open the css file in gedit. $ sudo gedit /usr/share/gnome-shell/theme/ubuntu.css
Search for the term ‘lockDialog’ by pressing Ctrl+D and entering this keyword in the search bar. This way you will be directed to the location where we want to make the required changes.
then replace the code as,
**#lockDialogGroup { background: #2c001e url(file:///[fileLocation/filename.png]); background-repeat: no-repeat; background-size: cover; background-position: center;
}**
Enter the following command to open the css file in gedit.
$ sudo gedit /usr/share/gnome-shell/theme/ubuntu.css
Search for the term ‘lockDialog’ by pressing Ctrl+D and entering this keyword in the search bar. This way you will be directed to the location where we want to make the required changes.
then replace the code as,
lockDialogGroup {
background: #2c001e url(file:///[fileLocation/filename.png]); background-repeat: no-repeat; background-size: cover; background-position: center; }
Replace the [fileLocation/filename.png] part with the location and filename of the image you want to use as the new background. Save this file by clicking the Save button located at the top right corner of the text editor.
Restart your computer for these changes to take effect.