Bug 1806322 - libinput-utils's replay command gives error: "No such file or directory: /etc/libinput/local-overrides.quirks"
Summary: libinput-utils's replay command gives error: "No such file or directory: /etc...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libinput
Version: 31
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-23 19:42 UTC by Didik Supriadi
Modified: 2020-02-24 00:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-24 00:01:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Didik Supriadi 2020-02-23 19:42:03 UTC
Description of problem:
`libinput replay` tried to find '/etc/libinput/local-overrides.quirks' when I tried to replay a touchpad event record.

Version-Release number of selected component (if applicable):
libinput-1.15.2-1.x86_64
libinput-utils-1.15.2-1.x86_64

How reproducible:
always

Steps to Reproduce:
1. create an event record:

`sudo libinput recored > touchpad.yml`
`# then choose touchpad device`

2. trigger touchpad events
3. Ctrl-C (to finish recording)

Actual results:
Error: failed to open device: [Errno 2] No such file or directory: '/etc/libinput/local-overrides.quirks'

Expected results:
Replay a previously recorded event stream.

Additional info:

Comment 1 Didik Supriadi 2020-02-23 19:51:02 UTC
(In reply to Didik Supriadi from comment #0)
> Steps to Reproduce:
> 1. create an event record:
> 
> `sudo libinput recored > touchpad.yml`
> `# then choose touchpad device`

*record (instead of recored)

> 
> 2. trigger touchpad events
> 3. Ctrl-C (to finish recording)

4. replay touchpad record:

`sudo libinput replay touchpad.yml`

Comment 2 Peter Hutterer 2020-02-24 00:01:46 UTC
Thanks, filed a merge request upstream, see https://gitlab.freedesktop.org/libinput/libinput/merge_requests/396

This will be fixed whenever the next libinput version comes out but since replay is a bit of a niche case anyway, I won't push out a separate fedora fix for that.
As a workaround for the issue, just sudo mkdir /etc/libinput and the error will be gone.


Note You need to log in before you can comment on or make changes to this bug.