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


  Search this Thread
Old 08-29-2003, 04:47 PM   #1
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
--geometry for noobs

i've been messing around with configuring X to suit my style, and editing xinitrc to start up some stuff when i start gnome. the how-tos i've been reading, and from what i can understand of man pages, seem to suggest -g(eometry) can be used with many (if not all) X applications, and takes 4 options. ie 80x40x0x0 would make a box 80x40 and place it at 0x0 (top left). i understood that the four virtual desktops available are (in geometric terms) one big desktop, and to put something on the second desktop you would simply use 100x0 for the location.

it doesn't seem to be working though. are there any guru's out there who understand this better than me and could help me out??

thanks so much!
Old 08-29-2003, 08:21 PM   #2
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Re: --geometry for noobs

Originally posted by mcd
i've been messing around with configuring X to suit my style, and editing xinitrc to start up some stuff when i start gnome.
This is just a hint because nobody else answered: Are you using Gnome 2 with Metacity? Due to freedesktop "suggestions", windowmangers should not try to take care of where windows pop up anymore, but the applications. Metacity is such a windowmanager.

Thus, maybe it didn't work because Metacity doesn't understand the geometry option? Please note, this is just a wild guess...

A workaround might be to leave your applications open when you logout. In most cases, gnome restores them after you log in, again.

Maybe it helps you a little bit....
Old 08-29-2003, 09:27 PM   #3
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
ok, well i had some of the syntax wrong. when you specify the size of the object you separate with 'x', but the location with '+' or '-'


aterm -g 80x35+10+0
aterm -g 80x35+600-50

this first would create an aterm 80 pixels wide and 35 long, 10 pixels to the right from the top left corner. the second would place it in the bottom right corner, 50 pixels to the left from the corner.

i still haven't figured out how to place it on a different virtual desktop, i'll post when i do.

Old 08-29-2003, 10:41 PM   #4
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
This too, is also just a guess, but what resolution are you running at? I wasn't sure if the "100x0" you mentioned was actually what you were using on the command line. Obviously, it would need to be much larger if you were running 1024x768 for example.

Something else to consider: are you certain how the virtual desktops are laid out conceptually? That is, assuming they are all adjacent to one another, do they form a single-file horizontal line? a single-file vertical line? a square/rectangle?

What I'm getting at is this: if they're horizontal, then adding to the horizontal component is the way to go. So, if they are adjacent like you describe, with a large enough horizontal value, it would show on the next virtual desktop. If they're vertical, then you'd need to add to the vertical component.

That might be obvious, but when I read your message the first time, I limited myself to think the virtual desktops were lined up horizontally only, and that might not be the case.
Old 08-29-2003, 10:48 PM   #5
LQ Newbie
Registered: Aug 2003
Location: USA
Distribution: slack 9
Posts: 12

Rep: Reputation: 0
i played around with the different horizontal and vertical locations, and they'll push you off the desktop, but not onto another one. so i guess they're not one big virtual desktop split into 4 views. y'know, this may depend on the window manager...


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
noobs level Thulemanden Linux - Newbie 1 10-21-2005 12:56 PM
Prayer for noobs floppywhopper General 20 09-30-2005 05:38 AM
i'm the noobiest of noobs binkgle Mandriva 6 02-20-2005 03:37 PM
installing for noobs reverendm Linux - Software 4 10-20-2004 06:42 AM
Distro For A Noobs HyBriDJoKeR Linux - Newbie 31 02-05-2004 02:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 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
Open Source Consulting | Domain Registration