From 4b46c1f6e891b1ddd5968536440b888661fade3e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Aug 2005 10:45:47 +0000 Subject: Initial population git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/x11/x11-common/etc/X11/Xdefaults | 3 + openembedded/packages/x11/x11-common/etc/X11/Xinit | 16 +++++ .../x11/x11-common/etc/X11/Xinit.d/01xrandr | 4 ++ .../x11/x11-common/etc/X11/Xinit.d/11zaurus | 12 ++++ .../x11/x11-common/etc/X11/Xinit.d/12keymap | 23 +++++++ .../x11/x11-common/etc/X11/Xinit.d/30xTs_Calibrate | 6 ++ .../x11/x11-common/etc/X11/Xinit.d/40xmodmap | 5 ++ .../x11/x11-common/etc/X11/Xinit.d/55xScreenSaver | 4 ++ .../x11/x11-common/etc/X11/Xinit.d/60xXDefaults | 3 + .../packages/x11/x11-common/etc/X11/Xserver | 73 ++++++++++++++++++++++ .../packages/x11/x11-common/etc/X11/Xsession | 47 ++++++++++++++ .../x11/x11-common/etc/X11/Xsession.d/60xXDefaults | 4 ++ .../packages/x11/x11-common/etc/X11/collie.xmodmap | 5 ++ .../packages/x11/x11-common/etc/X11/h2200.xmodmap | 5 ++ .../x11/x11-common/etc/X11/shepherd.xmodmap | 49 +++++++++++++++ .../packages/x11/x11-common/etc/X11/simpad.xmodmap | 2 + 16 files changed, 261 insertions(+) create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xdefaults create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/01xrandr create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/12keymap create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/30xTs_Calibrate create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/40xmodmap create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/55xScreenSaver create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xinit.d/60xXDefaults create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xserver create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xsession create mode 100644 openembedded/packages/x11/x11-common/etc/X11/Xsession.d/60xXDefaults create mode 100644 openembedded/packages/x11/x11-common/etc/X11/collie.xmodmap create mode 100644 openembedded/packages/x11/x11-common/etc/X11/h2200.xmodmap create mode 100644 openembedded/packages/x11/x11-common/etc/X11/shepherd.xmodmap create mode 100644 openembedded/packages/x11/x11-common/etc/X11/simpad.xmodmap (limited to 'openembedded/packages/x11/x11-common') diff --git a/openembedded/packages/x11/x11-common/etc/X11/Xdefaults b/openembedded/packages/x11/x11-common/etc/X11/Xdefaults new file mode 100644 index 000000000..f5b69dd51 --- /dev/null +++ b/openembedded/packages/x11/x11-common/etc/X11/Xdefaults @@ -0,0 +1,3 @@ +Rxvt*scrollBar_right: true +Rxvt*font: xft:Mono:pixelsize=9 + diff --git a/openembedded/packages/x11/x11-common/etc/X11/Xinit b/openembedded/packages/x11/x11-common/etc/X11/Xinit new file mode 100644 index 000000000..f566ffe5b --- /dev/null +++ b/openembedded/packages/x11/x11-common/etc/X11/Xinit @@ -0,0 +1,16 @@ +#!/bin/sh +# + +export USER=root +export HOME=/home/root +if [ ! -d $HOME ] && [ -d /root ]; then + HOME=/root +fi +export XAPPLRESDIR=/usr/X11R6/lib/app-defaults +export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad + +export PATH=$PATH:/usr/X11R6/bin + +SYSSESSIONDIR=/etc/X11/Xinit.d + +exec run-parts $SYSSESSIONDIR diff --git a/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/01xrandr b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/01xrandr new file mode 100644 index 000000000..abde87d53 --- /dev/null +++ b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/01xrandr @@ -0,0 +1,4 @@ +#!/bin/sh + +xrandr -o normal + diff --git a/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus new file mode 100644 index 000000000..61ca84b59 --- /dev/null +++ b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus @@ -0,0 +1,12 @@ +#!/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/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/12keymap b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/12keymap new file mode 100644 index 000000000..abc14f866 --- /dev/null +++ b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/12keymap @@ -0,0 +1,23 @@ +#!/bin/sh + +MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } '