Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
start apps with predefined window size
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lectrix
n00b
n00b


Joined: 03 Apr 2003
Posts: 17
Location: austria

PostPosted: Tue Aug 12, 2003 12:04 pm    Post subject: start apps with predefined window size Reply with quote

hi!

i wonder if this is possible...
i want to start a application, say firebird, with window size attributes and coordinates...

this would be very useful, because i could write a script that sets up my desktop for specific tasks, e.g. "loadWorkDesktop" loads 2 eterms, gvim, vmware, lincvs, sylpheed... or "loadMusic Desktop loads xmms with playlist, firebird, mixer, some other music apps...
anyway,...
does anyone know how to do this?
_________________
huh, was that me?!
Back to top
View user's profile Send private message
fimblo
Guru
Guru


Joined: 19 Feb 2003
Posts: 306
Location: European Union, Stockholm

PostPosted: Tue Aug 12, 2003 1:29 pm    Post subject: Reply with quote

wasnt there a file called .Xresources where you can specify stuff like that? something like:

xterm*geometry: 80x50+100+100

check out man X and search for Xresources. to apply, use xrdb -merge $HOME/.Xresources

hope this helps...
_________________
http://blahonga.yanson.org - little geekblog
http://blahona.yanson.org/howtos/livecd - yet another livecd howto
Back to top
View user's profile Send private message
nemhain
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2002
Posts: 97
Location: Sundsvall, Sweden

PostPosted: Tue Aug 12, 2003 3:04 pm    Post subject: Reply with quote

Many apps support the --geometry (-g) option to set width, height and position.

Example:
Code:
gnome-terminal --geometry=10x10+100+100


Width x Height + X-position + Y-position
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum