Skip to content

Request for brightness device choosing section #2318

@MorningMC

Description

@MorningMC

Step 1. Before you submit

  • I have read the Troubleshooting and Usage pages.
  • I've successfully updated to the latest version following the guidance.
  • I've successfully updated the system packages to the latest.
  • I've ticked the checkboxes without reading their contents

Step 2. Quick diagnose info

Quick diagnose

/========================
| Checking git repo info |
========================/

[===diagnose===] git remote get-url origin
https://github.com/end-4/dots-hyprland
[---SUCCESS---]

[===diagnose===] git rev-parse HEAD
44da20e
[---SUCCESS---]

/=================
| Checking distro |
=================/

[===diagnose===] ii_check_distro_id
distro ID: endeavouros
distro ID_LIKE: arch
[---SUCCESS---]

[===diagnose===] ii_check_distro
LSB Version: n/a
Distributor ID: EndeavourOS
Description: EndeavourOS Linux
Release: rolling
Codename: rolling
[---SUCCESS---]

/====================
| Checking variables |
====================/

[===diagnose===] declare -p XDG_CACHE_HOME
./diagnose: line 36: declare: XDG_CACHE_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_CONFIG_HOME
./diagnose: line 36: declare: XDG_CONFIG_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_DATA_HOME
./diagnose: line 36: declare: XDG_DATA_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_STATE_HOME
./diagnose: line 36: declare: XDG_STATE_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p ILLOGICAL_IMPULSE_VIRTUAL_ENV
declare -x ILLOGICAL_IMPULSE_VIRTUAL_ENV="~/.local/state/quickshell/.venv"
[---SUCCESS---]

/============================
| Checking directories/files |
============================/

[===diagnose===] ls -l /home/morningmc/.local/state/quickshell/.venv
total 16
-rw-r--r-- 1 morningmc morningmc 43 Aug 22 21:32 CACHEDIR.TAG
drwxr-xr-x 2 morningmc morningmc 4096 Aug 22 21:32 bin
drwxr-xr-x 3 morningmc morningmc 4096 Aug 22 21:32 lib
lrwxrwxrwx 1 morningmc morningmc 3 Aug 22 21:32 lib64 -> lib
-rw-r--r-- 1 morningmc morningmc 195 Aug 22 21:32 pyvenv.cfg
[---SUCCESS---]

/===================
| Checking versions |
===================/

[===diagnose===] Hyprland --version
Hyprland 0.51.1 built from branch at commit 71a1216abcc7031776630a6d88f105605c4dc1c9 ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
aquamarine 0.9.5
hyprlang 0.6.3
hyprutils 0.10.0
hyprcursor 0.1.13
hyprgraphics 0.2.0

no flags were set

[---SUCCESS---]

[===diagnose===] ii_check_quickshell_version
qt6-base 6.10.0-2
quickshell-git 0.2.0.r26.g3e32ae5-1
[---SUCCESS---]

/==============================================
| Finished. Output saved as "diagnose.result". |
==============================================/
(Optional) Do you agree to upload the file "diagnose.result" to the online pastebin (https://0x0.st)?
Notes:

  1. It is a public service and the logfile will be expired in 15 days.
  2. You should have a look at the content of "diagnose.result" before agreeing to upload it.
  3. Only agree when necessary, typically when you are creating an issue and not able to upload the "diagnose.result" file there or copy-paste the output directly.
    y=yes, n=no (default) ====>
    Uploading aborted.

Step 3. Describe the issue

sometimes brightnessctl's default brightness device may not be the correct device so I request for a entry to choose the correct brightness device to pass the argument with brightnessctl -d $DEVICE

For example, my brightness devices are:

Device 'nvidia_0' of class 'backlight':
	Current brightness: 100 (100%)
	Max brightness: 100

Device 'intel_backlight' of class 'backlight':
	Current brightness: 248 (50%)
	Max brightness: 496

Device 'input4::compose' of class 'leds':
	Current brightness: 0 (0%)
	Max brightness: 1

Device 'igc-08100-led1' of class 'leds':
	Current brightness: 0 (0%)
	Max brightness: 1

Device 'input4::capslock' of class 'leds':
	Current brightness: 0 (0%)
	Max brightness: 1

...

where brightnessctl defaults use the first device (nvidia_0), but intel_backlight is the truely effective one. Therefore, any brightness adjustments through quickshell (quickshell -c ii ipc call brightness {increment,decrement}, sliders, etc.) does not work.

Logs
<!-- Put your log content here!-->

Reminder

  • I agree that it's usually impossible for others to help me without my logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FEATUREFeature advice/request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions