KDEConnect Digest, Vol 57, Issue 32

Aleix Pol aleixpol at kde.org
Tue Oct 16 23:25:27 BST 2018


On Tue, Oct 16, 2018 at 4:43 PM Daniel Lima de Almeida <
dwlsalmeida at gmail.com> wrote:

> Albert,
>
> I find myself manually setting brightness way too often. At night the
> display stays brighter than I'd like until I finally notice it is hurting
> my eyes. If I suspend the laptop during the day, it will also blind me when
> I first open the lid at night.
>
> I feel with this we can just forget it, the same way it works for our
> phones. It will also work whenever we change the amount of light in the
> environment (e.g. by switching lights on and off at night) without manual
> intervention. In the end, it is just yet another small luxury for all of us.
>
> As for xbacklight, do you have any other suggestions? We could use sysfs,
> but writing to it generally requires root.
>
> I'm sorry I didn't use Phabricator. Do you have any tips on how to use
> that? I'd be happy to do it the proper way.
>
>
>
>
> Sent from Mailspring
> <https://link.getmailspring.com/link/1539699841.local-13978c45-1dba-v1.4.2-f587b7b7@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=a2RlY29ubmVjdEBrZGUub3Jn>,
> the best free email app for work
> On Oct 16 2018, at 8:00 am, kdeconnect-request at kde.org wrote:
>
>
> Send KDEConnect mailing list submissions to
> kdeconnect at kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.kde.org/mailman/listinfo/kdeconnect
> or, via email, send a message with subject or body 'help' to
> kdeconnect-request at kde.org
>
> You can reach the person managing the list at
> kdeconnect-owner at kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of KDEConnect digest..."
>
>
> Today's Topics:
>
> 1. Re: Initial attempt at implementing an autobrightness plugin.
> (Albert Vaca)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 15 Oct 2018 17:48:40 +0200
> From: Albert Vaca <albertvaka at gmail.com>
> To: kdeconnect at kde.org
> Subject: Re: Initial attempt at implementing an autobrightness plugin.
> Message-ID:
> <CAAQViEtVavyE1hG-CEdVSVhGucAuvny1ceMqSF8=0H2ra3o8hA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Daniel,
>
> The use case for this plugin looks really obscure to me. Can you explain a
> bit the "why" of this plugin?
>
> Also, depending on xbacklight seems like a bad idea because it won't work
> on Wayland.
>
> Last, the mailing list is not ideal for sending and reviewing patches: You
> should use Phabricator [1] instead.
>
> [1] https://phabricator.kde.org/project/view/159/
>
> Albert
>
> On Sun, Oct 14, 2018 at 6:49 PM Daniel Lima de Almeida <
> dwlsalmeida at gmail.com> wrote:
>
>
> I've been working on this feature for a few days and I am now stuck, since
> I'm not familiar with Qt or CMake at all. I'd appreciate some feedback.
>
> Sorry for the cruft, I got lost a bit with git and I feel I've needlessly
> added some files.
>
> [image: Open Tracking]
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.kde.org/pipermail/kdeconnect/attachments/20181015/1f9e7598/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> KDEConnect mailing list
> KDEConnect at kde.org
> https://mail.kde.org/mailman/listinfo/kdeconnect
>
>
> ------------------------------
>
> End of KDEConnect Digest, Vol 57, Issue 32
> ******************************************
>
> [image: Open Tracking]


Hi Daniel,
I agree this doesn't seem to belong to KDE Connect. We could use it to
provide the lighting value to compensate for the laptops that don't have
light sensors (some do).
Overall this feels more like a workaround rather than a solution to a
problem. A problem that exists though, I too have a laptop without this
sensor and I saw myself looking for how to detect lighting.

As for the final control, it should at least use UPower dbus interface
instead of xbacklight.

If you want to look into doing this properly, maybe reaching out to Richard
and asking how he'd do this could be interesting.
https://blogs.gnome.org/hughsie/2015/02/05/ambient-light-sensors-2/

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20181017/04713984/attachment.html>


More information about the KDEConnect mailing list