LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-07-2004, 10:59 PM   #1
brandonweinberg
Member
 
Registered: Sep 2003
Location: usa ny
Posts: 48

Rep: Reputation: 15
mozilla geometry in .xinitrc


I use .xinitrc in order to display two small RXVT windows when I start X. Here is what the bottom of my .xinitrc looks like:

#I added this for a second RXVT
rxvt -geometry 70x20-0+0 &

#Start the Window Manager
exec /usr/X11R6/bin/fluxbox &
rxvt -geometry 70X20+0+0

As you can see, I was able to size the RXVT windows using '-geometry.'

To my question.

I want to display a small Mozilla Firebird window, as well, when I start X. I can get the Mozilla Firebird window to display, but at near full screen only, when my .xinitrc looks like:

#I added this for a second RXVT
rxvt -geometry 70x20-0+0 &
exec /home/bdw/MozillaFirebird/MozillaFirebird &

#Start the Window Manager
exec /usr/X11R6/bin/fluxbox &
rxvt -geometry 70X20+0+0

I have been unable to resize the Mozilla Firebird window, a la the RXVT windows and could use some advice. The Mozilla Firebird displays when I start X at near full screen and I would like it to display in a small window in the middle of the screen (about 40X20).
 
Old 02-08-2004, 12:58 AM   #2
brandonweinberg
Member
 
Registered: Sep 2003
Location: usa ny
Posts: 48

Original Poster
Rep: Reputation: 15
I'm beginning to learn that most apps have a -help or --help option that can be very useful. I was able to resolve this silly problem by executing Mozilla Firebird in my .xinitrc like "exec MozillaFirebird/MozillaFirebird -height 200 -width 700 &." Now it lauches in the smaller window I wanted.
 
Old 02-08-2004, 01:31 AM   #3
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Yay!

"man app-name" or "info app-name" helps a lot too.
There are also configuration files (dot files, rc files, whatever you'd like to call them) for most applications, and some of them allow you to specify window geometry that way.
Many of these dot files are automatically created in your home directory the first time you launch an application...others are available to be copied from /etc or from the original application archive. Still others sadly don't exist at all. It's my belief that every application should have an rc of some kind.
 
  


Reply


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
-geometry <geometry> reitzell Linux - Newbie 2 09-10-2005 01:13 PM
Harddisk Geometry koyi Linux - Newbie 3 05-22-2004 07:08 AM
xinitrc not working and mozilla fails to download AlteZza2k2 Linux - Software 5 10-05-2003 02:57 AM
two questions - mozilla & .xinitrc slackware stu Linux - Newbie 2 10-03-2003 10:27 PM
Geometry problem Zr Linux - Hardware 1 03-26-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration