Skip to main content

Posts

Showing posts from November, 2009

Xorg events repeated twice

I've recently upgraded to xorg-x11 1.6 (it is shipped with several up-to-date Linux distributions like OpenSuSe 11.2) and encountered a problem with my keyboard. All keypresses repeated twice, which made impossible to use xorg-server. After looking through /var/log/Xorg.0.log I found that somehow Xserver decided to add my keyboard twice. So all events from the keyboard were processed two times. I fixed this problem by adding this line to xorg.conf into Section "ServerFlags" block Option "AutoAddDevices" "off"

Alsa Audio Meter

If you need to watch the realtime sound output level on some graphical meter, you might consider difficult to find the program for these needs. After some searching I found nice software called ameter especially for these functions. This program can be used with the most of ALSA and OSS apps. After program installation you should create .asoundrc in your home directory with the following contents: pcm_scope.ameter { type ameter } pcm_scope_type.ameter { lib /usr/local/lib/libameter.so } pcm.ameter { type meter slave.pcm 'hw:0,0' #can be hw or hw:0,1 etc... scopes.0 ameter } pcm.dsp0 ameter The program source can be downloaded from here Also I have created an ebuild for easy installation on Gentoo Linux. Simply add it to your local overlay # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" DESCRIPTION="Alsa meter plugin for audio software with GUI" HOMEPAGE="http://laugeo.free....