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.
 Deutsch
 Deutsch  English
 English Українська
 Українська Español
 Español Français
 Français 日本語
 日本語 Русский
 Русский 한국어
 한국어 Polski
 Polski 中文 (中国)
 中文 (中国) Português
 Português Italiano
 Italiano Suomi
 Suomi Svenska
 Svenska 中文 (台灣)
 中文 (台灣) Dansk
 Dansk Slovenčina
 Slovenčina Türkçe
 Türkçe Nederlands
 Nederlands Magyar
 Magyar ไทย
 ไทย हिन्दी
 हिन्दी Ελληνικά
 Ελληνικά Tiếng Việt
 Tiếng Việt Lietuviškai
 Lietuviškai Latviešu valoda
 Latviešu valoda Eesti
 Eesti Čeština
 Čeština Română
 Română Norsk Bokmål
 Norsk Bokmål