Starting things from a script - or similar, how?

Chris G cl at isbd.net
Sun Feb 22 20:03:16 CET 2009


On Sun, Feb 22, 2009 at 11:36:38AM -0700, David Mohr wrote:
> 
> > OK, this is from an fvwm configuration file but you get the idea,
> > currently I use the xfce4 sessions to manage most of this but I'm
> > wanting to add more subtle stuff now like starting up and shutting
> > down VirtualBox.  It would be *much* easier to do this with a pair of
> > scripts one of which is run immediately after X starts and the other
> > of which executes just before X closes down.
> >
> > Being able to edit a straightforward text file to do this sort of
> > stuff is *so* much easier than filling boxes in a GUI and/or selecting
> > options when you shut down and/or start up.
> 
> Why don't you add a shell script to the autostarted applications, and
> then just edit that in a text editor?

Now that is actually rather a good idea, thanks, I'll do that.  It
leaves the issue of how to get things to start in specific windows but
I know that the xfce developers think that isn't in xfce's remit so
I'll leave that be!  :-)  (Yes, I know about devilspie and such)

> With 4.6 you will also have the option to modify xfconf settings
> through the command line.
> 
> I don't think there is a hook for shutting down though.
> 
I think that's an omission, a way to do things that happen at/before
shutdown.

-- 
Chris Green



More information about the Xfce mailing list