mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +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
|
#Tools
|
||||||
|
|
||||||
#$SCRIPTS/build xrandr
|
#$SCRIPTS/build xrandr
|
||||||
#$SCRIPTS/build xresprobe
|
#$SCRIPTS/build xresprobe
|
||||||
#$SCRIPTS/build read-edid
|
#$SCRIPTS/build read-edid
|
||||||
|
@ -9,12 +9,11 @@
|
|||||||
echo "### starting Xorg ###"
|
echo "### starting Xorg ###"
|
||||||
|
|
||||||
# modprobe drm
|
# modprobe drm
|
||||||
mkdir -p /var/lib/xkb/
|
mkdir -p /var/lib/xkb/
|
||||||
|
|
||||||
# use Screen0 if present to workaround a bug with some graphic drivers
|
if /usr/bin/test "${ELISA_DEBUG}" = "yes" ; then
|
||||||
# that report 2 screens and prevent Xorg from loading correctly
|
mount -o bind /storage /var/log
|
||||||
SCREEN=
|
mount -o bind /storage /var/tmp
|
||||||
[ -f /etc/X11/xorg.conf ] && grep -q Screen0 /etc/X11/xorg.conf && SCREEN="-screen Screen0"
|
fi
|
||||||
|
|
||||||
# starts X.org
|
xinit $XINITRC -- $XSERVERRC
|
||||||
Xorg vt$TTY $SCREEN > /dev/null 2>&1 &
|
|
@ -31,10 +31,9 @@ $SCRIPTS/install xf86-video-nv
|
|||||||
#$SCRIPTS/install xrandr
|
#$SCRIPTS/install xrandr
|
||||||
#$SCRIPTS/install xresprobe
|
#$SCRIPTS/install xresprobe
|
||||||
#$SCRIPTS/install read-edid
|
#$SCRIPTS/install read-edid
|
||||||
#$SCRIPTS/install xinit
|
$SCRIPTS/install xinit
|
||||||
#$SCRIPTS/install ratpoison
|
|
||||||
#+$SCRIPTS/install pciutils
|
#+$SCRIPTS/install pciutils
|
||||||
|
$SCRIPTS/install evilwm
|
||||||
#mkdir -p $INSTALL/usr/bin
|
#mkdir -p $INSTALL/usr/bin
|
||||||
#cp $PKG_DIR/scripts/oe_wrapper $INSTALL/usr/bin
|
#cp $PKG_DIR/scripts/oe_wrapper $INSTALL/usr/bin
|
||||||
#cp $PKG_DIR/scripts/startx $INSTALL/usr/bin
|
#cp $PKG_DIR/scripts/startx $INSTALL/usr/bin
|
||||||
|
@ -34,19 +34,29 @@ export LANG
|
|||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
DISPLAY=':0.0'
|
DISPLAY=':0.0'
|
||||||
TTY=1
|
TTY=1
|
||||||
XINITRC='/etc/X11/xinit/xinitrc'
|
XINITRC='/usr/lib/X11/xinit/xinitrc'
|
||||||
XSERVERRC='/etc/X11/xinit/xserverrc'
|
XSERVERRC='/usr/lib/X11/xinit/xserverrc'
|
||||||
|
|
||||||
export DISPLAY
|
export DISPLAY
|
||||||
export XINITRC
|
export XINITRC
|
||||||
export XSERVERRC
|
export XSERVERRC
|
||||||
export TTY
|
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.
|
# Elisas environment variables.
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
ELISA_DEBUG=*:5
|
ELISA_DEBUG=yes
|
||||||
export ELISA_DEBUG
|
ELISA_FULLSCREEN=yes
|
||||||
|
ELISA_TMPLOG=yes
|
||||||
|
|
||||||
GST_DEBUG=GST_ELEMENT_FACTORY:3
|
ELISA_LOGFILE='/var/log/elisa.log'
|
||||||
export GST_DEBUG
|
|
||||||
|
@ -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.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/dhcp && . /etc/conf.d/dhcp
|
||||||
/usr/bin/test -r /etc/conf.d/elisa && . /etc/conf.d/elisa
|
/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 gcc-final
|
||||||
$SCRIPTS/install linux $2
|
$SCRIPTS/install linux $2
|
||||||
$SCRIPTS/install busybox $2
|
$SCRIPTS/install busybox $2
|
||||||
# $SCRIPTS/install exquisite
|
|
||||||
$SCRIPTS/install automountd
|
$SCRIPTS/install automountd
|
||||||
# $SCRIPTS/install ntfs-3g
|
|
||||||
|
|
||||||
echo $TARGET_ARCH > $INSTALL/etc/arch
|
echo $TARGET_ARCH > $INSTALL/etc/arch
|
||||||
echo "$GEEXBOX_VERSION" > $INSTALL/etc/version
|
echo "$GEEXBOX_VERSION" > $INSTALL/etc/version
|
||||||
@ -51,7 +49,6 @@ case "$2" in
|
|||||||
$SCRIPTS/install network
|
$SCRIPTS/install network
|
||||||
|
|
||||||
# Elisa...
|
# Elisa...
|
||||||
# $SCRIPTS/install Python
|
|
||||||
$SCRIPTS/install elisa
|
$SCRIPTS/install elisa
|
||||||
$SCRIPTS/install elisa-plugins-good
|
$SCRIPTS/install elisa-plugins-good
|
||||||
$SCRIPTS/install elisa-plugins-bad
|
$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