btnx won't start

Bug #696883 reported by Musigreg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
btnx
Fix Committed
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

installation OK, MX Revolution config OK.
Then restart of Btnx for changing a button and it won't restart.
Tried reinstalling, tried rebooting... Nothing. It won't work anymore.

Revision history for this message
Musigreg (greg-drouin) wrote :

Tried the terminal:

~$ btnx-config
/usr/share/btnx-config/btnx-config.glade

(btnx-config:2727): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(btnx-config:2727): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(btnx-config:2727): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Warning: configuration file for configuration "Default" does not exist. Deleting configuration.
Abandon

Then I tried:

~$ btnx
Le programme « btnx » n'est pas installé. Vous pouvez l'installer en saisissant :
sudo apt-get install btnx
(Meaning it's not installed and that I should get it)

So:

~$ sudo apt-get install btnx

New packages installed and then:

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) - try btnx-config

Hope I detailed enough...

Revision history for this message
Musigreg (greg-drouin) wrote :

I tried something I found on the web, and it worked.

"try removing /etc/btnx/btnx_manager and /etc/btnx_config_Default then running the config again
sudo rm /etc/btnx/btnx_manager
sudo rm btnx_config_Default sudo btnx-config If that does not work then try reinstalling the package
sudo apt-get --reinstall install btnx btnx-configthen
sudo btnx-config"

That's the post I found. But I couldn't go further than "sudo rm /etc/btnx/btnx_manager" and then I started btnx from the terminal, and it's OK. It works.

Apparently it came from the default config file it didn't find, and deleting "btnx_manager" seemed to solve the issue.
I'll try to make this all post resolved.

Changed in btnx:
status: New → Fix Committed
affects: btnx (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Invalid
Revision history for this message
longbuxu (longbuxu02) wrote :

I'm writing to confirm the method above. It works!
After force closing btnx-config, it won't open any more. Restart, purge remove, re-install won't work.

You have to delete 2 configs files: /etc/btnx/btnx_manager and /etc/btnx_config_Default.
In folder /etc/btnx, there's another file /etc/btnx/events, don't delete this "events" file.
If you do, just reinstall the packages.

Then btnx-config will work again.
This is one of the counter-intuitive hassles of linux world that make me jump back to Windows, MacOS.
LBX.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.