General sequences for keysym and commands