mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
add WindowManager and xinit
This commit is contained in:
parent
405da2b0a4
commit
805ada20ea
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start elisa
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
if test -f /usr/bin/elisa; then
|
||||
|
||||
echo "### Starting Elisa ###"
|
||||
|
||||
# elisa -l -n & #> /dev/null 2>&1 &
|
||||
/usr/bin/elisa -l -f 2> $HOME/elisa.log
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
@ -14,6 +14,7 @@ $SCRIPTS/build xkeyboard-config
|
||||
|
||||
|
||||
#Tools
|
||||
|
||||
#$SCRIPTS/build xrandr
|
||||
#$SCRIPTS/build xresprobe
|
||||
#$SCRIPTS/build read-edid
|
||||
|
@ -9,12 +9,11 @@
|
||||
echo "### starting Xorg ###"
|
||||
|
||||
# modprobe drm
|
||||
mkdir -p /var/lib/xkb/
|
||||
mkdir -p /var/lib/xkb/
|
||||
|
||||
# use Screen0 if present to workaround a bug with some graphic drivers
|
||||
# that report 2 screens and prevent Xorg from loading correctly
|
||||
SCREEN=
|
||||
[ -f /etc/X11/xorg.conf ] && grep -q Screen0 /etc/X11/xorg.conf && SCREEN="-screen Screen0"
|
||||
if /usr/bin/test "${ELISA_DEBUG}" = "yes" ; then
|
||||
mount -o bind /storage /var/log
|
||||
mount -o bind /storage /var/tmp
|
||||
fi
|
||||
|
||||
# starts X.org
|
||||
Xorg vt$TTY $SCREEN > /dev/null 2>&1 &
|
||||
xinit $XINITRC -- $XSERVERRC
|
@ -31,10 +31,9 @@ $SCRIPTS/install xf86-video-nv
|
||||
#$SCRIPTS/install xrandr
|
||||
#$SCRIPTS/install xresprobe
|
||||
#$SCRIPTS/install read-edid
|
||||
#$SCRIPTS/install xinit
|
||||
#$SCRIPTS/install ratpoison
|
||||
$SCRIPTS/install xinit
|
||||
#+$SCRIPTS/install pciutils
|
||||
|
||||
$SCRIPTS/install evilwm
|
||||
#mkdir -p $INSTALL/usr/bin
|
||||
#cp $PKG_DIR/scripts/oe_wrapper $INSTALL/usr/bin
|
||||
#cp $PKG_DIR/scripts/startx $INSTALL/usr/bin
|
||||
|
@ -34,19 +34,29 @@ export LANG
|
||||
#-------------------------------------------------------------------------------
|
||||
DISPLAY=':0.0'
|
||||
TTY=1
|
||||
XINITRC='/etc/X11/xinit/xinitrc'
|
||||
XSERVERRC='/etc/X11/xinit/xserverrc'
|
||||
XINITRC='/usr/lib/X11/xinit/xinitrc'
|
||||
XSERVERRC='/usr/lib/X11/xinit/xserverrc'
|
||||
|
||||
export DISPLAY
|
||||
export XINITRC
|
||||
export XSERVERRC
|
||||
export TTY
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Turn on/off WindowManager
|
||||
#-------------------------------------------------------------------------------
|
||||
OE_X_WM_ENABLED=yes
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Default Font for WindowManager
|
||||
#-------------------------------------------------------------------------------
|
||||
WM_FONT='-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1'
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Elisas environment variables.
|
||||
#-------------------------------------------------------------------------------
|
||||
ELISA_DEBUG=*:5
|
||||
export ELISA_DEBUG
|
||||
ELISA_DEBUG=yes
|
||||
ELISA_FULLSCREEN=yes
|
||||
ELISA_TMPLOG=yes
|
||||
|
||||
GST_DEBUG=GST_ELEMENT_FACTORY:3
|
||||
export GST_DEBUG
|
||||
ELISA_LOGFILE='/var/log/elisa.log'
|
||||
|
@ -3,4 +3,3 @@
|
||||
/usr/bin/test -r /etc/conf.d/dhcp.override && . /etc/conf.d/dhcp.override
|
||||
/usr/bin/test -r /etc/conf.d/dhcp && . /etc/conf.d/dhcp
|
||||
/usr/bin/test -r /etc/conf.d/elisa && . /etc/conf.d/elisa
|
||||
/usr/bin/test -r /etc/conf.d/minimyth && . /etc/conf.d/minimyth
|
||||
|
@ -33,9 +33,7 @@ case "$2" in
|
||||
$SCRIPTS/install gcc-final
|
||||
$SCRIPTS/install linux $2
|
||||
$SCRIPTS/install busybox $2
|
||||
# $SCRIPTS/install exquisite
|
||||
$SCRIPTS/install automountd
|
||||
# $SCRIPTS/install ntfs-3g
|
||||
|
||||
echo $TARGET_ARCH > $INSTALL/etc/arch
|
||||
echo "$GEEXBOX_VERSION" > $INSTALL/etc/version
|
||||
@ -51,7 +49,6 @@ case "$2" in
|
||||
$SCRIPTS/install network
|
||||
|
||||
# Elisa...
|
||||
# $SCRIPTS/install Python
|
||||
$SCRIPTS/install elisa
|
||||
$SCRIPTS/install elisa-plugins-good
|
||||
$SCRIPTS/install elisa-plugins-bad
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start HAL daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
echo "### Starting MRXVT ###"
|
||||
|
||||
/usr/bin/mrxvt > /dev/null 2>&1 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user