LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-04-2004, 11:33 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Question on starting program at boot


Hi all folks,

To start Chinese input function on OpenOffice Writer, following command lines have to be executed on the same Console/xterm window;

$ export XMODIFIERS=@im=xcin
$ export LC_CTYPE=zh_TW.Big5
$ /usr/X11R6/bin/xcin2.5 &
$ /usr/local/OpenOffice.org1.1.0/program/swriter

The first 3 lines are for starting the Chinese input engine 'xcin'. If starting OOo Writer on KDE/GNOME desktop with GUI first and Chinese input engine later, Chinese input can't work on OOo document.

And after finishing Chinese editing if to make the Chinese input engine working on another program such as KEdit, KMail, etc. OOo Writer must be closed first and thereafter executing command to start KEdit on the same Console window.

It is not convenient. Is there an solution to start Chinese input engine at boot and allow other programs using it without the necessity starting all of them on the same Console/xterm window

Kindly advise. TIA

B.R.
satimis
 
Old 04-05-2004, 12:33 AM   #2
coder_ma
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat9
Posts: 18

Rep: Reputation: 0
can u add them into ur .base_profile so that u can enable these feathers
when u logon.
"
export XMODIFIERS=@im=xcin
export LC_CTYPE=zh_TW.Big5
"

==========================
加入你的配置文件. :-)
祝好运.
 
Old 04-05-2004, 11:41 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by coder_ma
can u add them into ur .base_profile so that u can enable these feathers
when u logon.
"
export XMODIFIERS=@im=xcin
export LC_CTYPE=zh_TW.Big5
"
Hi,

Tks for your advice.

Added the captioned 2 lines to /.profile. Relogin did not evote 'xcin', the Chinese input engine.

Even if it works another problem may come up, how to start KEdit or other software on the same environment. Otherwise Chinese input function won't work.

B.R.
satimis
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
a question about starting of services during boot time tuxfood Red Hat 1 04-22-2005 09:59 PM
Starting to program in C snoopyswiss Programming 4 11-04-2004 09:38 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
Starting to program ;) Need a little help gamehack Programming 1 12-29-2003 09:45 AM
Starting a program at boot bkmesenbrink Linux - Newbie 3 08-07-2002 02:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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