View previous topic :: View next topic |
Author |
Message |
lectrix n00b
Joined: 03 Apr 2003 Posts: 17 Location: austria
|
Posted: Tue Aug 12, 2003 12:04 pm Post subject: start apps with predefined window size |
|
|
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 |
|
|
fimblo Guru
Joined: 19 Feb 2003 Posts: 306 Location: European Union, Stockholm
|
Posted: Tue Aug 12, 2003 1:29 pm Post subject: |
|
|
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 |
|
|
nemhain Tux's lil' helper
Joined: 26 Apr 2002 Posts: 97 Location: Sundsvall, Sweden
|
Posted: Tue Aug 12, 2003 3:04 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|