[Thunar-dev] Thunar losing environment settings on customisable actions
Brian J. Tarricone
bjt23 at cornell.edu
Tue Jun 26 19:44:27 CEST 2007
On Tue, 26 Jun 2007 18:27:31 +0100 Erlend Davidson wrote:
>On trying to write a plugin for thunar which interfaces with the "User
>Customisable Actions" feature I have noticed what might be a bug...
>
>For example, if I create the UCA:
>Name: Test
>Command:xterm -e "echo $BROWSER;read"
>(and just make it always appear)
>
>and then trigger it (by right-clicking a file and selecting "Test"
>from the menu) the terminal prints just a blank line - $BROWSER is
>empty! $BROWSER is however normally set to "exo-open" on my system.
Depends on a few things -- how Thunar is launched (does Thunar get
launched in an environment where BROWSER is set?), how the shell is
launched (login shell? interactive? non-interactive?), and where you
set BROWSER (.profile? .bash_profile? .bashrc?). I'd start poking
around there.
-brian
More information about the Thunar-dev
mailing list