Ubuntu – Adjust volume via commandline so that volume notify pops up

command linelircmultimediaremote

is there a way to adjust the system volume via commandline so that the default volume popup (the one that pops up when pressing the media keys on notebooks) is still shown.

I need this for my remote control.
It'll be run using a lircrc file and irexec.

Best Answer

Install the xdotool package, and try issuing

xdotool key XF86AudioLowerVolume

and

xdotool key XF86AudioRaiseVolume