LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Change Login Theme GDM3 - Debian 7 testing (https://www.linuxquestions.org/questions/debian-26/change-login-theme-gdm3-debian-7-testing-4175450530/)

kostaslivs 02-17-2013 08:26 AM

Change Login Theme GDM3 - Debian 7 testing
 
Hi! I'm an average Linux user and recently I switched to Debian distribution.
I would like to change the Login theme but after I search around the Internet i didn't found something helpful. The theme i want to install is this
Code:

$uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.35-2 i686 GNU/Linux

Code:

cat /etc/debian_version
7.0

Is there any software to do this?

widget 02-17-2013 11:43 AM

Put the theme you want to use in /usr/share/themes.

Got to your /etc/gdm3 directory and have a look at the files there. I don't use gdm any more so don't remember the file but it has the theme clearly listed in one of the commented lines.

The comment makes sure the default is used. Uncomment the line and edit to list the one you want to use.

kostaslivs 02-17-2013 12:04 PM

I moved the theme file systemaccess in /usr/share/themes/:
Code:

ls -la /usr/share/themes/
total 96
drwxr-xr-x  22 root  root    4096 Feb 17 19:51 ./
drwxr-xr-x 324 root  root  12288 Feb 17 15:56 ../
drwxr-xr-x  6 root  root    4096 Feb 16 23:00 Adwaita/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 AgingGorilla/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 Atlanta/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 Bright/
drwxr-xr-x  3 root  root    4096 Feb 16 23:06 Clearlooks/
drwxr-xr-x  4 root  root    4096 Feb 16 23:06 Crux/
drwxr-xr-x  4 root  root    4096 Feb 16 22:58 Default/
drwxr-xr-x  4 root  root    4096 Feb 16 22:58 Emacs/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 Esco/
drwxr-xr-x  4 root  root    4096 Feb 16 23:00 HighContrast/
drwxr-xr-x  4 root  root    4096 Feb 16 23:00 HighContrastInverse/
drwxr-xr-x  3 root  root    4096 Feb 16 23:06 Industrial/
drwxr-xr-x  4 root  root    4096 Feb 16 23:00 LowContrast/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 Metabox/
drwxr-xr-x  3 root  root    4096 Feb 16 23:06 Mist/
drwxr-xr-x  3 root  root    4096 Feb 16 22:58 Raleigh/
drwxr-xr-x  3 root  root    4096 Feb 16 23:06 Redmond/
drwxr-xr-x  3 root  root    4096 Feb 16 22:59 Simple/
drwxrwxr-x  2 kostas kostas  4096 Jun  8  2007 systemaccess/
drwxr-xr-x  3 root  root    4096 Feb 16 23:06 ThinIce/

The theme systemaccess folder contains these:
Code:

ls -la /usr/share/themes/systemaccess/
total 224
drwxrwxr-x  2 kostas kostas  4096 Jun  8  2007 ./
drwxr-xr-x 22 root  root    4096 Feb 17 19:51 ../
-rwxrwx---  1 kostas kostas  65494 Jun  8  2007 background.png*
-rw-r--r--  1 kostas kostas    902 Jan 25  2007 cancel-active.png
-rw-r--r--  1 kostas kostas    875 Jan 25  2007 cancel.png
-rw-r--r--  1 kostas kostas    929 Jan 25  2007 cancel-prelight.png
-rwxrwx---  1 kostas kostas    303 Jun  8  2007 GdmGreeterTheme.desktop*
-rw-r--r--  1 kostas kostas 104742 Jun  8  2007 gdm-shot.png
-rwxrwx---  1 kostas kostas  19801 Jun  8  2007 greeter.xml*
-rw-r--r--  1 kostas kostas    851 Jan 25  2007 ok-active.png
-rw-r--r--  1 kostas kostas    840 Jan 25  2007 ok.png
-rw-r--r--  1 kostas kostas    851 Jan 25  2007 ok-prelight.png

These are the files the /etc/gdm3/ folder has in it:
Code:

ls -la /etc/gdm3/
total 52
drwxr-xr-x  6 root root  4096 Feb 17 19:52 ./
drwxr-xr-x 137 root root 12288 Feb 17 19:53 ../
-rw-r--r--  1 root root  133 Feb 17 15:29 custom.conf
-rw-r--r--  1 root root  594 Nov 26 15:46 daemon.conf
-rw-r--r--  1 root root  1567 Feb 17 19:51 greeter.gsettings
drwxr-xr-x  2 root root  4096 Feb 16 23:18 Init/
drwxr-xr-x  2 root root  4096 Feb 16 23:18 PostLogin/
drwxr-xr-x  2 root root  4096 Feb 16 23:18 PostSession/
drwxr-xr-x  2 root root  4096 Feb 16 23:18 PreSession/
-rwxr-xr-x  1 root root  6072 Dec 17  2011 Xsession*

I uncomment the red lines and insert systemaccess
Code:

cat /etc/gdm3/greeter.gsettings
# These are the options for the greeter session that can be set
# through GSettings. Any GSettings setting that is used by the
# greeter session can be set here.


# Theming options
# ===============
#  - Change the GTK+ theme
[org.gnome.desktop.interface]
gtk-theme='systemaccess'

#  - Use another background
# [org.gnome.desktop.background]
# picture-uri='file:///usr/share/themes/Adwaita/backgrounds/stripes.jpg'
# picture-options='zoom'
#  - Or no background at all
# [org.gnome.desktop.background]
# picture-options='none'
# primary-color='#000000'

# Greeter session choice
# ======================
# Use 'gdm-shell' for the GNOME Shell version.
# Never use anything not starting with 'gdm-'.
[org.gnome.desktop.session]
session-name='gdm-fallback'
# session-name='gdm-shell'

# Login manager options
# =====================
[org.gnome.login-screen]
logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
fallback-logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'

# - Disable user list
# disable-user-list=true
# - Disable restart buttons
# disable-restart-buttons=true
# - Show a login welcome message
# banner-message-enable=true
# banner-message-text='Welcome'

# Prevent the power management icon from showing up
[org.gnome.power-manager]
icon-policy='never'

# Disabling sound in the greeter
#[org.gnome.desktop.sound]
#event-sounds=false

# The metacity compositor doesn’t go well with the greeter
# so just to be sure
[org.gnome.metacity]
compositing-manager=false

# No workspaces
[org.gnome.desktop.wm.preferences]
num-workspaces=1

But the Login screen is the same after a reboot.

widget 02-17-2013 05:04 PM

I only use gdm3 in Squeeze.

Look in at your /etc/gdm3/custom.conf

You may find some clues as to where to look by checking in /usr/gdm and looking at the files there.

I may have to take a look at gdm3 again just out of curiosity.

goumba 02-19-2013 08:19 AM

That theme is for GDM2. You need a GNOME Shell or GTK+ 3 theme for GDM3.

To use a Shell theme, you'll have to replace the files in /usr/share/gnome-shell/theme folder (make a backup first!) with the files from the theme of your choice.

The changes you made to /etc/gdm3/greeter.settings (really, the GNOME team even feels the need to change file extensions, .conf wasn't good enough?) will be suitable for a GTK+ 3 theme.

For a GNOME Shell theme, make the following changes:

Code:

# Greeter session choice
# ======================
# Use 'gdm-shell' for the GNOME Shell version.
# Never use anything not starting with 'gdm-'.
[org.gnome.desktop.session]
# session-name='gdm-fallback'
session-name='gdm-shell'



All times are GMT -5. The time now is 07:43 AM.