On Wed, 11 Oct 2000, Paul Tomblin wrote:
> John Kennis wrote:
> > On Wed, 11 Oct 2000, Wilbert Berendsen wrote:
>
> > > xterm -name blah
> > > see xterm(1)
> >
> > Yep, this works perfectly, I just tested it =)
> > So it will be possible to start xterm with:
> >
> > xterm -name workspace1
>
> This is a darn cool idea. The only caveat is that I've noticed that if you
> set a name, it sets the title in the title bar to "workspace1". Since I use a
> bash prompt (at home - it doesn't seem to work with the xterm implementation
> on Solaris here at work) that changes the titlebar to say my current
> directory, you'll have to make sure that changing the title doesn't change the
> name and screw up your stuff.
>
I've noticed that too, but the WM_CLASS name always seems to change.
You can see that using xprop (look at WM_CLASS string).
> And of course while this helps xterm (and probably rxvt as well), it doesn't
> do anything if there is some other application that I want to start up
> multiple instances in different workspaces. Not that I can think of any such
> application right now, but it's something to think about.
>
I'll keep this in mind. Maybe I will even add session save and restore to
the program.
John