<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:x-small"><span style="font-size:small">On Tue, Oct 16, 2018 at 4:43 PM Daniel Lima de Almeida <<a href="mailto:dwlsalmeida@gmail.com">dwlsalmeida@gmail.com</a>> wrote:</span><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Albert,</div><br><div>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.</div><br><div>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.</div><br><div>As for xbacklight, do you have any other suggestions? We could use sysfs, but writing to it generally requires root.</div><br><div>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.</div><br><br><br><br><div><u></u><div><div>Sent from <a href="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" target="_blank">Mailspring</a>, the best free email app for work</div></div><u></u></div><div class="gmail-m_-504171025259309840gmail_quote_attribution">On Oct 16 2018, at 8:00 am, <a href="mailto:kdeconnect-request@kde.org" target="_blank">kdeconnect-request@kde.org</a> wrote:</div><blockquote><br><div><div>Send KDEConnect mailing list submissions to</div><div><a href="mailto:kdeconnect@kde.org" target="_blank">kdeconnect@kde.org</a></div><br><div>To subscribe or unsubscribe via the World Wide Web, visit</div><div><a href="https://mail.kde.org/mailman/listinfo/kdeconnect" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a></div><div>or, via email, send a message with subject or body 'help' to</div><div><a href="mailto:kdeconnect-request@kde.org" target="_blank">kdeconnect-request@kde.org</a></div><br><div>You can reach the person managing the list at</div><div><a href="mailto:kdeconnect-owner@kde.org" target="_blank">kdeconnect-owner@kde.org</a></div><br><div>When replying, please edit your Subject line so it is more specific</div><div>than "Re: Contents of KDEConnect digest..."</div><br><br><div>Today's Topics:</div><br><div>1. Re: Initial attempt at implementing an autobrightness plugin.</div><div>(Albert Vaca)</div><br><br><div>----------------------------------------------------------------------</div><br><div>Message: 1</div><div>Date: Mon, 15 Oct 2018 17:48:40 +0200</div><div>From: Albert Vaca <<a href="mailto:albertvaka@gmail.com" target="_blank">albertvaka@gmail.com</a>></div><div>To: <a href="mailto:kdeconnect@kde.org" target="_blank">kdeconnect@kde.org</a></div><div>Subject: Re: Initial attempt at implementing an autobrightness plugin.</div><div>Message-ID:</div><div><CAAQViEtVavyE1hG-CEdVSVhGucAuvny1ceMqSF8=<a href="mailto:0H2ra3o8hA@mail.gmail.com" target="_blank">0H2ra3o8hA@mail.gmail.com</a>></div><div>Content-Type: text/plain; charset="utf-8"</div><br><div>Hi Daniel,</div><br><div>The use case for this plugin looks really obscure to me. Can you explain a</div><div>bit the "why" of this plugin?</div><br><div>Also, depending on xbacklight seems like a bad idea because it won't work</div><div>on Wayland.</div><br><div>Last, the mailing list is not ideal for sending and reviewing patches: You</div><div>should use Phabricator [1] instead.</div><br><div>[1] <a href="https://phabricator.kde.org/project/view/159/" target="_blank">https://phabricator.kde.org/project/view/159/</a></div><br><div>Albert</div><br><div>On Sun, Oct 14, 2018 at 6:49 PM Daniel Lima de Almeida <</div><div><a href="mailto:dwlsalmeida@gmail.com" target="_blank">dwlsalmeida@gmail.com</a>> wrote:</div><br><blockquote><br><div>I've been working on this feature for a few days and I am now stuck, since</div><div>I'm not familiar with Qt or CMake at all. I'd appreciate some feedback.</div><br><div>Sorry for the cruft, I got lost a bit with git and I feel I've needlessly</div><div>added some files.</div><br><div>[image: Open Tracking]</div></blockquote><div>-------------- next part --------------</div><div>An HTML attachment was scrubbed...</div><div>URL: <<a href="http://mail.kde.org/pipermail/kdeconnect/attachments/20181015/1f9e7598/attachment-0001.html" target="_blank">http://mail.kde.org/pipermail/kdeconnect/attachments/20181015/1f9e7598/attachment-0001.html</a>></div><br><div>------------------------------</div><br><div>Subject: Digest Footer</div><br><div>_______________________________________________</div><div>KDEConnect mailing list</div><div><a href="mailto:KDEConnect@kde.org" target="_blank">KDEConnect@kde.org</a></div><div><a href="https://mail.kde.org/mailman/listinfo/kdeconnect" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a></div><br><br><div>------------------------------</div><br><div>End of KDEConnect Digest, Vol 57, Issue 32</div><div>******************************************</div></div></blockquote><img class="gmail-m_-504171025259309840mailspring-open" alt="Open Tracking" width="0" height="0" style="border: 0px; width: 0px; height: 0px;" src="https://link.getmailspring.com/open/1539699841.local-13978c45-1dba-v1.4.2-f587b7b7@getmailspring.com?recipient=a2RlY29ubmVjdEBrZGUub3Jn"></blockquote><div><br></div><div><div class="gmail_default" style="font-size:x-small">Hi Daniel,</div></div><div class="gmail_default" style="font-size:x-small">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).</div><div class="gmail_default" style="font-size:x-small">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.</div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default" style="font-size:x-small">As for the final control, it should at least use UPower dbus interface instead of xbacklight.</div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default" style="font-size:x-small">If you want to look into doing this properly, maybe reaching out to Richard and asking how he'd do this could be interesting.</div><div class="gmail_default"><font size="1"><a href="https://blogs.gnome.org/hughsie/2015/02/05/ambient-light-sensors-2/">https://blogs.gnome.org/hughsie/2015/02/05/ambient-light-sensors-2/</a></font><br></div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default" style="font-size:x-small">Aleix</div></div></div></div>