Re: [dev] Environment variables

From: anonymous <p37sitdu_AT_lavabit.com>
Date: Sun, 12 Feb 2012 18:43:06 +0400

On Sun, Feb 12, 2012 at 01:09:44PM +0100, Christoph Lohmann wrote:
> Greetings comrades.
>
> Some of you might be more experienced in the old Unix ways and
> might know how in the good old days all the environment variables
> were standardized. What I am up to: There are these new stylish
> ways of running applications based on their file extensions or
> mime types, which is annoying and leads to many symlinks. Instead
> some environment variables do exist. But maybe history has evolved
> some other substandards than I know?
>
> Variables:
> $PAGER → pager (used by man)
> $EDITOR → editor
>
>
> $SOCKS_SERVER, $NO_PROXY, $AUTO_PROXY, $HTTP_PROXY,
> $HTTPS_PROXY, $FTP_PROXY, $ALL_PROXY
> → proxies and exceptions (used by chromium)
>
> Variables my environment has:
> $BROWSER → web browser
> $XTERM → X terminal emulator
> $MEDIAPLAYER → used for playing any media file
> $DOWNLOADER → (wget)
> $DOWNLOADDIR → where to download files to
>

PATH=$PATH:$HOME/bin
LC_COLLATE=C to make capitalized filenames go first in `ls` output
BROWSER, EDITOR, VISUAL, MAILER, PAGER for programs
HISTFILE, LESSHISTFILE (/dev/null)
NNTPSERVER
MAIL

XDG_CACHE_HOME=$HOME/xdg/cache
XDG_CONFIG_HOME=$HOME/xdg/config
XDG_DATA_HOME=$HOME/xdg/data

XDG_DESKTOP_DIR, XDG_DOWNLOAD_DIR, ...
Received on Sun Feb 12 2012 - 15:43:06 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 12 2012 - 15:48:08 CET