Facetimehd Toggle
-- A little something I made to make me and other linux on mac users happy --
What is this?
Just a simple systray applet to toggle facetimehd camera in MacBooks running Linux as needed using modprobe.
Why this exists?
Because 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.
Plus, this also increases the privacy
How to setup?
- First you need the facetimehd kernel module driver to be installed:
- Disable it from loading at startup:
then add following line to it.
blacklist facetimehd
- Rebuild the
initramfsand reboot the system:
-
Install facetimehd toggle.
-
You can now run the applet and check the functionality.
Make the systray auto start on boot
Using systemd
- Create systemd unit:
and add following,
[Unit]
Description=FaceTimeHD Toggle Tray
After=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/facetimehd-toggle
Restart=on-failure
[Install]
WantedBy=default.target
- Enable and start the service:
- Check status:
systemctl --user status facetimehd-toggle.service
Hyprland user?
-
Make sure you have hyprpolkit or another polkit agent setup.
-
Then just put below line into your hyprland config and you're done.
Aur Package is coming soon...
License
This project is Licensed under MIT license.