RE: Disabling shutdown button - SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Title: Re: Disabling shutdown button

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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




avast! Antivirus: 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.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux