Thank you all for the fast replies,

As always, - I did not have to re-invent the wheel. Gnome-session supports
everything I need and more, so I will be using that from now on. Appreciate
your help :)

Best Regards,  Maxim Shkurygin
http://maxatreides.net
max.atreides (at) gmail (dot) com

On Fri, Jan 23, 2009 at 7:04 PM, Mike Kershaw <[email protected]> wrote:

> On Fri, Jan 23, 2009 at 06:41:38PM -0500, Sean Dague wrote:
> > Maxim Shkurygin wrote:
> > > Hello mhvluggers,
> > >
> > > I have a pretty common routine that I preform every time I start up my
> > > laptop, which goes generally like this:
> > >
> > >   1. Launch three termnals, and arrange them to fill my Desktop 1
> > >   2. Go to Desktop 2 and start up Pidgin, and XChat and arrange them
> > >   3. Go to Desktop 3 and start up Firefox + whatever else I need at the
> > > moment.
> > >
> > > Since these tasks are routine and monotonous I imagined there must be a
> way
> > > for me automate it with a shell script. However after googling for a
> while I
> > > couldn't find a way to do it. So, my question is - is there a console
> > > program that you know of that lets me start a specific X app on a
> specific
> > > desktop, at a specific position with specific dimensions?
> >
> > Placement and size policy can be done easily with devil's pie
> > (http://live.gnome.org/DevilsPie).
> >
>
> Sean nailed it.
>
> Launching is a matter of putting it in xinitrc.
>
> Placement is up to your WM.
>
> Some WMs have built-in "remember this position for this window id".
>
> For the rest, DevilsPie would be a good way to handle it.
>
> -m
>
> --
> Mike Kershaw/Dragorn <[email protected]>
> GPG Fingerprint: 3546 89DF 3C9D ED80 3381  A661 D7B2 8822 738B BDB1
>
> "For every action there is an equal and opposite reaction.  Unfortunately,
> for
> most people, that reaction is illiteracy."
>
> _______________________________________________
> Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
> Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
>  Feb 4 - Ruby on Rails
>  Mar 4 - TBD
>  Apr 1 - TBD
>
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
  Feb 4 - Ruby on Rails
  Mar 4 - TBD
  Apr 1 - TBD

Reply via email to