@keyboard.setter
    def keyboard(self, keyboard):
        command = ['setxkbmap']
        command.extend(keyboard.split(" "))
        try:
            subprocess.check_call(command)
        except CalledProcessError as e:
            logger.error('Can not change the keyboard layout: {0}'.format(e))
        except __HOLE__ as e:
            logger.error('Please, check that setxkbmap is available: {0}'.format(e))
dataset/ETHPy150Open qtile/qtile/libqtile/widget/keyboardlayout.py/KeyboardLayout.keyboard