特殊:Badtitle/NS100:EnvironmentVariables/PageDiscussion:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/EnvironmentVariables/PageDiscussion}} {{Languages|UbuntuHelp:EnvironmentVariables/PageDiscussion}} This is the discussion page for: [[../]] Please... |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/EnvironmentVariables/PageDiscussion}} | {{From|https://help.ubuntu.com/community/EnvironmentVariables/PageDiscussion}} | ||
{{Languages|UbuntuHelp:EnvironmentVariables/PageDiscussion}} | {{Languages|UbuntuHelp:EnvironmentVariables/PageDiscussion}} | ||
This is the discussion page for: [[ | This is the discussion page for: [[UbuntuHelp:EnvironmentVariables/|EnvironmentVariables/]] | ||
Please sign your comments by pasting `-- [[duncan-lithgow]] <<DateTime(2008-07-24T22:15:52+0200)>>` after them. | Please sign your comments by pasting `-- [[UbuntuHelp:duncan-lithgow|duncan-lithgow]] <<DateTime(2008-07-24T22:15:52+0200)>>` after them. | ||
-- [[duncan-lithgow]] <<DateTime(2008-07-24T22:15:52+0200)>> Created this template | -- [[UbuntuHelp:duncan-lithgow|duncan-lithgow]] <<DateTime(2008-07-24T22:15:52+0200)>> Created this template | ||
== Pages linking to EnvironmentalVariables == | == Pages linking to EnvironmentalVariables == | ||
<<FullSearchCached(EnvironmentalVariables)>> | <<FullSearchCached(EnvironmentalVariables)>> | ||
---- | ---- | ||
[[category:CategoryPageDiscussion]] | [[category:CategoryPageDiscussion]] | ||
===.bashrc=== | |||
under "System-wide environment variables" it says: | |||
" /etc/bash.bashrc - This is is the system-wide version of the ~/.bashrc file. Ubuntu is configured by default to execute this file whenever a user enters a shell or the desktop environment. " | |||
However my understanding is that .bashrc will only be executed for interactive, non-login shells - i.e. terminal emulators opened under a graphical desktop session. This would make it an unsuitable place for setting locale variables intended to affect graphical programmes. | |||
-- [[UbuntuHelp:launchpad-rafflesnagoya|launchpad-rafflesnagoya]] <<DateTime(2009-03-31T13:24:21+0900)>> | |||
You might want to point out that environment variables added to .bashrc will only be seen by bash, whereas environment variables added to .profile will be seen by all programs. | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月14日 (四) 15:09的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EnvironmentVariables/PageDiscussion }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/af | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Afrikaans| [[::EnvironmentVariables/PageDiscussion/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ar | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|العربية| [[::EnvironmentVariables/PageDiscussion/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/az | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|azərbaycanca| [[::EnvironmentVariables/PageDiscussion/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/bcc | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|جهلسری بلوچی| [[::EnvironmentVariables/PageDiscussion/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/bg | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|български| [[::EnvironmentVariables/PageDiscussion/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/br | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|brezhoneg| [[::EnvironmentVariables/PageDiscussion/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ca | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|català| [[::EnvironmentVariables/PageDiscussion/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/cs | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|čeština| [[::EnvironmentVariables/PageDiscussion/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/de | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Deutsch| [[::EnvironmentVariables/PageDiscussion/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/el | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Ελληνικά| [[::EnvironmentVariables/PageDiscussion/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/es | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|español| [[::EnvironmentVariables/PageDiscussion/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/fa | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|فارسی| [[::EnvironmentVariables/PageDiscussion/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/fi | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|suomi| [[::EnvironmentVariables/PageDiscussion/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/fr | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|français| [[::EnvironmentVariables/PageDiscussion/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/gu | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|ગુજરાતી| [[::EnvironmentVariables/PageDiscussion/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/he | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|עברית| [[::EnvironmentVariables/PageDiscussion/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/hu | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|magyar| [[::EnvironmentVariables/PageDiscussion/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/id | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Bahasa Indonesia| [[::EnvironmentVariables/PageDiscussion/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/it | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|italiano| [[::EnvironmentVariables/PageDiscussion/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ja | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|日本語| [[::EnvironmentVariables/PageDiscussion/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ko | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|한국어| [[::EnvironmentVariables/PageDiscussion/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ksh | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Ripoarisch| [[::EnvironmentVariables/PageDiscussion/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/mr | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|मराठी| [[::EnvironmentVariables/PageDiscussion/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ms | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Bahasa Melayu| [[::EnvironmentVariables/PageDiscussion/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/nl | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Nederlands| [[::EnvironmentVariables/PageDiscussion/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/no | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|norsk| [[::EnvironmentVariables/PageDiscussion/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/oc | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|occitan| [[::EnvironmentVariables/PageDiscussion/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/pl | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|polski| [[::EnvironmentVariables/PageDiscussion/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/pt | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|português| [[::EnvironmentVariables/PageDiscussion/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ro | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|română| [[::EnvironmentVariables/PageDiscussion/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/ru | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|русский| [[::EnvironmentVariables/PageDiscussion/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/si | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|සිංහල| [[::EnvironmentVariables/PageDiscussion/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/sq | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|shqip| [[::EnvironmentVariables/PageDiscussion/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/sr | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|српски / srpski| [[::EnvironmentVariables/PageDiscussion/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/sv | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|svenska| [[::EnvironmentVariables/PageDiscussion/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/th | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|ไทย| [[::EnvironmentVariables/PageDiscussion/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/tr | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Türkçe| [[::EnvironmentVariables/PageDiscussion/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/vi | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|Tiếng Việt| [[::EnvironmentVariables/PageDiscussion/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/yue | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|粵語| [[::EnvironmentVariables/PageDiscussion/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/zh | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|中文| [[::EnvironmentVariables/PageDiscussion/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/zh-hans | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|中文(简体)| [[::EnvironmentVariables/PageDiscussion/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion | UbuntuHelp:EnvironmentVariables/PageDiscussion | {{#if: | :}}EnvironmentVariables/PageDiscussion}}/zh-hant | • {{#if: UbuntuHelp:EnvironmentVariables/PageDiscussion|中文(繁體)| [[::EnvironmentVariables/PageDiscussion/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EnvironmentVariables/PageDiscussion|:EnvironmentVariables/PageDiscussion|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EnvironmentVariables/PageDiscussion/zh | | {{#ifexist: EnvironmentVariables/PageDiscussion/zh | | {{#ifeq: {{#titleparts:EnvironmentVariables/PageDiscussion|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EnvironmentVariables/PageDiscussion|1|-1|}} | zh | | }}
This is the discussion page for: EnvironmentVariables/ Please sign your comments by pasting `-- duncan-lithgow <<DateTime(2008-07-24T22:15:52+0200)>>` after them. -- duncan-lithgow <<DateTime(2008-07-24T22:15:52+0200)>> Created this template
Pages linking to EnvironmentalVariables
<<FullSearchCached(EnvironmentalVariables)>>
.bashrc
under "System-wide environment variables" it says: " /etc/bash.bashrc - This is is the system-wide version of the ~/.bashrc file. Ubuntu is configured by default to execute this file whenever a user enters a shell or the desktop environment. " However my understanding is that .bashrc will only be executed for interactive, non-login shells - i.e. terminal emulators opened under a graphical desktop session. This would make it an unsuitable place for setting locale variables intended to affect graphical programmes. -- launchpad-rafflesnagoya <<DateTime(2009-03-31T13:24:21+0900)>> You might want to point out that environment variables added to .bashrc will only be seen by bash, whereas environment variables added to .profile will be seen by all programs.