Set GDM Background for Arch Linux
Download the file using below command.
wget -qO - https://github.com/PRATAP-KUMAR/arch-gdm-set-background/archive/main.tar.gz | tar zx --strip-components=1 arch-gdm-set-background-main/arch-gdm-set-background
run ./arch-gdm-set-background --help
there are four options
- background with image
- background with color
- background with gradient horizontal ( requires two valid hex color inputs)
- background with gradient vertical ( requires two valid hex color inputs)
tip: be ready with valid hex color code in place of below example like #aAbBcC or #dDeEfF. Change them to your preffered hex color codes. you may choose colors from https://www.color-hex.com/
Example Commands:
sudo ./arch-gdm-set-background --image /home/user/backgrounds/image.jpg
sudo ./arch-gdm-set-background --color \#aAbBcC
sudo ./arch-gdm-set-background --gradient horizontal \#aAbBcC \#dDeEfF
sudo ./arch-gdm-set-background --gradient vertical \#aAbBcC \#dDeEfF
sudo ./arch-gdm-set-background --reset
./arch-gdm-set-background --help
If anytihng wrong after running this script.. reinstall the package "gnome-shell" with below command
sudo pacman -S gnome-shell
.