LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-17-2014, 09:54 AM   #1
oblo
Member
 
Registered: May 2014
Location: Rome, Italy
Distribution: LFS 7.6
Posts: 55

Rep: Reputation: Disabled
Language issue (runit?)


I tried to change xfce language recently.. i edited /etc/profile.d/i18n.sh in this way:
# Set up i18n variables
# export LANG=en_US.ISO-8859-1
export LANG=it_IT.utf8

Not sure this is the right way but this way is working well, xfce is speaking italian now!
Anyway, if possible, i would like to see my terminal speak english yet (man pages, output..).
The problem is that i don't know what i have to do.. i tried to edit my .bashrc, .bash_profile or /etc/bashrc with "export LANG=en_US.ISO-8859-1" but after reboot xfce speaks english again!
I suspect my runit installation is missing a file or i don't know.. any idea?
 
Old 12-17-2014, 09:42 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
'/etc/profile.d/i18n.sh' this file sets ENVIRONMENT Variables for any thing run with bash script.
As do /etc/profile or /home/user/.bash_profile.

All you have to do is set LANG Env Var for Xfce only.

Do you use startx or some gdm for starting Xfce?

If so just put LANG Var in that startup script.

Or you might configure lang in Xfce configuration file.
 
1 members found this post helpful.
Old 12-18-2014, 06:56 PM   #3
oblo
Member
 
Registered: May 2014
Location: Rome, Italy
Distribution: LFS 7.6
Posts: 55

Original Poster
Rep: Reputation: Disabled
Thx very much veerain!
After hundreds of logouts i solved editing my .xinitrc with:

LANG=it_IT.utf8
exec startxfce4

Strangely it works well for my user but not for root, i edited both .xinitrc but ok.. now is better!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Language configuration issue with Danish alphabet coolsti SUSE / openSUSE 2 05-14-2008 01:42 AM
Language Support Issue AutoC Fedora 1 01-31-2008 11:59 PM
language add issue wanghao Linux - Desktop 0 11-05-2007 11:03 PM
OpenOffice language issue abort...retry Linux - Software 4 07-31-2006 02:43 AM
Language Issue karl.fisher Red Hat 1 05-18-2004 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:22 AM.

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