Linux(Gnome):Waveform shows generic icon when launched

Discussion about: tracktion.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,

W9 shows a generic app icon instead of the W9 icon in the app panel when launched.

I can correct this with:

Code: Select all

xprop -name Waveform -f WM_CLASS 8s -set WM_CLASS "Waveform"
But I wouldn't need to do this if W9 set the WM_CLASS=Waveform itself.

Can this please be added an upcoming build?

Cheers,
Gavin
Last edited by gavindi on Mon Apr 16, 2018 10:07 pm, edited 1 time in total.
Making Bitpop music....
Tracktion Waveform 11 under Ubuntu 20.04.
ROC CUbe Ryzen 3400G - 32GB RAM, 2xSSD, Integrated Radeon RC Vega 11 GPU
Yamaha USB Mixing Station, Mackie Reference Monitors & Axiom A.I.R 32 controller.

Post

For any other Linux users that may need it, I've made a wrapper script that does this for you:

Code: Select all

#!/bin/bash
/usr/bin/Waveform9 $@ &
sleep 10 && xprop -name Waveform -f WM_CLASS 8s -set WM_CLASS "Waveform"
I saved it at /usr/bin/Waveform9.wrapper on my system and them made it executable with

Code: Select all

chmod +x /usr/bin/Waveform9.wrapper
Also, I modified /usr/share/applications/waveform9.desktop to provide a StartupWMClass hint and to pint to the wrapper:

Code: Select all

Exec=/usr/bin/Waveform9.wrapper %u
StartupWMClass=Waveform
Making Bitpop music....
Tracktion Waveform 11 under Ubuntu 20.04.
ROC CUbe Ryzen 3400G - 32GB RAM, 2xSSD, Integrated Radeon RC Vega 11 GPU
Yamaha USB Mixing Station, Mackie Reference Monitors & Axiom A.I.R 32 controller.

Post Reply

Return to “Tracktion”