#!/bin/sh

# The X session file, in this case $HOME/.xsession, is a shell script that
# contains a list of things to do (programs to run and so forth) every time
# X starts for a particular user.  It allows you to personalize your X
# environment and get down to business (or play) faster.  If there are
# things you want done every time you start X (or log into a machine using
# XDM), rather than doing them by hand every time by running commands from
# a terminal window, you can place them here, in the .xsession file, and
# they will be run automatically, every time.

# There are essentially three types of commands in an .xsession file; we
# usually fire up some persistent X clients, like xterms, a clock, a biff
# program of some sort, etc., which we expect to stick around more or less
# for the duration of our X session.  These commands will need to be
# backgrounded, or "amped off", otherwise your X session will "stay" on
# that command until it exits.  The second type of command is relatively
# instantaneous in effect, or we *desire* the X sesson to stop until that
# command exits -- we don't background those.  Finally, at the end of our
# .xsession file we generally "exec" a window manager.  That replaces the
# running .xsession shell script with the window manager process, and when
# the window manager exits, the X session is over (the user returns to the
# virtual console or the XDM login screen).


imwheel -k

#exec xli -onroot ~/.Backgrounds/Dray.jpg
#exec ~/bin/background.tcl

Esetroot ~/.Backgrounds/LinuxGNU.jpg

#xterm -e ~/bin/ponm &

xsetroot -cursor_name top_left_arrow

larsclock &

movemouse -x 512 -y 780

# Now execute the window manager and we'll be on our way.  Most people have
# window managers they like better than twm -- install the corresponding
# Debian package and edit the following line appropriately if you're one of
# them.
#exec twm
exec larswm
