0

I am using PyQT for making Gui , in which i am controlling volume through button i am using amixer command line tool to increase and decrease the volume ,Can i also show the default notification come when user increase or decrease volume ? I am using Ubuntu 12.04

Uahmed
  • 1,847
  • 5
  • 29
  • 45

1 Answers1

0

I found the solution

            volume = 60
            cmd ="notify-send \" \" -i notification-audio-volume-high -h int:value:"+str(volume)+" -h string:synchronous:volume"
            #print cmd
            os.system(cmd)
Uahmed
  • 1,847
  • 5
  • 29
  • 45