“UbuntuHelp:EnvironmentVariables/PageDiscussion”的版本间的差异
来自Ubuntu中文
小 (新页面: {{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的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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.