Giter VIP home page Giter VIP logo

cdobrich / btnx Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 10.0 161 KB

btnx (Button Extension) is a daemon that enables rerouting of mouse button events through uinput as keyboard and other mouse button combinations. btnx requires btnx-config, a configuration tool for btnx. See https://github.com/cdobrich/btnx-config for more details.

License: GNU General Public License v2.0

Shell 31.37% C 33.90% Makefile 32.25% M4 2.48%
button mouse remapping

btnx's People

Contributors

asl97 avatar cdobrich avatar doktoil-makresh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btnx's Issues

Btnx doesnt start on ubuntu 20.04

I tried to install btnx on ubuntu 20.04 with Gnome 3.36, during the installation everything went well, but when running '' sudo /etc/init.d/btnx start ",
I get one:
Starting btnx: Button Extension - mouse button rerouter daemon
btnx: uinput modprobed successfully.
btnx: Opening config file: / etc / btnx / btnx_config_Default
btnx: Could not read the config file: No such file or directory
btnx: Configuration file error.
btnx failed to start (error code 150)

Btnx not acknowledging mouse button

I have been using btnx for quite some time but recently encountered a problem. I got a new mouse - Logitech M510 - and configured it in btnx. When I use it one of the buttons is not recognized. When I configured it all of the buttons were recognize. However when I start it I get the following

btnx -b -c Logitech1
btnx: Previous daemon already running. Killing it.
btnx: uinput modprobed successfully.
btnx: Opening config file: /etc/btnx/btnx_config_Logitech1
btnx: No configured mouse handler detected: No such file or directory
btnx: Opening config file: /etc/btnx/btnx_config_Logitech
btnx: No configured mouse handler detected: No such file or directory
btnx: Opening config file: /etc/btnx/btnx_config_
btnx: Could not read the config file: No such file or directory
btnx: Configuration file error.

The configuration files are there. Where do I get the mouse handler? Is one needed for Linux? I am running Fedora 32 64-bit.
The mouse has 2 buttons on the left side. I configure 1 to be Enter and the other to be ESC.

scroll click key has gone nuts ... i want 'btnx to restore its default function !!!

Hi,

I am running Deepin Linux 15.7 on my laptop ... i use a vertical mouse with additional forward and backward buttons ... things were working great ... all 5 buttons perfectly working as expected.

Out of the blue the 'forward' and 'backward' buttons stopped working ... i checked with my OS team but they were of no help ... probably too busy as i was the only one seems to have been affected and not many use a 5 button vertical mouse.

In an effort to restore functionality i started looking for some help online, that's when i came across your project. I installed it quite sometime back but without clear help i couldn't get it to work ...

today after another update from my OS my scroll_click button started acting up ... so i got back to your application and tried another time ... and to my surprise i seem to have successfully detected all the buttons of my vertical mouse.

with some trial and error i finally got the 'forward' and 'backward' button up and working ... but i can't seem to know how to restore the default functions of the 'Scroll_Button'

the following are some the default functions of the scroll_button i am hooked on to ...

  • Close a tab by middle-clicking on the tab

  • Open a link in a new tab by middle-clicking on the link (this also works in the address bar's drop-down menu and back and forward buttons)

  • Open a new instance or window of a program by middle-clicking its taskbar icon

  • Close a window by hovering over its taskbar icon, then middle-clicking the thumbnail that pops up

can you please help me with the key combinations that will restore the above default 'scroll_button' functions ?

thanks.

build process failed on Pop!_OS

Here's the entire output of ./configure and make

$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBDAEMON... yes
checking for update-rc.d... update-rc.d
checking for su... /usr/bin/su
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: executing depfiles commands
$ make
cd . && /bin/bash /var/apps/btnx/config/missing --run aclocal-1.10 -I m4
/var/apps/btnx/config/missing: line 54: aclocal-1.10: command not found
WARNING: `aclocal-1.10' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/bash /var/apps/btnx/config/missing --run automake-1.10 --gnu 
/var/apps/btnx/config/missing: line 54: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && /bin/bash /var/apps/btnx/config/missing --run autoconf
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 63
WARNING: `autoconf' is probably too old.  You should only need it if
         you modified `configure.ac'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure   --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBDAEMON... yes
checking for update-rc.d... update-rc.d
checking for su... /usr/bin/su
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
cd . && /bin/bash /var/apps/btnx/config/missing --run autoheader
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 63
autoheader: error: '/usr/bin/autom4te' failed with exit status: 63
WARNING: `autoheader' is probably too old.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/var/apps/btnx'
Making all in src
make[2]: Entering directory '/var/apps/btnx/src'
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT btnx.o -MD -MP -MF .deps/btnx.Tpo -c -o btnx.o btnx.c
btnx.c: In function ‘command_execute’:
btnx.c:187:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  187 |                 setuid(bev->uid);
      |                 ^~~~~~~~~~~~~~~~
mv -f .deps/btnx.Tpo .deps/btnx.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT config_parser.o -MD -MP -MF .deps/config_parser.Tpo -c -o config_parser.o config_parser.c
mv -f .deps/config_parser.Tpo .deps/config_parser.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
mv -f .deps/device.Tpo .deps/device.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT revoco.o -MD -MP -MF .deps/revoco.Tpo -c -o revoco.o revoco.c
mv -f .deps/revoco.Tpo .deps/revoco.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT uinput.o -MD -MP -MF .deps/uinput.Tpo -c -o uinput.o uinput.c
uinput.c: In function ‘uinput_init’:
uinput.c:59:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   59 |   write(uinput_mouse_fd, &dev_mouse, sizeof(dev_mouse));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c:67:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   67 |   write(uinput_kbd_fd, &dev_kbd, sizeof(dev_kbd));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c: In function ‘uinput_send_key’:
uinput.c:144:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  144 |                 write(fd, &event, sizeof(event));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c:151:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  151 |                 write(fd, &event, sizeof(event));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c:157:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  157 |         write(fd, &event, sizeof(event));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c: In function ‘uinput_send_mods’:
uinput.c:117:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  117 |                 write(uinput_kbd_fd, &event, sizeof(event));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uinput.c:122:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  122 |                 write(uinput_kbd_fd, &event, sizeof(event));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/uinput.Tpo .deps/uinput.Po
gcc -Wall -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2   -o btnx btnx.o config_parser.o device.o revoco.o uinput.o `pkg-config --libs libdaemon` 
make[2]: Leaving directory '/var/apps/btnx/src'
Making all in data
make[2]: Entering directory '/var/apps/btnx/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/apps/btnx/data'
make[2]: Entering directory '/var/apps/btnx'
make[2]: Leaving directory '/var/apps/btnx'
make[1]: Leaving directory '/var/apps/btnx'

Then I ran sudo make install

$ sudo make install
Making install in src
make[1]: Entering directory '/var/apps/btnx/src'
make[2]: Entering directory '/var/apps/btnx/src'
test -z "/usr/local/sbin" || /usr/bin/mkdir -p "/usr/local/sbin"
  /usr/bin/install -c 'btnx' '/usr/local/sbin/btnx'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/var/apps/btnx/src'
make[1]: Leaving directory '/var/apps/btnx/src'
Making install in data
make[1]: Entering directory '/var/apps/btnx/data'
make[2]: Entering directory '/var/apps/btnx/data'
test -z "/etc/init.d" || /usr/bin/mkdir -p "/etc/init.d"
  /usr/bin/install -c 'btnx' '/etc/init.d/btnx'
make  install-exec-hook
make[3]: Entering directory '/var/apps/btnx/data'
Registering init script
update-rc.d btnx start 49 2 3 4 5 . stop 49 0 1 6 .
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
make[3]: Leaving directory '/var/apps/btnx/data'
test -z "/etc/btnx" || /usr/bin/mkdir -p "/etc/btnx"
 /usr/bin/install -c -m 644 'events' '/etc/btnx/events'
make[2]: Leaving directory '/var/apps/btnx/data'
make[1]: Leaving directory '/var/apps/btnx/data'
make[1]: Entering directory '/var/apps/btnx'
make[2]: Entering directory '/var/apps/btnx'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/var/apps/btnx'
make[1]: Leaving directory '/var/apps/btnx'

Then I ended up with these files in /etc/btnx

$ ls -alp
total 24
drwxr-xr-x   2 root root  4096 Aug 29 12:23 ./
drwxr-xr-x 149 root root 12288 Aug 29 12:23 ../
-rw-r--r--   1 root root  6726 Aug 29 12:23 events

Events is a file which contains some key bindings. But I couldn't find btnx-config, as per the readme:

The configuration file itself is edited using the graphical program btnx-config. You must install and run btnx-config before btnx will work.

There are no instructions how to install btnx-config. Is it a separate program or part of this repository? I'm just trying this out and this doesn't seem to work due to the errors during making.

Also I tried to restart the service and it really seems broken:

$ sudo /etc/init.d/btnx restart
Restarting btnx : Button Extension - mouse button rerouter daemon
 btnx: Failed to kill previous btnx processes
btnx successfully stopped
 btnx: uinput modprobed successfully.
 btnx: Could not read the config manager file: No such file or directory
Segmentation fault (core dumped)
btnx failed to start during restart

EDIT: Ah, so I found btnx-config here: https://github.com/cdobrich/btnx-config
I think it would be useful to add a link to this in the README for clarity to newbies like me because these two repositories are clearly related.

Button presses execute both default and configured functionality

Hi, I am trying to configure side buttons on my Logitech MX mouse to perform zoom in / out functionality (CTRL +/-). I got it to be able to zoom in and out in Chrome, but it also does the default functionality (go back / forward) at the same time, which is not good.

Previous methods I used to get this to work also took care of "blocking" the default actions or making sure the app doesn't see them. Is there a way to do that with btnx?

Improve simplicity, in application startup, mapping keys, and installation.

Hey there, I am a huge fan of this project, and it's definitely the best out there if you're a gamer, however I think the project lacks a lot of attention due to the complexity of the installation and the ease of use of the program in general.

I remember I struggled quite a bit for a few hours just trying to install btnx and set it up. And for the average Linux gamer, I can imagine they get fed up with it quickly. Just a couple days ago after re-installation of Ubuntu I was struggling getting btnx-config installed, I tried compiling it from source and it didn't work, I ended up having to go to some random third-party website that had the binary.

I would love to contribute to this project to help improve it's simplicity, however I am worried that if I add features to the project and do a pull request, it will just be ignored. How can I help contribute?

btnx not starting at boot

Hi,
I have btnx installed and it works fine, however it does not start at boot and I have execute it manually after every boot. Mys /var/log/syslog shows it is trying to start:

Jun 30 08:02:14 lukas-mint btnx[885]: Starting btnx : Button Extension - mouse button rerouter daemon
Jun 30 08:02:14 lukas-mint btnx[885]:  btnx: uinput modprobed successfully.
Jun 30 08:02:14 lukas-mint btnx[885]:  btnx: Opening config file: /etc/btnx/btnx_config_Default
Jun 30 08:02:14 lukas-mint btnx[885]:  btnx: No configured mouse handler detected: No such file or directory
Jun 30 08:02:14 lukas-mint btnx[885]:  btnx: Looped through all configurations. Stopping.
Jun 30 08:02:14 lukas-mint btnx[885]:  btnx: Configuration file error.
Jun 30 08:02:14 lukas-mint btnx[885]: btnx failed to start (error code 150) - try btnx-config

but sudo /etc/init.d/btnx start works fine as well.
I am running Linux Mint 18.1 Cinnamon 64-bit.
Any ideas what is going wrong?

Build fails with newest Ubuntu updates.

Ubuntu 22.04.2 LTS 5.15.0-72-generic
"make" is failing with
cd . && aclocal-1.10 -I m4 /bin/bash: line 1: aclocal-1.10: command not found make: *** [Makefile:215: aclocal.m4] Error 127
Updating btnx/configure
am__api_version='1.10'
to
am__api_version='1.16'

and

btnx/Makefile ACLOCAL = aclocal-1.10
to
ACLOCAL = aclocal-1.16
as well as
AUTOMAKE = automake-1.10
to
AUTOMAKE = automake-1.16

Then rerunning configure and make
seems to fix the problem.

btnx daemon will sometimes not work

I've get following error when starting btnx:

$ sudo /etc/init.d/btnx start
Starting btnx : Button Extension - mouse button rerouter daemon
 btnx: uinput modprobed successfully.
 btnx: Opening config file: /etc/btnx/btnx_config_G502
 btnx: No configured mouse handler detected: No such file or directory
 btnx: Looped through all configurations. Stopping.
 btnx: Configuration file error.
btnx failed to start (error code 150)

It occurs all times, like starting btnx directly or using systemd. The funny thing is, it will work the next reboot, and the reboot after, the same result will happen.

Using debian testing. Just noticed it this week, worked fine before (but I commonly use hibernation to disk instead of shutdowns).

btnx startup

Hi,

I am having trouble successfully installing btnx. There are no errors after ./configure, make or make install, however once I run 'btnx' I get the error below.

btnx: uinput modprobed successfully.
btnx: Could not read the config manager file: No such file or directory
Segmentation fault (core dumped)

I am running a fresh install of Ubuntu 18.04.

Any help would be much appreciated.

Many thanks.

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.