Magellan Linux

Diff of /alx-src/branches/alxconf_20060908/functions/config_x11.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1702 by niro, Sat Jan 22 17:57:19 2011 UTC revision 1703 by niro, Mon Jan 24 23:27:07 2011 UTC
# Line 30  get_x11_settings() Line 30  get_x11_settings()
30   export ALX_MOUSE   export ALX_MOUSE
31  }  }
32    
33    config_display_manager()
34    {
35     # setup slim
36     cat ${ALX_SKELETONS}/slim/slim.conf > /etc/slim.conf
37     sed -i "s:@@USERNAME@@:${ALX_UNPRIV_USER}" /etc/slim.conf
38    
39     # setup xession
40     sed -i "s:\(^GLOGIN=\).*:\1slim:" /etc/rc.config
41    
42     # windowmanager
43     echo "exec startfluxbox" > ${ALX_UNPRIV_HOME}/.xinitrc
44    }
45    
46  config_x11()  config_x11()
47  {  {
48   # get our settings from the db   # get our settings from the db
49   get_x11_settings   get_x11_settings
50    
51     # setup displaymanager
52     config_display_manager
53    
54   local xserver   local xserver
55   local xfconfig   local xfconfig
56   local HAS_VNC   local HAS_VNC

Legend:
Removed from v.1702  
changed lines
  Added in v.1703