On Tuesday 05 June 2007 00:08, M Harris wrote:
On Tuesday 05 June 2007 01:36, Petr Klíma wrote:
The caveat is that many variables might be set dynamically based on informations read from other config files. One can even include his own script setting his own set of variables. Many do this.
Yes...
... however, if what you are looking for (at a moment in time) is a listing of "current" environment variables you can use the command:
printenv
The attached desktop file will, when activated, open a window that shows the environment variables that will / would be in effect if you were to launch an interactive BASH shell. You can modify its command to create variants, of course. I created and use it in KDE, so I'm not sure if Gnome will use it, but I have this vague sense that they use the same .desktop file format.
-- Kind regards,
M Harris <><
Randall Schulz