Creating keyboard shortcut for rotating screen.

Hello, I tend to rotate my monitor frequently, and it is getting tedious to go into settings everytime to rotate the resolution. Is there any way to create a keyboard shortcut to set my monitor's rotation? Ideally, I would like something that works similarly to how irotate.exe works on Windows. Any help would be appreciated.
3 Replies
iMightBeSpyduck
Are you on kde or gnome? On KDE you could create some script using kscreen-doctor . There is probably some script on net that you could use just change your output and your defined rotation values. After that you can add script to shortcuts.
iMightBeSpyduck
for example here is script cycle through orientation for one output . https://reddit.com/r/kde/comments/11vrbwc/how_do_i_rotate_the_screen_on_kde_with_wayland/
Reddit
From the kde community on Reddit
Explore this post and more from the kde community
Thinkninjas
ThinkninjasOP3d ago
I think i am on kde i will look into this thank you. I was able to use that post to help make some keyboard shortcuts thank you.

Did you find this page helpful?