Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-29-2002, 02:56 PM   #1
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30

I am trying to configure my .xinitrc file and I need a few pointers. How do I get the applications that I am starting in it to go to a certain spot on my screen automatically? What is the syntax for that? Also, why is it that gkrellm won't start at all? I have it set to start with the other apps in the .xinitrc file but it simply won't start up.
Old 10-29-2002, 03:11 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Do you have it installed? Also, run it with the command line regularly, and see if it starts. You can check out the gkrellm homepage for info for different wm to have gkrellm start in certain places. For Flux it's 'gkrellm -w'

So, an example for xinitrc to start flux might be:

exec gkrellm -w
exec fluxbox
#exec kde

Obviously this is very basic, and doesn't need the #exec kde as this is just to add to the example.

Old 10-29-2002, 03:16 PM   #3
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Here is a copy of my .xinitrc:

bbpager &
bbkeys -i &
gaim &
gnome-terminal &
Esetroot /mnt/cheetah/wallpaper/singularity_rescaled_brushed.jpg &
gkrellm $
exec blackbox
Old 10-29-2002, 04:39 PM   #4
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
is that '$' supposed to be there after gkrellm? try putting 'gkrellm -w &'. That'll put it on the bottom right hand side of your screen.
Old 10-30-2002, 01:06 AM   #5
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Here is a copy of my .xinitrc:

    sleep 15 & pid=$!                   # OpenLook Window Manager
    $HOME/bin/olvwm -syncpid $pid & wmpid=$!
    wait $pid 

xv -quit -disp $DISPLAY +root -rm 5 +nore -rb black Data/io0.tif
toolwait xterm -C -bg black -fg grey -fn 9x15bold -iconic -geometry 80x55
toolwait xterm -sb -bg black -fg grey -cr blue -fn 9x15bold -geometry 80x55
toolwait xterm -fn 9x15bold -geometry 80x55 -T "email" -e pine -i
# Start clients on screen 1
xv -quit -disp :0.1 +root -rm 5 +nore -rb black Data/io1.tif
The toolwait is specific to the OpenLook window manager, but you
should be able to replace that with "exec"

The -geometry option is the key to placing things where you want. This
is supposed to work with any program that was written to the X API.

xterm -geometry 1000x1000+0+0

man X

search for geometry. . .

Last edited by moses; 10-30-2002 at 01:13 AM.
Old 10-30-2002, 11:16 AM   #6
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
In some apps --geometry flag is called just -g
Read the man page for the app, here's a part of my xinitrc to give you an idea:
exec bbkeys &
#b Esetroot /Files/Pics/blackspace1024l.gif &
exec root-tail -g 85x8+500+0 /var/log/messages,green /var/log/syslog,yellow /var/log/secure,red &
# exec colortail -k /home/nskl/.colortail/conf.kernel /var/log/messages -f -g 75x10+500+0 &
exec gkrellm &
exec xscreensaver -no-splash &
exec rox -p --pinboard=PIN &
# exec blackbox
exec fluxbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need something like ~/.xinitrc when using GDM Mr. Asdf Linux - Software 1 10-25-2005 03:23 AM
.xinitrc missing pirozzi Fedora 4 11-15-2004 04:51 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 06:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 11:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 04:12 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration