Namiska allows you to control your mouse cursor using keyboard shortcuts. It's designed to enhance productivity for users who lack thinkpad and prefer keyboard navigation over traditional mouse or touchpad interactions.
Use the Super/Meta/Windows key as a modifier key along with the arrow keys to move the mouse cursor around your screen.
- Meta + RCtrl: Perform a left-click.
- Meta + RShift: Perform a right-click.
Namiska works on Linux and potentially on macOS and Windows.
For X11 users, libxdo-dev
or xdotool
might be required.
- Debian/Ubuntu:
sudo apt-get install libxdo-dev
- Arch Linux:
sudo pacman -S xdotool
Currently, there's no direct support or installation method provided for Windows users. Stay tuned for future updates.
Namiska should work on macOS, leveraging accessibility features to control the mouse. Ensure you have permissions set correctly for terminal access to control your computer.
Clone the repository and build from source using Cargo, Rust's package manager and build system.
git clone https://github.com/rotkonetworks/namiska
cd namiska
cargo build --release
cp target/release/namiska /usr/local/bin
Download the latest binary release directly and make it executable:
curl -s https://api.github.com/repos/rotkonetworks/namiska/releases/latest | grep "browser_download_url.*namiska" | cut -d '"' -f 4 | wget -i - -O namiska
chmod +x namiska
mv namiska /usr/local/bin
To start Namiska, simply run it from the terminal. To stop it, you can use pkill
.
# Run Namiska
namiska &
# To stop Namiska
pkill namiska
For continuous background operation, you can install Namiska as a systemd user service.
mkdir -p ~/.config/systemd/user
cp namiska.service ~/.config/systemd/user/
# ln -s $(pwd)/namiska.service ~/.config/systemd/user/namiska.service # or use a symlink
systemctl --user enable --now namiska
Its a bit painful to customize keybindings due to rust being staticly typed. I recommend you fork the code and build with changed const values for keybindings.
Adding config.toml into config directory will alllow you to dynamically change the sensitivity of the mouse movement.
```sh
mkdir -p ~/.config/namiska
cp config.toml ~/.config/namiska/
Namiska is open-sourced under the MIT License. See the LICENSE file for more details.
© 2024 Rotko Networks