[opensuse] set environment variable
Hello all, I need to set some environment variables and I have stated where I have placed them. Please check whether I am correct or is there any duplication/redundancy: 1. Locale LC_ALL=en_IN.utf-8 This has been set in ~/.profile and ~/.bashrc. A separate executable file is also created under ~/.kde4/env/ 2. IME I use fcitx. I find this better integrated with KDE (than IBus) for typing my mother tongue Tamil (ta_IN). I have set variables in ~/.profile, ~/.xim and ~/.bashrc 3. Libreoffice Libreoffice-kde(4) is problematic - like during dragging cells. So, I've set "export OOO_FORCE_DESKTOP=gnome" in ~/.profile and ~/.bashrc 4. Gnupg Agent I need this for digitally signing my mails (with pkcs11 DSCs). Starting/stopping commands are included in ~/.profile and ~/.bashrc. Separate executable files each for starting and stopping respectively are placed in ~/.kde4/env/ and ~/.kde4/shutdown/ Now, as you may see, I have placed some variables at two or three places. Is it needed/correct? Or is there any better way to do this? Thanks in advance. Regards and Wishes, Rajesh -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* CA G Rajesh
Hello all,
I need to set some environment variables and I have stated where I have placed them. Please check whether I am correct or is there any duplication/redundancy:
1. Locale LC_ALL=en_IN.utf-8 This has been set in ~/.profile and ~/.bashrc. A separate executable file is also created under ~/.kde4/env/
YaST{2} -> System -> /etc/sysconfig Editor -> Environment -> Language especially look at RC_LANG -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Content-ID:
* CA G Rajesh <> [02-06-14 07:57]:
Hello all,
I need to set some environment variables and I have stated where I have placed them. Please check whether I am correct or is there any duplication/redundancy:
1. Locale LC_ALL=en_IN.utf-8 This has been set in ~/.profile and ~/.bashrc. A separate executable file is also created under ~/.kde4/env/
YaST{2} -> System -> /etc/sysconfig Editor -> Environment -> Language especially look at RC_LANG
That's for a global, systemwide, setting. For a per user setting, there is the file "~/.i18n". It allows fine tuning: cer@minas-tirith:~> cat .i18n LC_TIME="en_DK.UTF-8" LC_MONETARY="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" It is a standard, but unfortunately it is not supported by all desktops (yes, there is at least a Bugzilla on this). Actually, it is a problem with the session manager (gdm, kdm, etc), IIRC. I have it working here (13.1) but at this minute I don't remember if the bug was corrected, or I implemented a hack that turned out in the Bugzilla. I don't have a perfect memory! Otherwise, the place would be the ~/.profile file. Actually, it is a commented out section inside: # Most applications support several languages for their output. # To make use of this feature, simply uncomment one of the lines below or # add your own one (see /usr/share/locale/locale.alias for more codes) # This overwrites the system default set in /etc/sysconfig/language # in the variable RC_LANG. # #export LANG=de_DE.UTF-8 # uncomment this line for German output #export LANG=fr_FR.UTF-8 # uncomment this line for French output #export LANG=es_ES.UTF-8 # uncomment this line for Spanish output - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlLzxycACgkQja8UbcUWM1w5YAD+NOZSnGkTC2G1Bq7L7m/yww1f fqVnuu1LitHdTByYXu4A/3v2W60WDOdmXFN56KAXXEeBiUtHtgFTrZBrK8U6W9JU =86aE -----END PGP SIGNATURE-----
participants (3)
-
CA G Rajesh
-
Carlos E. R.
-
Patrick Shanahan