lawrence-chiappelli / screendimmer Goto Github PK
View Code? Open in Web Editor NEWScreen dimming software developed for Arch Linux.
Home Page: https://aur.archlinux.org/packages/screendimmer/
License: MIT License
Screen dimming software developed for Arch Linux.
Home Page: https://aur.archlinux.org/packages/screendimmer/
License: MIT License
I am using manjaro xfce
I click the system tray icon with right click but most of times accidentally closing the application.
Can you add confirmation for quitting
Also swipe buttons Donate and Quit will be better for protecting accidentally closing as i do.
I've been thinking about mousewheels on tray icons, and I thought it would be a good suggestion for screendimmer.
screendimmer
works great as a tray menu for both internal and external screens, but other solutions like brillo don't manage that well.
Could it be possible to have the ability to use screendimmer
from the command-line with arguments that get passed to the running process?
Maybe that's beyond the project scope, but I just thought it would be nice to have the same app do both, and maybe it would help keep the app stay in sync with the brightness status (because it hasn't been changed by another app).
Thanks again!
Started happening yesterday or so
Exception caught initializing the UI:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 32, in __init__
self.init_ui()
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 42, in init_ui
self._apply_properties()
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 205, in _apply_properties
self._switch_brightness_func(index_repr)() # Apply last brightness
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 375, in _hundred
self.stage_brightness(1.0)
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 99, in stage_brightness
configutil.save_changes()
File "/usr/lib/python3.10/site-packages/screendimmer/configutil.py", line 61, in save_changes
with open(ini_config, 'w') as new_changes:
PermissionError: [Errno 13] Permission denied: '/etc/screendimmer/brightness.ini'
Is this feature supposed to work as a software dimmer or hardware dimmer? I just installed it from aur and all it does is reducing contrast with no impact on actual monitor brightness.
I turned on my third monitor later, it's quite bright :)
i like to have everything on a macro and when i use my normal sh script to kill screen dimmer the effect remains after the program is closed
#!/bin/bash
PID=`ps -eaf | grep screendimmer| grep -v grep| grep -v bash| awk '{print $2}'`
if [[ "" != "$PID" ]]
then
echo "killing $PID"
kill $PID
else
echo "PID not found"
fi
Exception caught initializing the UI:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 32, in __init__
self.init_ui()
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 41, in init_ui
self._apply_connections()
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 181, in _apply_connections
[(i, monitor.triggered.connect(self._switch_monitor_func(i))) for i, monitor in enumerate(self.monitors)]
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 181, in <listcomp>
[(i, monitor.triggered.connect(self._switch_monitor_func(i))) for i, monitor in enumerate(self.monitors)]
File "/usr/lib/python3.10/site-packages/screendimmer/tray.py", line 251, in _switch_monitor_func
return switcher[index]
KeyError: 3
I would love to have an option to set the brightness back at normal (100%) on application exit, so the next time we run screendimmer
it doesn't change the brightness until we ask it explicitly.
I have it running automatically on my computer (Arch Linux), and the evening/night I set the brightness (from screendimmer
tray icon) to 30%.
The problem is when I turn on my computer the morning, since I can barely see the screen.
In my case, normal brightness level (100%) reset at the app exit would be the easiest (instead of manually setting it to 100% during the night).
Thank you for considering this request for enhancement.
Hi
I would like to know if your soft can also be able to control the output or the overall bright/dimm of a session ? Like if we run xrdp, can it be possible to have it dim ..
Also, while i did install your app over arch EndeavourOs , on a hp microserver Gen8 with a vga port, it don't do anything. not quite sure.. xrandr --current do give all rez possible .. but will try over a nuc later.
thanks
Hello. I have been using https://github.com/Fushko/gammy but that's now depricated for https://github.com/Fushko/gummy which is just CLI.
I know it would be something other than a menu, so feel free to close if out of scope, but how about a slider for adjusting the brightness? Hidden behind a flag? Maybe on left click (as that does nothing when I try it)?
02:47:23 milk@red:~ % screendimmer
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/screendimmer", line 33, in <module>
sys.exit(load_entry_point('screendimmer==0.4.2', 'gui_scripts', 'screendimmer')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/screendimmer", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for screendimmer
I have extra/python-importlib-metadata 5.1.0-2 (40.3 KiB 186.7 KiB) (Installed)
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.