You are not logged in.

#1 2012-03-28 16:49:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

lightdm - cannot change logo [solved]

I defined a logo in /etc/lightdm/lightdm-gtk-greeter.conf (64x64 png file) but lightdm doesn't use it.  This file is available to all users (including lightdm).  Thoughts as to what's wrong are welcome.

 $ cat /etc/lightdm/lightdm-gtk-greeter.conf 
[greeter]
background=/usr/share/pixmaps/black_and_white_photography-wallpaper-1920x1080.jpg
logo=/usr/share/icons/archlinux_logo.png
theme-name=Adwaita
icon-name=Adwaita
cursor-name=Adwaita
font-name=Cantarell 12
xft-antialias=true
xft-dpi=100
xft-hintstyle=slight
xft-rgba=rgb
show-language-selector=false

[a11y]
keyboard=
$ lightdm -v
lightdm 1.0.9

$ ls -l /usr/share/icons
total 40
-rw-r--r--  1 root root 2567 Mar 28 12:38 64px-Archlinux-icon-crystal-64.svg.png
drwxr-xr-x  3 root root 4096 Oct 18 10:37 Adwaita
-rw-r--r--  1 root root 6339 Mar 28 12:43 archlinux_logo.png
drwxr-xr-x 10 root root 4096 Jan 25 02:30 gnome
drwxr-xr-x 17 root root 4096 Mar 23 16:19 hicolor
drwxr-xr-x  4 root root 4096 Oct 18 10:37 HighContrast
drwxr-xr-x  3 root root 4096 Oct 18 10:37 HighContrastInverse
drwxr-xr-x  3 root root 4096 Oct 18 10:37 LowContrast
drwxr-xr-x  3 root root 4096 Feb 20 05:36 Simple-and-Soft

Last edited by graysky (2012-03-28 17:03:04)

Offline

#2 2012-03-28 17:02:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: lightdm - cannot change logo [solved]

My bad.  The 'logo' variable refers to something else.  Link to do this.

In a nutshell:
1) Copy a 64x64 png to /usr/share/icons/hicolor/64x64/devices
2) Run gtk-update-icon-cache /usr/share/icons/hicolor
3) Edit /usr/share/lightdm-gtk-greeter/greeter.ui
  Search for 'image1' and edit the 'property' xml to be the filename (less the extension).  By default it should be 'computer' by default.
4) Enjoy

EDIT:  Added to the lightdm wiki page.

Last edited by graysky (2012-03-28 17:31:03)

Offline

Board footer

Powered by FluxBB