On Saturday 17 Nov 2012 17:51:21 Chris Green wrote:
> On Sat, Nov 17, 2012 at 12:59:15PM +0000, Mick wrote:
> > On Saturday 17 Nov 2012 10:41:54 Carsten Haitzler wrote:
> > > > Just to be absolutely clear - it is possible to start more than one
> > > > instance of the *same* application specifying a different desktop for
> > > > each instance is it? Essentially this requires that the window
> > > > manager assigns a unique name to the instance (the FVWM start up
> > > > script, if I remember right, does this explicitly) so that one can
> > > > then tell it to run a specific instance on a specific desktop.
> > > >
> > > > It does sound as if Enlightenment can do what I want.
> > >
> > > wm's don't assign names. the apps do. wm's SEE these properties. it
> > > requires the APP assign a unique NAME. not title. title's are pretty
> > > close to useless for matching as they keep changing. name/class/role
> > > are what's useful. this needs to be unique to uniquely identify that
> > > window and apply remembered stuff to it.
> > Just to understand this:
> > If I want the first urxvt to always open on desktop 1, say towards the
> > top RH corner and the second urxvt to always open on desktop 1, say
> > towards the bottom LH corner, how should I name the first and how should
> > I name the second so that they are always recognised as such?
> > As it is now opening a second window of an application (e.g. urxvt,
> > konqueror, chrome, etc) always opens on top of the existing 'remembered'
> > window of the same application.
> Aha, so (unless there's an answwer to this question) it would seem that
> Enlightenment *can't* do what I want.
I think it can be done as has already been suggested, but this is I guess the
way to do it:
Create a my_app.desktop file in ~.local/share/applications/
Give it a unique name, e.g.
Now, launch it manually in the desktop you want it and then right click on the
window title bar and select Window/Remember, add the new name you invented and
click on Properties/Position, Virtual Desktop, Size or whichever window
property you like to be remembered. Now, I haven't tried it and it sounds
onerous, but once configured I think it would run as expected, either if
launched manually, or if launched as a Startup app. In my use case, where I
want only the first launch of a terminal window to be in a particular
position, things are more complicated. I think I would need some script to
check if a urxvt has already been launched and then launch a different named