Re: FVWM: dynamical Style changes to a specific xterm

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 13 Oct 2002 10:50:43 +0200

On Sat, Oct 12, 2002 at 04:50:17PM +0000, Mikhael Goikhman wrote:
> On 12 Oct 2002 10:13:47 +0200, Grzegorz Nieweglowski wrote:
> > I often have a couple (or so) xterms opened, which as far as I can tell
> > have all identical atributes (Class/Name/Title etc.)
> >
> > I would hovewer find it usefull to have a keybinding that, say, turns
> > the active windows "FixedPosition" state on. But the Style command
> > accepts only name, class or resource strings, and with multiple xterms
> > those strings are shared among all of those little pests. I know that
> > I can force an xterm to change it's title to something unique, either
> > with a command line/X resource option, or with an escape sequence at
> > run-time, but that really isn't a solution. For a moment I thought that
> > "Style xterm IndexedWindowName" could come usefull here, but it only
> > changes the appearance of the titlebar, and so it does not influence the
> > "Style" command... If only Style would support "$w" (WindowID)...
> >
> > Am I asking for the impossible, or have I just overlooked something
> > obvious?
>
> If something is only configurable using Style and you don't use the
> unique id string, this is not possible yet. But setting Style on per
> window basis (and not just on per id basis as it is now) is on to-do list.
>
> Practically, it is often solvable without such functionality.
> Just start all special xterms with -name YourUniqueId option (-n and -T
> may work too) and configure Style YourUniqueId.

You can also set xterm's class with "xterm -class foobar". This
way you won't see the mangled string in the window title.

> But of course, this is a statical solution, you ask for a dynamical one.
> You may change the window name and icon name of xterm dynamically using:

[snip]

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Oct 13 2002 - 04:31:18 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST