You are not logged in.

#1 2008-05-03 07:34:09

Tg
Member
Registered: 2008-04-23
Posts: 35

What's different between rc.local, rc.conf and bashrc ?

I'm pretty confuse here since there's roles seems to be overlap.





little off topic..  I encountered this problem when using "man"

Cannot open the message catalog "man" for locale "th_TH.utf8"
(NLSPATH="<none>")

I searched in forum and tried to add these to .bashrc

export LC_CTYPE='en_US.UTF-8'
export LANG='en_US'

problem solved, but what does these command do ?  And Can I just use    LC_CTYPE='en_US.UTF-8'  instead of using export ?

Last edited by Tg (2008-05-03 07:36:13)

Offline

#2 2008-05-03 08:29:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: What's different between rc.local, rc.conf and bashrc ?

rc.conf - the central Arch configuration file. Settings here are applied to all users and applications.
rc.local - custom init script. Commands added here are run at boot-time, after all system initscripts.
~/.bashrc - user's bash configuration. Settings here are applied for the owner only, when he/she logs in.

Read http://wiki.archlinux.org/index.php/Configuring_locales for locale info.

Offline

#3 2008-05-03 12:44:00

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: What's different between rc.local, rc.conf and bashrc ?

what does the rc stand for? Runtime configuration?

Offline

#4 2008-05-03 13:29:20

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: What's different between rc.local, rc.conf and bashrc ?

Offline

#5 2008-05-03 21:46:25

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: What's different between rc.local, rc.conf and bashrc ?

I see.. thanks everyone.


But, there's others way to fix man page problem without changing local ?

Offline

#6 2008-05-04 14:43:53

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: What's different between rc.local, rc.conf and bashrc ?

Sounds like a "creat" thing sad

I'll add a link to this thread in those threads to enhance the fud around the word through recursion though

Offline

#7 2008-05-04 18:46:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: What's different between rc.local, rc.conf and bashrc ?

Tg.. read the wiki link, configure your locale. I assumed that's what you would do when I posted the link, but maybe I shouldn't assume these things.

Offline

Board footer

Powered by FluxBB