KWin(窗口管理器)
KDE Plasma 工作空间可靠又灵活的窗口管理器,现在支持3D特效! |
特性预览
- 稳定和可靠
- 混成的 3D 效果
- 易于配置
- 改进的效率
KWin(发音 "kwin")是 KDE Plasma 桌面 的窗口管理器。它让你完全操控你的窗口,确保它们不是在妨碍工作而是在帮助你完成任务。它绘制窗口装饰,每个窗口顶部的栏,带有(可定制的)按钮比如关闭,最大化和最小化。他同样处理窗口移动和互相切换。
KWin支持混成特性(compositing), 意味着能够使用3D效果来处理你的窗口。这使得窗口管理更平滑,更容易,更有效和更自然。它的硬件要求非常的适当,几乎每个相当于2002年之后的现代系统都支持它。与某些硬件还存在一些问题,要了解更多信息,请点击 techbase
KWin 支持混成特性(compositing), 意味着能够使用 3D 效果来处理你的窗口。这使得窗口管理更平滑,更容易,更有效和更自然。它的硬件要求非常的适当,几乎每个相当于 2002 年之后的现代系统都支持它。与某些硬件还存在一些问题,要了解更多信息,请点击 techbase
Practical Features
Click with your right mouse button on a window decoration or use System Settings to access the new and easier configuration of KWin. Here you can enable effects to more efficiently manage your windows. You can for example use the Present Windows as the effect for window switching. Instead of showing you icons or very small previews of your applications, it arranges them in a grid so you can quickly choose the right one. Just use the ALT-TAB keysequence and keep the ALT key pressed. You can now use tab to switch through the windows or just activate the right one using the mouse. Hitting ALT-TAB keys quickly will show you the next window in the queue, just like it used to.
If your X server already supports compositing, switching it on is as easy as opening System Settings, opening the
module, choosing and enabling the checkbox . More advanced compositing settings (such as VSync operation, Direct rendering, compositing mode) are available through the dialog. Customising the behaviour of the KWin effects means opening the tab, and choosing the plugins you want to use. Please note that only a subset of the plugins works with XRender-based compositing. For the full experience, you need to use OpenGL mode.Employing motion physics, KWin provides your windows with a more natural feel. New desktop effects like the Cube desktop switcher and Magic Lamp minimize animation have been added. Improvements in the existing effects make window management smoother than ever. KWin has seen many performance improvements to enable these effects even on low-end hardware. Elaborate checks have been build in to ensure users with low-end hardware are not presented with an unusable setup. KWin detects the capabilities of the hardware and if needed gracefully scales its effects down. You can take control and disable these checks or change settings like the global animation speed to fine-tune your experience. When your computer is under heavy load, KWin will automatically disable the compositing temporarily to keep things running smoothly. It will notify you if it does so, and you can re-enable compositing by pressing SHIFT+ALT+F12. Finally, support for multiple screen handling has been improved in KWin using the new Kephal library. You can move maximized windows between Xinerama screens and the addition of external screens is handled correctly.
More information about what was introduced in KDE SC 4.2 can be found at the following link:
Tutorials
You want an application to launch in a specific size and position every time
Sometimes the screen position of an application is vital to your comfort, so use the flexibility of KWin to make sure it's always where you want it.
Position the window where you want it to open, then right-click on the title-bar, choosing
. This will open a settings window, with appropriate entries already made. All you need to do now is select the tab and check and . OK - you're finished!Script the window manager from the command line
Use the WMIface utility.
Customise the position of titlebar buttons
Take a look at
tab - and enable . The options open to you may depend on your distribution or theme, and it's clear that there is more to come.Perhaps you would like more space between the
button and the pair? So you will want to add a - two if you wish. The way to do it was not intuitive to me. The description on the customise page seems clear enough once you understand it, but it wasn't immediately to me.To simply move things around you work with the speciman titlebar - that is the dark blue bar with a large KDE on it. Drag icons there and you will see them move in the preview window at the bottom of the screen.
You may find that you have other icons available to you. A circle indicates that the button will set that window on all desktops. Another icon that you may find useful is Shade - a toggle between rolled up (titlebar only visible) and normal view. These icons are added by dragging from the text description window onto the speciman title bar - just position them as you want to use them.
If you prefer a Classic, KDE3-style Desktop
Right-click on your desktop - select
(or , in some distros). Change the from to . The whole desktop is now a folderview, and another right-click on the desktop will allow you to select . Set the folderview to the directory you want to use as your desktop.A video of KWin features
A demonstration of features is here
Open applications directly into a different desktop
Use commands like
kstart --desktop 4 kate
Using with small screens (eg Netbooks)
Make the window decorations smaller
tab - select .
Change the base fonts
On many netbooks the screen is very clear, so that reading fonts much smaller than you expect is feasible. On my Acer Aspire One I find that 8 point is a good base settings.
Make Firefox use smaller fonts
Experimentation with this website. Using that tool you can either set a specific font size, or better still, tell it to use your KDE desktop settings. This will work with Firefox as well as any gtk applications that you use.
did not bring satisfactory results. Do this instead. Download and install gtk-chtheme fromKMail's Aggregation options take up too much space
See this FAQ to change it.
KMail's Folder-List Tooltips hide too many folder names
See this FAQ to change their behaviour
Gallery
The Gallery holds many screenshots of past and present desktops and effects.