Skip to content
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

Feature request for further actions on rotation #14

Closed
timdj opened this issue Dec 12, 2019 · 2 comments
Closed

Feature request for further actions on rotation #14

timdj opened this issue Dec 12, 2019 · 2 comments

Comments

@timdj
Copy link

timdj commented Dec 12, 2019

It would be nice if this tool could also call an external command on rotation (even different ones per direction) or integrate the following features:

I use this on a 2-1 tablet so when I fold my screen (and rotate) I manually call a script to disable the keyboard and mouse using

xinput float 16
xinput float 11

I also start onboard

When rotating back I close onboard and reattach the input devices.

What would be also very handy is if this rotate script would also automatically change the font subhinting in the right direction

@parkerlreed
Copy link

You can do this easily. Everything is in the helper script.

Add the actions you want to each if section

https://github.com/dos1/kded_rotation/blob/master/orientation-helper#L40

@timdj
Copy link
Author

timdj commented Feb 27, 2020

I did this. Thank you!

@timdj timdj closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants