Print state of default keyboard modifiers in x11 to stdout