Skip to content

Brightness shortcut keys change contrast/gamma, not brightness. #166

@manaskarekar

Description

@manaskarekar

I apologize if this is not the right place to bring this up. I am using Lubuntu 20.04 LTS.

The Shortcut application is bound to lxqt-config-brightness instead of some variation of lxqt-backlight_backend.

The first command changes the gamma/contrast, not the brightness. The second one changes the brightness (at least as I understand it in this context).

Possible Solution

Binding the correct command in the shortcuts application should be able to address this but there are two issues. With that:

  1. lxqt-backlight_backend requires root permissions, but you can use pkexec lxqt-backlight_backend --inc[--dec].
  2. Neither of these seems to work if bound from the shortcut app. I tried enclosing the command in quotes but it wasn't saved with quotes in globalkeyshortcuts.conf. I couldn't manually save that in the file either.

I also tried creating an alias for the command and assigning that to the shortcut, but that doesn't work either.

All the lxqt-backlight_backend based solutions work from the terminal, but can't get the shortcuts to work.

The Brightness Settings application does the right thing.

Steps to Reproduce (for bugs)

Fire up the "Global Actions Manager" (the shortcuts app) and use brightness up shortcut to see the contrast changing. This is not what happens if you increase the brightness using the brightness application.

Context

This is a very basic feature and a major regression coming from LXDE. This feature is used (by me) multiple times a day and there is no clear way to set up the shortcut.

System Information
  • Distribution & Version: Lubuntu 20.04 LTS.
  • Kernel: 5.4.0-26.
  • Qt Version: 5.12.8
  • liblxqt Version: 0.14.1
  • lxqt-build-tools Version: Unsure
  • Package version: Unsure

I'd be more than happy to help! Apologies if I'm missing something obvious somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions