Isso é explicado muito bem nesta página wiki do Arch Linux intitulada: Variáveis de Ambiente , especificamente no Seção de exemplos:
The following section lists a number of common environment variables used by a Linux system and describes their values.
DE
indicates the Desktop Environment being used.xdg-open
will use it to choose more user-friendly file-opener application that desktop environment provides. Some packages need to be installed to use this feature. For GNOME, that would be libgnomeAUR; for Xfce this is exo. Recognised values ofDE
variable are:gnome
,kde
,xfce
,lxde
andmate
.The
DE
environment variable needs to be exported before starting the window manager. For example:~/.xinitrc export DE="xfce" exec openbox
This will make
xdg-open
use the more user-friendlyexo-open
, because it assumes it is running inside Xfce. Useexo-preferred-applications
for configuring.