LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2007, 08:40 AM   #1
huangyongqiang
LQ Newbie
 
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11

Rep: Reputation: 0
volumn control


Hi, I've just switched to kubuntu and found it hardly possible to control the volumn. It seemed that volumn can't be changed even in mplayer other than via the function keys on my keyboard.
Well, anybody knows how to handle it?
Is it asssociated with my audio driver?
Thanx in advance.
 
Old 12-12-2007, 02:34 PM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
http://ubuntuforums.org/showthread.php?t=231717
 
Old 12-15-2007, 08:15 PM   #3
huangyongqiang
LQ Newbie
 
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11

Original Poster
Rep: Reputation: 0
that does not help with the keyboard solution

hi, ehawk, i tried the website you recommend, well, i still can't control it in mplayer, nor using kayboard.
anyway, kmix on the panel can control volumn.
 
Old 12-15-2007, 10:03 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
When you say that you cannot use the keyboard to control the volume, do you mean special-purpose media keys on the keyboard?
 
Old 12-16-2007, 12:09 AM   #5
huangyongqiang
LQ Newbie
 
Registered: Oct 2007
Distribution: opensuse 10.3
Posts: 11

Original Poster
Rep: Reputation: 0
yes, the special keys
 
Old 12-16-2007, 05:41 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I see. You might need to set the model of your keyboard like this (if it is listed):
  • Open the control panel (kcontrol). You can do this from the K menu button (K -> system settings).
  • In Personal -> Regional & language -> keyboard layout -> layout (tab), there should be a "keyboard model" selection box. See if the type of keyboard you use is listed there and select it if it is. For me this is "Dell Laptitude". If there isn't an exactly correct one, try something from the same manufacturer.
  • Click apply and close the control panel.

Kubuntu is configured by default that if it seems a keypress of a media key identified as volume up or down it will adjust show the volume level and show a small volume level meter in the centre of the screen.

Another way to see if it's working properly is to use the xev program. This stands for x event viewer. If you start this program from a terminal (just type xev into a terminal and hit return), you will see s small window appear. If you mouse-over this window a load of text will print in the terminal with listings of mouse movement events. Leave the mouse of the window and press the media key. If the key is identified correctly you will see something like this when you release the key:

Code:
KeyRelease event, serial 29, synthetic NO, window 0x3800001,
    root 0x187, subw 0x0, time 3804229226, (43,92), root:(51,871),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
The important thing is the XF86AudioLowerVolume. If the keyboard is not properly configured you will not see this identifier, just the keysym. In this case, paste the keysym (and the work keysym) into google and see if you can find a reference to the keyboard model you should use.
 
  


Reply



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
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 11:12 AM
Negative volumn size sunhui Linux - General 1 03-08-2007 01:22 PM
Audio Volumn in 10.1 raylhm SUSE / openSUSE 4 12-07-2006 02:29 AM
Strange sound volumn??? olnex Linux - Laptop and Netbook 2 11-09-2005 07:19 PM
Compaq R4000 Keyboard Volumn FedoraUsr Linux - Laptop and Netbook 5 08-14-2005 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

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