You are not logged in.
Hello.
When I type mpc volume +5 or mpc volume -5 I got error:
error: ACK [5@0] {} unknown command "volume"
I'm using mpd-git and in ncmpcpp change the volume works
Last edited by SpeedVin (2009-08-12 18:07:48)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
there was discussion on the ML about how the new mpd drops support for relative volume adjustments. I'm confused as to why yours works in ncmpcpp, i get failures no matter how i try to adjust the volume. (doesnt bother me though, i never set my volume that way anyway).
Last edited by brisbin33 (2009-08-12 15:00:45)
//github/
Offline
there was discussion on the ML about how the new mpd drops support for relative volume adjustments. I'm confused as to why yours works in ncmpcpp, i get failures no matter how i try to adjust the volume. (doesnt bother me though, i never set my volume that way anyway).
Hmm how now I will set my volume?
Maybe by ossxmixer?
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
brisbin33 wrote:there was discussion on the ML about how the new mpd drops support for relative volume adjustments. I'm confused as to why yours works in ncmpcpp, i get failures no matter how i try to adjust the volume. (doesnt bother me though, i never set my volume that way anyway).
Hmm how now I will set my volume?
Maybe by ossxmixer?
your welcome to use my ossvol script if you'd like. shouldn't take much tweaking.
//github/
Offline
Ok script work's but I have few error's:
Value of mixer control vmix0-outvol set to 25.0
dzen: error, cannot load font: '-xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
How do configure it to use terminus font?
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
look it up , there should be a config file somewhere . Or just use keybindings for volume up/down
Offline
look it up , there should be a config file somewhere . Or just use keybindings for volume up/down
I got in my xorg.conf files section /usr/share/fonts/local and I can't use my keybinding's becouse it was mpc work
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ok script work's but I have few error's:
Value of mixer control vmix0-outvol set to 25.0 dzen: error, cannot load font: '-xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
How do configure it to use terminus font?
use xfontsel to pick a different font.
that line worked for me before i switched to xft:Verdana, but i could've typoed something since then. xfontsel will give you a working terminus line you can use.
/edit: You can ditch the dzen stuff entirely if you don't need/want the OSD. and obviously your mpc keybinds won't work, just rebind them to my script (or even directly to the ossmix commands from the script)... i recommend xbindkeys to take care of it in a WM-agnostic way.
the relevant portions of my .xbindkeysrc...
"(/home/patrick/.bin/ossvol -t)"
m:0x10 + c:121
Mod2 + XF86AudioMute
"(/home/patrick/.bin/ossvol -d 1)"
m:0x10 + c:122
Mod2 + XF86AudioLowerVolume
"(/home/patrick/.bin/ossvol -i 1)"
m:0x10 + c:123
Mod2 + XF86AudioRaiseVolume
check our wiki for setup instructions
Last edited by brisbin33 (2009-08-12 17:37:00)
//github/
Offline
SpeedVin wrote:Ok script work's but I have few error's:
Value of mixer control vmix0-outvol set to 25.0 dzen: error, cannot load font: '-xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
How do configure it to use terminus font?
use xfontsel to pick a different font.
that line worked for me before i switched to xft:Verdana, but i could've typoed something since then. xfontsel will give you a working terminus line you can use.
/edit: You can ditch the dzen stuff entirely if you don't need/want the OSD. and obviously your mpc keybinds won't work, just rebind them to my script (or even directly to the ossmix commands from the script)... i recommend xbindkeys to take care of it in a WM-agnostic way.
the relevant portions of my .xbindkeysrc...
"(/home/patrick/.bin/ossvol -t)" m:0x10 + c:121 Mod2 + XF86AudioMute "(/home/patrick/.bin/ossvol -d 1)" m:0x10 + c:122 Mod2 + XF86AudioLowerVolume "(/home/patrick/.bin/ossvol -i 1)" m:0x10 + c:123 Mod2 + XF86AudioRaiseVolume
check our wiki for setup instructions
Thanks where I can find xfontsel I can find it in xorg-apps maybe it's in xorg-fonts-utils?
Last edited by SpeedVin (2009-08-12 17:44:31)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ok script and my keys working awsome thanks brishbin33
Now I have to work with dzen2 becouse I wat use it to your downlad.sh script to uzbl
Last edited by SpeedVin (2009-08-12 18:02:46)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
┌─[ 13:48 ][ blue:~ ]
└─> pacman -Qo /usr/bin/xfontsel
/usr/bin/xfontsel is owned by xorg-utils 7.4-4
/path/to/ossvol -d 5 is fine as an argument (as you can see in my .xbindkeysrc file) no sh needed. i'm guessing you just haven't setup xbindkeys properly, did you follow our fine wiki?
if a command works from CLI then it'll work from xbindkeys, once properly setup and running of course. best of luck.
//github/
Offline
┌─[ 13:48 ][ blue:~ ] └─> pacman -Qo /usr/bin/xfontsel /usr/bin/xfontsel is owned by xorg-utils 7.4-4
/path/to/ossvol -d 5 is fine as an argument (as you can see in my .xbindkeysrc file) no sh needed. i'm guessing you just haven't setup xbindkeys properly, did you follow our fine wiki?
if a command works from CLI then it'll work from xbindkeys, once properly setup and running of course. best of luck.
Thanks for help , and yor script you really much help my
I give a virtual cookie if I can
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline