This are 2 simple and terbile writen scripts to control your grandma2 lighting desk with Linux Show Player with telnet
You use maserver to connect to your light desk
./maserver.py ip port user password
you can then use maclient to send your grandma2 commands to maserver and so to your ligt desk.
./maclient.py "Go 1.1 Cue 1"
servertelnet.py is for testing
It is poorly writen but it works in linux show player
I suggest putting the scripts in your bin folder if you want it to work in linux show player