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 |