Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200537

Re: where does fvwm get its xterm icon?

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: where does fvwm get its xterm icon?
Date 2018-09-24 14:30 +0200
Message-ID <wBy9X-5ID-1@gated-at.bofh.it> (permalink)
References (1 earlier) <wzPoC-1Si-7@gated-at.bofh.it> <wzW6J-5KL-3@gated-at.bofh.it> <wAGVX-81P-1@gated-at.bofh.it> <wAJ7r-Nk-1@gated-at.bofh.it> <wB4bU-4Uu-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

David Wright (2018-09-22):
> (Actually .xsession here.) That may well be, and it does work to get
> the xterms placed on the correct positions, but it also has downsides
> which I can avoid while xtoolwait continues to work (even with its
> bug).
> 
> 1) The xterms' arguments, and (for some of them) the commands they run,
>    are computed in the shell script that is ~/.xsession. While some of
>    these might be simple to perform in fvwm-ese, not all of them are,
>    and I'm not particularly well versed in fvwm-ese. I'm reasonably
>    competent in bash dialect shell-ese however.

You can call a shell script from Fvwm, of course. With a little
creativity, you can even call .xsession or .xinitrc itself and arrange
to have the same init code for environment and stuff but execute pre-WM
commands when it is truly the init script and post-WM commands
otherwise.

> 2) I get a log of all the .xsession operations in .xsession-errors,
>    whereas the logging done by fvwm is almost all generated by the
>    Echo commands I inserted.

If you get Echo commands in .xsession-errors, that means Fvwm's output
is connected to it, and then all commands started by Fvwm will too.

> 3) There's still a race between the xterms when started from InitFunction.
>    Although their placements are correct, they are mapped at their
>    locations in a random order instead of deterministically. This
>    randomises the PIDs and PTSs of their shells, which is less
>    convenient for seeing who's running what at a glance.

You may need to enforce the order with your favorite tool, but starting
from Fvwm's InitFunction will reduce concurrency and therefore make
things slightly more efficient. And I believe Fvwm is capable of doing
the wait itself, which would be even more efficient.

Also, relying on the numbers of PIDs and PTYs is really not reliable,
irregardless of how you start your xterms.

(Also, I had to wonder for a few seconds about why your xterms have
Presentation Time Stamps, but that is just because I have spent a
significant part of the week-end surrounded by multimedia jargon.)

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

where does fvwm get its xterm icon? "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-09-17 14:30 +0200
  Re: where does fvwm get its xterm icon? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-17 15:50 +0200
  Re: where does fvwm get its xterm icon? Nicolas George <george@nsup.org> - 2018-09-17 15:50 +0200
  Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-17 18:50 +0200
    RE: where does fvwm get its xterm icon? "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-09-17 22:50 +0200
      Re: where does fvwm get its xterm icon? Zenaan Harkness <zenaan@freedbms.net> - 2018-09-18 01:30 +0200
        Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 02:50 +0200
      Re: where does fvwm get its xterm icon? <tomas@tuxteam.de> - 2018-09-18 07:20 +0200
        Re: where does fvwm get its xterm icon? Zenaan Harkness <zenaan@freedbms.net> - 2018-09-20 08:10 +0200
      Re: where does fvwm get its xterm icon? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-18 08:20 +0200
        RE: where does fvwm get its xterm icon? "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-09-19 01:50 +0200
  Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-19 20:30 +0200
    RE: where does fvwm get its xterm icon? "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-09-20 03:40 +0200
      Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-22 05:40 +0200
        Re: where does fvwm get its xterm icon? Nicolas George <george@nsup.org> - 2018-09-22 08:00 +0200
          RE: where does fvwm get its xterm icon? "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-09-22 16:40 +0200
            Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-23 16:30 +0200
          Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-09-23 06:30 +0200
            Re: where does fvwm get its xterm icon? Nicolas George <george@nsup.org> - 2018-09-24 14:30 +0200
              Re: where does fvwm get its xterm icon? David Wright <deblis@lionunicorn.co.uk> - 2018-10-30 14:20 +0100

csiph-web