Feature #983
Updated by Daniel Curtis 20 days ago
This is a guide on hiding the mouse cursor on Wayland. Currently there are no packages in the Raspberry Pi Debian repos for wayfire-plugins-extra, so this guide will build it from source. h2. Prepare the Environment * Install dependencies: <pre> sudo apt install libglibmm-2.4-dev libglm-dev libxml2-dev libpango1.0-dev libcairo2-dev wayfire-dev libwlroots-dev libwf-config-dev meson ninja-build </pre> h2. Build wayfire-plugins-extra * Download and compile plugins: <pre> git clone https://github.com/seffs/wayfire-plugins-extra-raspbian.git && cd wayfire-plugins-extra-raspbian meson build --prefix=/usr --buildtype=release ninja -C build </pre> * Copy the hide-cursor plugin and config to wayfire directories: <pre> sudo cp build/src/libhide-cursor.so /usr/lib/arm-linux-gnueabihf/wayfire/ /usr/lib/aarch64-linux-gnu/wayfire/ sudo cp metadata/hide-cursor.xml /usr/share/wayfire/metadata/ </pre> * Edit wayfire user config: <pre> nano ~/.config/wayfire.ini </pre> *# And add the following: <pre> [core] plugins = autostart hide-cursor [autostart] boot = /home/mm/boot.sh </pre> h2. Resources * https://raspberrypi.stackexchange.com/questions/145382/remove-hide-mouse-cursor-when-idle-on-rasbperry-pi-os-bookworm * https://github.com/seffs/wayfire-plugins-extra-raspbian * https://gist.github.com/saper-2/4cba693126ca77c7eb5c8e67e57a5111