[BLFS Trac] #2309: Some XOrg issues in the book

BLFS Trac trac at linuxfromscratch.org
Thu Mar 8 06:06:20 PST 2007


#2309: Some XOrg issues in the book
--------------------+-------------------------------------------------------
 Reporter:  Spinal  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect  |      Status:  new                           
 Priority:  high    |   Milestone:  6.2.1                         
Component:  BOOK    |     Version:  SVN                           
 Severity:  major   |    Keywords:                                
--------------------+-------------------------------------------------------
 Hello, there.[[BR]]

 There're some issues in current development version of the BLFS book that
 I found...

 '''''Chapter 25. X Window System Environment[[BR]]
 X Window System Components'''''[[BR]]
 1. Code:

 {{{
 mkdir $XORG_PREFIX/lib/X11/twm &&
 ln -svt /etc/X11 \
     $XORG_PREFIX/lib/X11/{twm,xkb,fs,lbxproxy,proxymngr} \
     $XORG_PREFIX/lib/X11/{rstart,xdm,xinit,xserver,xsm} \
     $XORG_PREFIX/share/X11/app-defaults
 }}}

 I think it should be changed to something like this (look at '''xkb'''):
 {{{
 mkdir $XORG_PREFIX/lib/X11/twm &&
 ln -svt /etc/X11 \
     $XORG_PREFIX/lib/X11/{twm,fs,lbxproxy,proxymngr} \
     $XORG_PREFIX/lib/X11/{rstart,xdm,xinit,xserver,xsm} \
     $XORG_PREFIX/share/X11/{app-defaults,xkb}
 }}}

 Did I something wrong?[[BR]]
 By the way, I have ''X11-data-xkb-1.0.1''

 2. The next issue:
 {{{
 install -v -m755 -D ~/xorg.conf.new /etc/X11/xorg.conf
 }}}
 and
 {{{
 install -v -m755 -D ~/XF86Config.new /etc/X11/XF86Config
 }}}
 Why not "'''-m644'''" ? It is more appropriate here I think.


 3. Setting up Keyboards[[BR]]

 What do we see here?[[BR]]
 {{{
 Section "InputDevice"
     Identifier          "Keyboard0"
     Driver              "Keyboard"
 }}}

 Xorg '''won't even start''' with such config.[[BR]]

 There's no such driver "''Keyboard''" in Xorg. There are "''keyboard''"
 and "''kbd''". Choose any :-)

 4. There's a type in '''''xterm''''':[[BR]]
 {{{
 --with-app-default=$XORG_PREFIX/share/X11/app-defaults&&
 }}}
 Better variant:[[BR]]
 {{{
 --with-app-default=$XORG_PREFIX/share/X11/app-defaults &&
 }}}

 Thanks for spent time.




 ''--[[BR]]
 Best regardz, Spinal''

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2309>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list