Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

keyboard layout and mouse settings in xorg.conf [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

keyboard layout and mouse settings in xorg.conf [SOLVED]

  • Quote

Post by funboy.ch » Thu May 25, 2006 2:44 pm

Hi folks, well, I got fluxbox running now. Even managed to install Firefox. :D

My problem is this though, when GDM boots up, it uses the wrong keymap. I have a Dell 105 key, Swiss keyboard. In the console I set keymap to de_CH which seems to work fine but at login manager it is US. After some searching, I decided it needed to be changed in the xorg.inf file found in /etc/X11. Is this correct? If so, well, I checked there and there wasn't any file of the kind except example. So I ran xorgconfig and entered everything and rebooted. Joy joy, i get an error about it not finding de_CH. Funny since that was one of the choices. What keymap do I have to use? Do I need to install new one? If so, how?

Next problem, so I changed that variable back to "de" so I could enter fluxbox again, but now it complained about the mouse. It's a normal 2button+Scroll PS/2 mouse from logitech. Can someone enlighten me on the correct /dev/mouse1??? setting for this..?


And well, the last question for now is, how do I change the keymap in fluxbox?

Thanks in advance for any helps and tips..
Last edited by funboy.ch on Sat May 27, 2006 1:23 pm, edited 1 time in total.
Top
nlindblad
Guru
Guru
User avatar
Posts: 476
Joined: Thu Jun 30, 2005 1:07 pm
Location: Lund, Sweden
Contact:
Contact nlindblad
Website

Re: keyboard layout and mouse settings in xorg.conf

  • Quote

Post by nlindblad » Thu May 25, 2006 3:13 pm

funboy.ch wrote:After some searching, I decided it needed to be changed in the xorg.inf file found in /etc/X11. Is this correct?
Yes, the configuration for your X Server (x11-xorg) can be found in the file /etc/X11/xorg.conf.
funboy.ch wrote:If so, well, I checked there and there wasn't any file of the kind except example.
After installing xorg-x11 the configuration is not generated, a default configuration is used instead.
funboy.ch wrote:So I ran xorgconfig and entered everything and rebooted.
Here is the official Gentoo guide on how to configure the X Server.
funboy.ch wrote:Joy joy, i get an error about it not finding de_CH. Funny since that was one of the choices. What keymap do I have to use? Do I need to install new one? If so, how?
de_CH basically means "German (Deutsch) as spoken in Switzerland (Schweiz)" and is just used to describe a localization, not a keymap. The keymap de should be used for German keyboards.
funboy.ch wrote:Next problem, so I changed that variable back to "de" so I could enter fluxbox again, but now it complained about the mouse. It's a normal 2button+Scroll PS/2 mouse from logitech. Can someone enlighten me on the correct /dev/mouse1??? setting for this..?
If you look at the guide I mentioned above it tells you the correct value for this: /dev/input/mice (check the document on how to use more than one mouse).
funboy.ch wrote:And well, the last question for now is, how do I change the keymap in fluxbox?
This guide from the Fluxbox wiki mentions how to create a startup file for Fluxbox (including automatically changing to a prefered keymap).
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Thu May 25, 2006 3:45 pm

Thanks alot m8. Greatly appreciated. Guess my eyes aren't seeing clearly anymore after 3 days of looking at linux code being compiled....
Top
nlindblad
Guru
Guru
User avatar
Posts: 476
Joined: Thu Jun 30, 2005 1:07 pm
Location: Lund, Sweden
Contact:
Contact nlindblad
Website

  • Quote

Post by nlindblad » Thu May 25, 2006 3:52 pm

funboy.ch wrote:Thanks alot m8. Greatly appreciated. Guess my eyes aren't seeing clearly anymore after 3 days of looking at linux code being compiled....
Maybe time to get some sleep then :wink:

Good luck with Gentoo!
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Sat May 27, 2006 11:46 am

Okay folks, I'm back again... After endless trial and error I have yet to get my mouse to work if I use xorg.conf. I have now gotten it to boot into gdm without error. Here is the prob though, I just see the cursor but can't move it. Here is the section I have under Input Device:

Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "Logitech"
Option "ZAxisMapping" "4 5"

Then under the Section Sever-Layout I have this for mouse:

InputDevice "Mouse1" "CorePointer"


Anyone see my obvious error? Thanks in advanced.
Top
nlindblad
Guru
Guru
User avatar
Posts: 476
Joined: Thu Jun 30, 2005 1:07 pm
Location: Lund, Sweden
Contact:
Contact nlindblad
Website

  • Quote

Post by nlindblad » Sat May 27, 2006 11:50 am

funboy.ch wrote:Anyone see my obvious error? Thanks in advanced.
Try :

Code: Select all

dentifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol"   "ExplorerPS/2"
Option "ZAxisMapping" "4 5" 
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Sat May 27, 2006 11:56 am

OMG, all it was was the mouse to mice... You are my hero mate...hahaha. Do you mind telling me the difference that that made now? Changing from mouse to mice? Oh, I just set the protocol to auto.
Top
nlindblad
Guru
Guru
User avatar
Posts: 476
Joined: Thu Jun 30, 2005 1:07 pm
Location: Lund, Sweden
Contact:
Contact nlindblad
Website

  • Quote

Post by nlindblad » Sat May 27, 2006 12:14 pm

funboy.ch wrote:Do you mind telling me the difference that that made now? Changing from mouse to mice?
It now finds the correct device file for your mouse, which means that when you move the mouse or click Xorg notices that and does something. 8)
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Sat May 27, 2006 12:44 pm

:wink:
Top
mutlu_inek
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Sat Nov 20, 2004 3:18 pm

  • Quote

Post by mutlu_inek » Sat May 27, 2006 12:55 pm

Please add [solved] to the thread's title so that noone spends extra time reading through resolved problems.

Thank you.
www.eff.org - www.fsf.org - www.againsttcpa.com - Video
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

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