-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orientation feature for linux #273
Conversation
from plyer.facades import Orientation | ||
|
||
|
||
class AndroidOrientation(Orientation): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be LinuxOrientation
|
||
|
||
def instance(): | ||
return AndroidOrientation() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return LinuxOrientation()
thx malverick i was doing the changes meanwhile you spotted it. :) |
@phunsukwangdu thanks 👍 could you add a try/except and throw a appropriate error just to exit cleanly when Xrandr is not installed. |
Using Thats the reason I removed it in #320 and implement it using |
Orientation feature for linux. It has been implemented with the help of xrandr.
Pr is in working condition and ready to be merged.