![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
|
Thread Tools | Display Modes |
|
|
#11 | ||||
|
5 Cups of Ubuntu
![]() Join Date: Mar 2005
Beans: 17
Ubuntu Breezy 5.10
|
Re: Can I change the volume keys bingings from master channel to PCM?
I spent a few hours of my morning fussing about this very problem. Luckily I've got a solution. Of sorts. It works, that's all that I'm worried about
Step one: Get the keytouch source (don't worry, this is going to be relatively painless) source (.tar.gz) Step two: Extract. Step three: Go to the plugins folder and open "amixer.c" in your text editor of choice. Here's the easiest part: Replace all occurrances of "Master" with "PCM". Bam. You are ~90% done. ([i]Note: if there's some other channel you wish to use, replace "PCM" with the appropriate name). You should also change the plugin name (I prefer to add a seperate plugin instead of replacing the original). Find the line that says: Quote:
Quote:
Quote:
Quote:
Step four: Go back to the main keytouch directory to run these two commands: Code:
$ ./configure $ make Now that it's compiled, go to the plugins directory again, and rename "amixer.so" to "amixer_modified.so" (or whatever you decided on). Step five: Code:
$ sudo cp amixer_modified.so /usr/local/lib/keytouch/plugins/ Go to System -> Administration -> Keytouch Under the "Preferences" tab click the "Import..." button, and navigate to /usr/local/lib/keytouch/plugins/" and select the file you just copied there. Step seven: Back to the "Key settings" tab, configure "Mute", "Volume Up", and "Volume Down" to use the new plugin and appropriate function. Step eight: Throw a party! (invite please?) I hope that helps people. When I was looking for how to solve this problem I saw alot of people were struggling with this and didn't come to any solution. In the end, this feature is really not that important (and hardly useful), but I can't deny that I like having it. |
||||
|
|
|
|
|
#12 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 1
|
Re: Can I change the volume keys bingings from master channel to PCM?
Here is a keytouch keyboard I made that controls the pcm volume. It works great on my Inspiron 9300, but it should work on anything since its using a simple bash script to access PCM volume settings. Just simply import the file into keytouch and the defaults should work for you needs. You can always change the bash commands a little bit to control what ever you need.
|
|
|
|
|
|
#13 | |
|
First Cup of Ubuntu
![]() Join Date: Sep 2006
Beans: 2
|
Re: Can I change the volume keys bingings from master channel to PCM?
Quote:
Hi, I did find that amixer sset PCM 1+ unmute amixer sset PCM 1- unmute turn the volume up and down, but I can't get keytouch to make any settings take effect. I can load different keyboards and that all makes sense, but I get messages like this when I start it up: (keytouch:2000 (keytouch:2000 (keytouch:2000 (keytouch:2000 keytouchd: no process killed And this message when I press "Apply": Warning: Not all keys can be grabbed by this program. This can be caused by another program which is already grabbing these keys. when I run keytouch from the keyboard. Any ideas what is stopping keytouch from working? |
|
|
|
|
|
|
#14 | |
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Beans: 38
|
Re: Can I change the volume keys bingings from master channel to PCM?
http://ubuntuforums.org/showpost.php...34&postcount=8
Quote:
|
|
|
|
|
|
|
#15 |
|
Gee! These Aren't Roasted!
![]() Join Date: Dec 2005
Beans: 149
Dapper Drake Testing/
|
Re: Can I change the volume keys bingings from master channel to PCM?
Hey all, definitely the most productive thread on this issue.
Anyway, I, like mcgregorandrew, can't get the changes to take effect. When running keytouch from terminal, I get this when I hit 'apply': Code:
Warning: Not all keys can be grabbed by this program. This
can be caused by another program which is already
grabbing these keys.
Update: Heh, just had to restart... Works great now! Last edited by qiemem; January 11th, 2007 at 02:20 PM.. |
|
|
|
|
|
#16 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 17
|
Hi!
I had a similar problem one month ago and have spent a lot of time in its solution. As I stumbled upon this post, probably others will, so I'll post the link to a howto I wrote: http://alsa.opensrc.org/How_to_use_s..._master_volume I hope this helps someone... Ingo |
|
|
|
|
|
#17 | ||
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Beans: 38
|
Re: Can I change the volume keys bingings from master channel to PCM?
http://ubuntuforums.org/showpost.php...79&postcount=9
Quote:
|
||
|
|
|
|
|
#18 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2005
Beans: 1
|
Re: Can I change the volume keys bingings from master channel to PCM?
In the latest (beta) version of keyTouch it is possible to select the mixer channel that should be used for controlling the volume.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|