[linux-audio-user] distros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,
David M hat gesagt: // David M wrote:

> One point though if somebody knows how to set global environment variables 
> that work within the point and click environment within kde (.profile doesnt 
> seem to work) I certainly would like to know.

You might try to add those to /etc/environment as KEY=VALUE pairs,
then add something like this to ~/.xsession and /etc/profile:

# If /etc/environment is present, source it. It's useful to put default
# environment settings in this file, and then source it both here and in
# /etc/profile.
if [ -f /etc/environment ] ; then
  . /etc/environment
 for n in `grep -v ^# /etc/environment | cut -s -d= -f1` ; do export $n; done
fi

# I also use this for my own env: 
# 
# if [ -f $HOME/.environment ] ; then
#   . $HOME/.environment
#   for n in `grep -v ^#  $HOME/.environment | cut -s -d= -f1` ; do export $n; done
# fi

I never used KDE, but I assume, it uses ~/.xsession or something similar
as well. It should honour /etc/profile at least.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux