Changeset 533

Show
Ignore:
Timestamp:
05/16/08 10:39:21 (7 months ago)
Author:
free
Message:

Support custom gdm theme

Location:
cdd-utils/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/debian/changelog

    r531 r533  
    1414  * Added apt configuration to eros 
    1515  * Fix ownership of /etc and /usr, they must be owned by root not bin 
     16  * Support custom gdm theme 
    1617 
    1718 -- Free Ekanayaka <free@64studio.com>  Thu, 08 May 2008 21:55:32 +0200 
  • cdd-utils/trunk/lib/desktop.sh

    r514 r533  
    8989} 
    9090 
    91 # Auto login 
     91# Auto login and theme 
    9292gdm () { 
    9393    cfg=/etc/gdm/gdm.conf 
    9494    user=$1 
     95    theme=$2 
    9596 
    96     if nullstr $user; then warning "no user given"; return; fi 
     97    if nullstr $user;  then warning "no user given"; return; fi 
     98    if nullstr $theme; then warning "no user given"; return; fi 
    9799 
    98100    set_key "AutomaticLoginEnable" "=" "true"  "$cfg" 
    99101    set_key "AutomaticLogin"       "=" "$user" "$cfg" 
     102    set_key "TimedLoginEnable"     "=" "true"  "$cfg" 
     103    set_key "TimedLogin"           "=" "$user" "$cfg" 
     104    set_key "TimedLoginDelay"      "=" "0"     "$cfg" 
     105 
     106    set_key "GtkTheme" "=" "trinity" "$cfg" 
    100107} 
    101108 
  • cdd-utils/trunk/lib/suites.sh

    r530 r533  
    4949    cdd-config setkeycodes 
    5050    cdd-config hdaintel 
    51     cdd-config gdm trinity 
     51    cdd-config gdm trinity trinity 
    5252    cdd-config grub 1 Indamixx 
    5353    cdd-config starthere /usr/share/pixmaps/trinity/start-here.png