You are not logged in.
Hello,
Is it possible to configure Arch (KDE) to display a nice bar with volume when I press my volume up, down hotkeys (the hotkeys are configured with acerhk module and codes added with xmodmap, KDE now recognise them). I remember I had something like this under ubuntu, but I don't know if it was a part of kde or something 'ubuntu specific'.
mazu
Offline
As far as i know its not a KDE patch or something, maybe its this one
want a modular and tweaked KDE for arch? try kdemod
Offline
In theory, if kmilo service is working, it will display the volume bar you want when turning the volume up or down, working together with kmix. Hotkeys package, as far as I know, instead of displaying a qt volume bar like kmilo does, works with xosd library (however, I've not seen it working)
Last edited by RazZziel (2007-07-22 13:24:46)
Offline
go to kcontrol->regional -> keyboard layout
choose your laptop or desktop, if it's not in the list, take a guess, most have the same assigned keys, try it, if it works, get rido of xmodmap so the events don't do two actions.. ok that's all
Offline
this script inc./dec (alsa) volume via amixer and shows a volume-bar via xosd (osd_cat).
#!/bin/bash
case $1 in
+)
amixer set PCM 2dB+
;;
-)
amixer set PCM 2dB-
;;
*)
exit
;;
esac
VOLUME=`amixer get PCM | sed -ne '/Front Left/s/.*\[\(.*\)%\].*/\1/p'`
osd_cat --font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-* --colour=Green --shadow 1 \
--pos bottom --align center --offset 80 --delay=1 -b percentage -P $VOLUME -T VolumeI use xbindkeys to run the script if I press the vol. up or down keys on my keyboard.
This is the part for the volume keys of my .xbindkeysrc file (I saved the script as volume-xosd)
# PCM Volume up (Fn + up_arrow)
"/usr/local/bin/volume-xosd +"
c:176 + m:0x0
# PCM Volume down (Fn + down_arrow)
"/usr/local/bin/volume-xosd -"
c:174 + m:0x0Offline