def save_console_config(self):
        conf = McmConfig()
        cfg = conf.get_console_config()

        color = self.widgets["fg_colorbutton"].get_color()
        cfg["fg.color"] = color.to_string().strip("#")
        color = self.widgets["bg_colorbutton"].get_color()
        cfg["bg.color"] = color.to_string().strip("#")

        fname = self.widgets["bgimage_filechooserbutton"].get_filename()
        if fname == None:
            fname = "None"
        cfg["bg.image"] = fname

        active = self.widgets["chk_bg_transparent"].get_active()
        cfg["bg.transparent"] = str(active)

        value = self.widgets["transparency_hscale"].get_value()
        value = int(value)
        cfg["bg.transparency"] = str(value)

        value = self.widgets["buffer_hscale"].get_value()
        value = int(value)
        cfg["buffer.size"] = str(value)

        font = self.widgets["fontbutton"].get_font_name()
        cfg["font.type"] = font

        cfg["word.chars"] = self.widgets["console_char_entry"].get_text()
        conf.save_console_config(cfg)