[CLUE-Tech] Enlightenment

Ed Hill ed at eh3.com
Fri May 10 17:55:50 MDT 2002


Hi Kurt,

The "~/.Xclients" file doesn't exist unless you create it.  With Red Hat
distros, the startx command (I generally login from a text terminal but
this may also work from a graphical login) program will execute a bit of
shell code (see [1] below) from your /etc/X11/xinit/xinitrc file.  So
what this code does is, if you have a /home/your_name/.Xclients file, it
will execute it and otherwise it will use the system default file.

Many Unix commands have such a configuration structure.  That is, many
programs have a system-wide default resource (or configuration) file
that can, in part or whole, be overridden by a resource file in the
user's home directory.

hth,
Ed

===

 [1] Exerpt from /etc/X11/xinit/xinitrc:


if [ -f $HOME/.Xclients ]; then
    exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
    exec /etc/X11/xinit/Xclients
else
       # failsafe settings.  Although we should never get here
       # (we provide fallbacks in Xclients as well) it can't hurt.
       xclock -geometry 100x100-5+5 &
       xterm -geometry 80x50-50+150 &
       if [ -x /usr/bin/netscape -a -f /usr/share/doc/HTML/index.html ];
then
               netscape /usr/share/doc/HTML/index.html &
       fi
       if [ -x /usr/X11R6/bin/fvwm2 ]; then
               exec fvwm2
       else
               exec twm
       fi
fi




On Fri, 2002-05-10 at 17:32, Kurt Sturm wrote:
> Ummm.... Hey Ed.... Don't mean to sound like a newbie but..... where
> might I find this almighty Xclients file??
> 
> 
> On Fri, 2002-05-10 at 16:43, Ed Hill wrote:
> > On Fri, 2002-05-10 at 16:10, Kurt Sturm wrote:
> > > Thanks xclock is a tad primitive but gets the job done, one cannot ask
> > > for to much more that that, right?
> > 
> > 
> > You can get a number of cool little Gnome-panel-applets with E if you
> > run the Gnome-panel.  And you *don't* have to run all of Gnome!  This is
> > the setup that I use (just Enlightenment with the Gnome panel).
> > 
> > To do it, put the following in your ~/.Xclients file:
> > 
> > # run E with the Gnome panel...
> >   /usr/bin/panel >& /dev/null &
> >   enlightenment
> > 
> > 
> > hth,
> > Ed
> > 
> > 
> > -- 
> > Edward H. Hill III, PhD    |  Email:       ed at eh3.com, ehill at mines.edu
> > Post-Doctoral Researcher   |  URLs:        http://www.eh3.com
> > Division of ESE            |   http://wasser.mines.edu/people/edhill.php
> > Colorado School of Mines   |  Phone:       303-273-3483
> > Golden, CO  80401          |  Fax:         303-273-3311
> > Key fingerprint = 5BDE 4DA1 66BE 4F7B BC17  3A0C 932B 7266 1E76 F123
> > _______________________________________________
> > CLUE-Tech mailing list
> > CLUE-Tech at clue.denver.co.us
> > http://clue.denver.co.us/mailman/listinfo/clue-tech
> > 
> 
> 
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> 
-- 
Edward H. Hill III, PhD    |  Email:       ed at eh3.com, ehill at mines.edu
Post-Doctoral Researcher   |  URLs:        http://www.eh3.com
Division of ESE            |   http://wasser.mines.edu/people/edhill.php
Colorado School of Mines   |  Phone:       303-273-3483
Golden, CO  80401          |  Fax:         303-273-3311
Key fingerprint = 5BDE 4DA1 66BE 4F7B BC17  3A0C 932B 7266 1E76 F123



More information about the clue-tech mailing list