Comments (9)
@oliwa7 Have you been able to resolve this? I'm getting the same error
from btnx.
@jgierer12 @oliwa7 This is issue was marked closed, but if you are both having errors, I would like to know.
from btnx.
After playing around with it a bit today, I have been able to identify and resolve the issue. The problem was that I'm using Wayland, which by default doesn't support running GUI applications such as btnx-config
as root.
To circumvent this, I temporarily allow the root user to access the local user's X session by running
xhost +si:localuser:root
Then I run btnx-config
with sudo
and configure my mouse
sudo btnx-config
Finally, after closing btnx-config
, I revoke the root access with
xhost -si:localuser:root
from btnx.
@jgierer12 What distro and version of Linux are you running? If there are additional configuration steps necessary, I would like to document them.
I have been running Ubuntu since at least 18.04 where Wayland was default. I have not needed to make any xhost changes.
The only major change I had to make was starting to use from command line:
sudo btnx-config
Instead of kdesu. I have tried to note this in the documentation on this github when I became aware of the underlying permissions and privilege elevation changes going on.
from btnx.
I'm using Manjaro.
Details
Host: XPS 13 9370
OS: Manjaro Linux x86_64
Kernel: Linux 5.0.7-1-MANJARO
CPU: Intel i7-8550U (8) @ 4.0GHz
GPU: Intel UHD Graphics 620
Memory: 2715MiB / 15756MiB
Resolution: 1920x1080 @ 59.96Hz
Packages: 1384 (pacman)
Shell: fish 3.0.2
Terminal: tilix
DE: GNOME 3.32.0
Theme: vimix-doder
Icons: Suru++
Font: Inter 13
from btnx.
@jgierer12 @oliwa7 This is issue was marked closed, but if you are both having errors, I would like to know.
FYI
Same problem here under Xorg (Wayland is not an option for me) and Ubuntu 20.04
Thx for your help
ERROR LOG
btnx successfully stopped
btnx: uinput modprobed successfully.
btnx: Opening config file: /etc/btnx/btnx_config_mouseperfMX
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 during restart
from btnx.
@jgierer12 @oliwa7 This is issue was marked closed, but if you are both having errors, I would like to know.
FYI
Same problem here under Xorg (Wayland is not an option for me) and Ubuntu 20.04
Thx for your help
ERROR LOG
btnx successfully stopped
btnx: uinput modprobed successfully.
btnx: Opening config file: /etc/btnx/btnx_config_mouseperfMX
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 during restart
Can you post your configuration files, including the file path and file name you are using for the configuration file?
Is there any more to your error log?
from btnx.
@cdobrich @jgierer12 @oliwa7 Have you been able to resolve this? I'm getting the same error
from btnx.
@cdobrich @jgierer12 @oliwa7 Have you been able to resolve this? I'm getting the same error
What is the mouse you are trying to use with BTNX, by the way?
I mostly maintain BTNX for older mice. There is a more active newer application called Piper which is better for most modern mice. https://github.com/libratbag/piper
I only use BTNX when the mouse is not supported by Piper anymore.
from btnx.
Related Issues (11)
- Btnx not acknowledging mouse button
- build process failed on Pop!_OS HOT 1
- Build fails with newest Ubuntu updates. HOT 1
- Investigate auto-starting BTNX on unplug then re-plugin events
- Improve simplicity, in application startup, mapping keys, and installation. HOT 4
- scroll click key has gone nuts ... i want 'btnx to restore its default function !!! HOT 1
- Button presses execute both default and configured functionality HOT 3
- btnx not starting at boot HOT 11
- btnx daemon will sometimes not work HOT 1
- Btnx doesnt start on ubuntu 20.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btnx.