LinuxQuestions.org
Help answer threads with 0 replies.
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 09-01-2003, 05:44 AM   #1
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
Run programs automatically when KDE starts


I want to start a program called kinput2 automatically when I log into KDE. I know this can be done through the file .xinitrc if I use console login, but I am using kdm. Is there a place inside KDE for me to set which programs to run during login?

Thanks.
 
Old 09-01-2003, 06:33 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
I use mandrake so maybe it's a bit different for you. I have jserver set to start at boot and those user accounts for whom I want to enable kinput2, I just place LC_CTYPE=ja_JP.UTF-8 in the ~/.i18n file. Myabe this works for other distros, too (i noticed that on mandrake at least, KDE3.1 needs utf-8 for kinput 2, or you get serious *mojibake*).

You can place things you want to autostart in KDE in the folder ~/.kde/Autostart
I guess you'd put a script that calls kinput2.
 
Old 09-01-2003, 07:34 AM   #3
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Original Poster
Rep: Reputation: 31
Wow, you are good! It works!!!

I created a shell script like the one here:

#!/bin/sh
kinput2 -wnn &

and put it under ~/.kde/Autostart/. Now kinput2 starts automatically when I log in.

I just set LANG=ja_JP.eucJP and it works for me. Although I just tested it on Mozilla and OpenOffice. I am using KDE 3.1, too.

Thanks.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start a program automatically when KDE starts up? zmaint Linux - Software 8 12-21-2004 05:52 PM
Programs Automatically Start When I log In To KDE deft Linux - Software 4 04-06-2004 08:54 PM
How to start programs when KDE starts CodeWarrior Linux - Software 5 02-09-2004 05:54 PM
How to change what programs kde starts up? MadCactus Linux - Software 5 07-28-2003 05:11 PM
Programs start when KDE starts face_master Linux - Software 1 07-20-2003 02:36 AM


All times are GMT -5. The time now is 11:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration