Results 1 to 9 of 9

Thread: Change Kali Login Background on Gnome 3.20.2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date

    Change Kali Login Background on Gnome 3.20.2

    After hours of researching on how to change my login background on this Kali Rolling Version, I finally found this solution.

    This instruction is for Kali Rolling Version only! If you are looking for Kali 2.0 scroll down, find the post.

    I'm on Kali Rolling Version
    *Kernel release: 4.6.0-kali1-amd64
    *Kernel version: #1 SMP Debian 4.6.4-1kali1 (2016-07-21)
    *GNOME Shell 3.21.90

    Got the instructions from here, but I corrected the script and added a forward slash after theme/ to make it work. See below.

    1. Save the script below to a file -

    if [ ! -d ${workdir}/theme ]; then
      mkdir -p ${workdir}/theme
    for r in `gresource list $gst`; do
            gresource extract $gst $r >$workdir${r#\/org\/gnome\/shell/}
    2. Run the script on the command line: bash
    - the script just extracted files from "/usr/share/gnome-shell/gnome-shell-theme.gresource"

    3. You should now have a directory "/shell-theme/theme/"
    - CHANGE to this directory and copy your file background here
    - view the extracted files via the command line (e.g. ls -l)

    4. create a file called "gnome-shell-theme.gresource.xml"
    - add the code below
    - on the line that has FILENAME replace it with the filename of your background
    - save and exit

    <?xml version="1.0" encoding="UTF-8"?>
      <gresource prefix="/org/gnome/shell/theme">
    5. Open gnome-shell.css, find and modify the following id element: #lockDialogGroup
    - add the filename of your background.
    - add dimensions of your background (optional)
    - add "no-repeat" means no tiled effect
    - save and exit

    #lockDialogGroup {
      background: #2e3436 url(resource:///org/gnome/shell/theme/FILENAME);
      background-size: [WIDTH]px [HEIGHT]px;
      background-repeat: no-repeat;
    6. Compile this resource
    - on the command line type: glib-compile-resources gnome-shell-theme.gresource.xml
    - the result would be a new file called: gnome-shell-theme.gresource

    Note: Disregard the error, "XMLLINT not set and xmllint not found in path; skipping xml preprocessing."
    the compilation will still produce a "gnome-shell-theme.gresource" file. list your directory to see it.

    7. Rename the OLD: gnome-shell-theme.gresource to whatever you like
    - mv /usr/share/gnome-shell/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource.bak
    (add sudo if you are not on root)

    8. Copy the NEW: gnome-shell-theme.gresource TO /usr/share/gnome-shell/
    cp gnome-shell-theme.gresource /usr/share/gnome-shell/
    (add sudo if you are not on root)

    - reboot and your new login background is now applied.

    Hope this helps...
    Last edited by razorspells; 2016-09-15 at 12:06. Reason: addendum

Similar Threads

  1. Replies: 2
    Last Post: 2017-02-23, 01:41
  2. Replies: 2
    Last Post: 2016-02-06, 18:11
  3. can't open system setting , change background
    By when123 in forum General Archive
    Replies: 1
    Last Post: 2013-12-27, 01:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts