Set environment variables used by toolbar application

Joe Riel joer at san.rr.com
Sat Sep 12 23:03:00 CEST 2015


On Sat, 12 Sep 2015 13:30:31 -0700
Joe Riel <joer at san.rr.com> wrote:

> How can I set the environment when launching an application from a toolbar?
> 
> I need to have INFOPATH properly assigned when starting
> emacs from a toolbar.  Currently I assign INFOPATH in .bashrc, but
> that is not in the environment used by the toolbar launcher.
> 

Figured it out.  I use gdm3 for the display manager, so ~/.xprofile 
does the trick.  I used

#!/bin/bash

# Put this here so that it will be used by applications launched
# from the toolbar (or the desktop).

export INFOPATH="${HOME}/share/info:/usr/local/share/info:$INFOPATH"


-- 
Joe Riel



More information about the Xfce mailing list