edit gdm
I am dual booting windows and centos on several lab machines. I want to add a button to the gdm screen that will reboot to windows. I have linux as the default in grub.conf. I have this script: echo "savedefault --default=2 --once" | grub --batch; reboot and would like to have this script execute upon clicking the reboot to windows button. Is there any way to edit the gdm to do this?
jeff |
Check your /etc/gdm/gdm.conf file... there is a section in it describing how to add custom commands.
[customcommand] # This section allows you specify up to 10 custom commands. Each of the # commands can be defined by the seven parameters listed below. In each of the # descriptions of the parameters N can take on any values between 0 and 9, # i.e. CustomCommand0=,CustomCommand1=,...,CustomCommand9=. The numbers # can have gaps as long as they fit within predefined set of 10, and their # placement order within this section and with respect to each other is # not important. #CustomCommand0= #CustomCommandText0= #CustomCommandLabel0= #CustomCommandLRLabel0= #CustomCommandTooltip0= #CustomCommandIsPersistent0= #CustomCommandNoRestart0= |
All times are GMT -5. The time now is 11:40 PM. |