Author Topic: keyboard combo to change volume (SOLVED)  (Read 539 times)

0 Members and 1 Guest are viewing this topic.

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
keyboard combo to change volume (SOLVED)
« on: 07. November 2015, 03:05:27 »
on ~/.fluxbox/keys

# volume settings, using common keycodes
# if these don't work, use xev to find out your real keycodes
Mod1 Up :Exec amixer sset Master,0 3+
Mod1 Down :Exec amixer sset Master,0 3-

does not seem to change volume with Alt-Up or Alt-Down.  am I doing something wrong?
« Last Edit: 07. November 2015, 15:29:33 by gychang »

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
Re: keyboard combo to change volume (SOLVED)
« Reply #1 on: 07. November 2015, 15:31:07 »
on ~/.fluxbox/keys

# volume settings, using common keycodes
# if these don't work, use xev to find out your real keycodes
Mod1 Up :Exec amixer sset Master,0 3+
Mod1 Down :Exec amixer sset Master,0 3-

does not seem to change volume with Alt-Up or Alt-Down.  am I doing something wrong?

there is an error on the default "keys" file out of the box.

it is missing "%".  it should be Mod1 Up :Exec amixer set Master,0 3%+, then works fine.


Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: keyboard combo to change volume (SOLVED)
« Reply #2 on: 07. November 2015, 15:38:24 »
there is an error on the default "keys" file out of the box.
it is missing "%".  it should be Mod1 Up :Exec amixer set Master,0 3%+, then works fine.
Got it, thanks! Will update that. :)
Are you sure you use "set" and not "sset" ?
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
Re: keyboard combo to change volume (SOLVED)
« Reply #3 on: 07. November 2015, 20:23:28 »
Got it, thanks! Will update that. :)
Are you sure you use "set" and not "sset" ?

mine works fine with "set".  great distro by the way.

Offline minjaro

  • Neuling
  • *
  • Posts: 22
  • (:
  • Branch: stable
  • Desktop: the legendary fluxbox (openrc edition)
  • GPU Card: Intel 945 GM
  • GPU driver: i915
  • Kernel: 4.4.5-1 x86
  • Skill: Intermediate
Re: keyboard combo to change volume (SOLVED)
« Reply #4 on: 23. March 2016, 09:06:33 »
This was really helpful. I upped it to 10% increments for my config. Really enjoying fluxbox. Thanks for having this conversation.

"set" worked just perfectly for me as well.