How to initialize some shellscript with XFCE

Keith Dart kdart at kdart.com
Tue May 24 19:55:08 CEST 2005


On Tue, 24 May 2005, Brian J. Tarricone wrote:

> Please don't do stuff like this.  It's not persistent across upgrades,
> and there's no need to do it.  Copy $sysconfdir/xdg/xfce4/xinitrc to
> ~/.config/xfce4/, and edit it to your needs.  Note that, if you launch
> an app here, and that app modifies *its* environment, that's not going
> to do what you want.  The only way to get what you want is if your app
> launches the rest of Xfce itself, or outputs stuff as it exits, which
> you can 'merge' into the environment using 'eval'.  See how the stock
> xinitrc uses 'eval' with dbus-launch and ssh-agent (or one of them; I
> don't recall if both use it).
>

There's the hook. Thank you very much.

Basically, I wanted some menu items I launched from the panel and root 
menu to have certain environment variables set.


-- 

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Keith Dart <kdart at kdart.com>
    public key: ID: F3D288E4
    =====================================================================



More information about the Xfce mailing list