mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +00:00
update instructions
This commit is contained in:
parent
26a4e3d76d
commit
352de4d74a
19
README.md
19
README.md
@ -8,8 +8,25 @@ Tool to change the mapping of your input device buttons.
|
|||||||
|
|
||||||
# Running
|
# Running
|
||||||
|
|
||||||
|
First, install the package:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/sezanzeb/key-mapper.git
|
||||||
|
cd key-mapper
|
||||||
|
sudo python3 setup.py install
|
||||||
|
```
|
||||||
|
|
||||||
|
To keep injecting the mapping after closing the window, the daemon needs to
|
||||||
|
be running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo python3 setup.py install && sudo key-mapper-gtk -d
|
sudo key-mapper-service -d
|
||||||
|
```
|
||||||
|
|
||||||
|
To open the UI to modify the mappings, use:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo key-mapper-gtk -d
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also start it via your applications menu.
|
You can also start it via your applications menu.
|
||||||
|
@ -49,8 +49,8 @@ def get_dbus_interface():
|
|||||||
"""Get an interface to start and stop injecting keystrokes."""
|
"""Get an interface to start and stop injecting keystrokes."""
|
||||||
if not is_service_running():
|
if not is_service_running():
|
||||||
logger.warning(
|
logger.warning(
|
||||||
'The daemon is not running, mapping keys only works as '
|
'The daemon "key-mapper-service" is not running, mapping keys '
|
||||||
'long as the window is open.'
|
'only works as long as the window is open.'
|
||||||
)
|
)
|
||||||
return Daemon(autoload=False)
|
return Daemon(autoload=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user