{"id":26277248,"url":"https://github.com/chamal1120/facetimehd-toggle","last_synced_at":"2026-04-17T00:02:23.977Z","repository":{"id":282287774,"uuid":"948069772","full_name":"Chamal1120/facetimehd-toggle","owner":"Chamal1120","description":"A systray icon to toggle facetimehd camera for macbooks running linux","archived":false,"fork":false,"pushed_at":"2025-03-13T18:48:59.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T19:39:03.649Z","etag":null,"topics":["archlinux","facetimehd","gtk3","linux","macbook-pro","rust","webcam"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Chamal1120.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-13T17:41:36.000Z","updated_at":"2025-03-13T19:23:03.000Z","dependencies_parsed_at":"2025-03-13T19:49:23.336Z","dependency_job_id":null,"html_url":"https://github.com/Chamal1120/facetimehd-toggle","commit_stats":null,"previous_names":["chamal1120/facetimehd-toggle"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chamal1120%2Ffacetimehd-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chamal1120%2Ffacetimehd-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chamal1120%2Ffacetimehd-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chamal1120%2Ffacetimehd-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chamal1120","download_url":"https://codeload.github.com/Chamal1120/facetimehd-toggle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573495,"owners_count":20312883,"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":["archlinux","facetimehd","gtk3","linux","macbook-pro","rust","webcam"],"created_at":"2025-03-14T12:16:15.868Z","updated_at":"2026-04-17T00:02:23.900Z","avatar_url":"https://github.com/Chamal1120.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Facetimehd Toggle\n\n-- *A little something I made to make me and other linux on mac users happy* --\n\n\u003c/div\u003e\n\n## What is this?\n\nJust a simple systray applet to toggle facetimehd camera in MacBooks running Linux **as needed** using [`modprobe`](https://en.wikipedia.org/wiki/Modprobe).\n\n## Why this exists?\n\nBecause no one does it. Keeping the module loaded prevents few macs from going to sleep including mine and it is painful to enable and disable using terminal when I'm in a hurry to a meeting. I hope this will be helpful for someone out there.\n\n**Plus, this also increases the privacy**\n\n## How to setup?\n\nSame commands for both Debian and Arch-based distros, unless separately listed.\n\n1. First you need the [facetimehd kernel module driver](https://github.com/patjak/facetimehd) to be installed:\n\n   Debian: Follow the instructions [here](https://github.com/patjak/facetimehd/wiki/Installation#get-started-on-debian).\n\n   Arch:\n\n   ```bash\n   yay -S facetimehd-dkms # arch linux syntax\n   ```\n\n2. Disable it from loading at startup:\n  \n   ```bash\n   sudo vim /etc/modprobe.d/blacklist-facetimehd.conf # this will open the file with vim\n   ```\n\n   then add following line to it.\n\n   ```bash\n   blacklist facetimehd\n   ```\n\n3. Rebuild the `initramfs` and reboot the system:\n\n   Debian:\n\n   ```bash\n   update-initramfs -u\n   ```\n\n   Arch:\n\n   ```bash\n   mkinitcpio -P # arch linux syntax\n   reboot\n   ```\n\n5. Install dependencies\n\n   Debian:\n\n   ```bash\n   sudo apt install cargo libglib2.0-dev libpango1.0-dev libatk1.0-dev libgdk-pixbuf-2.0-dev libgtk-3-dev\n   ```\n\n   Arch:\n\n   ```bash\n   sudo pacman -S rust cargo gtk3\n   ```\n\n7. Download the binary from the releases and move it to /usr/bin or build it using the following steps:\n\n   ```\n   git clone https://github.com/Chamal1120/facetimehd-toggle.git\n   cd facetimehd-toggle\n   cargo build --release\n   sudo cp target/release/facetimehd_toggle /usr/bin/\n   ```\n\n6. You can now run the applet by using the following command: `/usr/bin/facetimehd_toggle`\n\n## Make the systray auto start on boot\n\n#### Using systemd\n\n1. Create systemd unit:\n\n```bash\nmkdir -p ~/.config/systemd/user\nvim ~/.config/systemd/user/facetimehd-toggle.service\n```\n\nand add following,\n```\n[Unit]\nDescription=FaceTimeHD Toggle Tray\nAfter=graphical-session.target\n\n[Service]\nType=simple\nExecStart=/usr/bin/facetimehd_toggle\nRestart=on-failure\n\n[Install]\nWantedBy=default.target\n```\n\n2. Enable and start the service:\n\n```bash\nsystemctl --user enable facetimehd-toggle.service\nsystemctl --user start facetimehd-toggle.service\n```\n\n3. Check status:\n\n```\nsystemctl --user status facetimehd-toggle.service\n```\n\n#### Hyprland user?\n\n1. Make sure you have hyprpolkit or another polkit agent setup.\n\n2. Then just put below line into your hyprland config and you're done.\n\n```bash\nexec-once = env DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS \u003cpath/to/your/program\u003e\n```\n\n*AUR Package is coming soon...*\n\n## License\nThis project is Licensed under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamal1120%2Ffacetimehd-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchamal1120%2Ffacetimehd-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamal1120%2Ffacetimehd-toggle/lists"}