def on_click(self, i3s_output_list, i3s_config, event):

        file_name = self._filename_generator(self.file_length)

        command = '%s %s/%s%s' % ('gnome-screenshot -f', self.save_path,
                                  file_name, '.jpg')

        subprocess.Popen(command.split())

        self.full_text = '%s%s' % (file_name, '.jpg')

        if (self.push and self.upload_server and self.upload_user and
                self.upload_path):
            command = 'scp %s/%s%s %s@%s:%s' % (self.save_path, file_name,
                                                '.jpg', self.upload_user,
                                                self.upload_server,
                                                self.upload_path)
            subprocess.Popen(command.split())
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/screenshot.py/Py3status.on_click/original