1 Connect and Detect: Plug in the keyboard via USB. Open a terminal and run lsusb to verify Ubuntu detects it.
2 Install Necessary Software: Install standard Linux audio tools for MIDI routing and sound generation:
bash

sudo apt updatesudo apt install qjackctl qsynth fluidsynth


3 Configure Audio & MIDI:

    • Open QJackCtl. Click "Setup," and on the "Settings" tab, ensure the driver is set to ALSA.
    • Open Qsynth (a FluidSynth GUI). Go to Setup, set the MIDI Driver to alsa_seq and Audio Driver to jack.
    • Load a SoundFont in Qsynth (usually in /usr/share/sounds/sf2/) to produce sound.


4 Connect in QJackCtl:

    • In QJackCtl, click the "Connect" button.
    • Under the "ALSA" tab, you should see your E-Keys device on the left and Qsynth on the right.
    • Select both and click "Connect" to create a patch cable between them. 


Troubleshooting

  • No Sound: Check if the system audio is muted in the mixer. Ensure fluidsynth is running and has a soundfont loaded.
  • Latency: If experiencing delay, use a low-latency kernel ( linux-lowlatency ) or adjust JACK settings to smaller frames/period (e.g., 256 or 512).
  • Alternative Software: For a more comprehensive studio setup, use Ardour or LMMS for recording and sequencing.