adding linux support, X11 and mac keys specific