[CentOS] Disabling shutdown button - SOLVED
Web and Co sprl - Patrick DERWAEL
pderwael at webandco.be
Sat Jun 30 12:03:54 UTC 2007
Erik
This is exactly what I wanted !
Thanks a lot
All you need is the SystemMenu=false statement as above and two small
modifications to another file:
/usr/share/gdm/themes/CentOSCubes/CentOSCubes.xml
The two modifications are:
1. Change line 102 from:
<show modes="console"/>
to:
<show type="reboot" modes="console"/>
2. Change line 118 from:
<show modes="console"/>
to:
<show type="halt" modes="console"/>
The lines above both of these should have an item tag refering to the
appropriate reboot/halt button. Then restart the gdm. The shutdown and
reboot buttons should no longer appear.
Erik
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos
_____
avast! Antivirus <http://www.avast.com> : Inbound message clean.
Virus Database (VPS): 000752-5, 29/06/2007
Tested on: 30/06/2007 13:04:36
avast! - copyright (c) 1988-2007 ALWIL Software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070630/e0c3869b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2815 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070630/e0c3869b/attachment.bin>
More information about the CentOS
mailing list