GNOME Shell extension · 45–48
Your lid moves.
Your desktop follows.
Close the lid a little. The live wallpaper and windows fold and blur with it. Open up, and everything comes back. Clicks still land on the real layout underneath.
Hardware first. Webcam only on laptops with no IMU. Never on a desktop tower.
- IIO lid angle
- Dual accelerometer
- Display IMU
- HID lid angle
- Lid webcam
- Lid switch
Install
You do not need to clone the repository. Grab the GNOME extension zip, or a Debian package on Ubuntu. Source lives at github.com/agayushh/lidfx.
-
Install the file
Extension zip — from the folder you saved it to, or with Extensions → Install from File…
gnome-extensions install --force lidfx.shell-extension.zipDebian package — install from a terminal. Ubuntu App Center will warn that this is a third-party package; that is expected for any .deb that is not in the Ubuntu archive.
sudo apt install ./gnome-shell-extension-lidfx_5_all.deb -
Turn it on
On Wayland, log out once, then enable the extension:
gnome-extensions enable lidfx@agayushh.github.ioOpen LidFx in the top bar, turn it on, then Set open position. Toggle with Ctrl Alt H.
From source: git clone https://github.com/agayushh/lidfx.git then make install. If a HID lid sensor exists but is not readable, copy 99-lidfx-lid.rules into /etc/udev/rules.d/ and replug — the .deb already does this. The panel and Ubuntu Dock stay put.