DigiKeyboard of Digistump not working properly on Ubuntu

I am experimenting with the small Digispark board which has a USB interface built in and its DigikeyBoard library which is an equivalent to the Keyboard library of Arduino.

I am using Windows to upload code to the Digispark since I had problems with it on Linux. Now my sketch works perfectly on Windows, the Keyboard gets emulated properly, but when I plug it into a Ubuntu machine the given text in the sketch gets only typed out partially or not at all.

What could be the issue?

The issue is NOT the Keyboard layout.

I know that with the Arduino Keyboard library some operating systems don't work if the .release() comes too quickly after the .press(). I think it is a debouncing algorithm that is a little too aggressive. You can work around the problem by adding a small delay between press and release.

  Keyboard.press(keycode);
  delay(10);
  Keyboard.releae(keycode);