Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

[solved] Dziwny problem z Xorg - nie czyta pliku xorg.conf

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
blendermen
n00b
n00b
User avatar
Posts: 24
Joined: Fri Jul 02, 2010 8:47 am
Location: /dev/null

[solved] Dziwny problem z Xorg - nie czyta pliku xorg.conf

  • Quote

Post by blendermen » Fri Apr 01, 2011 8:19 pm

Witam!

Mam problem z konfiguracją polskich znaków za pomocą xorg.conf (wiem temat wałkowany nonstoped, moim wytłumaczeniem jest to , że przeszukałem całe google, to forum i oficjalnego handbooka gentoo i nadal nic
m.in korzystałem:
http://forums.gentoo.org/viewtopic.php?t=179057
http://www.gentoo.org/doc/pl/guide-localization.xml
http://www.gentoo.org/doc/pl/utf-8.xml


Wydaje mi się, że xserver w ogóle nie czyta moich ustawień z pliku /etc/X11/xorg.conf - mimo, że logi mówią, że te dane są wczytywane..
Plik xorg.conf mam dobrze skonfigurowany lecz logi Xorga są różne od ustawień, które ja narzuciłem.
Proszę zobaczyć:
/var/log/Xorg.0.log

Code: Select all

a[    26.827] 
X.Org X Server 1.9.4
Release Date: 2011-02-04
[    26.827] X Protocol Version 11, Revision 0
[    26.827] Build Operating System: Linux 2.6.36-gentoo-r8 x86_64 Gentoo
[    26.827] Current Operating System: Linux mazur 2.6.36-gentoo-r8 #1 SMP Sun Mar 27 15:50:54 CEST 2011 x86_64
[    26.827] Kernel command line: root=/dev/sda2
[    26.827] Build Date: 31 March 2011  07:33:52PM
[    26.827]  
[    26.827] Current version of pixman: 0.20.2
[    26.827] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    26.827] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    26.828] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr  1 21:34:55 2011
[    26.889] (==) Using config file: "/etc/X11/xorg.conf"
[    26.889] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    26.924] (==) ServerLayout "X.org Configured"
[    26.924] (**) |-->Screen "Screen0" (0)
[    26.924] (**) |   |-->Monitor "Monitor0"
[    26.924] (**) |   |-->Device "Card0"
[    26.924] (**) |-->Input Device "Mouse0"
[    26.924] (**) |-->Input Device "Keyboard0"
[    26.924] (**) Option "AllowEmptyInput" "false"
[    26.924] (==) Automatically adding devices
[    26.924] (==) Automatically enabling devices
...............
...............
[    28.837] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    28.837] (**) Sleep Button: always reports core events
[    28.837] (**) Sleep Button: Device: "/dev/input/event2"
[    28.844] (--) Sleep Button: Found keys
[    28.844] (II) Sleep Button: Configuring as keyboard
[    28.844] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[    28.844] (**) Option "xkb_rules" "evdev"
[    28.844] (**) Option "xkb_model" "evdev"
[    28.844] (**) Option "xkb_layout" "us"
[    28.854] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/event6)
.........
.........
Jest napisane [ 26.889] (==) Using config file: "/etc/X11/xorg.conf" a jednak klawiatura według tego logu jest:

Code: Select all

[    28.844] (**) Option "xkb_rules" "evdev"
[    28.844] (**) Option "xkb_model" "evdev"
[    28.844] (**) Option "xkb_layout" "us"
a w pliku xorg.conf mam wpis:

Code: Select all

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option	    "XkbLayout" "pl"
	Option	    "XkbModel"	"pc105"
	
EndSection
Cały xorg.conf

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CorePointer" 
Option          "AllowEmptyInput" "false"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dri2"
	Load  "dri"
	Load  "dbe"
	Load  "glx"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option	    "XkbLayout" "pl"
	Option	    "XkbModel"	"pc105"
	
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

/etc/env.d/02locale

Code: Select all

#LC_ALL="pl_PL.UTF-8"
LANG="pl_PL.UTF-8"
LINGUAS="pl"
LANGUAGE=48
LC_MESSAGES="C"

Code: Select all

mazur ~ # locale
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
Jest to laptop emachines e520
Dopiero co wgrany, świeży gentoo amd64:
Linux mazur 2.6.36-gentoo-r8 #1 SMP Sun Mar 27 15:50:54 CEST 2011 x86_64 Genuine Intel(R) CPU T1600 @ 1.66GHz GenuineIntel GNU/Linux


Code: Select all

X.Org X Server 1.9.4
Release Date: 2011-02-04
Mam polskie znaki dzięki setxkbmap pl ale wolałbym znać przyczynę i rozwiązać problem po linuksowemu :p
Jak będę wiedział czemu Xorg nie czyta pliku xorg.conf przy okazji będę mógł spróbować ustawić touchpada, który nie reaguje na kliknięcie (Touchpad Tap Clicking) które też ustawia się z xorg.conf

Pozdrawiam
Last edited by blendermen on Sat Apr 02, 2011 10:25 am, edited 1 time in total.
Top
joi_
Apprentice
Apprentice
Posts: 171
Joined: Mon Mar 28, 2005 11:51 am
Contact:
Contact joi_
Website

  • Quote

Post by joi_ » Fri Apr 01, 2011 8:43 pm

InputDevice "Keyboard0" "CorePointer"

CorePointer -> CoreKeyboard
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Fri Apr 01, 2011 9:14 pm

Aktualnie pelen xorg.conf nie jest juz uzywany raczej, chyba, ze musisz. Zamiast tego stosuje sie /etc/X11/xorg.conf.d (katalog) i w nim np:

Code: Select all

frontier ~ # cat /etc/X11/xorg.conf.d/10-keyboard.conf 
Section "InputClass"
	Identifier	"keyboard-all"
	Option    "XkbOptions"  "lv3:ralt_switch_multikey" 
	Driver		"evdev"
	Option		"XkbRules"  "xorg"
	Option		"XkbModel"  "pc105"
	Option		"XkbLayout" "pl"

	MatchIsKeyboard	"on"
EndSection
Top
blendermen
n00b
n00b
User avatar
Posts: 24
Joined: Fri Jul 02, 2010 8:47 am
Location: /dev/null

  • Quote

Post by blendermen » Sat Apr 02, 2011 10:24 am

Cały dzień się z tym męczyłem. Mogłem od razu spytać się na forum :D Działa bardzo dobrze. Dzięki :)
Pomogło to z edycją pliku:
cat /etc/X11/xorg.conf.d/10-keyboard.conf - u mnie ten plik był w /usr/share/X11/xorg.conf.d/10-evdev.conf
i w 10-evdev.conf jest ustawienie wszystkich kontrolerów-inputow
Analogicznie do tego poradziłem sobie z konfiguracją touchpada synaptics, które opcje też trzeba dopisać do tego pliku.
Pzdr.
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Sat Apr 02, 2011 12:35 pm

konfigi w etc maja wiekszy priorytet. Nie edytuj w /usr/share bo po aktualizacji stracisz zmiany. Moj konfig synaptica:

Code: Select all

frontier ~ # cat /etc/X11/xorg.conf.d/20-synaptics.conf 
Section "InputClass"
	Identifier	"touchpad catchall"
	MatchIsTouchpad	"on"
	MatchDevicePath	"/dev/input/event*"
	Driver		"synaptics"
	#Option		"Device"	"/dev/input/mouse0"
	Option		"Protocol"	"auto-dev"
	Option		"LeftEdge"	"1700"
	Option		"RightEdge"	"5300"
        Option  "TopEdge"       "1700"
        Option  "BottomEdge"    "4200"
        Option  "FingerLow"     "25"
        Option  "FingerHigh"    "30"
        Option  "MaxTapTime"    "180"
        Option  "MaxTapMove"    "220"
        Option  "VertScrollDelta" "100"
        Option  "MinSpeed"      "0.7"
        Option  "MaxSpeed"      "0.8"
        Option  "AccelFactor" "0.0010"
        Option  "SHMConfig"     "on"
        Option  "VertTwoFingerScroll"   "1"
        Option  "HorizTwoFingerScroll"  "1"
        Option  "TapButton1" "1"
EndSection
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic