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

    From KDE UserBase Wiki
    (Created page with "===为非 KDE 软件设置主题===")
    No edit summary
    (22 intermediate revisions by 3 users not shown)
    Line 4: Line 4:
    ===桌面主题===
    ===桌面主题===


    [[Special:myLanguage/Plasma/FAQ/4.4/Configuration |等离子常见配置页]]介绍如何获取和安装等离子桌面主题。
    [[Special:myLanguage/Plasma/FAQ/4.4/Configuration |Plasma 常见配置页]]介绍如何获取和安装 Plasma 桌面主题。


    ===为非 KDE 软件设置主题===
    ===为非 KDE 软件设置主题===


    The first thing to look at is <menuchoice>SystemSettings -> Appearance -> GTK+ Appearance</menuchoice> section - there you can select <menuchoice>Use my KDE fonts in GTK+ Applications</menuchoice>.
    首先要考虑的是<menuchoice> 系统设置- >外观 - > GTK +的外观</menuchoice> 部分 - 可以选择<menuchoice>在GTK+ 应用程序使用我的 KDE 字体</menuchoice>


    You can also use the [http://en.wikipedia.org/wiki/QtCurve QtCurve] to make GTK apps use the current Qt/KDE style. Instructions on how to install and use it for Kubuntu (you just get rid of apt-get specifics and use GUI package manager of your distribution instead of Ubuntu command line) can be found [http://maketecheasier.com/install-qtcurve-in-kde/2010/03/29 here]. Please refer to your distribution for packages.
    您也可以利用[http://en.wikipedia.org/wiki/QtCurve QtCurve]使 GTK 程序使用当前的 Qt / KDE 风格。在 Kubuntu 中安装和使用的说明(刚刚摆脱apt-get ,使用GUI 而不是命令行管理软件包)在[http://maketecheasier.com/install-qtcurve- in-kde/2010/03/29这里]。具体软件包请参考所用发行版。


    ===Theming KDE Applications to look like GTK applications===
    ===KDE 程序看起来像 GTK 程序===


    Since Qt 4.5 release, there is support for gtk themes for Qt GUI styles.  In most distributions this will be available from KDE software version 4.3.
    自从 Qt 4.5 发布,Qt 的图形用户界面风格就支持 GTK 主题。大多数发行版从 KDE 4.3 就提供了这一功能。


    === Making Qt applications share the color scheme of KDE4 applications ===
    ===使 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.
    解决方案:主目录可能遗留 KDE3 的 .kde 配置目录,Qt 优先使用.kde 而不是 .kde4 目录中的设置。可以重命名或删除 .kde/share/config/kdeglobals 文件,这将 Qt 会使用.kde4/share/config/kdeglobals 文件。下一次 KDE3 的应用程序启动时,它会重新生成.kde .kde/share/config/kdeglobals 文件,使用 KDE3 的默认主题和颜色,但这不会影响 Qt应用程序的颜色。


    ===Title Bar Buttons===
    ===标题栏按钮===


    Open <menuchoice>System Settings -> Appearance</menuchoice>, and select <menuchoice>Windows</menuchoice>, and take a look on the <menuchoice>Button</menuchoice> 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.
    打开<menuchoice>系统设置 -> 外观</menuchoice> ,然后选择<menuchoice>窗口</menuchoice> ,打开<menuchoice>按钮</menuchoice>标签。在这里可以自定义标题栏上的按钮。 '''_'和正方形代表这是什么?、最小化和最大化按钮。 'H'是一个间隔。可以根据需要增加一个或多个。您的版本也可能有一个圆圈 - 这是一个单选按钮,用于设置显示在所有桌面。


    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==
    [http://thinkmoult.com/2012/06/20/tech-tip-11-how-to-have-animated-wallpapers-in-kde/ Moult 的博客] "在 KDE 中如何有动态壁纸" 有介绍怎么用脚本通过播放器来模拟动态壁纸。


    ===Using KDE Desktop Effects===


    The use of ''Desktop Effects'' is controlled by '''KWin'''.  You can see more information about them on the [[Special:myLanguage/KWin#Feature_Overview|KWin]] page.
    ==桌面效果==


    ===Using Compiz with Plasma Desktop===
    ===使用KDE桌面效果===


    Install '''compiz'''. Open '''System Settings''', choose the <menuchoice>Session Manager</menuchoice> module in the <menuchoice>Advanced</menuchoice> tab, choose <menuchoice>compiz</menuchoice> in the ''Window Manager'' combobox and restart your desktop.
    桌面特效的使用由'''KWin''' 控制。更多关于它们的信息位于[[Special:myLanguage/KWin#Feature_Overview|KWin]] 页面。


    ==Sound Problems==
    ===Plasma桌面中使用 Compiz ===


    * Take a look at [[Special:myLanguage/Sound_Problems|the Sound Problems page]]
    安装'''compiz'''。打开'''系统设置''',选择<menuchoice>会话管理</menuchoice>模块中<menuchoice>高级</menuchoice>标签,在窗口管理器组合框选择<menuchoice> compiz</menuchoice>并重启桌面。


    [[Category: Tutorials]]
    ==声音问题==
    [[Category:Configuration]]
     
    *访问[[Special:myLanguage/Sound_Problems|声音问题页面]]
     
    [[Category:教程/zh-cn]]
    [[Category:配置/zh-cn]]

    Revision as of 05:28, 6 December 2012

    改变外观

    桌面主题

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

    为非 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 的应用程序会变成正确的颜色,但重启后会变回。

    解决方案:主目录可能遗留 KDE3 的 .kde 配置目录,Qt 优先使用.kde 而不是 .kde4 目录中的设置。可以重命名或删除 .kde/share/config/kdeglobals 文件,这将 Qt 会使用.kde4/share/config/kdeglobals 文件。下一次 KDE3 的应用程序启动时,它会重新生成.kde .kde/share/config/kdeglobals 文件,使用 KDE3 的默认主题和颜色,但这不会影响 Qt应用程序的颜色。

    标题栏按钮

    打开系统设置 -> 外观 ,然后选择窗口 ,打开按钮标签。在这里可以自定义标题栏上的按钮。 '?'、'_'和正方形代表这是什么?、最小化和最大化按钮。 'H'是一个间隔。可以根据需要增加一个或多个。您的版本也可能有一个圆圈 - 这是一个单选按钮,用于设置显示在所有桌面。

    可以根据自己的喜好重新。例如,左撇子可能更喜欢从左边而不是右边对齐控件。

    添加动画壁纸

    Moult 的博客 "在 KDE 中如何有动态壁纸" 有介绍怎么用脚本通过播放器来模拟动态壁纸。


    桌面效果

    使用KDE桌面效果

    桌面特效的使用由KWin 控制。更多关于它们的信息位于KWin 页面。

    Plasma桌面中使用 Compiz

    安装compiz。打开系统设置,选择会话管理模块中高级标签,在窗口管理器组合框选择 compiz并重启桌面。

    声音问题