9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Chris Wilson <christopher.j.wilson@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Start acme maximized
Date: Tue, 13 Nov 2012 10:57:51 -0600	[thread overview]
Message-ID: <13BCF672-BC1A-486C-B3D9-CC91D34172FC@gmail.com> (raw)
In-Reply-To: <CAPv5z_1TtzY_oxgneQ2sZqgGFg=vVSNPr8SYZ=11QpcDExZRZA@mail.gmail.com>


On Nov 13, 2012, at 10:46 AM, Costin Chirvasuta wrote:

> Hello,
> 
> Is there any way to make acme from p9p start maximized in Linux?
> 
> I have a devilspie script that maximizes acme whenever it starts but acme gets to start in a smaller window before this and the layout saved in the dump file gets messed up after the maximize.

Not really "maximized", but at any size you want. I have a little script that starts Acme with parameters that I like:

#!/bin/bash

font=/Users/chris/Downloads/plan9/font/anon/anon.14.font
size=660x660

exec acme -a -c 1 -f $font -W $size "$@"

That is, start acme with autoindent (-a), one column (-c 1), the font that I list, and a size of 660x660, which you can set to be whatever you want.

--
chris


  parent reply	other threads:[~2012-11-13 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 16:46 Costin Chirvasuta
2012-11-13 16:53 ` Aram Hăvărneanu
2012-11-13 16:56 ` Salman Aljammaz
2012-11-13 16:57 ` Chris Wilson [this message]
2012-11-14 14:06   ` Costin Chirvasuta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13BCF672-BC1A-486C-B3D9-CC91D34172FC@gmail.com \
    --to=christopher.j.wilson@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).