[SOLVED] Rotate the monitor-display and the screen-desktop in KDE
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Rotate the monitor-display and the screen-desktop in KDE
I have a monitor which I can rotate 90 degrees clockwise from landscape to portrait setting and vice versa. I'm looking for a setting (preferredly realized as a shortcut) to rotate the contents i.e. my (KDE) desktop along.
In Windows *cough* I use <ctrl><alt><arrow> to switch the up-direction of the display to where I want it. Something like that is what I'm looking for in KDE as well. (For my hardware setup look in my signature).
"Ctrl+F8" for "kwin" : "ShowDesktopGrid"
"Ctrl+F9" for "kwin" : "Expose"
"Ctrl+F10" for "kwin" : "ExposeAll"
"Ctrl+F7" for "kwin" : "ExposeClass"
"Ctrl+F12" for "plasma-desktop" : "Show Dashboard"
"Alt+Tab" for "kwin" : "Walk Through Windows"
"Alt+Shift+Backtab" for "kwin" : "Walk Through Windows (Reverse)"
"Alt+F3" for "kwin" : "Window Operations Menu"
"Alt+F4" for "kwin" : "Window Close"
"Ctrl+Alt+A" for "kwin" : "Activate Window Demanding Attention"
"Meta+Alt+Up" for "kwin" : "Switch Window Up"
"Meta+Alt+Down" for "kwin" : "Switch Window Down"
"Meta+Alt+Right" for "kwin" : "Switch Window Right"
"Meta+Alt+Left" for "kwin" : "Switch Window Left"
"Ctrl+F1" for "kwin" : "Switch to Desktop 1"
"Ctrl+F2" for "kwin" : "Switch to Desktop 2"
"Ctrl+F3" for "kwin" : "Switch to Desktop 3"
"Ctrl+F4" for "kwin" : "Switch to Desktop 4"
"Alt+F12" for "kwin" : "Mouse Emulation"
"Ctrl+Alt+Esc" for "kwin" : "Kill Window"
"Alt+Print" for "kwin" : "Window Screenshot to Clipboard"
"Ctrl+Print" for "kwin" : "Desktop Screenshot to Clipboard"
"Alt+Shift+F12" for "kwin" : "Suspend Compositing"
"Alt+F2" for "krunner" : "Run Command"
"Alt+Shift+F2" for "krunner" : "Run Command on clipboard contents"
"Ctrl+Esc" for "krunner" : "Show System Activity"
"Ctrl+Alt+Ins" for "krunner" : "Switch User"
"Ctrl+Alt+L" for "krunner" : "Lock Session"
"Ctrl+Alt+Del" for "krunner" : "Log Out"
"Ctrl+Alt+Shift+Del" for "krunner" : "Log Out Without Confirmation"
"Ctrl+Alt+Shift+PgDown" for "krunner" : "Halt Without Confirmation"
"Ctrl+Alt+Shift+PgUp" for "krunner" : "Reboot Without Confirmation"
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Yes, I know those. They are from the control center (I think system settings sub-menu ... or keyboard? Dunno, I' sitting in front of a windows box right now ). But they lack the desired rotation keys. How can I create them?
Krandr is an application that sits in the system tray and handles screen resolution and rotation for KDE. (Sorry can't find a link to it). Not sure if it supports shortcut keys as I'm not infront of my desktop at the moment.
I noted that there's some work toward automatic screen rotation (Google Search). At least one of those links mention a short Bash script bound to a shortcut key that might do what you want.
Let us know if you get it working.
Last edited by redgoblin; 02-24-2011 at 05:20 AM.
Reason: Highlight application name
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Will do over the weekend and come back with the results.
This is part of my effort to create a multi user / multi seat setup in a congested space (more room when you can tilt the monitors ). Anybody with interest in this, feel free to support my feature request here: https://features.opensuse.org/310913. Thanks.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
@redgoblin Works like a charm. Thanks a load. I didn't find any possibility for a shortcut, though, same as you already mentioned. So, anybody who knows how to add that?
@GlennsPref You pulling my leg? Too easy/common? That's what the desktop linux user is drooling over . As to your first post: Do you know of a method to add to this list of shortcuts?
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Sorry to come back only this late. I had trouble with my setup which is only now resolved.
@ redgoblin & @ SaintDanBert: Automatic detection of a change of orientation would be nice. But the links are usually for netbooks / tablets and the like, I don't even know whether a "normal" monitor generates a signal when it is rotated (at least I found no pertinent information). So I'd settle for a manual setting. "Krandr" works with the mouse in a menu as posted, thanks.
@ GlennsPref & @ bluebox: openSuSE doesn't seem to know either "(x)bindkeys" or "xte" Are those two part of a package? Funny thing is, my installation doesn't know "Krandr" either, though it is there and works. I'm somewhat perplexed by this...
<edit> Btw. the second link of your last post times out, bluebox... </edit>
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Quote:
Originally Posted by GlennsPref
There's all types of Randr, krandr, xrandr...
Yes, I know. I still find it peculiar to have a working "*randr" on my system but YAST doesn't know about it. Now that you mention it, I didn't try xrandr from the command line, maybe it is there too.
Would you happen to know where I can find "(x)bindkeys" and "xte" or which packet they belong to?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.