Skip to content

Instantly share code, notes, and snippets.

View bernd-wechner's full-sized avatar

Bernd Wechner bernd-wechner

  • Hobart, Tasmania, Australia
View GitHub Profile
@bernd-wechner
bernd-wechner / list-sound-devices
Created October 2, 2018 12:38
A command line tool that will list all the sound devices that Cinnamon reports on its Sound Settings in CSV format
#!/usr/bin/python3
#
# A simple command-line utility to list the devices that Cinnamon Sound Settings will list.
#
# Serves primarily to illustrate how they are read, and what common properties are available
# for such a device.
#
# Conveniently illustrates whence Cinnamon Sound Settings gets the two lines it reports on a device.
# The first line is "description" and the second is "origin".
#