Skip to content

Keybind setting's key capture using Niri keysyms while on Hyprland #2683

Description

@Vach-Viraj

Compositor

Hyprland

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was this your original Installation method?

No response

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: Arch Linux
    • ID: arch, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.4.0-685-g2f370197
    • /usr/bin/dms
  • [ok] Quickshell: Quickshell 0.3.0 (revision , distributed by Arch Linux)
    • /usr/bin/qs
  • [ok] DMS Shell: v1.5-beta
    • /usr/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /usr/share/quickshell/dms
  • [ok] shell.qml: Present
    • /usr/share/quickshell/dms/shell.qml
  • [info] Install Type: System package
    • /usr/share/quickshell/dms

Compositor

  • [ok] Hyprland: 0.55.4
    • /usr/bin/hyprland
  • [info] Active: Hyprland
  • [warn] Background Blur: Unsupported
    • Compositor does not support ext-background-effect-v1

Quickshell Features

  • [ok] Polkit: Available
    • Authentication prompts
  • [ok] IdleMonitor: Available
    • Idle detection
  • [ok] IdleInhibitor: Available
    • Prevent idle/sleep
  • [ok] ShortcutInhibitor: Available
    • Allow shortcut management (niri)
  • [ok] BackgroundBlur: Available
    • Background blur API support in Quickshell

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [warn] power-profiles-daemon: Not available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [ok] cups-pk-helper: Available
    • Printer management
  • [ok] I2C/DDC: 2 monitor(s) detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (1 formats)
    • Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [warn] kimageformats: Not installed
    • AVIF, HEIF, JXL support
  • [ok] Terminal: kitty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [ok] khal: Installed
    • Calendar events
  • [ok] danksearch: Installed
    • File search
  • [info] fprintd: Not installed
    • Fingerprint auth

Config Files

  • [ok] settings.json: Present
    • /home/glhuun/.config/DankMaterialShell/settings.json
  • [ok] clsettings.json: Present
    • /home/glhuun/.config/DankMaterialShell/clsettings.json
  • [info] plugin_settings.json: Not yet created
    • /home/glhuun/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/glhuun/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/glhuun/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [ok] greetd: enabled

Environment

  • [info] QT_QPA_PLATFORMTHEME: Not set
  • [info] QS_ICON_THEME: Not set

Fonts

  • [ok] Normal Font: Arimo Bold
    • Available
  • [ok] Monospace Font: JetBrainsMono NF
    • Available

Summary: 0 error(s), 3 warning(s), 34 ok

Description

When trying to set a keybind that uses the scroll wheel as an input, the key capture outputs Niri sysmkeys despite being used on Hyprland. This isn't corrected when being written to binds-user.lua, causing Hyprland to throw up an error message.

Expected Behavior

No response

Steps to Reproduce

  1. Try to set a keybinding on through the DMS settings panel while using Hyprland
  2. Save the binding.

Error Messages/Logs

No response

Screenshots/Recordings

dms-hyprland-key-capture-bug.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions