Comments (4)
Thanks, an Arch package is cool. Could you please submit a PR to add Arch installation instructions to this repo?
About rotation: How would you automatically detect which screen needs to be rotated?
Is this your example? The best way to try to improve automirror would be adding a test case with your xrandr output and then twiddling with the script till all the tests pass.
I think a test to compare width and height between the screens and applying rotation if the comparison is different, e.g. if on one screen width is bigger than height and on the other screen height is bigger than width. That way automirror would always adapt rectangular screens to match.
Which laptop model do you use? I have never seen something like this. Or is this a tablet?
from automirror.
from automirror.
Sorry, "PR" meant GitHub Pull Request on this (my) repo to add Archlinux install instructions to the README
.
In general automirror is really meant as an automated tool which is why so far there is only a single (-i
) command line argument. It is meant to run via hotkey even in situations where the screen setup prevents regular interaction, e.g. because Linux autoconfigured itself to 640x480.
So to follow your thoughts within the mindset of automirror, there should be two features:
- Add logic to automatically decide upon screen rotations under certain circumstances. For that part you would first create a new test case with the desired behavior (xrandr input leading to desired xrandr command line options) and then implement the code for that.
- (Optionally) Add a configuration file with custom presets or preferences so that users can direct automirror to correctly handle the specifics of their hardware.
- Add ui elements to the interactive mode to change/set screen rotation, overriding the automated decision.
The features should probably be added in this order.
I won't have time to implement this myself but I'll be happy to support/coach you through doing it.
from automirror.
Could you please submit a PR to add Arch installation instructions to this repo?
I have no idea how and where to submit a press release. I created the Arch package in the AUR (→ here), and it is findable for everyone who searches the AUR.
Sorry, "PR" meant GitHub Pull Request on this (my) repo to add Archlinux install instructions to the
README
.
Pull request is too advanced/ much work for me. I don't know git besides git clone
, git pull
, git add
, git commit
and git push
. And it reads like a lot of work compared to a little change, where you are at the source and can simply make the change.
It is enough to just link to the package, Arch Linux users who know how to use the AUR have then enough knowledge to go on; those who don't know would need to read the Arch Wiki about AUR anyway.
So, regarding the mention of the Arch Linux package in the README
, if you want to have it mentioned I ask you to put it in.
Regarding the other things (autorotation), I am not going to do anything; I see I don't really use this software. Feel free to close this issue as "not planned" after you have decided about the README
.
from automirror.
Related Issues (4)
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 automirror.