# Enlightenment inserted Execution string here
touch ~/xinitrc-tres
~/my-X-stuff/start-x-programs &
#export WINDOW_MANAGER="enlightenment"
#exec /usr/bin/gnome-session
exec /usr/bin/enlightenment
==============================================================
and then my ~/my-X-stuff/start-x-programs file
==============================================================
#!/bin/bash
# Copyright GNU GPL Version 2 only. See http://www.gnu.org/license for information
#
# A startup script for my X programs
#
# We are a distinct process that has been spawned and our parent is now
# starting Enlightenment. Give it a couple of seconds.
# - if "focus new win's" then change virtual desktop to disp the new win
# We need enough time for the rot window's background to be set
sleep 1
# FULL_GNOME=2 fails. This file seems to stop
#FULL_GNOME="0" # None of gnome
FULL_GNOME="1" # just the gnome-panel
#FULL_GNOME="2" # start gnome-session
# This sleep is required to allow Enlightenment to get started and get the
# background in place. (Needed by the transparent windows)
# -- new note -- I now use Esetroot w/ my `get-bg-image' program
# --newer note-- This came back and then went away so the topmost
# sleep can allow Enlightenment to start.
#sleep 3
# gkrellm puts itself in the wrong place if something else opens first
# I still need to find a way to move it to the top/front when all else is done
#GKRELLM_GEOMETRY="--geometry +1067+155"
GKRELLM_GEOMETRY="--geometry +1090+16"
GKRELLM_LOKI="--server loki.tres.org --geometry +1090+490"
# gnome-panel &
if [ "$FULL_GNOME" -eq "2" ]; then
gnome-session &
sleep 10 # Allow time for the gnome-session to start
elif [ "$FULL_GNOME" -eq "1" ]; then
gnome-panel &
gkrellm2 $GKRELLM_GEOMETRY &
gkrellm2 $GKRELLM_LOKI &
sleep 1
else
gkrellm2 $GKRELLM_LOKI &
gkrellm2 $GKRELLM_GEOMETRY &
fi
# This is an attempt to set the background early enough for the
# Eterms to utilize it. (supercedes the `sleep 3' above.)
/usr/bin/Esetroot `/home/tres/my-X-stuff/get-bg-image` &
/usr/bin/X11/numlockx on &
/usr/bin/xscreensaver &
gnome-alsamixer &
xmms --show-main-window &
wmdrawer &
# --scrollbar-type motif
# --itrans for immobile windows (trans) is still required
# OPTIONS: --borderless & --scrollbar-popup should be used
ETERM_DIMENSIONS="--geometry 80x25"
CUT_CHARS=";:\" \"'[]{}()"
#BUFFER_LINES="2048"
BUFFER_LINES="4096"
# --border-width from 10 to 0
ETERM_OPTIONS=" --buttonbar off --scrollbar-type motif --trans --itrans \
--cmod 130 32 --border-width 4 --save-lines $BUFFER_LINES \
--scrollbar-popup --borderless "
#ETERM_OPTIONS=" --buttonbar off --scrollbar-type motif --trans --itrans \
# --cmod 130 32 --border-width 10 --save-lines 1000 --scrollbar-popup \
# --borderless --cut-chars \"\""
# It would be nice to have this shell start in root's home directory.
# if I cd first I don't have permission. If I cd after it wan't do anything
# until after root's shell executes - and I still won't have permission.
# Top left window on the second desktop
# Make the shell bahave as though root logged in here,
# including changing to his directory.
# Top left window on the second desktop (root's window)
#Eterm --geometry 85x30+1152+0 --menubar off --scrollbar on \
# --trans --shade 20 \
# --exec su -l &
#Eterm --geometry 83x30+1152+0 --buttonbar off --scrollbar-type motif \
# --trans --cmod 130 32 --border-width 10 --save-lines 1000 \
# --scrollbar-popup --borderless --cut-chars " \"\'\:\;" \
# --exec su -l &
/usr/bin/Eterm --geometry 87x31+1152+0 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" \
--exec su -l &
# Top right window on the second desktop
#Eterm --geometry 85x30+1688+0 --menubar off --scrollbar on \
# --trans --shade 20 &
Eterm --geometry 87x31+1700+0 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" &
# Bottom left window on the second desktop
#Eterm --geometry 85x30+1152+421 --menubar off --scrollbar on \
# --trans --shade 20 &
Eterm --geometry 87x31+1152+420 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" &
# Bottom right window on the second desktop
#Eterm --geometry 85x30+1688+421 --menubar off --scrollbar on \
# --trans --shade 20 &
Eterm --geometry 87x31+1700+420 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" &
# Full Screen terminal in desktop 0:1,1
#Eterm --geometry 191x66+1152+864 --menubar off --scrollbar on \
# --trans --shade 20 \
# --scrollbar-width 8 &
Eterm --geometry 189x65+1152+864 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" &
# Top window on desktop 0:0,0
#Eterm --geometry 90x64+600+0 --menubar off --scrollbar off \
# --trans --shade 20 \
# --name "Top Running Processes" --exec sudo "top" &
Eterm --geometry 91x66+600+0 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" \
--scrollbar off --name "Top Running Processes" --exec sudo "top" &
# In order for this to work the user must be a member of the group 'adm',
# at least in Mandrake. Will it keep up to date after a 'logrotate'?
# add --console to the log window to get console messages
# and --no-imput so you can't type here and it will never get focus
#
#Eterm --geometry 188x64+0+864 --menubar off --scrollbar on \
# --trans --shade 20 --save-lines 2500 \
# --home-on-echo false \
# --scrollbar-width 8 --name "Updated Message Logs" \
# --exec tail --lines=1000 --retry --follow=name /var/log/messages &
# maybe add --console to get logging messages (may require SUID root)
Eterm --geometry 189x66+0+864 $ETERM_OPTIONS --cut-chars "$CUT_CHARS" \
--home-on-output false --no-input --scrollbar-popup off \
--scrollbar-width 8 --name "Updated Message Logs" \
--exec tail --lines=1000 --retry --follow=name /var/log/messages &
# The Eterm for videos on virtual desktop 0,0
cd /share/tunes/videos ; \
Eterm --geometry 97x16+0+635 $ETERM_OPTIONS 0x100 --cut-chars "$CUT_CHARS" &
# This will start the backend programs for use w/ KDE
kdeinit &
#-=>
#--==>
#---===> The folowing don't seem to accept "--geometry" as an option
# This is somewhat overcome by making E remember the window settings
# sleeping helps prevent timeouts and make handling (moving) them easier
/usr/bin/evolution &
#/usr/bin/bluefish -p /home/tres/.bluefish/projects/Main &
xchat-2 &