LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2011, 09:00 AM   #1
brennino
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Rep: Reputation: 0
Change language of Linux system in X without logout


This is only a curiosity but can be useful for other staff and not only for language.
I'm running Debian Squeeze with fluxbox.
I have tried to change locale in fluxbox using:
export LANG=de_DE.UTF-8
and every terminal I open now is in dutch. This is ok but if I open other program (for example Gimp) in the same session still in English.
So I put the command "export LANG=de_DE.UTF-8" in a .bashrc file and I open a new X session. Everything was in Dutch.

This means, for me, that X (or the terminal that has runned X) isn't aware that the LANG variable is changed.

Is there a way to "talk with X or the terminal that ran X" and say him: hey, recheck the .bashrc file because something has been changed!? As explained before I want this for the current session and without logout

Thanks

Bre
 
Old 12-01-2011, 09:06 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I'm not sure about the procedure of changing the locale in Debian, but you can source your .bashrc by issuing:

Code:
. ~/.bashrc
 
Old 12-01-2011, 04:19 PM   #3
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by brennino View Post
I have tried to change locale in fluxbox using:
export LANG=de_DE.UTF-8
and every terminal I open now is in dutch.
How can this be Dutch when LANG=de_DE is German? Dutch locale is nl_NL.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can the language of fedora boot message change to other language, zh_CN,e.g.? jimtony Fedora 2 01-11-2011 03:03 AM
How do I change the system language in SYSLinux: jazzguyman Linux - Distributions 2 12-16-2010 11:36 AM
change system language murkis Linux - Newbie 4 04-01-2009 06:35 AM
change system language for apache to german xxxx Debian 1 08-08-2007 09:43 PM
how to change the default language of the system icoming Linux - General 8 06-01-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration