WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to maximize aterm window scaling from script  (Read 3360 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
How to maximize aterm window scaling from script
« on: April 27, 2012, 10:54:49 AM »
ok, does anyone know how to specify aterm window to scale at maximum allowable window size or maximum width either from within a script or from .Xdefaults entry, or from the applications desktop startup file entry..??  At this point a system wide setting is welcome.

Have been attempting to add "Ctrl+Alt+M" to a script, which doesn't obviously produce the desired effect.

Have been digging through the forum and so far have only come up with how to set default fonts size on aterm new window.  Adding/changing  "Aterm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso8859-1" produces finally a readable font, yet the window scaling to desired size remains allusive..


Thanks in advance



Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: How to maximize aterm window scaling from script
« Reply #1 on: April 27, 2012, 11:02:35 AM »
You can set the default size with the geometry option in Xdefaults. But that's fixed, so if you have many different screens, you'd need to use a NETWM-compatible WM and one of the window control tools. Those can, say, maximize a window.

A third option is a WM that supports window groups; JWM does, I think openbox and fluxbox do too.
The only barriers that can stop you are the ones you create yourself.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: How to maximize aterm window scaling from script
« Reply #2 on: April 27, 2012, 11:11:32 AM »
Thanks have been working with the -g 120x40 option,  given that it's important to work with flwm_topside I think  is going to have to be the solution..

in case anyone was interested -g 120x40 = 120 columns and 40 rows

thanks

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: How to maximize aterm window scaling from script
« Reply #3 on: April 27, 2012, 11:13:55 AM »
Hadn't thought of adding the -g option to xdefaults, thanks maybe that is adequate.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11656
Re: How to maximize aterm window scaling from script
« Reply #4 on: April 27, 2012, 11:18:06 AM »
Hi coreplayer2
You can also set it when starting a terminal:
Code: [Select]
aterm -g 160x50+10+10The size (160x50) is in characters. The origin of the top left corner (+10+10) is in pixels. The size and origin
appear to refer to the writable part of terminal, not the frame.


Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: How to maximize aterm window scaling from script
« Reply #5 on: April 27, 2012, 03:52:57 PM »
Cool thx Rich