So, I installed KXStudio 14.04.2.
I set up jack so it now works with my Scarlet 2i4. Audio playback from file works well, using Jack as the audio output.

On this distro, LMMS 1.1.3 comes with Jack selected as the audio device. It works, but with two "bugs", or strange behaviours:

- Freeboy glitches on second channel
- Instruments retrigger continuously when using the keyboard to play them

Both do happen also on my laptop with ubuntu studio 14, even if I'm not using jack (which would only start on the 2i4)

For the first glitch, I read here: https://github.com/LMMS/lmms/issues/326
Thing is, PulseAudio isn't installed on KXStudio.
Also, switching to Alsa do work with "default" device, but I can't get hw:2,0 to work (which should be the name of my 2i4)

I didn't find anyone with the second glitch. So I'll explain it better:
when playing an instrument using the mouse, there is no problem. But if I use the computer keyboard, let's say I play one note, it triggers, then after random time it retriggers, and it does like that forever. But, if I play another note (without releasing the first), only the new note will retrigger. Finally, if I release the second note, the first note plays fine.
If I instead release the first, the second one still retriggers randomly.
This bug isn't hardware related because it's the same on my laptop. :!:

Alsa with "default" device gives the same errors as Jack.

What can I do to fix these two glitches?