The Inferno way to do a few X-11-type customizations

13 views
Skip to first unread message

clasp126...@icebubble.org

unread,
Feb 23, 2022, 2:25:48 PMFeb 23
to infer...@googlegroups.com
So, I've been using Acme under emu to do Inferno development, but the wm
is begining to get on my nerves... which has me wondering about "the
Inferno way" to do certain UI customizations, such as:

(1) Specifying the on-screen location of a graphical application when
it starts. Under X-11, that's usually done with something like the
"-geometry" argument. Is there any function like that (maybe in
wm(1))? I've modified lib/wmsetup to start the programs I want
when emu starts-up, but I still have to keep rearranging their
placement manually.

(2) Is there a way to set the background bitmap of the display? The
drab gray is starting to wear on me. On X-11, I would use
something like "xsetroot" or ImageMagick's "display -window root".
Inferno's wm/view doesn't appear to offer any options for
specifying the window used to display the image.

(Yes, I realize that I could write short limbo programs to perform both
of these functions, but wanted to ask if there's already a preferred
"Inferno" way to do these things.)

Thanks!

da...@boddie.org.uk

unread,
Feb 24, 2022, 7:00:11 AMFeb 24
to inferno-os
On Wednesday 23 February, clasp126 wrote:
So, I've been using Acme under emu to do Inferno development, but the wm
is begining to get on my nerves... which has me wondering about "the
Inferno way" to do certain UI customizations, such as:

(1) Specifying the on-screen location of a graphical application when
it starts. Under X-11, that's usually done with something like the
"-geometry" argument. Is there any function like that (maybe in
wm(1))? I've modified lib/wmsetup to start the programs I want
when emu starts-up, but I still have to keep rearranging their
placement manually.
 
I haven't seen anything that does this automatically. Perhaps a solution that
sends commands to the wm could be used?

(2) Is there a way to set the background bitmap of the display? The
drab gray is starting to wear on me. On X-11, I would use
something like "xsetroot" or ImageMagick's "display -window root".
Inferno's wm/view doesn't appear to offer any options for
specifying the window used to display the image.

Just reading wm.b, I don't think there's a command for doing this, but perhaps
one could be added to it.
 
I also skimmed ipn.caerwyn.com to see if there was a lab that covered any
of these things, but didn't find anything obvious.

David

clasp126...@icebubble.org

unread,
Feb 26, 2022, 1:51:43 AMFeb 26
to inferno-os
"da...@boddie.org.uk" <da...@boddie.org.uk> writes:

>> drab gray is starting to wear on me. On X-11, I would use
>> something like "xsetroot" or ImageMagick's "display -window root".
>> Inferno's wm/view doesn't appear to offer any options for
>> specifying the window used to display the image.
>>
>
> Just reading wm.b, I don't think there's a command for doing this, but
> perhaps
> one could be added to it.

To be clear, I was referring to /appl/wm/view.b, not /appl/wm/wm.b. It
shouldn't be too hard to provide a command-line option which causes
wm/view to draw its image on context.display.image instead of (as it
currently does) drawing the image in a new top-level window.
Reply all
Reply to author
Forward
0 new messages