LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2004, 04:39 AM   #1
ThePenguin
Member
 
Registered: Sep 2003
Location: GA, US
Distribution: RedHat 9.0
Posts: 50

Rep: Reputation: 15
Automated startup commands?


How would I go about automatically running this at startup:
Code:
LANG=ko_KR
LC_ALL=ko_KR
LC_CTYPE=ko_KR
XMODIFIERS=@im=ami
So that I do not have to enter that every time I start Linux

Last edited by ThePenguin; 09-05-2004 at 04:41 AM.
 
Old 09-05-2004, 05:08 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Add the commands to the end of /etc/rc.d/rc.local.

Baldrick
 
Old 09-05-2004, 06:00 AM   #3
ThePenguin
Member
 
Registered: Sep 2003
Location: GA, US
Distribution: RedHat 9.0
Posts: 50

Original Poster
Rep: Reputation: 15
-_- didn't work. Is there any specific code involved other than the 4 commands at the end of rc.local that I should put in?
 
Old 09-05-2004, 06:07 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try prefixing the lines with export:
Code:
export LANG=ko_KR
export LC_ALL=ko_KR
export LC_CTYPE=ko_KR
export XMODIFIERS=@im=ami

Håkan
 
Old 09-05-2004, 06:23 AM   #5
ThePenguin
Member
 
Registered: Sep 2003
Location: GA, US
Distribution: RedHat 9.0
Posts: 50

Original Poster
Rep: Reputation: 15
no luck.... ...Let me explain what I am doing though. I start up. Go to terminal. Put in the four commands(without export). Then I type "ami & oowriter". This brings up Open Office and has enabled Korean language support. I can then press "Shift + Space" to switch between languages. Is it still possible or am I shooting the moon
 
Old 09-05-2004, 06:34 AM   #6
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Try putting the commands in the /home/<user>/.bash_profile file and see if that helps.

Baldrick
 
Old 09-05-2004, 10:56 AM   #7
ThePenguin
Member
 
Registered: Sep 2003
Location: GA, US
Distribution: RedHat 9.0
Posts: 50

Original Poster
Rep: Reputation: 15
no cigar . Did I not put a command in or something?
 
  


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
Commands at startup Maverick1182 Linux - Newbie 5 08-08-2005 05:55 PM
Commands On Startup SkyeFyre Linux - General 3 04-16-2005 07:31 PM
Appropriate places for startup commands? bluefire Linux - General 3 10-07-2003 09:52 PM
running commands at startup tfalk3 Linux - General 4 05-27-2003 03:57 PM
Executing commands on startup viciousfish Linux - General 5 06-28-2002 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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