关闭

XWindow 启动过程备忘(部分)

901人阅读 评论(0) 收藏 举报
XWindow 启动过程备忘(部分)
(2006.05)


# /etc/X11/xinit/
*  xinitrc

      # common code for Xsession and xinitrc scripts
**    xinitrc-common
 
         # merge in keymaps of system key map and user key map
         # run all shell scripts files in xinitrc.d

         # input methud
***      xinput.sh
           
            # Load up the user and system locale settings
****        /etc/profile.d/lang.sh
           
            # try to source ~/.xinput.d/ll_CC or /etc/X11/xinit/xinput.d/ll_CC to
            # setup the input method for locale (CC is needed for Chinese for example)
****        ~/.xinput.d/default
****        /etc/X11/xinit/xinput.d/zh_CN or default
            # to set XIM XIM_PROGRAM XIM_ARGS XMODIFIERS GTK_IM_MODULE QT_IM_MODULE

****        gnome-im-settings-daemon >/dev/null

            # execute XIM_PROGRAM
            "$XIM_PROGRAM"

         #Configures virtual key bindings
***      xmbind.sh

****        /usr/X11R6/bin/xmbind

         # set ssh-agent

      # start user clients, or system defaults.
      if
**       $HOME/.Xclients
      else if
**       /etc/X11/xinit/Xclients

            # check to see if the user has a preferred desktop
            if [ -f /etc/sysconfig/desktop ]; then
                . /etc/sysconfig/desktop
                if [ "$DESKTOP" = "GNOME" ]; then
***                 exec gnome-session
                elif [ "$DESKTOP" = "KDE" ]; then
***                 exec startkde
                fi
            fi   

***         exec /usr/X11R6/bin/twm

      else
**       /usr/X11R6/bin/twm
      fi
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:74406次
    • 积分:1201
    • 等级:
    • 排名:千里之外
    • 原创:46篇
    • 转载:1篇
    • 译文:0篇
    • 评论:10条
    文章分类
    最新评论