{"id":15954777,"url":"https://github.com/felfert/catlock","last_synced_at":"2025-04-04T06:43:25.749Z","repository":{"id":49802427,"uuid":"195562998","full_name":"felfert/catlock","owner":"felfert","description":"Protect your Linux computer from cats, walking over the keyboard or playing with the mouse","archived":false,"fork":false,"pushed_at":"2022-07-26T17:51:12.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T18:14:25.253Z","etag":null,"topics":["cpp11","gadgets","x11"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felfert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-06T16:55:00.000Z","updated_at":"2024-10-29T18:49:13.000Z","dependencies_parsed_at":"2022-09-15T05:41:45.964Z","dependency_job_id":null,"html_url":"https://github.com/felfert/catlock","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fcatlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fcatlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fcatlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felfert%2Fcatlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felfert","download_url":"https://codeload.github.com/felfert/catlock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135126,"owners_count":20889420,"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":["cpp11","gadgets","x11"],"created_at":"2024-10-07T13:19:43.222Z","updated_at":"2025-04-04T06:43:25.706Z","avatar_url":"https://github.com/felfert.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)\n# catlock\nThis is a simple program to protect my computer from my cat walking over the keyboard\nand playing with the mouse :-)\n\nIt was inspired by xtrlock, but instead requiring a password to unlock, a simple three-key combination (**Ctrl+Alt+KP_Enter**) is sufficient to terminate. Furthermore, pressing **Meta+L** switches off the screen backlight (like xset dpms force off does). These shortcuts are configurable. Just run ```catlock --help``` to get a short description.\n\nThis software is distributed under a **BSD-2-Clause** license. The following parts have been taken from external projects:\n\n* The cat icon and cat bitmap for the cursor is taken from [oneko](https://directory.fsf.org/wiki/Oneko) which is public domain.\n* The cmake FindXCB script and it's dependency (BSD-3-Clause license) from the [KDE project](https://github.com/KDE/extra-cmake-modules).\n* The cmake FindPOPT script (BSD-2-Clause license) from Lars Baehren's [CMakeModules project](https://github.com/lbaehren/CMakeModules).\n* The cmake FindXmlTo script (BSD-3-Clause license) from the [rabbitmq-c project](https://github.com/alanxz/rabbitmq-c)\n\n## How to build\n\n### Prerequisites\ncatlock requires XCB including it's extensions KEYSYMS IMAGE and DPMS. It uses cmake as a build system and is written in **C++**. So:\n\nOn a **Ubuntu-18.04** system in order to get all required tools and dependencies, you would run:\n```\nsudo apt-get install git cmake g++ pkg-config \\\nxmlto libxcb-keysyms1-dev libxcb-image0-dev \\\nlibxcb-dpms0-dev libxext-dev libpopt-dev\n```\n\nOn a **Fedora-29** system, you would run:\n```\nsudo dnf install git cmake gcc-c++ pkg-config xmlto \\\nmake libxcb-devel xcb-util-keysyms-devel \\\nxcb-util-image-devel libX11-devel popt-devel\n```\n### Fetch the repo\n```\ngit clone https://github.com/felfert/catlock.git\n```\n### The actual build and install\n```\nmkdir catlock/build\ncd catlock/build\ncmake ..\nmake\nsudo make install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelfert%2Fcatlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelfert%2Fcatlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelfert%2Fcatlock/lists"}