Translations:Session Environment Variables/2/ca: Difference between revisions

From KDE UserBase Wiki
(Created page with "Configurar les variables d'entorn que afecten a tota la sessió és fàcil. El KDE executa qualsevol script que troba a <tt>$HOME/.kde/env</tt> si el nom acaba en <tt>.sh</tt>, i...")
 
(No difference)

Latest revision as of 19:12, 1 September 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Session Environment Variables)
It is simple to set environment variables that affect your whole session. Plasma will execute any script it finds in <tt>$HOME/.config/plasma-workspace/env</tt> whose filename ends in <tt>.sh</tt>, and it will maintain all the environment variables set by them. It is important that any variable you want to set must be also <code>exported</code>. In the case of PATH, for instance, your system will be set up with certain likely directories as the likely places to find things. Now you are adding an extra possible search place.  You can see what is already set by opening [[Special:myLanguage/Konsole|Konsole]] and typing <code> echo $PATH</code>

Configurar les variables d'entorn que afecten a tota la sessió és fàcil. El KDE executa qualsevol script que troba a $HOME/.kde/env si el nom acaba en .sh, i mantindrà totes les variables d'entorn establertes per aquests. És important que qualsevol altra variable que vulgueu establir també sigui exported. En el cas de PATH, per exemple, el sistema es configurarà amb certs directoris on probablement siguin els llocs on trobar les coses. Ara afegireu un lloc addicional de cerca. Podeu veure el que ja està establert obrint Konsole i escrivint echo $PATH