ref: 494dcd504bd6ebb68b59e8a04057b0a087570d38 uglyduck.srht.site/_posts/2020-07-14-audio-hotkeys-on-linux-mint.md -rw-r--r-- 1.4 KiB
494dcd50 — Bradley Taunt tweaking overall design - still very much a WIP 8 months ago

id: 668 title: Audio Hotkeys on Linux Mint date: 2020-07-14T10:56:16-04:00 author: Bradley Taunt layout: post guid: https://uglyduck.ca/?p=668 permalink: /audio-hotkeys-on-linux-mint/ categories:

  • Open Source summary: A simple walkthrough on how to setup audio hotkeys on a fresh Linux Mint install

I recently switched out the OS on my old 2011 Macbook Air with Linux Mint. It’s a distro I’ve used a few times in the past, but never set it as one of my main daily drivers until now.

Setting up all my go-to applications (Sublime, LocalWP, Riot, Evolution, etc) was a breeze. The only snag I ran into was properly setting up the volume shortcuts on my wireless Logitech MK235 keyboard. After looking a little too long on DDG & even Google, I finally found this forum thread with the solution.

For my own personal reference, I’m also going to include those code snippets here since you never know when you might need it again! And who knows, maybe this will help someone else stumbling around the internet.

// Volume Up
pactl set-sink-volume @DEFAULT_SINK@ +5%

// Volume Down
pactl set-sink-volume @DEFAULT_SINK@ -5%

// Toggle Mute
pactl set-sink-mute @DEFAULT_SINK@ toggle