Member Sakru Posted May 26 Member Share Posted May 26 This post was recognized by Carlosan! Sakru was awarded the badge 'Great Content' and 1 points. 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. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.