To disable compositing in KWin, you can use the following command in your terminal:
```bash
qdbus org.kde.KWin /Compositor suspend
```
This command will suspend the compositor. If you want to re-enable it later, you can use:
```bash
qdbus org.kde.KWin /Compositor resume
```
Alternatively, you can also disable compositing through the KDE System Settings:
1. Open System Settings.
2. Go to "Display and Monitor."
3. Click on "Compositor."
4. Uncheck "Enable compositor on startup."
This will disable compositing until you manually re-enable it.