Workspace Configuration/Desktop Configuration/zh-cn: Difference between revisions

From KDE UserBase Wiki
(Created page with "===使 Qt 应用程序共享 KDE4 的配色方案===")
(Created page with "某些 KDE4 下运行的程序(Qt4应用程序)不使用 KDE4 的应用程序配色方案,表现是具有奇怪的背景颜色、白色按钮白色文本等。如果通过<...")
Line 18: Line 18:
===使 Qt 应用程序共享 KDE4 的配色方案===
===使 Qt 应用程序共享 KDE4 的配色方案===


Some applications (Qt4 applications) running under KDE4 do not share the same color scheme as KDE4 applications, have an odd background color, or have white text on white buttons, etc.  If you change the palette/color scheme in <menuchoice>System Settings -> Appearance -> Colors</menuchoice>, the Qt applications you have running become the correct color, but change back once they are restarted.
某些 KDE4 下运行的程序(Qt4应用程序)不使用 KDE4 的应用程序配色方案,表现是具有奇怪的背景颜色、白色按钮白色文本等。如果通过<menuchoice>系统设置->外观 -> 颜色</menuchoice> 更改调色板/颜色配置,Qt 的应用程序会变成正确的颜色,但重启后会变回。


''Solution'' You may have a leftover .kde folder from KDE3 in your home directory, and Qt looks at it first instead of the .kde4 settings folder.  You can either rename or remove the .kde/share/config/kdeglobals file, which will cause Qt to use the .kde4/share/config/kdeglobals file instead.  The next time a KDE3 application is started, it will regenerate the .kde/share/config/kdeglobals file, and will use the default KDE3 theme and colors, but will not affect the Qt applications colors.
''Solution'' You may have a leftover .kde folder from KDE3 in your home directory, and Qt looks at it first instead of the .kde4 settings folder.  You can either rename or remove the .kde/share/config/kdeglobals file, which will cause Qt to use the .kde4/share/config/kdeglobals file instead.  The next time a KDE3 application is started, it will regenerate the .kde/share/config/kdeglobals file, and will use the default KDE3 theme and colors, but will not affect the Qt applications colors.

Revision as of 05:12, 30 May 2011

改变外观

桌面主题

等离子常见配置页介绍如何获取和安装等离子桌面主题。

为非 KDE 软件设置主题

首先要考虑的是 系统设置- >外观 - > GTK +的外观 部分 - 可以选择在GTK+ 应用程序使用我的 KDE 字体

您也可以利用QtCurve使 GTK 程序使用当前的 Qt / KDE 风格。在 Kubuntu 中安装和使用的说明(刚刚摆脱apt-get ,使用GUI 而不是命令行管理软件包)在in-kde/2010/03/29这里。具体软件包请参考所用发行版。

让 KDE 程序看起来像 GTK 程序

自从 Qt 4.5 发布,Qt 的图形用户界面风格就支持 GTK 主题。大多数发行版从 KDE 4.3 就提供了这一功能。

使 Qt 应用程序共享 KDE4 的配色方案

某些 KDE4 下运行的程序(Qt4应用程序)不使用 KDE4 的应用程序配色方案,表现是具有奇怪的背景颜色、白色按钮白色文本等。如果通过系统设置->外观 -> 颜色 更改调色板/颜色配置,Qt 的应用程序会变成正确的颜色,但重启后会变回。

Solution You may have a leftover .kde folder from KDE3 in your home directory, and Qt looks at it first instead of the .kde4 settings folder. You can either rename or remove the .kde/share/config/kdeglobals file, which will cause Qt to use the .kde4/share/config/kdeglobals file instead. The next time a KDE3 application is started, it will regenerate the .kde/share/config/kdeglobals file, and will use the default KDE3 theme and colors, but will not affect the Qt applications colors.

Title Bar Buttons

Open System Settings -> Appearance, and select Windows, and take a look on the Button tab. Here you can customise the buttons in the title bar. '?', '_' and the square represent the What's this?, minimise, and maximise buttons. 'H' is a spacer. One or more can be added as desired. Your version may also have a circle - this is the ring of a radio button, the setting for showing windows in all desktops.

You can re-arrange them as you prefer. Left-handed people, for instance, may prefer to align the controls from the left, instead of from the right.


Desktop Effects

Using KDE Desktop Effects

The use of Desktop Effects is controlled by KWin. You can see more information about them on the KWin page.

Using Compiz with Plasma Desktop

Install compiz. Open System Settings, choose the Session Manager module in the Advanced tab, choose compiz in the Window Manager combobox and restart your desktop.

Sound Problems