Back to black
For Ubuntu 17.10 & GDM 3.26.2
Steps
- Dark Theme (i.e., Ark-Dark)
- Wallpaper & Lockscreen
- Ubuntu Start/Shutdown screen (w/ ubuntu logo)
- Grub
- GDM Login Screen
Dark Theme (i.e., Ark-Dark)
install arc-theme
sudo apt install arc-theme
set theme
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'
Wallpaper & Lockscreen
Copy image file
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )"
sudo cp <wallpaper_1920x1080.png> /usr/share/backgrounds
desktop wallpaper
gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/<wallpaper_1920x1080.png>'
lock screen
gsettings set org.gnome.desktop.screensaver picture-uri 'file:///usr/share/backgrounds/<wallpaper_1920x1080.png>'
Ubuntu Start/Shutdown screen (w/ ubuntu logo)
Edit script
xhost +local: && sudo nano /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.script
Change from
# Window.SetBackgroundTopColor (0.16, 0.00, 0.12); # Nice colour on top of the screen fading to# Window.SetBackgroundBottomColor (0.16, 0.00, 0.12); # an equally nice colour on the bottomChange to
Window.SetBackgroundTopColor (0.0, 0.00, 0.0); # Nice colour on top of the screen fading toWindow.SetBackgroundBottomColor (0.0, 0.00, 0.0); # an equally nice colour on the bottomUpdate
sudo update-initramfs -u
Grub
Copy image file
sudo cp <wallpaper_1920x1080.png> /boot/grub
comment out problematic line
sudo sed -i "/GRUB_HIDDEN_TIMEOUT=0/ s/^/# /" /etc/default/grub
update /boot/grub/grub.cfg
sudo update-grub
Notes:
sudo nano /etc/default/grub
/etc/default/grub
providesGRUB_HIDDEN_TIMEOUT
andGRUB_HIDDEN_TIMEOUT_QUIET
. Runningsudo update-grub
gives following warning:Warning: Setting GRUB_TIMEOUT to a non-zero value whenGRUB_HIDDEN_TIMEOUT is set is no longer supported.To see custom grub wallpaper, instead of black screen, cannot have both
GRUB_HIDDEN_TIMEOUT
andGRUB_HIDDEN_TIMEOUT_QUIET
. Commenting out one or the other will permit the custom wallpape to be displayed.Fix black splash screen in 17.10 by commenting out one of the following two lines:
GRUB_HIDDEN_TIMEOUT=0
# comment out this line (to show both splash screen and grub menu)GRUB_HIDDEN_TIMEOUT_QUIET=true
erify update-grub correctly updated splash screen image (search for image filename)
cat /boot/grub/grub.cfg
GDM Login Screen
extract gresource, replace noise-texture.png
, rebuild gresource, copy .gresource
into /usr/share/gnome-shell/
gresource extractor
Instructions to update GDM Login Screen
download the scripts on the DevPy GitHub:
devpytech/scripts/gresource-extract
run
./extract.sh
to extract your current theme to the "theme" folder in the same folder as the extract scriptedit
./theme/gnome-shell.css
(change #lockDialogGroup)background: #000000 url(resource:///org/gnome/shell/theme/noise-texture.png);
copy background image to
./theme/noise-texture.png
(i.e., use same name)run
./build.sh
from DevPy's GitHub to create.gresource
file in the theme foldersudo mv ./theme/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
Notes
Change from:
lockDialogGroup {background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);background-repeat: repeat; }purple
(#2c001e)
-> black(#000000)
Change to:
lockDialogGroup {background: #000000 url(resource:///org/gnome/shell/theme/noise-texture.png);background-repeat: repeat; }