قد يكون الإعداد الأولي للواجهة الرسومية عسيراً أحياناً؛ فبطاقات العرض الحديثة جداً لا تعمل بشكل مثالي غالباً مع نسخة X.org المرفقة مع الإصدارة المستقرة من دبيان.
A brief reminder: X.org is the software component that allows graphical applications to display windows on screen. It includes a driver that makes efficient use of the video card. The features offered to the graphical applications are exported through a standard interface, X11 (Jessie contains its X11R7.7 version).
Current versions of X.org are able to autodetect the available hardware: this applies to the video card and the monitor, as well as keyboards and mice; in fact, it is so convenient that the package no longer even creates a /etc/X11/xorg.conf
configuration file. This is all made possible by features provided by the Linux kernel (in particular for keyboards and mice), by having each driver list the video cards it supports, and by using the DDC protocol to fetch monitor characteristics.
تضبط إعدادات لوحة المفاتيح حالياً في
/etc/default/keyboard
. يستخدم هذا الملف لضبط كل من سطر الأوامر النصي والواجهة الرسومية معاً، وتتحكم به الحزمة
keyboard-configuration. تتوفر تفاصيل ضبط تخطيط لوحة المفاتيح في
قسم 8.1.2, “ضبط لوحة المفاتيح”.
توفر الحزمة xserver-xorg-core مخدم X عام، كالمستخدم في النسخ 7.x من X.org. هذا المخدم تجزيئي ويعتمد على مجموعة من التعاريف المستقلة للتحكم بأنواع مختلفة عديدة من بطاقات الفيديو. يضمن تثبيت الحزمة xserver-xorg تثبيت مخدم x وتثبيت تعريف واحد على الأقل.
لاحظ أنه إذا لم يتعرف أي برنامج تعريف على بطاقة الفيديو المكتشفة، فسوف يحاول X.org استخدام تعريف VESA أو fbdev. الأول هو تعريف عام يجب أن يعمل في كل الظروف، لكن إمكانياته محدودة (خيارات أقل لدقة العرض، عدم وجود تسريع فيزيائي للألعاب والمؤثرات البصرية لسطح المكتب الرسومي، وهكذا) بينما يعمل الثاني اعتماداً على جهاز framebuffer الذي توفره النواة. يكتب مخدم X رسائله إلى الملف /var/log/Xorg.0.log
، وهو المكان الذي يقصده المرء عندما يحتاج معرفة التعريف المستخدم حاليًا. مثلاً، القصاصة التالية توافق مخرجات تعريف intel
عند تحميله:
(==) Matched intel as autoconfigured driver 0
(==) Matched modesetting as autoconfigured driver 1
(==) Matched vesa as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so