linux enable scroll lock

C++
xmodmap -e 'add mod3 = Scroll_Lock'
Source

Also in C++: