Closed Bastien-mva closed 2 years ago
I think it does not find my keyboard since when I am replacing /dev/input/by-path/platform-i8042-serio-0-event-kbd
with nothing, i am getting the same issue.
I tried to build it from source but I am getting the following error:
without any mouseless files popping
Hi, the problem is that mouseless cannot create the virtual mouse, probably due to missing permission, have you also run the second command with sudo like this: sudo ./mouseless ...
?
You can install the program by copying it to a location where Linux searches for binaries, e.g. ~/.local/bin
or /usr/local/bin
, then you can call it directly with sudo mouseless ...
.
I tried but it gives me a blank line for 5 minutes:
bastien@bastien:~/.local/bin$ ls
mouseless pkginfo twine wheel
bastien@bastien:~/.local/bin$ sudo ./mouseless --config ~/.config/mouseless/config.yaml
and it does not work and j
is actually writing when I press it, so that it does not work.
I tried to put it in ~/.local/bin
and then running
mouseless pkginfo twine wheel
bastien@bastien:~/.local/bin$ sudo mouseless --config ~/.config/mouseless/config.yaml
sudo: mouseless: command not found
bastien@bastien:~/.local/bin$
, giving me an error.
I also tried on /usr/local/bin
:
bastien@bastien:/usr/local/bin$ ls
mouseless nsys nsys-ui nvtop pyright pyright-langserver xmouseless
bastien@bastien:/usr/local/bin$ sudo mouseless --config ~/.config/mouseless/config.yaml
giving me a blank line and j
is actually writing when I press it.
mouseless works a little different than xmouseless, it keeps running all the time and the mouse bindings are activated only when one switches to the mouse layer. With the default config, this is e.g. achieved by holding down the tab key, then the mouse bindings are activated until tab is released again. Or one can press tab+space to switch to the mouse layer, and go back with q again.
You can also use the --debug flag to see if mouseless is doing something.
OK I see, Thanks for the explanation, it works very fine now.
Thanks )
Hello,
Thanks for the repo. I was before using xmouseless, but with the upgrade of ubuntu to the 22.04 version, I had to rebuilt xmouseless but it did not worked anymore, so I am trying to make mouseless work.
I am quite a novice, and I am trying to figure out how to make mouseless working. I have found my keyboard in
"/dev/input/by-path/platform-i8042-serio-0-event-kbd
so that I replace this on the third line of the config.yaml file given in the configuration (only the third line has changed) :It is located in
~/.config/mouseless
.Since
sudo mouseless --config ~/.config/mouseless/config.yaml
is returningmouseless: command not found
, I am guessing I have to install mouseless before, so that I ran./mouseless
when I am on thedist
directory downloaded previsouly, but it is giving me the following error:ERRO[0000] Failed to init the virtual mouse: could not create relative axis input device: could not open device file
Can anyone help me ?Thanks for your help.