[arch-general] PATH variable not set in DE (GNOME)
rodrigorivascosta at gmail.com
Sat Apr 25 07:45:15 UTC 2015
On Sat, Apr 25, 2015 at 3:03 AM, Maximilian Kaul <archlinux at maxkaul.de> wrote:
> So I checked in a terminal:
> $ which exiftool
> $ echo $PATH
> if I put the following code in a file
> env > /tmp/env
> and execute it via GNOME (double click the file and select 'run') and
> then check the PATH variable in /tmp/env it does _not_ include the perl
> What is the correct way to set this variable? I always thought it is set
> in /etc/profile.d/ but it is already there.
Take a look at . Basically the profile configuration files are for
shell environments, but a DE is not a shell and is not run from one.
According to that page, you can add the graphical environment in $HOME/.xinitrc.
More information about the arch-general