How to get my MIDI device running in DT

Hello,

I just updated to DT 3.8 and now wanted to map some shortcuts to my Behringer X-touch mini.
In the open shortcuts window I can not define any button, wheel, … by pressing or rotating it. DT seems not to get any signal from my MIDI-device while I can see (in Qmidiroute) it is sending correct on channel 11. Is there a need for a seperate tool like MIDI2DT to be installed in front?
I am running DT on KDE neon (ubuntu).

Thanks for any help :slight_smile:

How did you install DT?

1 Like

When you run dt with -d input, do you see a line like [midi_open_devices] PortMidi initialized ?
If so, does it mention the x-touch on the next line or so?
If not, have you got alsa installed and configured? I’d guess yes, because Qmidiroute seems to need it. So then you are probably missing portmidi; you need the dev package if you are compiling from source.

2 Likes

I installed DT from flathub (Flatpak) using the gui-app “Discover” of my distro.

Sorry, but I’m struggling to start DT from terminal.
Typed “darktable -d input”, but the command is unknown.
Installing darktable is suggested :wink:
Is it because of I haven’t installed it over console?

no mention of portmidi in https://github.com/flathub/org.darktable.Darktable/blob/master/org.darktable.Darktable.json so you might want to ask them to include it.

1 Like

Thank you for your help!
I’m unfortunately not deep enough into linux.
Do I understand right, that it is an issue inside the DT-compilation of flathub?
Could I install DT another way?

I’m afraid I know nothing about flatpaks and don’t use ubuntu. Maybe someone else can jump in and help/inform?

1 Like

Did you look at the darktable download page?

1 Like

the OBS packages with the midi enablement are building right now.

2 Likes

Thanks for all your kind answers!

I unfortunately don’t have any experiences in compiling source code. Think, I’ll wait for an update of Flatpak to come that implements the new OBS build @darix mentioned.

Have a nice week!

flatpak is a build system of its own and unrelated to what the packages in the OBS do.

1 Like

Good to know.
Than I’ll better dip into compilation from github’s code after all?

your distro is not supported by Install package graphics:darktable / darktable ? (fedora is behind “unknown”)

1 Like

I see. Switching to another distro isn’t quite a small step. I considered but hesitated because of the whole bunch of work I assume.

on which distro are you?

1 Like

I’m using KDE neon (ubuntu packeges, as far as I know)

so find out which ubuntu version your version of KDE neon is based on and add the repository for that from the link above.

1 Like

I’ll do some research and try it out. Thanks for the tip!

Yeah, that worked, @darix :+1:
Now DT catches my MIDI-Inputs.
KDE neon is based on ubuntu 20.04 (because of LTS!) and there was a convenient repository for it.
So glad about :smiley:
Thanks to all of you guys for your friendly help!