Questions tagged [kwin]

47 questions
18
votes
2 answers

More tiling with KDE

I fear that I go into conflicting requirements here, but I still want to ask. I have been using KDE for a while now and I do like its software (Konsole, Okular, Dolphin). I like KWin with its features a lot: Splitting windows on the left/right…
Martin Ueding
  • 2,682
  • 3
  • 31
  • 45
15
votes
3 answers

Disabling KWin compositor from command-line

Is there any way to disable KWin compositing effects from command-line? AFAIK it's possible to disable it via System settings->Hardware->Display and Monitor->Compositor but it requires a KWin restart.If I'm able to disable the compositor from…
Parsa Mousavi
  • 1,020
  • 2
  • 14
  • 27
14
votes
5 answers

How can I open a window on a different monitor?

With multiple monitors, I have so far been dragging windows manually around. Is there a way to make a window open on a specific screen in a dual-head setup? (Not to be confused with multiple X server displays.) Something like: SCREEN=2 firefox or…
Lekensteyn
  • 20,173
  • 18
  • 71
  • 111
13
votes
2 answers

How can I run a kwin script from the command line?

I wrote a really basic kwin script to tile windows how I like them, // Main reference: http://techbase.kde.org/Development/Tutorials/KWin/Scripting // Top-level parameters. Adjust these as suitable for your desktop. var width = 3840; var third =…
gatoatigrado
  • 555
  • 1
  • 7
  • 16
11
votes
2 answers

How can I set env variables so that KDE recognizes them?

I need to set some environment variables such as the XDG spec ones, before KDE starts in such a way that kwin and any apps run from KDE will inherit them. Where could I do this, and how?
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
9
votes
1 answer

What is the difference between the various tiling modes in KWin, and how do I use them?

There are 3 tiling modes in KDE: spiral, columns and floating. What does each do and how do make them work for me? For example, spiral seems to cut my screen in half then the next half another way. Is it possible to adjust it so that it's like 2/3?…
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
6
votes
1 answer

Choose on which monitor new windows appear in KDE

I am using KDE on Debian Jessie. Whenever I open an application, it appears on the first (left) screen. How do I change this? This happens with most applications. For example Vuze opens correctly on the monitor it has been before, but Double…
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
5
votes
2 answers

How do I run a KWin script from the console (to set focus to a specific window in KDE)?

I need to set focus to VirtualBox in KDE, I've written a KWin script for the purpose but I cannot figure out how to run it from console. What I have tried: This KWin script works in the Desktop Shell Scripting Console How to open the Desktop Shell…
JKAbrams
  • 223
  • 2
  • 9
4
votes
1 answer

Is there a way to get list of windows on KDE Wayland?

In the era of X11, I could do wmctrl -l to list available windows, that I can use in my scripts. $ wmctrl -l 0x01000050 0 my-pc project1 – Readme.md But nowadays most application use Wayland. The above command only shows windows that are running…
Ashark
  • 767
  • 7
  • 24
4
votes
2 answers

What commands are needed in the '~/.vnc/xstartup' file to run KDE Plasma 5 in VNC?

I am trying to run KDE 5 in a VNC session and although I get application windows like konsole, kate etc the shell I need for the Start Menus, taskbar, desktop background etc is not present. This is my current ~/.vnc/xstartup file. I also get a…
vfclists
  • 7,215
  • 14
  • 51
  • 79
4
votes
1 answer

How to restore display of window after unplugging and replugging 2nd monitor?

I have an HDMI monitor which I unplug and plug back into my laptop from time to time. When I unplug the monitor, all the windows are moved onto the laptop display. However, when I plug it back in, all the windows are moved onto the 2nd display…
Robin Green
  • 1,250
  • 3
  • 12
  • 28
4
votes
1 answer

After upgrade, X button in titlebar no longer closes xterm

In theory, pressing the close button should close an xterm. It did before I did an aptitude upgrade. (I'm running Debian testing). But now it doesn't—clicking the X does nothing—but only for some xterms. In particular, if I launch an xterm from the…
derobert
  • 107,579
  • 20
  • 231
  • 279
3
votes
2 answers

Show the window size while resizing

The question "how to know the geometry of a window, while resizing?" looked promising, but its single, accepted answer suggests to use CLI tools to resize a window to a specific size, so it's not answering my specific questions: Using a modern…
gboffi
  • 1,220
  • 1
  • 14
  • 30
3
votes
1 answer

How to run KWin script on startup, and what is installed script for if its not run at startup

Recently I've been playing with KWin script https://develop.kde.org/docs/plasma/kwin/ I understand that I can open the IDE for creating KWin script by either: running command qdbus org.kde.plasmashell /PlasmaShell…
Kristian
  • 209
  • 2
  • 12
3
votes
1 answer

KDE 5: How to achieve "new windows follow mouse" behavior on a dual screen setup

In KDE Plasma 5.19, I would like to achieve a window behavior which all new windows open on the same monitor that my cursor is on... I have this desired behavior working at my job, in an earlier version of Plasma. I did the following for that to…
1
2 3 4