{"id":15679886,"url":"https://github.com/nekmo/yakuake-sessions","last_synced_at":"2025-06-30T08:06:59.055Z","repository":{"id":45303423,"uuid":"61739986","full_name":"Nekmo/yakuake-sessions","owner":"Nekmo","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-24T14:41:31.000Z","size":16,"stargazers_count":13,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T10:52:51.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nekmo.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-22T17:55:53.000Z","updated_at":"2024-06-24T12:08:45.000Z","dependencies_parsed_at":"2022-09-15T03:32:16.632Z","dependency_job_id":null,"html_url":"https://github.com/Nekmo/yakuake-sessions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nekmo/yakuake-sessions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fyakuake-sessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fyakuake-sessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fyakuake-sessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fyakuake-sessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nekmo","download_url":"https://codeload.github.com/Nekmo/yakuake-sessions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fyakuake-sessions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262736598,"owners_count":23356146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T16:38:43.352Z","updated_at":"2025-06-30T08:06:59.028Z","avatar_url":"https://github.com/Nekmo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yakuake session management\n--------------------------\n\nRequires: yakuake, qdbus (libqt4-dbus), pwdx (procps), ps (procps)\n\nTested on: Ubuntu Maverick (10.10) with Python 2.6 and Yakuake 2.9.7\n\nDoes not support old versions of yakuake that use DCOP instead of DBUS.\n\nysess is a script that gathers as much info as possible from a running yakuake instance and saves it out in INI format.  It can then take this same INI file as input and (destructively! \\*) reconstruct the yakuake session.\n\n\\* As part of the reconstruction process, ysess destroys all current tabs in yakuake before restoring from the INI file.\n\nCurrently, ysess will save the following information:\n\n * tab order\n * tab title\n * active tab\n * per-tab working directory\n * per-tab active command\n\nPer-tab active command is supported to allow resuming long-running commands, like ``top``.\n\n    $ ysess --help\n    Usage: ysess [options]\n\n    Save and load yakuake sessions.  Settings are exported in INI format.  Default\n    action is to print the current setup to stdout in INI format.\n\n    Options:\n      -h, --help            show this help message and exit\n      -i FILE, --in-file=FILE\n                            File to read from, or \"-\" for stdin\n      -o FILE, --out-file=FILE\n                            File to write to, or \"-\" for stdout\n      --force-overwrite     Do not prompt for confirmation if out-file exists\n\nTo use in your crontab -- and I have no clue why this works -- prepend the command with ``DISPLAY=:0.0``:\n\n    \\* \\* \\* \\* \\* DISPLAY=:0.0 ysess -o ~/yakuake.ini --force-overwrite\n\nIn the future...\n================\n\nI hope to add some features:\n\n * Save per-tab shell environment (so, for example, virtualenvs can be restored)\n * Allow a whitelist or blacklist for which active commands to save\n * Maybe, eventually, DCOP support for users stick with older yakuake versions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekmo%2Fyakuake-sessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekmo%2Fyakuake-sessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekmo%2Fyakuake-sessions/lists"}