WayfireWM / WayfireWM/wayfire

Need to configure output with unstable names

Open
#2,766 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement PRs-welcome
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

My laptop, ROG Flow X13, is 360-convertible and has a touchscreen, but its output name is unstable; depending on some dynamic factors (seen [1] for longer explanation) it may be eDP-1 or eDP-2. So I need to configure its scaling (can be done with kanshi, but IMO a builtin method could be better?), and to configure touchscreen input binding (input-device.*.output = eDP-?). For now I need to edit config file for the binding part. We can either

  1. expose IPC interface to configure input device -> output binding, or
  2. add builtin matching rules for output.

Which do you prefer?

Btw binding stylus to eDP-* doesn't work, should this be a separate issue?

[1] the laptop has a mux-switch for its nvidia GPU, and the name changes when I turn on/off dGPU and reboot.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing configuration handling for input-device.*.output and the proposed IPC interface. Compare the two approaches against the unstable eDP-1/eDP-2 names and touchscreen binding needs, then clarify the preferred design and whether stylus matching belongs in a separate issue. Done means a documented implementation scope with a way to match the changing output name.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.