]> err.no Git - dotfiles/commitdiff
initial checkin
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Mon, 30 Sep 2002 09:29:32 +0000 (09:29 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Mon, 30 Sep 2002 09:29:32 +0000 (09:29 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@52 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

Xclients [new file with mode: 0755]
Xclients-default [new file with mode: 0755]
xsession [new file with mode: 0755]

diff --git a/Xclients b/Xclients
new file mode 100755 (executable)
index 0000000..bb4bf71
--- /dev/null
+++ b/Xclients
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Created by Red Hat Desktop Switcher
+
+if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
+    exec $HOME/.Xclients-$HOSTNAME$DISPLAY
+else
+    exec $HOME/.Xclients-default
+fi
diff --git a/Xclients-default b/Xclients-default
new file mode 100755 (executable)
index 0000000..a4a4619
--- /dev/null
@@ -0,0 +1,57 @@
+#! /bin/sh
+#exec startkde
+
+if [ -f ~/.Xdefaults ]; then
+       xrdb ~/.Xdefaults
+fi
+
+#xmodmap -e 'keycode 115 = less greater'
+#xmodmap -e 'keycode 117 = greater less'
+
+eval `ssh-agent`
+if [ -f ~/.ssh/identify ]; then 
+       ssh-add ~/.ssh/identity
+fi
+if [ -f ~/.ssh/id_dsa ]; then 
+       ssh-add ~/.ssh/id_dsa
+fi
+
+xsetroot -solid DarkSlateGray &
+xterm -ls -title xterm1 -geometry 83x25+0+23 &
+xterm -ls -title xterm2 -geometry 83x25+0+375 &
+xterm -ls -title xterm3 -geometry 83x25-0+23 &
+xterm -ls -title xterm4 -geometry 83x25-0+375 &
+
+xterm -xrm "*Desk:1" -ls -title xterm5 -geometry 83x25+0+23 &
+xterm -xrm "*Desk:1" -ls -title xterm6 -geometry 83x25+0+375 &
+emacs -xrm "*Desk:1" -geometry 81x50-0+23 &
+unclutter -idle 5 -jitter 2 -root&
+
+nice xstarfish -d 1 hour -s small &
+root-portal -n&
+
+xset r rate 250 50
+xset -b
+
+if type fvwm2; then
+       exec fvwm2
+fi
+
+if type fvwm; then
+       exec fvwm
+fi
+
+if type -p startkde; then
+       exec startkde
+fi 
+
+if type -p sawfish; then
+       exec sawfish
+fi 
+
+if type -p sawmill; then
+       exec sawmill
+fi
+
+# Absolute fallback
+exec xterm
diff --git a/xsession b/xsession
new file mode 100755 (executable)
index 0000000..98b32db
--- /dev/null
+++ b/xsession
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+exec ~/.Xclients
+