From 521b22d2f817b603fa0948199624699031fcf832 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Wed, 23 Aug 2006 10:44:12 +0000 Subject: Clean up X start up scripts. Remove uneeded files. Use xinit to more safely launch Xserver and XSession scripts git-svn-id: https://svn.o-hand.com/repos/poky/trunk@632 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../xserver-kdrive-common/etc/X11/Xinit.d/01xrandr | 4 -- .../xserver-kdrive-common/etc/X11/Xinit.d/11zaurus | 12 ------ .../xserver-kdrive-common/etc/X11/Xinit.d/12keymap | 23 ---------- .../etc/X11/Xinit.d/30xTs_Calibrate | 6 --- .../etc/X11/Xinit.d/40xmodmap | 5 --- .../etc/X11/Xinit.d/55xScreenSaver | 4 -- .../etc/X11/Xinit.d/60xXDefaults | 3 -- .../xserver-kdrive-common/etc/X11/Xserver | 15 ++++--- .../xserver-kdrive-common/etc/X11/Xsession | 24 +---------- .../etc/X11/Xsession.d/30xTs_Calibrate | 6 +++ .../xserver-kdrive-common/etc/X11/collie.xmodmap | 5 --- .../xserver-kdrive-common/etc/X11/h2200.xmodmap | 5 --- .../xserver-kdrive-common/etc/X11/shepherd.xmodmap | 49 ---------------------- .../xserver-kdrive-common/etc/X11/simpad.xmodmap | 2 - .../xserver-kdrive-common_0.1.bb | 4 +- .../xserver-kdrive-common/xserver-nodm-init.bb | 2 +- .../xserver-nodm-init/xserver-nodm | 24 ++++------- 17 files changed, 28 insertions(+), 165 deletions(-) delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/01xrandr delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/11zaurus delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/12keymap delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/40xmodmap delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/55xScreenSaver delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/60xXDefaults create mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xsession.d/30xTs_Calibrate delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/collie.xmodmap delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/h2200.xmodmap delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/shepherd.xmodmap delete mode 100644 meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/simpad.xmodmap diff --git a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/01xrandr b/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/01xrandr deleted file mode 100644 index abde87d53c..0000000000 --- a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/01xrandr +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -xrandr -o normal - diff --git a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/11zaurus b/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/11zaurus deleted file mode 100644 index 61ca84b595..0000000000 --- a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/11zaurus +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -if [ -z "`which chkhinge`" ]; then - # probably not a clamshell zaurus - exit 0 -fi - -chkhinge -e -if [ $? = 12 ]; then - xrandr -o right -fi - diff --git a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/12keymap b/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/12keymap deleted file mode 100644 index abc14f8661..0000000000 --- a/meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/12keymap +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } '