Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
In that case, to get where you want to go, you will either have to find the file that your gui login manager (probably gdm) uses and edit that file, or switch to console login and customize your .xinitrc file.
# Duron 950 box "uilleann" user fancy .xinitrc file
# Start the stuff I want to run when I startx
# The artwiz-fonts sometimes conflict with your locale settings. To get
# them to work you may have to put the following at the beginning of your
# .xinitrc file
# export LC=C
# export LC_ALL=C
# Esetroot ~/backgrounds/linux.png &
# Start gkrellm and put it in the slit
gkrellm -w &
# This will run a screensaver as your background
# /usr/X11R6/lib/xscreensaver/hopalong -root &
# Start the screensaver daemon
# Finally, I start my window manager
# exec kde
# exec gnome-session
Last edited by fancypiper; 08-31-2003 at 11:43 AM.
gdm uses /etc/gdm/Sessions to work out what window managers to show (if you are using GDM). As far as i know you have to use this, not a file in the home directory (yep, just checked at GDM site) You need to do two things. Add an entry to Xsession to run your window manager, then make a new file in Sessions to add an entry to the GDM menu.
I: go down to the bit in Xsession that looks something like this:
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
xterm -geometry 80x66+0+0 -name login &
xsetroot -solid SteelBlue
and put under your last entry :
(this assumes the command for AmiWM is amiwm, if it isn't, just change the word after exec.)
Put this in a file called AmiWM or what ever you want the menu entry to look like:
You can add other stuff in here too, if you want it to run when the WM runs, just don't forget to tell them to run in the background by putting & after each command. If that sounds confusing, here's my Waimea file for reference.