Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2309 closed defect (fixed)

Some XOrg issues in the book

Reported by: Arthur Demchenkov Owned by: dnicholson@…
Priority: high Milestone:
Component: BOOK Version: SVN
Severity: major Keywords:
Cc: major

Description

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

Chapter 25. X Window System Environment
X Window System Components

  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?
By the way, I have X11-data-xkb-1.0.1

  1. 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.

  1. Setting up Keyboards

What do we see here?

Section "InputDevice"
    Identifier          "Keyboard0"
    Driver              "Keyboard"

Xorg won't even start with such config.

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

  1. There's a type in xterm:
    --with-app-default=$XORG_PREFIX/share/X11/app-defaults&&
    

Better variant:

--with-app-default=$XORG_PREFIX/share/X11/app-defaults &&

Thanks for spent time.

--
Best regardz, Spinal

Change History (5)

comment:1 by dnicholson@…, 17 years ago

Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

Point 1: I'm not sure we want the xkb data in /etc/X11 since it's data, but if it's historically been there I'm ok with it. Can anyone confirm that /etc/X11/xkb exists on one of the monoliths?

Point 2: Good point. The configuration doesn't need to be executable.

Point 3: Good point. Does XFree have the "Keyboard" driver?

Point 4: This should be fixed.

comment:2 by Arthur Demchenkov, 17 years ago

Hello, Dnicholson! 1) My first point was about the symlink created by command from the book was wrong for my installation. Yes, /etc/X11/xkb was in the monolithic Xorg. 2) OK 3) I don't know :-) 4) OK

comment:3 by Arthur Demchenkov, 17 years ago

OMG :) Sorry for the previous post.

Hello, Dnicholson!

1) My first point was about the symlink created by command from the book was wrong for my installation. Yes, /etc/X11/xkb was in the monolithic Xorg.
2) OK
3) I don't know :-)
4) OK

comment:4 by dnicholson@…, 17 years ago

Resolution: fixed
Status: assignedclosed

Thanks for the report. This should be fixed in r6804. A couple quick notes. The first problem was a bad effect I missed when I globally dropped the --datadir=$XORG_PREFIX/lib switch in Xorg months ago. I'm not sure if XFree86 accepts "keyboard", but the actual installed name is "kbd" for both X variants. So, that's what's on the page now.

Closing.

comment:5 by (none), 17 years ago

Milestone: 6.2.1

Milestone 6.2.1 deleted

Note: See TracTickets for help on using tickets.