Well, I have had to tweak this it a little, bit it finally worked fine.
Initlally, the arial.ttf could not be found, so that I had to force the use of courier regular
I'm using the standard default Treeflower theme.
The following does toe job:
cd /usr/share/gdm/themes/TreeFlower/background.png \
/usr/share/gdm/themes/TreeFlower/background-original.png
gedit /etc/gdm/Init/Default
Insert the following lines
cd /usr/share/gdm/themes/TreeFlower
convert -pointsize 40 -font Courier-Regular -draw \
"fill yellow text 1500,200 \" \
`ifconfig eth0 | awk '/inet addr/{print $2 }'`\"" \
background-original.png background.png
between
sysmodmap=/etc/X11/Xmodmap
and
XMODMAP=`gdmwhich xmodmap`
Thanks for the help !!
2010/4/21 Mogens Kjaer <mk@xxxxxx>
On 04/20/2010 07:49 PM, Patrick Derwael wrote:http://elder-geek.blogspot.com/2009/09/ip-address-on-gdm-login-page.html
> Ideally, it should be displayed on the GUI, like the date/time and hostname
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
--
Patrick Derwael
Rue Hubert Larock, 20
4280 Hannut
G: 0479/80.50.79
T: 019/63.64.45
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos