dreadpiratelynx / input-remapper-xautopresets Goto Github PK
View Code? Open in Web Editor NEWAutomatic input-remapper preset manager for systems with access to xdotool and xprop
License: GNU General Public License v3.0
Automatic input-remapper preset manager for systems with access to xdotool and xprop
License: GNU General Public License v3.0
Under Ubuntu 22.04 with xdotool version 3.20160805.1, xdotool does not have a getwindowclass option.
Running input-remapper-xautopresets getwindowinfo therefore doesn't provide the window class, instead producing the error xdotool: Unknown command: getwindowclassname and window name.
One fix could be to use xprop WM_CLASS instead.
In my testing I've not been able to change preset based on window title, which I assume is because the class isn't matching as the logs show empty classes for all windows.
Hi, I am running into multiple errors during installation.
[martin@192 input-remapper]$ bash /home/martin/Downloads/input-remapper-xautopresets-main/install
Copying automation script (input-remapper-xautopresets) to /home/martin/.local/bin...
cp: cannot stat 'local/bin/': No such file or directory
Done!
Making executable...
chmod: cannot access '/home/martin/.local/bin/input-remapper-xautopresets': No such file or directory
chmod: cannot access '/home/martin/.local/bin/xautopresets-config': No such file or directory
Creating configuration file (xautopresets.ini) in /home/martin/.config/input-remapper...
/home/martin/Downloads/input-remapper-xautopresets-main/install: line 55: xautopresets-config: command not found
Done!
Copying .service file (input-remapper-xautopresets.service) to /home/martin/.config/systemd/user...
cp: cannot stat 'config/systemd/': No such file or directory
Done!
Reloading systemd daemon...
Done!
Enabling service to start at user login...
Failed to enable unit: Unit file input-remapper-xautopresets.service does not exist.
Failed to enable service!
Installation Failed!
Starting service...
Failed to start input-remapper-xautopresets.service: Unit input-remapper-xautopresets.service not found.
Done!
Installation Complete!
I checked the paths that throw No such file or directory
:
/home/martin/.local/bin
exist and there should be no problem.
I found out that in RHEL like system input-remapper-xautopresets.service
should be located in /etc/systemd/system/
as the directory /home/martin/.config/systemd/user
really does not exist.
I tried to copy the files manually and run the xautopresets-config script, but again similar error occurs:
[root@192 martin]# bash /home/martin/.local/bin/xautopresets-config
/home/martin/.local/bin/xautopresets-config: line 10: cd: /root/.config/input-remapper: No such file or directory
I believe the path should be: /home/martin/.config/input-remapper
or at least that's where I found the folder with input-remapper config and presets. Here I fall short as I am not well enough versed in shell scripts and have no idea what xautopresets-config script is supposed to create there. So far it seems like an issue with relative paths in RHEL-like systems, but it could be something else.
I would be really grateful for any help.
Thank you in advance.
install
is using the wrong filename when trying to make xautopresets-config
executable.
uninstall
is failing to remove xautopresets-config
The new method of retrieving window titles did not account for the possibility of quotation marks within the title. As such, titles are cut short at the first such mark. Will work on a fix
Hi,
I'm not able to get this working under Kubuntu 22.04 and Logitech MX Master 3 mouse. Hopefully, it's just a matter of wrong config on my part...
Basically, I want to bind the thumb button to the Toggle Fullscreen
action inside my browsers and Toggle ZenMode
inside IDEs.
This configuration works without input-remapper-xautopresets
. But I would like to use the xautopresets as well since I'm using different shortcuts. In IDEs I want to trigger Shift+Alt+K
while in browsers I want to trigger F11
.
Can you please review my configuration and point out what' wrong with it and help me make it work?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.