{"id":16031785,"url":"https://github.com/realorangeone/yoga-pal","last_synced_at":"2026-03-05T03:34:08.847Z","repository":{"id":44934217,"uuid":"46452646","full_name":"RealOrangeOne/yoga-pal","owner":"RealOrangeOne","description":"Command line tool for controlling screen rotation on 2-in-1 laptops","archived":false,"fork":false,"pushed_at":"2022-01-17T18:21:15.000Z","size":19,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T12:04:53.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://theorangeone.net/projects/yoga-pal/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RealOrangeOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-18T22:49:35.000Z","updated_at":"2024-09-11T19:46:31.000Z","dependencies_parsed_at":"2022-09-04T19:10:54.212Z","dependency_job_id":null,"html_url":"https://github.com/RealOrangeOne/yoga-pal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RealOrangeOne/yoga-pal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fyoga-pal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fyoga-pal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fyoga-pal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fyoga-pal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RealOrangeOne","download_url":"https://codeload.github.com/RealOrangeOne/yoga-pal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fyoga-pal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:32:43.378Z","status":"ssl_error","status_checked_at":"2026-03-05T03:32:22.667Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08T21:05:39.378Z","updated_at":"2026-03-05T03:34:08.823Z","avatar_url":"https://github.com/RealOrangeOne.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yoga-Pal [![Circle CI](https://circleci.com/gh/RealOrangeOne/yoga-pal.svg?style=svg)](https://circleci.com/gh/RealOrangeOne/yoga-pal)\n\nCommand line tool for controlling screen rotation on Lenovo Yoga laptops. This tool is specifically designed for and test on Yoga laptops, other devices support may vary.\n\n## Requirements\n* Python 3\n* Pip\n\n## Installation\nInstallation can be done in 2 ways, both of which involve the `install.sh` script.\n##### Option 1\n1. Clone the repo\n2. cd into it\n3. run `install.sh`\n\n##### Option 2\n1. Download the `install.sh` file\n2. Put the file in the directory you want to install into\n3. run `install.sh`\n\n## Development\nIf you wish to install this in a development environment, clone the repo, and then:\n\n\tscripts/build\n    source env/bin/activate\n\tpip install --editable .\n\n__Note__: Installation must be done with an active internet connection.\n\n## Usage\n\n### Rotate\n\tyoga rotate screen\n\tyoga rotate touch\n\tyoga rotate all\nRotates the screen, touchscreen, or both. All is used by default if no component is givens.\n\n__Note__: Rotating touchscreen is likely done automatically with screen, and cannot be overriden. Only added as a catch-all.\n\nFlags `--flip` and `--default` can be added to this command to specify the orientation required.\n\n### Enable \u0026 Disable\n    yoga enable trackpad\n    yoga disable trackpad\n\n    yoga enable touch\n    yoga disable touch\n\n    yoga enable all\n    yoga disable all\nDisables / Enables the trackpad, touch screen, or both. All is used by default if no component is given.\n\n### Modes\n    yoga mode laptop\n    yoga mode tablet\n\n    yoga mode list\n\nSwitches your device between the modes of yoga devices, configuring the optimum setup automatically. You can use `yoga mode list` to see all the available modes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealorangeone%2Fyoga-pal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealorangeone%2Fyoga-pal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealorangeone%2Fyoga-pal/lists"}