LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 30
.xinitrc


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, 02:11 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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.

Cool
 
Old 10-29-2002, 02:16 PM   #3
mrsolo
Member
 
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, 03:39 PM   #4
adam_boz
Member
 
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, 12:06 AM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

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

Code:
.
.
.
    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.

e.g.:
xterm -geometry 1000x1000+0+0

man X

search for geometry. . .

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

Rep: Reputation: 47
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
HTH
-NSKL
 
  


Reply



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 02:23 AM
.xinitrc missing pirozzi Fedora 4 11-15-2004 03:51 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 05:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 10:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 AM.

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