Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
becki:linux:xorg_tips [2009-02-24 10:29] becki |
becki:linux:xorg_tips [2011-07-18 19:13] (aktuell) becki |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Graphical X-server Configuration Tips == | + | ====== Xorg Tips == |
| - | ===== Documentation == | + | ===== X-server Configuration, default way == |
| - | Xorg [[http://x.org|Hompage]] is pretty empty, hopefully their [[http://wiki.x.org/wiki/Home|wiki]] will fill in future. The Docs at [[http://xfree86.org/sos/|XFree86]] seem to be better at present. | + | According to [[slack>slackware-13.0/CHANGES_AND_HINTS.TXT]] as of Slack 13.0 an xorg.conf is not necessary any more. But mouse and keyboard might still need customization: |
| - | FIXME How is x.org realated to XFree86? | + | ==== Keyboard == |
| + | === Slack 13.37 == | ||
| - | ===== /etc/X11/xorg.conf == | + | To set e.g. a German keyboard layout copy ''/usr/share/X11/xorg.conf.d/90-keyboard-layout.conf'' to ''/etc/X11/xorg.conf.d/90-keyboard-layout.conf'' and edit the line |
| - | ''xorg.conf'' & ''xorg.conf.vesa'' are initially the same (Slack10.2 - Slack12.2). Copy xorg.conf to xorg.conf.org to indicate that the pristine file is still present (usfull for later upgrades with diff/patch) | + | Option "XkbLayout" "us" |
| + | to | ||
| + | Option "XkbLayout" "de" | ||
| - | Note: With Slack 12.2, a built in graphic card from Intel and a 1280x1024 LCD monitor, the command ''xorgsetup'' (see [[slackmirror>slackware-12.2/Slackware-HOWTO]] did a great job. Everthing (keybord, mouse, card) worked out of the box. (Just adding DPMS was necessary (see below).) So try this first! | + | <note tip>This can be done with the script [[http://think-deep.com/becki/sources/my_slack_settings|my_slack_settings]].</note> |
| + | |||
| + | === Slack 13.0 - 13.1 == | ||
| + | |||
| + | To set e.g. a German keyboard layout copy ''/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi'' to ''/etc/hal/fdi/policy/'' and edit the line | ||
| + | |||
| + | <merge key="input.xkb.layout" type="string">us</merge> | ||
| + | |||
| + | to | ||
| + | |||
| + | <merge key="input.xkb.layout" type="string">de</merge> | ||
| + | |||
| + | From [[slack>slackware-13.0/CHANGES_AND_HINTS.TXT]]. | ||
| + | |||
| + | ==== Touchpad == | ||
| + | === Slack 13.37 == | ||
| + | |||
| + | Scrolling works out of the box. Just use 2 fingers instead of one finger on left side. | ||
| + | |||
| + | ==== Touchpad and USB-Mouse with wheel at the same Time == | ||
| + | |||
| + | <note important>Only necessary for Slack 13.1 and below</note> | ||
| + | |||
| + | To enable vertical scrolling when dragging along the right edge uncomment the line, copy ''/usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi'' to ''/etc/hal/fdi/policy/'' and uncomment the line: | ||
| + | |||
| + | <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> | ||
| + | |||
| + | FIXME How to enable "taps" for emulating the left mouse key? | ||
| + | |||
| + | ===== X-server Configuration, old way == | ||
| + | |||
| + | You might still need an ''/etc/X11/xorg.conf'' even with Slack 13.0 and above e.g. if you want to use a [[nvidia_driver_setup|binary only graphics card driver]]. You can create a basic ''xorg.conf'' with ''xorgsetup'' (Or ''X -configure'' if you don't have Slackware) See [[slack>slackware-13.1/CHANGES_AND_HINTS.TXT]] | ||
| + | |||
| + | ''xorg.conf'' & ''xorg.conf.vesa'' are initially the same (Slack10.2 - Slack12.2). Copy xorg.conf to xorg.conf.org to indicate that the pristine file is still present (usfull for automated later upgrades with [[diffupgrade]]) | ||
| + | |||
| + | Note: With Slack 12.2, a built in graphic card from Intel and a 1280x1024 LCD monitor, the command ''xorgsetup'' (see [[slack>slackware-12.2/Slackware-HOWTO]] did a great job. Everything (keyboard, mouse, card) worked out of the box. (Just adding DPMS was necessary (see below).) So try this first! | ||
| ==== Overall File Structure == | ==== Overall File Structure == | ||
| Zeile 37: | Zeile 75: | ||
| ==== Keyboard == | ==== Keyboard == | ||
| - | |||
| <code bash> | <code bash> | ||
| #Option "XkbModel" "pc105" # activates the '<|>' Key | #Option "XkbModel" "pc105" # activates the '<|>' Key | ||
| Zeile 78: | Zeile 115: | ||
| === Touchpad and USB-Mouse with wheel at the same Time == | === Touchpad and USB-Mouse with wheel at the same Time == | ||
| - | == Since Slack12 == | + | == Since Slack 12 == |
| Verify symlink: /dev/mouse -> /dev/input/mice | Verify symlink: /dev/mouse -> /dev/input/mice | ||
| Zeile 181: | Zeile 218: | ||
| * Don't omit DGA extension for xawtv, See ilse.hist | * Don't omit DGA extension for xawtv, See ilse.hist | ||
| - | ===== Schriften / Fonts ===== | + | ===== Nvidia driver setup == |
| + | |||
| + | Nvidia cards work better with their propiretary driver. See [[Nvidia driver setup]] to check if this is necessary and how it is done. | ||
| + | |||
| + | ===== Schriften / Fonts == | ||
| ==== Howto ==== | ==== Howto ==== | ||
| Zeile 268: | Zeile 309: | ||
| </code> | </code> | ||
| + | === GUI Configuration == | ||
| + | |||
| + | As of KDE4 the KDM configuration dialog is hard to find. Start it with ''kdesu kcmshell4 kdm'' from a terminal! Found this with ''Alt + F2'' -> rype ''kdm'' -> Select appropriate proposal (logged into KDE4 as normal user) | ||
| ==== WM-independent Autostart == | ==== WM-independent Autostart == | ||
| Zeile 345: | Zeile 389: | ||
| </code> | </code> | ||
| + | See also: [[http://www.linux.com/learn/tutorials/320420|Configure Your Keyboard Into Submission]] | ||
| ==== Fluxbox Key Bindings == | ==== Fluxbox Key Bindings == | ||