Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

[Risolto] Tastiera italiana per gdm

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
Author
Message
ciro64
Guru
Guru
Posts: 424
Joined: Sat Jun 20, 2009 2:23 pm

[Risolto] Tastiera italiana per gdm

  • Quote

Post by ciro64 » Tue Aug 27, 2013 12:55 pm

Ciao.
Ho impostato la lingua italiana con [eselect locale] e, correttamente, mi trovo gdm che parte in lingua italiana; ma ciò non accade per la tastiera che rimane "USA".
Come posso far si che gdm parta con tastiera italiana ?
Grazie.
Last edited by ciro64 on Thu Aug 29, 2013 2:00 pm, edited 1 time in total.
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Tue Aug 27, 2013 2:44 pm

prova così.
vu vu vu
gentù
mi piaci tu
Top
ciro64
Guru
Guru
Posts: 424
Joined: Sat Jun 20, 2009 2:23 pm

  • Quote

Post by ciro64 » Tue Aug 27, 2013 5:38 pm

Ho un xorg.conf unico:

Code: Select all

cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
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  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
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"
        Modeline "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Modeline "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync
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     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "DRI"                       # <str>
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "RelaxedFencing"            # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "Throttle"                  # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "DelayedFlush"              # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
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  "Card1"
        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
                Modes   "1152x864"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        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
                Modes   "1152x864"
        EndSubSection
EndSection
E non avevo la directory xorg.conf.d
Al chè l'ho creata ed ho inserito quanto indicato nella guida, ma senza risultato.
Devo provare "spezzettando" l'xorg.conf e inserendo tutto in xorg.conf.d forse ?
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Tue Aug 27, 2013 7:40 pm

ciro64 wrote: Devo provare "spezzettando" l'xorg.conf e inserendo tutto in xorg.conf.d forse ?
in effetti stai facendo un uso complesso di xorg.conf.
secondo me, un buon man xorg.conf.d non si può evitare.

tra l'altro, osservo che le tue due schede grafiche utilizzano lo stesso indirizzo PCI.
è proprio così o c'è un refuso?
vu vu vu
gentù
mi piaci tu
Top
ciro64
Guru
Guru
Posts: 424
Joined: Sat Jun 20, 2009 2:23 pm

  • Quote

Post by ciro64 » Tue Aug 27, 2013 8:59 pm

Ho usato il comando

Code: Select all

Xorg -configure
che me l'ha creato così, a parte l'aggiunta di Modeline e Modes......
Proverò a "spezzarlo" e fare un po' di tentativi; per il momento grazie.... farò sapere :)
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Top
ciro64
Guru
Guru
Posts: 424
Joined: Sat Jun 20, 2009 2:23 pm

  • Quote

Post by ciro64 » Wed Aug 28, 2013 4:23 pm

Ho fatto varie prove ed ora:

Code: Select all

c2dkt ~ # ls -l /etc/X11/xorg.conf.d/
totale 36
-rw-r--r-- 1 root root  181 28 ago 16.42 00-ServerLayout.conf
-rw-r--r-- 1 root root  303 28 ago 16.43 10-Files.conf
-rw-r--r-- 1 root root   41 28 ago 16.43 20-Module.conf
-rw-r--r-- 1 root root   79 28 ago 18.11 30-Keyboard.conf
-rw-r--r-- 1 root root  323 28 ago 18.13 35-keyboard2.conf
-rw-r--r-- 1 root root  182 28 ago 16.44 40-Mouse.conf
-rw-r--r-- 1 root root  202 28 ago 16.45 50-Monitor.conf
-rw-r--r-- 1 root root 1260 28 ago 16.45 60-Device.conf
-rw-r--r-- 1 root root  523 28 ago 16.46 70-Screen.conf
In particolare il file contenente le stringhe come nella guida è il 35-keyboard2.conf

Ho provato:
1) sostituendolo a 30-keyboard.conf ed in questo caso non parte proprio X restituendo errore.
2) Mettendolo prima o dopo 30-Keyboard.conf non ottengo alcuna variazione di mappatura.

Ho provato anche a mettere la sola opzione XkbLayout "us,it" in 30-keyboard.conf ma senza risultati positivi.

Non so...... :roll:
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Wed Aug 28, 2013 6:58 pm

ciro64 wrote: Non so...... :roll:
neanche io ...
in questi casi bisogna cercare lumi sui log.
ciro64 wrote: Ho fatto varie prove ed ora:
Ho provato anche a mettere la sola opzione XkbLayout "us,it"
magari prova a invertire: XkbLayout "it,us".
vu vu vu
gentù
mi piaci tu
Top
ciro64
Guru
Guru
Posts: 424
Joined: Sat Jun 20, 2009 2:23 pm

  • Quote

Post by ciro64 » Thu Aug 29, 2013 1:59 pm

Ok, risolto !
Ho ricominciato da capo; dovevo usare evdev anzichè kbd nella sezione InputDevice (di cui necessita) e il layout "forzarlo" a "it".

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
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  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "evdev"
EndSection

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

Section "InputClass"
	Identifier "keyboard0"
	Driver "evdev"
	Option "XkbLayout" "it"
	Option "XkbRules" "xorg"
	MatchIsKeyboard "on"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Modeline "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync
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     "NoAccel"            	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "DRI"                	# <str>
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "RelaxedFencing"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "Throttle"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DelayedFlush"       	# [<bool>]
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<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
		Modes	"1152x864"
	EndSubSection
EndSection
Grazie 1000 per le "dritte".
Ciao :)
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Top
Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Forum di discussione italiano”

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