Re:KDE Plasma Is Not a Desktop Environment
by alxlaz on Thursday April 13, 2023 @04:44AM
(#35552676)
If you're on X11, you should be able to use xdotool, which doesn't depend on KDE doing anything in particular. No idea what the equivalent is if you're on Wayland.
xdotool can move a window?
Re:KDE Plasma Is Not a Desktop Environment
by alxlaz on Saturday April 15, 2023 @08:44AM
(#35580140)
Yes! See the windowmove command!
Re:KDE Plasma Is Not a Desktop Environment
by qiqitori on Thursday April 13, 2023 @08:23AM
(#35554303)
You can do Alt+F3 ↓ ↓ ↓ → enter and then move the window using cursors keys (and hit enter to apply the window position)
You can also assign a shortcut to get to this point (in Shortcuts -> Global Shortcuts -> System Settings -> Move Window).
I don't think you can get what you're asking for without writing a tiny script and setting it to be invoked with your keyboard shortcut.
While it works, the problem with "Alt+F3 ↓ ↓ ↓ →" is that when I move the window afterwards, the cursor keys get passed through to the window. So when I do that on Firefox, the website scrolls up and down. When I do it on a terminal, it invokes my bash history.
Re:KDE Plasma Is Not a Desktop Environment
by ankurdhama on Saturday April 15, 2023 @02:12AM
(#35578070)
Try the arrow key(s) (after selecting resize in window menu) while pressing down Super key.
Which one is the "Super Key"? If it is the window key - that one in combination with the arrows is already mapped to tiling functions. Window+UP makes the current window take half of the screen on the upper side.
Re:KDE Plasma Is Not a Desktop Environment
by ankurdhama on Saturday April 15, 2023 @09:43AM
(#35580567)
Oh sorry, use shift key + arrow keys. Not the super key.
But this is about a different task: I want to move the current window 10px up when I press ctrl+meta+uparrow.