Comments (12)
Will this do? Just need to add Javascript.
from brightness.
Cool!
2014-11-20 11:29 GMT+01:00 Archisman Panigrahi [email protected]:
Now? Just need to add JS.
[image: now]
https://cloud.githubusercontent.com/assets/3063132/5123109/2b9b8b88-70ce-11e4-8e44-7fd9c91ca7dc.png—
Reply to this email directly or view it on GitHub
#47 (comment).
Zlatan Vasović - ZDroid
from brightness.
I was thinking, what is the maximum number of monitors supported by Linux?
Instead of several sliders - and controllers - lets use just one slider per option.
I am going to provide a mockup soon about this.
from brightness.
@rcragun - can you please provide output of the command xrandr from terminal?
Here is the mockup I was talking about:
@apandada1 and @zdroid
I should mention that it will support an arbitrary number of devices - which will be determined at runtime.
Although in that case, saving and loading brightness value will be a bit - messy.
from brightness.
Let's use two sliders for easily saving saving values. The other (master control) will not be saved.
Current State
from brightness.
@LordAmit This is still one-way. I can send signal from HTML to Python but not Python to HTML. That is why, I can execute commands from HTML via Python but cannot use Python to execute XRANDR and send the output to HTML.
Maybe, if we can run another Python file inside HTML, it can be done. But I have no idea whether it can be done. But that is another issue.
from brightness.
Sigh.
You can't run python inside html. And sending signal from html to python to system to call a system command to execute something will take a lot of time.
Which's why I kept asking for a working prototype. I am almost certain that the html based UI will lag anyway. >.<
from brightness.
Prototype is ready. Check https://github.com/apandada1/Brightness/tree/HTML
The main intention of HTML is to save settings automatically and easy designing, not stop lagging.
from brightness.
I am not sure if you wanted the full output of xrandr:
Screen 0: minimum 320 x 200, current 2560 x 2224, maximum 32767 x 32767
VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
HDMI1 connected 1600x1200+529+1024 (normal left inverted right x axis y axis) 160mm x 90mm
1920x1080 60.0 + 59.9 30.0 24.0 30.0 24.0
1920x1080i 60.1 60.0
1600x1200 60.0*
1680x1050 59.9
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1360x768 60.0
1280x800 59.9
1152x864 75.0
1280x720 60.0 59.9
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3
720x480 60.0 59.9
640x480 75.0 72.8 66.7 60.0 59.9
720x400 70.1
HDMI2 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
from brightness.
@rcragun Could you try this. https://dl.dropboxusercontent.com/u/84627545/brightness-controller_0.1_all.deb
from brightness.
It is functional. I can control two screens while the third is connected but not receiving output or while all three are receiving output. "Display Number" might be confusing, since it is really the display number of the spsecific type indicated whereas above you have "Display 1" and "Display 2" (following a different numbering pattern).
from brightness.
@rcragun I thought if there are two types of display (one VGA and one HDMI) and the first is VGA1, the second will be HDMI2.
But actually, the second is HDMI1. So I need to rewrite some code.
from brightness.
Related Issues (20)
- Sync brightness level across multiple monitors
- Installation failure using yay.... failure occurred in build() [manjaro linux, gnome DE] HOT 1
- Tray Icon HOT 1
- The brightness resets(or we can say the brightness is lost) to full brightness if there comes a new chat message in skype on the ubuntu-20.04. HOT 4
- Crashes when /dev/i2c-* are not accessible for the user
- Fedora package
- Simple for 21+ Current Python3 Version - with Reduced Feature Set HOT 7
- Installation via AUR Failed HOT 1
- Installed with pip, no hassle. But cannot change brightness (can change RGB) of the secondary monitor, Samsung LF27T35, connected by HDMI. Debian 11 on an HP Notebook. Can change brightness of primary display, but have buttons for that already. HOT 1
- Upgrade doc for pip HOT 1
- ModuleNotFoundError: No module named 'brightness_controller_linux HOT 2
- Error when changing color temperature
- Wayland is actually supported. HOT 4
- Make appimage format support HOT 1
- Unable to add repository HOT 3
- Can't pin to dock HOT 4
- Cannot run brightness-controller after installing. Python error with index out of range. HOT 2
- How I handle on Debian 12 HOT 3
- Additionnal actions for installation with pip
- Brightness controller has no effect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brightness.