Do NOT set CompositeKey = ScrollLock in the XFCE KEYBOARD SETTINGS.
Instead do the same from this script, then it works.