GithubHelp home page GithubHelp logo

zaphodbe / spnavcfg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freespacenav/spnavcfg

0.0 1.0 0.0 288 KB

Spacenav interactive configuration GUI

License: GNU General Public License v3.0

Makefile 6.84% C 13.69% C++ 79.48%

spnavcfg's Introduction

spnavcfg

GNU/Linux build status FreeBSD build status MacOS X build status

About

Spacenav daemon interactive configuration program.

shot

Compatibility

The current version of spnavcfg works with spacenavd v1.0 or higher (requires a spacenavd which speaks the spnav protocol v1).

This break in compatibility is necessary because the new protocol allows spnavcfg to act as a regular libspnav client and send configuration commands through the spacenavd socket, instead of having to modify /etc/spnavrc and send SIGHUP to the daemon, as was the old mode of operation.

This is a huge security improvement, as it makes it no longer necessary to install spnavcfg as setuid-root, and frankly much less clunky and error-prone. Plus it opens the way for a new and improved GUI with much more functionality and user feedback.

Therefore, you are advised to update your spacenavd to the latest version if at all possible. If you can't update spacenavd, the last version of spnavcfg which will work with older versions of the daemon is 0.3.1.

Installation

First make sure you have the dependencies installed:

  • libspnav v1.0 or higher
  • Qt 5 (core, gui, and widgets).

To build just run ./configure, make, and make install as usual. The make install part will probably need to be executed as root, if you're installing system-wide.

For build options, see ./configure --help.

Note: if you cloned the source code from the git repo without GIT-LFS, the image in icons/devices.png will be invalid leading to an incorrect build and crashes on startup. If you don't want to install GIT-LFS, you can grab the file from the latest release archive and drop it in place.

License

Copyright (C) 2007-2022 John Tsiombikas [email protected]

This program is free software. Feel free to use, modify, and/or redistribute it under the terms of the GNU General Public License version 3, or (at your option) any later version published by the Free Software Foundation. See COPYING for details.

FAQ

  1. Q: I'm trying to build spnavcfg, but the linker complains about missing functions starting with spnav_cfg_.

    A: You need libspnav v1.0 or higher to build spnavcfg. If it is installed, but you also have a previous version installed in a different path, please remove it in case the linker finds that one first.

  2. Q: When I ran spnavcfg, it immediately crashes with a SIGFPE.

    A: This is most likely caused by bulding with an invalid device atlas image. If you cloned the source code from git, you need GIT-LFS to correctly retreive the image from the repo. Without GIT-LFS, the file icons/devices.png will be a text file with a hash instead of a PNG file. If you don't want to install GIT-LFS, grab the file from the latest release archive and drop it in.

spnavcfg's People

Contributors

albfan avatar cjmayo avatar hgraeber avatar jtsiomb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.