LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-09-2007, 03:03 AM   #1
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Rep: Reputation: 15
Keyboard Mouse conf questions


I am having issues with using some of my Keyboard/Mouse functions.

In my mouse, I cant use mouse buttons 4,5 but I need them badly since I am used to using them all the time (especially for WINE gaming)

In my Keyboard there are 3 problems:

First I dont know how to configure Xorg to use ALT+SHIFT to switch languages

Second I dont know how to enable my Multimedia keys (play,stop,open browser forward back etc.)

And third, There are two buttons on my keyboard named Excel and Word, and in Windows I had to install a software to use them and I could only uses it for word and Excel. Can I use these keys in Linux and can I configure them to what I want?

Thanks in advance
 
Old 09-09-2007, 05:18 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Not wanting to be unhelpful, but have you tried searching for information about these? "linux keyboard multimedia" gives a lot of results, and doing a search for the make and model of your mouse + "linux" is likely to turn up a number of howtos also (it certainly does for Logitech mice). If you've found some setup guide and tried it, and it's not working, that's fair enough, we're happy to help, but some information about the specific problems you're having would make it easier for us to assist you.
 
Old 09-09-2007, 09:36 AM   #3
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Yes,I have done the searches but all the data that came was for the Keyboard Multikeys and it said use the gnome keyboard shortcuts program, which is what i am using now but:

A)It lacks customability
B)There are several buttons that he doesnt "see" and so I cannot bind them

For the mouse I didnt found anything.
 
Old 09-11-2007, 06:34 AM   #4
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
For the keyboard, this page on the Gentoo wiki might be useful. Looks as though it relies on programs called xmodmap and xbindkeys. What is the make and model of your keyboard? Maybe we can find some more specific instructions.

Likewise for the mouse, there's another page that you may find useful, with more information about the exact make and model maybe we can help more.

I know it shouldn't be so complicated to configure these things, but I'm guessing that the manufacturers aren't very helpful when it comes to Linux support.
 
Old 09-11-2007, 07:07 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
I know it shouldn't be so complicated to configure these things, but I'm guessing that the manufacturers aren't very helpful when it comes to Linux support.
No, the manufacturers seem to think Windows mostly. "Excel" and "Word" buttons were new to me..have we gone this low already, that there are several buttons in a pc keyboard that directly refer to only one OS, when the keyboard should be usable (and look like it) on any OS (and does it feel stupid to have Windows keys on a Linux machine? yes?).

Here's one page that could be helpful too:

http://liquidat.wordpress.com/2007/0...ds-with-linux/

EDIT: a laptop of mine has four extra buttons but I never use them. I also had a keyboard that had a little less than 10 extra buttons - that I never used. On Windows I didn't use them because I just hated installing the driver-and-control program for them, and on Linux I didn't use them because I simply didn't find any use for them - I already have keybindings or shortcuts for the functions I need. If 104 normal buttons plus their combinations aren't enough to use a PC, you should see a therapist..

Last edited by b0uncer; 09-11-2007 at 07:10 AM.
 
Old 09-11-2007, 03:07 PM   #6
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Gethyn View Post
What is the make and model of your keyboard? Maybe we can find some more specific instructions.
Well, Dont know about the mouse Model but what I do know is that I got the mouse and keyboard in a set from called Genius Wireless Office. The Keyboard Model is: Genius Comfy KB-21e scroll or something like that not really sure... All I can tell you for sure it that its a Keyboard mouse set from Genius and the keyboard has Multimedia+internet+Excel/Word side buttons. And that its wireless.'

EDIT:
Thanks for the links
 
Old 09-12-2007, 06:31 AM   #7
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
There's a good chance that the model numbers are on the underneath of the keyboard/mouse, or maybe on the base unit (wireless receiver) somewhere. This page on the LQ wiki might be of assistance for setting up your keyboard. If you can find the model number for the mouse, maybe we can dig out a user guide for that too.
 
Old 09-14-2007, 04:20 AM   #8
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
yes, under each item there is something written: Genius Wireless TwinTouch Optical Office/(item) where Item is mouse/keyboard/receiver.
 
Old 10-14-2007, 01:19 AM   #9
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
guys.... I'm still stuck here... I've handled with the Keyboard... ish but my main problem is the mouse. I need mouse buttons 4-5 for gaming, and its one of the reason why I play games themselves on Windows, but im sick and tired of switching from Windows to Linux and back all the time. please tell me how to make the mouse work, especially in wine.

Last edited by 2Pacalypse; 10-14-2007 at 01:21 AM.
 
Old 10-14-2007, 06:06 PM   #10
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
I can't find anything about using the extra buttons on a Genius Wireless Twintouch Optical Office Mouse under Linux. Only thing I can suggest is the page on the Gentoo wiki I referred you to earlier. Did you try looking at that? Near the top of that page a program called xev is mentioned which you can use to check whether Linux is detecting when the extra buttons are clicked. If they are detected, I think the rest of the page has information about how the buttons can be configured. The details may be a little different since your mouse is by Genius rather than Logitech, but you may be lucky and be able to get it to work.

Sorry not to be able to help further. You could also try writing to Genius and asking them to improve their Linux support. While I don't suppose they will immediately do anything about it, making them aware that Linux support is wanted by their customers can't be a bad thing!
 
Old 10-16-2007, 03:47 AM   #11
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
ok, I used Xev but I'm still confused. On Xev the only changes it picked up is the actual button number.however he got them as an extra button 2 and 3 rather then the separate buttons 4,5. so what now? I already sent genius the letter a few days ago... but still no reply
 
Old 10-18-2007, 06:05 AM   #12
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
I'm also pretty confused! From what I can tell, by default the extra buttons are assumed to be scroll buttons. It should be possible to remap them by either changing your xorg.conf, or with a program called xmodmap.

In xorg.conf (usually found at /etc/X11/xorg.conf) you need to find the section for the mouse and add a line to it that says
Code:
  "Option"   "ButtonMapping"    "x x x x x ..."
The final entry is a series of numbers representing the mapping. By default it's just an increasing series, i.e. 1 2 3 4 ...

If I had to take a guess, I'd say you want this configuration for your mouse:
Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Buttons"               "7"
        Option          "ButtonMapping"         "1 2 3 6 7 4 5"
        Option          "ZAxisMapping"          "6 7"
EndSection
This is just a wild stab in the dark though, it could be totally wrong. Only thing I can suggest is trying out different combinations to see if you can get one working. I think you need to restart X every time you change the configuration in order to make it take effect. You can do this by hitting Ctrl-Alt-Backspace. Here are a few links on the subject that might help (found by searching the web for "buttonmapping").

http://lists.freedesktop.org/piperma...ay/015320.html
http://ubuntuforums.org/archive/index.php/t-465702.html
http://gentoo-wiki.com/HOWTO_Advanced_Mouse
http://gentoo-wiki.com/HOWTO_Advance...Configurations

I do have a multi-button mouse myself, but I've never got round to configuring the extra buttons, and it's a Logitech which seems to be better documented than Genius mouses anyway. Plus the computer it's connected to doesn't work right now. Anyway, if you try out the stuff I've posted above and still can't get anywhere with it, I can try setting up my mouse and see if I find out any useful information in the process.
 
Old 02-02-2008, 07:55 AM   #13
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Sorry to bring back such an ancient thing back but I still have this damn issue and I REALLY want to fix it. all you suggested so far didnt work and I am pretty much lost then. heres my full Xorg file, maybe you will find what I missed

Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection

Section "Module"
	Load		"glx"
	Load		"v4l"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us,il,ru"
EndSection

##Section "InputDevice"
##      Identifier      "Configured Mouse"
##      Driver          "evdev"
##      Option          "CorePointer"
##      Option          "Device"                "/dev/input/mice"
##      Option          "Protocol"              "ImPS/2"
##      Option          "Buttons"               "7"
##      Option          "ButtonMapping"         "1 2 3 6 7 4 5"
##      Option          "ZAxisMapping"          "6 7"
##EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ImPS/2"
        Option          "Buttons"       "7"
	Option          "ButtonMapping" "1 2 3 6 7"
	Option		"ZAxisMapping"	"4 5"
EndSection

Section "Device"
	Identifier	"Failsafe Device"
	Boardname	"vesa"
	Busid		"PCI:1:0:0"
	Driver		"nvidia"
	Screen	0
EndSection

Section "Monitor"
	Identifier	"Failsafe Monitor"
	Vendorname	"Plug 'n' Play"
	Modelname	"Plug 'n' Play"
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
	Gamma	1.0
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Failsafe Device"
	Monitor		"Failsafe Monitor"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Virtual	1600	1200
		Modes		"1280x1024@60"	"1280x960@75"	"1280x960@60"	"1400x1050@60"	"1280x1024@75"	"1600x1200@60"	"1152x864@75"	"1024x768@60"	"1024x768@70"	"1024x768@75"	"832x624@75"	"800x600@60"	"800x600@75"	"800x600@72"	"800x600@56"	"640x480@75"	"640x480@72"	"640x480@60"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
  screen 0 "Default Screen" 0 0
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
EndSection
Section "ServerFlags"
EndSection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg.conf Keyboard layouts flebber Debian 1 05-18-2007 07:59 AM
Xorg.conf, using en_GB keyboard layout kxHGB Linux - General 5 10-15-2004 03:07 AM
keyboard layouts with xorg.conf logicport Linux - Software 1 07-27-2004 01:10 PM
which conf file to edit for mapping keyboard csvke Linux - Newbie 2 02-25-2004 02:47 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration