Magellan Linux

Annotation of /tags/installer-0_1_0/installer-gtk.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1016 - (hide annotations) (download) (as text)
Sun May 30 17:34:41 2010 UTC (13 years, 11 months ago) by niro
Original Path: trunk/installer/installer-gtk.sh
File MIME type: application/x-sh
File size: 824 byte(s)
-added gtk gui loader script for kdrive
1 niro 1016 #!/bin/sh
2    
3     source include/hwdetection.sh
4    
5     # start Kdrive
6     KDRIVE_XSERVER=Xfbdev
7     KDRIVE_SCREENSIZE=1024x768x16
8    
9     MOUSE_PATHES=$(get_evdev_device_path mouse)
10     KEYBOARD_PATHES=$(get_evdev_device_path keyboard)
11    
12     MOUSE_DEVICES=""
13     for i in ${MOUSE_PATHES};
14     do
15     MOUSE_DEVICES+=",device=${i}"
16     done
17    
18     KEYBOARD_DEVICES=""
19     for i in ${KEYBOARD_PATHES};
20     do
21     KEYBOARD_DEVICES+=",device=${i}"
22     done
23    
24     KDRIVE_OPTS="-mouse evdev,${MOUSE_DEVICES}"
25     KDRIVE_OPTS+=" -keybd evdev,${KEYBOARD_DEVICES},xkblayout=de"
26     KDRIVE_OPTS+=" -fp /usr/share/fonts/75dpi,/usr/share/fonts/misc"
27     KDRIVE_OPTS+=" -zap -terminate -dpi 96"
28    
29     [[ ${KDRIVE_XSERVER} = Xfbdev ]] && modprobe uvesafb
30    
31     ${KDRIVE_XSERVER} -screen ${KDRIVE_SCREENSIZE} ${KDRIVE_OPTS} &
32     export DISPLAY=:0
33     fluxbox -rc /root/installer/fluxbox/init &
34     sleep 1
35     xterm -C /root/installer/guification.sh &
36     ##

Properties

Name Value
svn:executable *
svn:keywords Id