KDE (简体中文)

From ArchWiki

Jump to: navigation, search


i18n
English
Español
Italiano
Czech
简体中文

==欢迎来到ARCH LINUX KDE WIKI

Contents

何处获得kde 4.2:

Arch Linux news:

"Today, on January 27th, the KDE team announces the stable version of KDE 4.2.0, so we have moved all kde-packages from [testing] to [extra].
We suggest that you exit from KDE before you update, backup your ~/.kde4 configuration dir and start with a clean config.
Take a look at old plasmoids, they might not work with the new Plasma.
You can find the ChangeLog on: http://www.kde.org/announcements/4.2/
For any problems (we hope there are not) please use the bugtracker or the arch-general mailing list as usual."

To make sense of the myriad kde features, a flash video and a visual guide can be found at: http://www.kde.org/announcements/4.2/

软件包安装或升级:

全新安装或升级到kde4.2:
pacman -Sy kde

You might also want the "extragears" distributed with kde which offers additional applications

pacman -S kde-extragear

安装对应的语言文件

pacman -S kde-l10n-yourlanguagehere

已知问题:

  • If pacman wants to replace packages: Answer YES :-)
  • if khotkeys doesn't work create ~/.kde4/Autostart/reloadkhotkeys.sh with contents
#!/bin/bash
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &

and then do a

chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh

then logout & login.

  • For thumbnails of videos in konqueror and dolphin download mplayerthumbs from AUR. There is no difference between mplayerthumbs and mplayerthumbs-kde, so one of them is redundant.
  • System Tray Icons sometimes look ugly. Known problem, fixed in qt 4.5. To see how to use and compile newest beta qt see: http://bbs.archlinux.org/viewtopic.php?pid=492095#p492095
  • At the time of writing not all KDE-based packages have been rebuilt for use with new KDE or "legacy libs". If you cannot wait, installing kdelibs3 should make them work.
  • If you start KDM with inittab make sure to change its path from /opt/kde to /usr
  • Don't force the upgrade ( -f); report a bug instead
  • The first login takes a while; don't worry about this. It's creating new configs etc.
  • If you use an nvidia card and use the 173.14.x drivers read How to get decent performance on KDE 4 using a NVIDIA graphics card, also see nvidia/nvnews linux forum for newest drivers & (speed)help. (The 180.22-1 nvidia driver in the extra repository fixes this). You can also upgrade qt: http://bbs.archlinux.org/viewtopic.php?pid=492095#p492095

降级到kdemod3 或者kde3-legacy

针对那些觉得kde4还没有对他们准备好的人,there is a website about how to downgrade to a version of KDE 3.5 called kdemod3:

For those people who decide that KDE 4.2 AND kdemod3 are not for them, there is a forum thread about how to downgrade to or keep KDE 3.5:

Samba/Windows 支持

If you want to have access to Windows services:

pacman -S samba

Java 支持

pacman -S jre

打印支持

It's currently probably best to use CUPS with the web frontend. Printers configured thus are available in KDE applications.

Proper printing configuration support (i.e. KDEPrint) is scheduled for KDE 4.2

默认字体

If you experience problems with the default font settings, e.g. special characters for your language do not appear, try to set the fonts in the System Settings app to a font which supports those characters.

KDM Xserver file

An example configuration for KDM can be found at /usr/share/config/kdm/kdmrc. See /usr/share/doc/HTML/en/kdm/kdmrc-ref.docbook for all options.

HAL

Add "hal" to the DAEMONS array in /etc/rc.conf for full media functionality.

GPG and SSH

To disable gpg-agent and/or ssh-agent in KDE sessions, edit /usr/env/agent-startup.sh and /usr/shutdown/agent-shutdown.sh.

Kdebindings:

Kdebindings has been built with support for Java and GTK. If you want to use these features use the following pacman command:

pacman -S gtk jdk

为KDM改变DPI设定:

As root open the file /usr/share/config/kdm/kdmrc, and add the following to the [X-:*-Core] section:

ServerArgsLocal=-dpi 96

(Substitute "96" for whichever DPI you want.) Then exit KDE and restart X with Ctrl+Alt+Backspace.

Note: This only applies if you are using KDM. If you are not using KDM, then the file you want to edit is /usr/X11/bin/startx. There you will see a line for defaultserverargs. Add "-dpi 96" (or whichever DPI you want) and restart X.

Theming KDE 4

KDE 4 themes may be downloaded from < kde-look.org > . Once downloaded, you may unpack the theme and build it from source. The commands:

$ cmake .
$ make
$ su
# make install

usually suffice to install the theme successfully, but always make sure to check the "README" or "INSTALL" files. DeKorator ( available in the AUR ) is a convenient way to change the window decoration of KDE without building themes from source. However, it would appear that there may currently be version compatability issues with DeKorator / DeKorator themes and KDE 4.2.

GTK and KDE 4 Themes

The best way that I have found to provide good overlap between GTK and KDE 4 themes is to use the QTCurve packages.

# pacman -Sy qtcurve-gtk2 qtcurve-kde4

Also, if you're using oxygen icons and want a consistent look in gtk open/save dialogs, you might want to install oxygenrefit2 icon theme from aur, and set it as your gtk icon theme, by adding to .gtkrc-2.0 (or .gtkrc-2.0.mine if your .gtkrc-2.0 includes it)

# gtk-icon-theme-name = "OxygenRefit2"

Split KDE packages

KDEmod is a community-based modular version of KDE 4, which includes a number of UI enhancements. See KDEmod for more information.

Bugs:

If you think you found a bug, please verify that this bug also happens with a newly created user with a clean setup. Some bugs happen due to misconfiguration in config files. If the new user doesn't have the bug, try to move the config files of your existing user.

KDE 4 config files are usually located at /home/$user/.kde4/share/config and for app-specific configs /home/$user/.kde4/share/apps.

额外链接

Personal tools