LinuxQuestions.org
Review your favorite Linux distribution.
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 08-29-2003, 05:47 PM   #1
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
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, 09:21 PM   #2
seneca
Member
 
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

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

Quote:
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, 10:27 PM   #3
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
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 '-'

emamples:

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, 11:41 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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, 11:48 PM   #5
MadMonkey
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...
 
  


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


All times are GMT -5. The time now is 02:38 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