Skip to content

anirudhgupta109/arch-change-gdm-background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 

Repository files navigation

arch-change-gdm-background

This script automates the process of setting an image or color in GNOME Display Manager 3 background on Arch Linux

Warning

This script wont work with older versions of GDM because they have a different way of dealing with gdm settings.

It also won't work if your system is set to a custom gdm3 theme. You will have to reset to the default configuration of gdm3 before using the script.

This tool was made specifically to work with Arch Linux as it now bundles all configuration files inside a .gresource file

If you are going to set an image file that has spaces in its file name or folders, remember to scape them with backslashes.

Installation

First, you will need to install with sudo pacman -S glib2 Then, you can download the script with the command below:

wget github.com/anirudhgupta109/arch-change-gdm-background/raw/master/arch-change-gdm-background

And set it as an executable with chmod +x arch-change-gdm-background

Usage

Run the script with root privileges such as sudo ./arch-change-gdm-background /path/to/image.

If you see a message login image sucessfully changed, then, when you restart gdm or reboot your computer, your gdm background should be covered with the image you selected.

You can restore your original gdm theme any time with sudo ./arch-change-gdm-background --restore.

Change Color

Now you can change that dull grey color to any color you like. Just type sudo ./arch-change-gdm-background \#yourhexcode and voilá, you changed it. Your color hex format should be of six characters like \#407294 or three characters like \#6ac.

Multi-screen support

if you use two or more monitors you may see a streched image through the displays as if they were one screen. This is the default behavior of GDM3 when dealing with multiple displays.

I found a way to configure GDM to work in other modes like mirror or even single display here, avoiding the joining of them.

Donation

If you feel this tool was useful and want to show some appreciation, you can donate via https://ko-fi.com/thiggy01.

About

Change GDM3 background of Arch Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%