[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnome-terminal on Fedora



On Wed, 2003-11-26 at 00:19, Jason V Smith wrote:
> This is one of the minor things on Fedora (Gnome 2.4) that I haven't
> been able to figure out.  In Red Hat 9 (Gnome 2.2) I was able to set the
> size of the gnome-terminal window (and any window for that matter) and
> it would save that size and location so that when I closed
> gnome-terminal and opened it again it would be in the same place and the
> same size.  What I would like is for the size to always be 80x47 and on
> the right side of the screen.
> 
> Somebody let me know if you know what I'm talking about.
> 
> Thank you for your help

Jason,

I believe you'll find what you are looking for in your
~/.metacity/sessions directory. There you should find one or more .ms
files in XML format.

In that directory I have a file named 1068642513-4764-159269931.ms which
contains the following stanza:

  </window>
  <window id="11c0a80104000106864234900000047010005" class="Gnome-terminal" name="gnome-terminal" title="GNU Xterm" role="gnome-terminal-13693--343820818-1068642350" type="normal" stacking="1">
    <workspace index="0"/>
    <geometry x="346" y="177" width="80" height="24" gravity="NorthWestGravity"/>
  </window>

I'll bet you have such a file with a similar entry. I haven't tried
editing the settings in my geometry line, but it looks like that's how
you could alter the default size of your gnome-terminal window.

I'm sure there's a more "proper" way to do this. I doubt this is well
documented anywhere. After all, XML is supposed to be self-documenting,
right? And there's no guarantee that messing with this file won't have
unforeseen consequences.

--Doc


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.