URN Logo
UNIX Resources » Linux » China Linux Forum » Linux 中文环境和中文化 » 7 » debian 下启动中文输入法问题
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
debian 下启动中文输入法问题
Author: blackpanther    Posted: 2005-03-20 14:49    Length: 1,439 byte(s)
[Original] [Print] [Top]
我在用hiweed-debian时,不想真接进入图形界面。修改起动,从console下起动,结果运行startx进入图形界面时,发现输入法无法启动。手动运行输入法,也不能输入汉字。(环境没设好,具体见“/etc/X11/Xsession.d/95locales-xinput-set"中的设置)
由于debian的官方起动方法是启动/etc/X11/Xsession.d/下的脚本,所以我就首先将root下的.xinitrc改为xinitrc-bak,这样启动startx 脚本时,就起动/usr/X11R4/lib/xinit/xinitrc,而不是/$HOME/.xinitrc。这个脚本启动/etc/X11/Xsession,由Xsession启动Xsession.d/目录下的脚本。
如果想在root下运行其他的平台,如gnome,在/etc/X11/Xsession.d/5050xfree86-common_determine-startup中
#echo "STARTUP1=$STARTUP"
# If there is still nothing to use for a startup program, try the system
# default session manager, window manager, and terminal emulator.
if [ -z "$STARTUP" ]; then
if [ -x /usr/bin/gnome-session ]; then //添加
STARTUP=gnome-session //添加
elif [ -x /usr/bin/x-session-manager ]; then //将开头的if改为elif
STARTUP=x-session-manager
elif [ -x /usr/bin/x-window-manager ]; then
STARTUP=x-window-manager
elif [ -x /usr/bin/x-terminal-emulator ]; then
STARTUP=x-terminal-emulator
fi
fi


另外,在home目录下,修改.xinitrc,在exec前加入'. /etc/X11/Xsession.d/95locales-xinput-set。
[Original] [Print] [Top]
« Previous thread
SCIM 网站 WIKI 工程首期完工
Linux 中文环境和中文化
7
Next thread »
求输入法!!!
     

Copyright © 2018 UNIX Resources Network, All Rights Reserved.    About URN | Privacy & Legal | Help | Contact us