input-remapper
input-remapper copied to clipboard
Support for ostree based operating systems (Fedora Silverblue for example)
Linux based immutable operating systems are becoming and more popular. I was wondering if it would possible to modify this really useful program to be compatible with such operating systems.
I have made a (dirty) fork (https://github.com/TSonono/input-remapper) for me to be able to use input-remapper on Fedora Silverblue. Would it be a change that you would consider accepting if I were to change the install destination of most files from /usr/**
to /usr/local/**
? The reason that this is needed is due to ostree based systems having a read-only filesystem for everything under the root directory except for /etc
and /var
. /usr/local
is however aliased to /var/usrlocal/
(in ostree based systems), which would make it compatible in ostree based operating systems.
If you can verify that the installation on Debian and Arch based distros still works after your changes, sure make a PR!
I don't think /usr/local
is the right place on other Fedora variants, not even os-tree based ones. /etc
and /var
for config and variable files, yes.
Or are you trying to use pip on Silberblue?
I don't think
/usr/local
is the right place on other Fedora variants, not even os-tree based ones./etc
and/var
for config and variable files, yes.Or are you trying to use pip on Silberblue?
As I mentioned, /usr/local
is aliased to /var/usrlocal
in ostree based systems.
I'm indeed using pip. Another option would be to create an rpm for this application and you could then layer it with rpm-ostree