by Sakru
So, i decieded to spend some time and get Spacenav working on non ubuntu based distro. Tried to adapt what i did on CL. This guide should work on other distros like Arch, Opensuse and Fedora.
Before you start, ensure that you have the following dependencies installed: Development tools (GCC, Make), CMake, X11 development libraries, libspnav.
For most distributions, you can install these dependencies using your package manager:
Fedora: sudo dnf install gcc make cmake libX11-devel libspnav-devel
Arch Linux: sudo pacman -S base-devel cmake libx11 libspnav
OpenSuse: sudo zypper install gcc make cmake libX11-devel libspnav-devel
1. Clone the Spacenavd Repository
git clone https://github.com/FreeSpacenav/spacenavd.git
cd spacenavd
2. Run CMake to configure the build
cmake.
3. Compile the source code
make
4. Install spacenavd
sudo make install
5. Set up and enable the spacenavd service
sudo nano /etc/systemd/system/spacenavd.service
Add the following content to the file:
[Unit]
Description=Spacenavd Service
After=network.target
[Service]
ExecStart=/usr/local/bin/spacenavd -d
Restart=always
[Install]
WantedBy=multi-user.target
6. Reload Systemd Deamn and start the service
sudo systemctl daemon-reload
sudo systemctl enable spacenavd
sudo systemctl start spacenavd
Ensure that spacenavd is running without errors:
systemctl status spacenavd
If you have any questions, feel free to ask.
 中文 (台灣) 
 English
 Українська
 Español
 Deutsch
 Français
 日本語
 Русский
 한국어
 Polski
 中文 (中国)
 Português
 Italiano
 Suomi
 Svenska
 Dansk
 Slovenčina
 Türkçe
 Nederlands
 Magyar
 ไทย
 हिन्दी
 Ελληνικά
 Tiếng Việt
 Lietuviškai
 Latviešu valoda
 Eesti
 Čeština
 Română
 Norsk Bokmål