Screenshot of my 1920×1080 desktop (speaker icon in tray ~ lower right)

~§~
Volume control maximised (python, simple, fast, no task bar button)

~§~
Huge thanks to Ashley Mills’ for “mixerapp.py”

~§~
mixerapp.py ~ place in /usr/local/bin/mixerapp.py, chmod 555, link to /usr/bin/mixerapp

~§~
Nb. Need to update shebang for FreeBSD-11 to: #!/usr/local/bin/python2
#!/usr/local/bin/python2
import commands
from Tkinter import Tk,IntVar,Scale
def adjustVol(vol):
commands.getoutput("/usr/sbin/mixer vol "+vol)
return
root = Tk()
root.geometry('50x100+1700+800')
root.wm_title("mixer")
vol = IntVar()
scale = Scale(root,variable=vol,from_=100,to=0,command=adjustVol)
scale.set(commands.getoutput('/usr/sbin/mixer -S').split(':')[1])
scale.pack()
root.mainloop()
# 2010-05-02 www.ashleymills.com
# icewm toolbar then has an entry like this:
# prog MixerControl vol_16x16.png /path/to/mixerapp.py
# Modified - knoba 2017
~§~
add “mixerapp &” to ~/.icewm/startup, chmod 755

~§~
#!/bin/sh
sleep 2
setxkbmap gb extd &
gdeskcal --dpi=91 &
mixerapp &
# xscreensaver &
(sleep 4; psi&) &
~§~
add “Volume” section to ~/.icewm/winoptions

~§~
optional extras:
find/set screen geometry for windowed app
$ xwininfo
find/set WM_CLASS(STRING) for windowed app
$ xprop | grep WM_CLASS
~§~
Ashley Mills – Mixerapp.py
FreeBSD – Operating system
•••