https://wiki.archlinux.org/api.php?action=feedcontributions&user=Nixxx&feedformat=atomArchWiki - User contributions [en]2024-03-28T14:58:05ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=KDE&diff=177337KDE2012-01-07T15:45:41Z<p>Nixxx: /* Starting KDM as a daemon */</p>
<hr />
<div>{{Merge|KDE Desktop Tricks}}<br />
[[Category:Desktop environments (English)]]<br />
{{i18n|KDE}}<br />
[[de:KDE]]<br />
[[fr:KDE]]<br />
<br />
{{Article summary start}}<br />
{{Article summary text|For users on Linux and Unix, KDE offers a full suite of user workspace applications which allow interaction with these operating systems in a modern, graphical user interface. This article covers its installation, configuration, and troubleshooting.}}<br />
{{Article summary text|KDE uses the [[Qt]] toolkit.}}<br />
{{Article summary heading|Overview}}<br />
{{Article summary text|{{Graphical user interface overview}}}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Plasma}}<br />
{{Article summary wiki|Qt}}<br />
{{Article summary wiki|KDevelop 4}}<br />
{{Article summary end}}<br />
<br />
From [http://www.kde.org/community/whatiskde/softwarecompilation.php KDE - KDE Software Compilation]:<br />
<br />
:''The KDE Software Compilation grew out of the history of the KDE Project. In its inception, KDE was formed to create a beautiful, functional and free desktop computing environment for Linux and similar operating system. At the time, these systems lacked a graphical user environment that could rival the offerings from the larger proprietary operating system vendors. KDE was created to fill this gap.''<br />
<br />
:''The KDE Software Compilation is the set of libraries, workspaces, and applications produced by KDE that share this common heritage, and continue to use the synchronized release cycle. Software may move in and out of this semi-formally defined collection depending on the particular needs of the contributors who are working on that software, with exceptions made to ensure that binary compatibility remains at the library level throughout any major release of the compilation.''<br />
<br />
From [http://www.kde.org/download/ KDE - Getting KDE Software]:<br />
<br />
:''KDE software consists of a large number of individual applications and a desktop workspace as a shell to run these applications. You can run KDE applications just fine on any desktop environment. KDE applications are built to integrate well with your system's components. By using also KDE workspace, you get even better integration of your applications with the working environment while lowering system resource needs.''<br />
<br />
==Overview==<br />
<br />
'''KDE 4.7''' Software Compilation is the current major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important features of the Arch Linux KDE SC in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* You can use different Phonon backends, like Gstreamer or VLC<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Always check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
Information about upstream changes is available [http://kde.org/announcements/4.7 here]<br />
<br />
==Installation==<br />
<br />
=== Full install ===<br />
<br />
To install the entire KDE set, first '''fully upgrade your system''':<br />
<br />
# pacman -Syu<br />
<br />
and then:<br />
<br />
# pacman -S kde<br />
<br />
or<br />
<br />
# pacman -S kde-meta<br />
<br />
{{Note|Learn about the difference between kde and kde-meta packages in the [[KDE Packages]] article.}}<br />
<br />
If you need language files:<br />
<br />
# pacman -S kde-l10n-yourlanguagehere<br />
<br />
e.g. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
{{Note| KDE 4.x does not need Gamin or Fam packages for monitoring changes on local files and directories [[#Monitoring_changes_on_local_files_and_directories|see more]]}}<br />
<br />
=== Minimal install ===<br />
<br />
If you want to have a minimal installation of the KDE SC, here is an example:<br />
<br />
# pacman -S kdebase kde-l10n-yourlanguagehere phonon-vlc<br />
<br />
You can choose phonon-gstreamer instead phonon-vlc.<br />
<br />
{{Note| You need to install a ttf-* package. phonon-vlc already requires ttf-freefonts, but when using phonon-gstreamer you should add ttf-dejavu or another too. For more information see {{Bug|26012}}.}}<br />
<br />
==Starting KDE==<br />
<br />
[[Daemon#Performing daemon actions manually|Start the dbus daemon]] and add dbus to your [[Daemons#Starting on Boot|DAEMONS array]] so it starts automatically on boot.<br />
<br />
Starting KDE depends on your preferences. Basically there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== Using KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [[Display Manager|full article]] concerning display managers, before you make any changes. See also [[KDM]] Wiki page.''<br />
<br />
==== Starting KDM through /etc/inittab [''recommended''] ==== <br />
<br />
Edit '''{{ic|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
==== Starting KDM as a daemon ====<br />
Add "'''kdm'''" (without the quotes) to daemons array in '''{{ic|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(syslog-ng dbus network crond ... '''kdm''')<br />
<br />
{{Note| In both methods KDM starts at boot and loads Xorg automatically.}}<br />
<br />
===Using xinitrc===<br />
''The meaning and usage of '''xinitrc''' is very well described [[Xinitrc|here]].<br />
<br />
Edit '''{{ic|/home/}}'''{{ic|''your-username''}}'''{{ic|/.xinitrc}}'''. Then uncomment:<br />
exec ck-launch-session startkde <br />
After a reboot or/and login, each execution of Xorg ('''startx''' or '''xinit''') will start KDE automatically.<br />
<br />
{{Warning| By doing this you may have restart/shutdown functions disabled in your KDE menu.}}<br />
<br />
{{Note| If you want to start Xorg at boot, please read [[Start X at boot]] article.}}<br />
<br />
==Configuration==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [[Plasma]] wiki page.<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes. <br />
<br />
====Plasma Desktop====<br />
<br />
[[Plasma]] is a desktop integration technology that provides many functions from displaying the wallpaper, adding widgets to the desktop, and handling the panels or "taskbar".<br />
<br />
=====Themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76 Plasma themes] can be installed through the Desktop Settings control panel. Plasma themes define how your panels and plasmoids look like. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
=====Widgets=====<br />
Plasmoids are little scripted or coded KDE apps that enhance the functionality of your desktop. There are two kinds, plasmoid scripts and plasmoid binaries.<br />
<br />
Plasmoid binaries must be installed using PKGBUILDS from [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v AUR]. Or write your own PKGBUILD.<br />
<br />
The easiest way to install plasmoid scripts is by right-clicking onto a panel or the desktop:<br />
<br />
Add Widgets -> Get new Widgets -> Download Widgets<br />
<br />
This will present a nice frontend for [http://www.kde-look.org/ kde-look.org] and allows you to (un)install or update third-party plasmoid scripts with just one click.<br />
<br />
Most plasmoids are not created officially by KDE developers. You can also try installing Mac OS X widgets, Microsoft Windows Vista/7 widgets, Google Widgets, and even SuperKaramba widgets.<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in<br />
System Settings -> Workspace Appearance -> Window Decorations<br />
There you can also directly download and install more themes with one click and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
Please go to [[Uniform Look for QT and GTK Applications]].<br />
<br />
====Icon Themes====<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Application Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Arch Linux Logo Icon in Kicker menu====<br />
Right click on the Kicker menu button, press '''Application launcher settings''' and then press the icon on the '''right'''. Then you may choose an Arch Linux icon or any other icon that will replace the default one.<br />
<br />
Official logos, icons, CD labels and other artwork for Arch Linux are provided in the {{Pkg|archlinux-artwork}} package. After installing you can find such artwork at {{ic|/usr/share/archlinux/}}.<br />
<br />
====Fonts====<br />
<br />
===== Fonts in KDE look poor =====<br />
<br />
Try installing the [http://www.archlinux.org/packages/extra/any/ttf-dejavu/ ttf-dejavu] and [http://www.archlinux.org/packages/community/any/ttf-liberation/ ttf-liberation] packages. <br />
<br />
After the installation, be sure to log out and back in. You should not have to modify any settings in the "Fonts" panel of the KDE System Settings application.<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go '''System Settings > Appearance > Fonts''' System Settings will likely alter your font configuration file ({{ic|fonts.conf}}). <br />
<br />
There is no way to prevent this but if you set the values to match your {{ic|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). <br />
<br />
Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===== Fonts are huge or seems disproportional =====<br />
<br />
Try to force fonts DPI to '''96''' on '''System Settings > Application Appearance > Fonts.'''<br />
<br />
If it does not work try set DPI directly on Xorg configuration [[Xorg#Setting_DPI_manually|here]].<br />
<br />
====Space efficiency====<br />
KDE is often '''criticized''' for being bloated. <br />
<br />
The user might get this perception from seeing''' many toolbars and pretty big scaled icons in the applications'''. One thing that improved the situation was the new Kwin-Theme that came with KDE SC 4.4.* with the more elegant buttons that one can also resize. '''KDE Apps allows to hide many toolbars, menubars and statusbars'''.<br />
<br />
=====All sorts of *bars=====<br />
Most toolbars of a program can be removed in the menubar-entry "'''Settings'''". There you often can hide the statusbar and often all toolbars. The last step should be to remove the menubar itself via '''Ctrl + M'''.<br />
<br />
If you do not want to remove any bars you can still make them smaller or remove the text via:<br />
System Settings -> Application Appearance -> Style -> Fine Tuning -> (Main toolbar text / Secondary toolbar text)<br />
<br />
Since most aspect ratios of modern flat screens are wider than 4:3 it could be reasonable to put the toolbar '''at the left or right of a window''' to artificially stretch windows more to the monitors aspect ratio.<br />
<br />
=====Plasma=====<br />
There are also some settings and modifications you can apply to your plasmoids to make KDE less space wasting. <br />
<br />
For example, the "Digital Clock" wastes more space than the "Analogue Clock". The little plasma icon ("Cashew") that one can see in the panel can be hidden by locking the widgets via rightclicking onto the panel.<br />
<br />
If you have got many tasks in your task-manager you should consider using ''Smooth-tasks''. <br />
<br />
This alternative task-manager allows you to just display the icons of a task thus using less space but still maintaining the ability of the user to distinguish the different tasks.<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=29410 smooth-tasks] from the [[AUR]].<br />
<br />
After installing and substituting it with the original task-manager you should have a deep look at the settings since they are much broader.<br />
One way of using the features of smooth-tasks could be to only display the icons of tasks and move the panel to the left or right of the screen. This is most useful on widescreens.<br />
<br />
On very small screens it could be reasonable to set the bottom-panel to auto-hide completely.<br />
<br />
For netbooks there is a special workspace, called Plasma Netbook, that makes better use of the screen:<br />
<br />
System Settings -> Workspace Behavior -> Workspace -> Workspace Type<br />
<br />
=====KWin=====<br />
Windows decorations can also be resized by decreasing button size in the decoration thus making the whole top border smaller:<br />
System Settings -> Workspace Appearance -> Window Decorations -> Configure Decoration... -> Button size<br />
You could also remove the side-border of all windows via:<br />
System Settings -> Workspace Appearance -> Window Decorations -> Configure Decoration... -> Border size<br />
<br />
=== Networking ===<br />
<br />
NetworkManager support has been added in KDE SC. See [[Networkmanager#KDE4|NetworkManager]] for more information.<br />
<br />
Also you can use [http://aur.archlinux.org/packages.php?ID=48672/ wicd-kde].<br />
<br />
=== Printing ===<br />
<br />
{{Tip|Use the [[Cups]] web interface for faster configuration.}}<br />
<br />
The printers are configured in this way can be found in applications KDE. <br />
<br />
You can also choose the printer configuration through '''System Settings -> Printer Configuration'''. To use this method, you must first install the packages: <br />
<br />
# pacman -S kdeadmin-system-config-printer-kde cups<br />
<br />
{{Note|If you are getting the following error: ''"The service 'Printer Configuration' does not provide an interface 'KCModule' with keyword 'system-config-printer-kde/system-config-printer-kde.py' The factory does not support creating components of the specified type."''}}<br />
This means you need to start the cupsd daemon first.<br />
<br />
{{Note|If you are getting the following error: ''"There was an error during CUPS operation: 'cups-authorization-canceled' "''}}<br />
This means you need to give the user rights to manage printers.<br />
For CUPS, this is set in '''/etc/cups/cupsd.conf'''.<br><br />
Adding '''lp''' to '''SystemGroup''' allows anyone who can print to configure printers. You can, of course, add another group than '''lp'''.<br />
{{hc|/etc/cups/cupsd.conf|# Administrator user group...<br />
SystemGroup sys root lp}}<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings -> Sharing -> Samba<br />
<br />
=== KDE Desktop Activities ===<br />
<br />
KDE Desktop Activities are Plasma based "virtual desktop"-like set of Plasma Widgets where you can independently configure widgets as if you had more than one screens/desktops. <br />
Since KDE 4.5, the feature of changing Desktop Activities has been simplified. <br />
<br />
On your desktop, click the Cashew Plasmoid and on the pop-up window press "Activities".<br />
<br />
A plasma bar will appear at the bottom of the screen which presents you the current Plasma Desktop Activities which exist. You can then navigate between them by pressing their correspondent icon.<br />
<br />
===Power Saving===<br />
<br />
KDE has an integrated power saving service called "'''Powerdevil Power Management'''" that may adjust the power saving profile of the system and/or the brightness of the screen (if supported).<br />
<br />
==== How to enable Cpufreq based power saving ====<br />
Since KDE 4.6, CPU frequency scaling is no longer managed by KDE. Instead it is assumed to be handled automatically by the the hardware and/or kernel. While some distributions use the {{ic|ondemand}} cpufreq governor by default, Arch does not.<br />
<br />
As a prerequisite to the following, you should carefully read through the [[cpufreq|wiki article on cpufreq]] and ensure that the appropriate kernel modules are loaded. If you are happy with setting your governor once at boot (with the {{ic|cpufreq}} daemon script, for example) then this section is not relevant and can be skipped.<br />
<br />
1. If you have not already done so, install the {{ic|cpufrequtils}} package (for the {{ic|cpufreq-set}} utility):<br />
pacman -S cpufrequtils<br />
<br />
2. Next, you will need to grant access to {{ic|cpufreq-set}} for the appropriate users by configuring [[sudo]]. For example, if you are part of the ''wheel'' group, you could use {{ic|visudo}} to add<br />
%wheel ALL = (ALL) NOPASSWD: /usr/bin/cpufreq-set<br />
to your {{ic|sudoers}} file.<br />
<br />
3. From '''System Settings > Power Management > Power Profiles''' select a profile to edit or create a new one. Check the '''Run Script''' option and add an appropriate {{ic|cpufreq-set}} command for the selected power profile. For example, your "Powersave" profile might have:<br />
sudo cpufreq-set -r -g ondemand<br />
Your "Performance" profile might have<br />
sudo cpufreq-set -r -g performance<br />
<br />
{{Note | The ''cpufreq-set'' examples above may be insufficient for setting the governor for all processors/cores.<br />
For some CPU families the {{ic|-r}} switch may not set the governor for all cores/cpus and instead only set the governor for CPU 0. In this case you will need to write a script to iterate through all your cores. A simple script for a four core system could look like:<br />
#!/bin/bash<br />
for i in {0..3}; do<br />
sudo /usr/bin/cpufreq-set -c${i} -gondemand<br />
done<br />
}}<br />
<br />
{{Note | You can check which governors are active with {{ic|cpufreq-info -o}} or less intuitively by inspecting {{ic|/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor}}.<br />
}}<br />
<br />
===Monitoring changes on local files and directories===<br />
KDE now uses '''inotify''' directly from the kernel with '''kdirwatch''' (included in kdelibs), so Gamin or FAM are no longer needed. You may want to install this {{AUR|kdirwatch}} from [[AUR]] which is a GUI frontend for kdirwatch.<br />
<br />
==System Administration==<br />
<br />
===Set keyboard layout in order switch language inputs===<br />
In order to do that, navigate to <br />
System Settings > Hardware > Input Devices > Keyboard<br />
There you may choose your keyboard model at first.<br />
{{Note| It is preferable that, if you use Evdev, that means Xorg automatic configuration for keyboards, you should choose "Evdev-managed keyboard".}}<br />
In the "'''Layouts'''" tab, you choose the languages you may want to use by pressing the "Add Layout" button and therefore the variant and the language.<br />
In the "'''Advanced'''" tab, you can choose the keyboard combination you want in order to change the layouts in the "Key(s) to change layout" sub-menu.<br />
<br />
===Terminate Xorg-server through KDE system settings===<br />
Navigate to <br />
System Settings -> Input Devices -> Keyboard -> Advanced (tab) > "Key Sequence to kill the X server" submenu<br />
and tick the checkbox.<br />
<br />
===Useful KCM===<br />
<br />
KCM means KConfig Module. This modules help you to configure you system providing a interface on System Settings.<br />
<br />
'''Configuration for look&feel of your GTK apps.'''<br />
*[https://aur.archlinux.org/packages.php?ID=45462 chakra-gtk-config]<br />
*[https://aur.archlinux.org/packages.php?ID=40980 kcm-gtk]<br />
*[https://aur.archlinux.org/packages.php?ID=40582 kcm-qt-graphicssystem]<br />
<br />
'''Configuration for the GRUB2 bootloader.'''<br />
*[https://aur.archlinux.org/packages.php?ID=47871 grub2-editor]<br />
*[https://aur.archlinux.org/packages.php?ID=45816 kcm-grub2]<br />
<br />
'''Configuration for Synaptics driver based touchpads.'''<br />
*[https://aur.archlinux.org/packages.php?ID=35531 kcm_touchpad]<br />
<br />
'''Configuration for main system config file rc.conf.'''<br />
*[https://aur.archlinux.org/packages.php?ID=47842 kcm-rcconf-settings]<br />
<br />
'''Configuration for [[Firewalls#ufw|UFW]]'''<br />
*[https://aur.archlinux.org/packages.php?ID=46880 kcm-ufw]<br />
<br />
'''Configuration for Policy Kit'''<br />
*[https://aur.archlinux.org/packages.php?ID=54016 kcm-polkit-kde-git]<br />
<br />
'''Configuration for Wacom Tablet'''<br />
*[https://aur.archlinux.org/packages.php?ID=41960 kcm-wacomtablet]<br />
<br />
More KCM can be found [http://kde-apps.org/index.php?xcontentmode=273 here].<br />
<br />
==Desktop Search and Semantic Desktop==<br />
Most users who freshly install KDE are wondering what functionality the following four pieces of software are able to offer. Most features are still somehow hidden under the hood and yet not many applications featured in the KDE SC are using these interfaces. This chapter intends to first explain the features and then convince the user of the power these tools offer once properly integrated into KDE. The following sections are more or less a roughly shortened version of [http://thomasmcguire.wordpress.com/2009/10/03/akonadi-nepomuk-and-strigi-explained/ this blogpost].<br />
<br />
===Soprano===<br />
Soprano is a library for QT that is able to process RDF data. This is semantic data. Semantic data is a special kind of metadata which is much more flexible than metadata you might know from MP3-Tags or Meta-Tags in HTML since RDF data more resembles the structure of a spoken sentence, thus allowing a much wider field of ways dealing with them. Soprano stores semantic data in a backend and allows low level access to this data.<br />
<br />
===Nepomuk===<br />
Nepomuk is somehow the glue between Soprano and the KDE Desktop and thus the user. Nepomuk allows to tag the files with various entries and offers an API for the applications featured in KDE SC. It is enabled by default. Nepomuk can be turned on and off in<br />
System Settings -> Desktop Search<br />
<br />
Nepomuk has to keep the trace of a lot of files, because of that is recommended to increase the number of files that can be watched with inotify, to do that:<br />
sysctl fs.inotify.max_user_watches=524288<br />
<br />
To do it persistant:<br />
echo "fs.inotify.max_user_watches = 524288" >> /etc/sysctl.conf<br />
<br />
And restart Nepomuk.<br />
<br />
===Akonadi===<br />
Akonadi is one of the ways of getting data into Nepomuk. Its intention is to gather all kinds of PIM data from KMail, KAdressbook or Kopete. It collects chat contacts, email addresses, email attachments and email contents. First of all it feeds Nepomuk with this data but moreover it provides a centralized access point for all this data.<br />
<br />
==== Disabling Akonadi ====<br />
<br />
If you do not want Akonadi to be ran in your system (for your own reasons), edit {{ic|~/.config/akonadi/akonadiserverrc}} and turn <br />
<br />
StartServer=true<br />
<br />
to <br />
<br />
StartServer=false<br />
<br />
And then relogin into your account.<br />
<br />
==== Configuring Akonadi to use MySQL Server running on the System ====<br />
<br />
First, you need to set up the database using the following commands (replace password with the correct one):<br />
<br />
CREATE DATABASE akonadi;<br />
GRANT ALL PRIVILEGES ON akonadi.* TO 'akonadiuser' IDENTIFIED BY 'password';<br />
FLUSH PRIVILEGES;<br />
<br />
If {{ic|~/.config/akonadi/mysql-local.conf}} does not exist then<br />
<br />
cp /usr/share/config/akonadi/mysql-global.conf ~/.config/akonadi/mysql-local.conf<br />
<br />
and uncomment the following line<br />
<br />
sql_mode=strict_trans_tables<br />
<br />
Then edit {{ic|~/.config/akonadi/akonadiserverrc}}:<br />
<br />
[%General]<br />
Driver=QMYSQL<br />
<br />
[QMYSQL]<br />
Name=akonadi<br />
Host=localhost<br />
ServerPath=/usr/bin/mysqld<br />
StartServer=false<br />
User=akonadiuser<br />
Password=<password><br />
Options=<br />
<br />
[Debug]<br />
Tracer=null<br />
<br />
Restart the Akonadi server with:<br />
<br />
akonadictl restart<br />
<br />
==== Configuring Akonadi to use sqlite ====<br />
<br />
According to the kdepim FAQ, sqlite doesn't work too well under load, but according to several users, it gives much better performance than the alternatives.<br />
<br />
First stop Akonadi:<br />
<br />
akonadictl stop<br />
<br />
Change the Driver-line in {{ic|~/.config/akonadi/akonadiserverrc}} to the following:<br />
<br />
[%General]<br />
Driver=QSQLITE3<br />
<br />
Then start Akonadi again:<br />
<br />
akonadictl start<br />
<br />
===Strigi Search===<br />
Strigi is another way of feeding data into Nepomuk. It preferably indexes the users home-folder. Indexing means that it not only gathers filenames but also information about your music collection or tagged downloads you did with Kget. The Strigi search is also integrated into KDEs launcher which can be accessed via:<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. <br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings -> Desktop Search'''". }}<br />
<br />
Strigi folder indexing can be configured in:<br />
System Settings -> Desktop Search -> Desktop Query -> Customize index folders…<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
An example configuration for KDM can be found at {{ic|/usr/share/config/kdm/kdmrc}}. See {{ic|/usr/share/doc/HTML/en/kdm/kdmrc-ref.docbook}} for all options.<br />
<br />
===Configuring KDM===<br />
<br />
You can visit '''System Settings > Login Screen''' and make your changes. Whenever you press "Apply", a '''KDE Polkit authorization''' window appears which will ask you to give your root password in order to finish the changes.<br />
<br />
==== Problems while Configuring KDM as a user ====<br />
<br />
If you seem not to be able to KDM settings when launching System Settings as user, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu kcmshell4 kdm<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under {{ic|/root/.kde4}} and not under {{ic|~/.kde4}} (your home location).}}<br />
<br />
In the System Settings window, go to Login Screen.<br />
<br />
==Phonon==<br />
<br />
===What is Phonon?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
'''Phonon''' is being widely used within KDE, for both audio (e.g., the System notifications or KDE audio apps) and video (e.g., the Dolphin video thumbnails).<br />
<br />
===Which backend should I choose?===<br />
<br />
You can choose between various backends, like GStreamer ({{Pkg|phonon-gstreamer}}), VLC ({{Pkg|phonon-vlc}}), Xine in [unsupported] ({{AUR|phonon-xine}}) or even MPlayer in [unsupported] ({{AUR|phonon-mplayer}}). Most users will want GStreamer or VLC which have the best upstream support. Note that multiple backends can be installed at once and you can switch between them via System Settings -> Multimedia -> Phonon -> Backend.<br />
<br />
According to [http://www.archlinux.org/news/kde-sc-46-to-extra/ announce of KDE 4.6 in Arch] and [http://mail.kde.org/pipermail/phonon-backends/2011-February/000500.html mail in Phonon dev list]:<br />
<blockquote>"Phonon Xine is not maintained and thus will not see releases."</blockquote><br />
<blockquote>"This intial preference currently rates GStreamer highest, followed by VLC as there is some feature difference."</blockquote><br />
<br />
==Using WebKit in Konqueror==<br />
<br />
===What is WebKit?===<br />
<br />
WebKit is an open source browser engine developed by Apple Inc. It is used by Safari and Google Chrome. WebKit is a derivative from the KHTML and KJS libraries and contain many improvements.<br />
<br />
===How to use in Konqueror===<br />
<br />
It is possible to use WebKit in Konqueror instead of KHTML. First install the kwebkitpart package :<br />
<br />
pacman -S kwebkitpart<br />
<br />
Then, after executing Konqueror, press '''Settings > Configure Konqueror'''. <br />
<br />
On the "General" submenu, select the "WebKit" as the "Default web browser engine".<br />
<br />
You can, of course, choose KHTML again, if you do not like WebKit as the rendering engine.<br />
<br />
==Firefox integration==<br />
See [[Firefox#Firefox_with_better_KDE_integration]].<br />
<br />
==Using Telepathy==<br />
A new project, known as [http://community.kde.org/Real-Time_Communication_and_Collaboration Real-Time Communication and Collaboration], has been started in KDE.<br />
The goal is to integrate Instant Messaging clients with the desktop systems.<br />
<br />
At the moment things are in progress and miss some features, but a very base communication system is ready.<br />
<br />
To install all Telepathy protocols install the ''telepathy'' group.<br />
To use the Telepathy KDE client, install the ''telepathy-kde'' group.<br />
<br />
==Troubleshooting==<br />
<br />
===KDE4 does not finish loading===<br />
There might be a situation in which the graphic driver might create a conflict when starting KDE4. This situation happens after the login but before finishing loading the desktop, making the user wait indefinitely at the loading screen. Until now the only users confirmed to be affected by this are the ones that use Nvidia drivers and KDE4.<br />
<br />
A solution for Nvidia users is to edit the file at {{ic|/home/user/.kde4/share/config/kwinrc}} and change the option '''Enabled=true''' to '''false''' in the '''[Compositing]''' section. For more information look at this thread: [https://bbs.archlinux.org/viewtopic.php?pid=932598].<br />
<br />
===KDE and Qt programs look bad when in a different window manager===<br />
If you are using KDE or Qt programs but not in a full KDE session (specifically, you did not run "startkde"), then as of KDE 4.6.1 you will need to tell Qt how to find KDE's styles (Oxygen, QtCurve etc.)<br />
<br />
You just need to set the environment variable QT_PLUGIN_PATH. E.g. put<br />
<br />
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/<br />
<br />
into your {{ic|/etc/profile}} (or {{ic|~/.profile}} if you do not have root access). qtconfig should then be able to find your kde styles and everything should look nice again!<br />
<br />
Alternatively, you can symlink the Qt styles directory to the KDE styles one:<br />
# ln -s /usr/lib/kde4/plugins/styles/ /usr/lib/qt/plugins/styles<br />
<br />
===KHotkeys issue===<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
You can also create {{ic|~/.kde4/Autostart/reloadkhotkeys.sh}} with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
# pacman -S kdemultimedia-mplayerthumbs<br />
or<br />
<br />
# pacman -S kdemultimedia-ffmpegthumbs<br />
<br />
=== Suspend to Disk/Ram not working ===<br />
If you are starting KDE with startx try adding ck-launch-session to the {{ic|.xinitrc}},<br />
as so:<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
This is done '''automatically with KDM'''.<br />
<br />
=== Graphical related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
===== GPU driver problem =====<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel]] for more information, in order to make sure that everything is all right.<br />
The open-source ATI and Intel drivers and the proprietary (binary) Nvidia driver should theoretically provide the best 2D and 3D acceleration.<br />
<br />
===== The Raster engine workaround =====<br />
If this does not solve your problems, maybe your driver does not provide a good '''XRender''' acceleration which the current Qt painter engine relies on by default. <br />
<br />
You can change the painter engine to software based only by invoking the application with the "'''-graphicssystem raster'''" command line. This rendering engine can be set as the default one by recompiling Qt with the same as configure option, "'''-graphicssystem raster'''". <br />
<br />
The raster paint engine enables the CPU to do the majority of the painting, as opposed to the GPU. You may get better performance, depending on your system. This is basically a work-around for the terrible Linux driver stack, since the CPU should obviously not be doing graphical computations since it is designed for fewer threads of greater complexity, as opposed to the GPU which is many threads but lesser computational strength. So, only use Raster engine if you are having problems or your GPU is much slower than you CPU, otherwise is better to use XRender.<br />
<br />
Since Qt 4.7+, recompiling Qt is not needed. Simply export '''QT_GRAPHICSSYSTEM=raster''', or "opengl", or "native" (for the default). Raster depends on the CPU, OpenGL depends on the GPU and high driver support (it is buggy and highly in development, so I would not expect it to work), and Native is just using the X11 rendering (mixture, usually).<br />
<br />
'''The best and automatic way to do that''' is to install [http://aur.archlinux.org/packages.php?ID=40582 kcm-qt-graphicssystem] from AUR and configure this particular Qt setting through<br />
<br />
System Settings > Qt Graphics System<br />
<br />
For more information, consult this [http://apachelog.wordpress.com/2010/09/05/qt-graphics-system-kcm/ KDE Developer blog entry] and/or this [http://labs.trolltech.com/blogs/2009/12/18/qt-graphics-and-performance-the-raster-engine/ Qt Developer blog entry].<br />
<br />
==== Konsole is slow in applications like vim ====<br />
This is a problem that is caused by slow glyph rendering. You can solve this by switching to a scalable font like Bitstream Vera Sans Mono.<br />
<br />
==== Low 3D desktop performance====<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
System Settings -> Desktop Effects<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
==== Desktop compositing is disabled on my system with a modern Nvidia GPU ====<br />
<br />
Sometimes, KWin may have settings in its configuration file ('''kwinrc''') that ''may'' cause a problem on re-activating the 3D desktop '''OpenGL''' compositing. That could be caused randomly (for example, due to a sudden Xorg crash or restart, and it gets corrupted), so, in case that happens, delete your {{ic|~/.kde4/share/config/kwinrc}} file and relogin. The KWin settings will turn to the KDE default ones and the problem should be probably gone.<br />
<br />
==== Flickering in fullscreen when compositing is enabled ====<br />
According to https://fedoraproject.org/wiki/KDE/How_to_reduce_fullscreen_flicker : <br />
<br />
Press Alt+F2 and run: <br />
<br />
kwriteconfig --file kwinrc --group Compositing --key UnredirectFullscreen --type bool false<br />
<br />
Apply the changes by pressing Alt+F2 and running: <br />
<br />
qdbus org.kde.kwin /KWin reconfigure<br />
<br />
This forces KWin not to use window unredirection but can affect performance of fullscreen OpenGL applications when desktop effects are enabled. Desktop effects can be suspended to prevent performance issues (press Alt+Shift+F12) before running such applications. <br />
<br />
See https://bugs.kde.org/show_bug.cgi?id=177495<br />
<br />
As of KDE SC 4.6.0, there is an option in systemsettings -> Desktop Effect -> Advanced -> "Suspend desktop effects for fullscreen windows"<br />
Uncheck it would tell kwin to disable unredirect fullscren. (icarus-c)<br />
<br />
===Sound problems under KDE===<br />
<br />
====ALSA related problems====<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
When you encounter such messages:<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
Go to<br />
System Settings -> Multimedia -> Phonon<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when using the GStreamer Phonon backend=====<br />
That can be solved by installing the GStreamer plugins:<br />
pacman -S gstreamer0.10-plugins<br />
<br />
If you still encounter problems, you can try changing the Phonon backend used by installing another such as {{Pkg|phonon-vlc}}:<br />
pacman -S phonon-vlc<br />
Then make sure the backend is perfered via:<br />
System Settings -> Multimedia -> Phonon -> Backend (tab)<br />
<br />
====OSS4 related problems====<br />
If you have OSS4 installed and encounter any problems you should be aware that developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
=== Arch linux specific packaging issues ===<br />
Due to some upgrades on the packages or a newer versioned pacman with bugs (pft, like there are any ;) there could be some problems during upgrading. Please read the sections below, if you have a problem.<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
kdebase-workspace<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do?===<br />
Just rename the settings directory of KDE (just in case you will want to go back to your original settings):<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely===<br />
Plasma issues are usually caused by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or uninstall it. <br />
<br />
So, if your desktop suddenly exhibits "locking up", this is likely caused by a faulty installed widget. If you cannot remember which widget you installed before the problem began(sometimes it can be an irregular problem), try to track it down by removing each widget until the problem ceases. Then you can uninstall the widget, and file a bug report (bugs.kde.org) '''only if it is an official widget'''. If it is not, I recommend you find the entry on kde-look.org and inform the developer of that widget about the issue (detailing steps to reproduce, etc).<br />
<br />
If you cannot find the problem, but you do not want ''all'' the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma related configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back. You should know that this action '''cannot be undone'''. You ought to create a backup folder and copy all the plasma related configs in it.<br />
<br />
===Hiding partitions===<br />
If you wish to prevent your internal partitions from appearing in your file manager, you can create an udev rule, for example {{ic|/etc/udev/rules.d/10-local.rules}}:<br />
<br />
KERNEL=="sda[0-9]", ENV{UDISKS_PRESENTATION_HIDE}="1"<br />
<br />
The same thing for a certain partition:<br />
<br />
KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}="1"<br />
KERNEL=="sda2", ENV{UDISKS_PRESENTATION_HIDE}="1"<br />
<br />
===Konsole does not save commands' history===<br />
By default console commands' history is saved only when you type 'exit' in console. When you close Konsole with 'x' in the corner it does not happen.<br />
To enable autosaving after every command execution you should add following lines into your .bashrc<br />
shopt -s histappend<br />
[[ "${PROMPT_COMMAND}" ]] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a" || PROMPT_COMMAND="history -a"<br />
<br />
===Kimpanel does not work with the IBus backend===<br />
There is a bug ({{bug|19580}}) with current Arch kimpanel packaging. See [[IBus#Kimpanel]] for a workaround.<br />
<br />
===KDE password prompts display three bullets per char===<br />
You can change it under '''System Settings > Account Details'''. At '''Password & User Account''' the options are:<br />
*Show one bullet for each letter<br />
*Show three bullets for each letter<br />
*Show nothing<br />
<br />
===knotify4 process constantly uses CPU time===<br />
It is a bug with Gstreamer phonon back-end. Try changing to VLC phonon on '''System Settings > Multimedia > Phonon > Backend'''. If this is not in the list, install it:<br />
<br />
#pacman -S phonon-vlc<br />
<br />
If you do not want change the back-end you can try use an external player to play the sound systems. First install mplayer, vlc or any other sound player.<br />
<br />
Go to '''System Settings > Application and System Notifications > Manage Notifications > Player Settings''' and change to '''Use an external player''' putting the path of your preferred sound player.<br />
<br />
===Nepomukserver process still autostart even with semantic desktop disabled===<br />
Go to ''' System Settings > Startup and Shutdown > Service Manager > Startup Services''' and uncheck the Nepomuk Search Module.<br />
<br />
==Other KDE projects==<br />
<br />
===KDE unstable (snapshot)===<br />
<br />
===== kde-snapshots (unofficial) =====<br />
<br />
The member '''Zolnierz''' is maintaining a repo where he uploads development snapshots of KDE packages. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===== Semi-official kde-unstable =====<br />
<br />
When KDE is reaching beta or RC milestone, KDE "unstable" packages are uploaded to the [kde-unstable] repo. <br />
<br />
You may add it by adding:<br />
<br />
[kde-unstable]<br />
Include = /etc/pacman.d/mirrorlist<br />
<br />
in '''{{ic|/etc/pacman.conf}}'''<br />
<br />
They stay there until KDE is declared stable and passes to [extra].<br />
<br />
Make sure [[#Distro_and_Upstream_bug_report|you make bug reports]] if you find any issues.<br />
<br />
Read [[#Users|this section]] in the wiki as well.<br />
<br />
===KDE Legacy===<br />
<br />
Along with the official KDE4, the KDE3 code "lives" under the fork project called "Trinity". <br />
<br />
==== Unofficial community repository for KDE 3 ====<br />
From the release of KDE 4.x, the developers dropped support for KDE 3.5.x. Nevertheless you can still use KDE 3.5.x through a project called '''kdemod3'''<br />
[http://bbs.archlinux.org/viewtopic.php?id=97612 In this thread]. The current rebuild of the unsupported KDEmod3 is based on the Trinity project code (KDE 3.5.12). See Trinity on Arch Linux below.<br />
<br />
{{Warning| KDE 3 is no longer maintained and supported by the KDE developers. The "Trinity KDE" is maintained by the Trinity project commmunity. KDEmod3 is no longer maintained by the Chakra Projects developers. Use KDE 3 on your own risk, regarding any bugs, performance issues or security risks.}}<br />
<br />
===Trinity on Arch Linux===<br />
Trinity SVN is currently KDE 3.5.13. An unofficial effort to provide a working set of PKGBUILDs for Trinity for Arch Linux is in the beginning stages and produces a working KDE 3.5.13 desktop for Arch Linux. Links for binary packages built from the Trinity SVN code as well as the PKGBUILDs are available. For details on this effort, see the Trinity Arch wiki:<br />
*'''[[Trinity|Trinity on Arch]]'''<br />
<br />
Trinity Stable (KDE 3.5.12) packages are also available as an update to kdemod3. The following repository holds binary packages from the Trinity (3.5.12) code base:<br />
<br />
# Trinity 3.5.12 - i686<br />
[kdemod3]<br />
Server = http://rapinjam.com/beta/lefa/kdemod3/i686/<br />
<br />
# Trinity 3.5.12 - x86_64<br />
[kdemod3]<br />
Server = http://rapinjam.com/beta/lefa/kdemod3/x86_64/<br />
<br />
* After adding the repository, issue '''&lsquo;pacman -Syu&rsquo;'''. If that fails to trigger the update (or if you do not have kdemod3 installed), then use '''&lsquo;pacman -Sy kdemod3-complete&rsquo;'''<br />
<br />
=== Chakra Project KDEmod ===<br />
<br />
The Chakra Project KDEmod (for KDE4) is no longer active and the current Chakra Project's KDE is no longer compatible with Archlinux packages and repos.<br />
<br />
If you have installed KDEmod (for KDE4), please remove it and install KDE SC from the official Archlinux repos.<br />
<br />
==Bugs==<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
If you have any issue and you write about in on the Arch forums, first make sure that you have '''FULLY''' updated your system using a good sync mirror (check [https://www.archlinux.de/?page=MirrorStatus here]) or try [[Reflector]].<br />
<br />
KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Audacious&diff=91700Audacious2010-01-11T06:59:08Z<p>Nixxx: </p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
=Description=<br />
[http://audacious-media-player.org/ Audacious] is an advanced fork of Beep Media Player. It is free, lightweight, based on GTK2 and is focused on audio quality and supporting a wide range of audio codecs. Audacious is extensible through third-party plugins.<br />
<br />
Features:<br />
*Large amount of audio codecs supported (and even more with [http://aur.archlinux.org/packages.php?ID=13050 xmp] plugin),<br />
*PulseAudio, ALSA, OSS, Crossfade output (also file and null),<br />
*WAV, Vorbis, Mp3, FLAC transcoding,<br />
*Sound effects,<br />
*Visualization,<br />
*Scrobbler plugin, OSD, EvDev, status icon, alarm,<br />
*Streaming support<br />
<br />
=Installation=<br />
Audacious 2.2.0 is available from official repository. To install it, use [[Pacman]]:<br />
<br />
pacman -Sy audacious<br />
<br />
You will probably want to install some plugins to expand Audacious features:<br />
<br />
pacman -S audacious-plugins<br />
<br />
=Audtool=<br />
Audacious is shipped with powerful management tool called Audtool. Audtool could be used to retrieve information or to control the player.<br />
<br />
For example, to retrieve current song title or artist you can use:<br />
<br />
audtool2 current-song<br />
<br />
audtool2 current-song-tuple-data artist<br />
<br />
There are also functions to control playback, to manipulate playlist, equalizer and main window. For the whole option list see<br />
<br />
audtool2 --help<br />
<br />
=GTK UI in Audacious 2=<br />
Audacious 2 has an option to use alternative UI's. To use new GTK user interface, launch audacious2 with<br />
<br />
audacious2 -i gtkui<br />
<br />
=Standard UI skins=<br />
==Running Winamp skins==<br />
Audacious supports Winamp classic skins, so you can use any of them with Audacious. Launch Audacious with:<br />
<br />
audacious2 -i skinned<br />
<br />
==Adding Winamp skins==<br />
Adding Winamp skins to Audacious is very simple. Just copy your skin (.zip, .wsz, .tgz, .tar.gz, and .tar.bz2 file) to '''{{Filename|/usr/share/audacious/Skins}}'''. Then you can browse and select it from ''Skinned Interface'' tab in ''Preferences''.<br />
<br />
<br />
There are some places where skins could be found:<br />
<br />
[http://www.customize.org/list/winamp2 http://www.customize.org/list/winamp2]<br />
<br />
[http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic]<br />
<br />
[http://www.1001skins.com http://www.1001skins.com]<br />
<br />
=Play Audio CD=<br />
<br />
pacman -S libcdio<br />
<br />
After you install libcdio Audacious can play Audio CD via Main menu (right click) > Plugin Services > Add CD.<br />
<br />
Reference:<br />
http://bbs.archlinux.org/viewtopic.php?id=40075<br />
<br />
=OSS Support=<br />
When you are using Open Sound System instead of ALSA, make sure that Audacious is set properly. Just select: <br />
''Preferences''-->''Audio''-->''Current output plugin''-->'''''OSS Output Plugin'''''.</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Audacious&diff=91699Audacious2010-01-11T06:36:20Z<p>Nixxx: /* Standard UI skins */</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
=Description=<br />
[http://audacious-media-player.org/ Audacious] is an advanced fork of Beep Media Player. It is free, lightweight, based on GTK2 and is focused on audio quality and supporting a wide range of audio codecs. Audacious is extensible through third-party plugins.<br />
<br />
Features:<br />
*Large amount of audio codecs supported (and even more with [http://aur.archlinux.org/packages.php?ID=13050 xmp] plugin),<br />
*PulseAudio, ALSA, OSS, Crossfade output (also file and null),<br />
*WAV, Vorbis, Mp3, FLAC transcoding,<br />
*Sound effects,<br />
*Visualization,<br />
*Scrobbler plugin, OSD, EvDev, status icon, alarm,<br />
*Streaming support<br />
<br />
=Installation=<br />
Audacious 2.2.0 is available from official repository. To install it, use [[Pacman]]:<br />
<br />
pacman -Sy audacious<br />
<br />
You will probably want to install some plugins to expand Audacious features:<br />
<br />
pacman -S audacious-plugins<br />
<br />
=Audtool=<br />
Audacious is shipped with powerful management tool called Audtool. Audtool could be used to retrieve information or to control the player.<br />
<br />
For example, to retrieve current song title or artist you can use:<br />
<br />
audtool2 current-song<br />
<br />
audtool2 current-song-tuple-data artist<br />
<br />
There are also functions to control playback, to manipulate playlist, equalizer and main window. For the whole option list see<br />
<br />
audtool2 --help<br />
<br />
=GTK UI in Audacious 2=<br />
Audacious 2 has an option to use alternative UI's. To use new GTK user interface, launch audacious2 with<br />
<br />
audacious2 -i gtkui<br />
<br />
=Standard UI skins=<br />
==Running Winamp skins==<br />
Audacious supports Winamp classic skins, so you can use any of them with Audacious. Launch Audacious with:<br />
<br />
audacious2 -i skinned<br />
<br />
==Adding Winamp skins==<br />
Adding Winamp skins to Audacious is very simple. Just copy your skin (*.wsz file) to '''{{Filename|/usr/share/audacious/Skins}}'''. Then you can browse and select it from ''Skinned Interface'' tab in ''Preferences''.<br />
<br />
<br />
There are some places where skins could be found:<br />
<br />
[http://www.customize.org/list/winamp2 http://www.customize.org/list/winamp2]<br />
<br />
[http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic]<br />
<br />
[http://www.1001skins.com http://www.1001skins.com]<br />
<br />
=Play Audio CD=<br />
<br />
pacman -S libcdio<br />
<br />
After you install libcdio Audacious can play Audio CD via Main menu (right click) > Plugin Services > Add CD.<br />
<br />
Reference:<br />
http://bbs.archlinux.org/viewtopic.php?id=40075<br />
<br />
=OSS Support=<br />
When you are using Open Sound System instead of ALSA, make sure that Audacious is set properly. Just select: <br />
''Preferences''-->''Audio''-->''Current output plugin''-->'''''OSS Output Plugin'''''.</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Audacious&diff=91698Audacious2010-01-11T06:26:08Z<p>Nixxx: </p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
=Description=<br />
[http://audacious-media-player.org/ Audacious] is an advanced fork of Beep Media Player. It is free, lightweight, based on GTK2 and is focused on audio quality and supporting a wide range of audio codecs. Audacious is extensible through third-party plugins.<br />
<br />
Features:<br />
*Large amount of audio codecs supported (and even more with [http://aur.archlinux.org/packages.php?ID=13050 xmp] plugin),<br />
*PulseAudio, ALSA, OSS, Crossfade output (also file and null),<br />
*WAV, Vorbis, Mp3, FLAC transcoding,<br />
*Sound effects,<br />
*Visualization,<br />
*Scrobbler plugin, OSD, EvDev, status icon, alarm,<br />
*Streaming support<br />
<br />
=Installation=<br />
Audacious 2.2.0 is available from official repository. To install it, use [[Pacman]]:<br />
<br />
pacman -Sy audacious<br />
<br />
You will probably want to install some plugins to expand Audacious features:<br />
<br />
pacman -S audacious-plugins<br />
<br />
=Audtool=<br />
Audacious is shipped with powerful management tool called Audtool. Audtool could be used to retrieve information or to control the player.<br />
<br />
For example, to retrieve current song title or artist you can use:<br />
<br />
audtool2 current-song<br />
<br />
audtool2 current-song-tuple-data artist<br />
<br />
There are also functions to control playback, to manipulate playlist, equalizer and main window. For the whole option list see<br />
<br />
audtool2 --help<br />
<br />
=GTK UI in Audacious 2=<br />
Audacious 2 has an option to use alternative UI's. To use new GTK user interface, launch audacious2 with<br />
<br />
audacious2 -i gtkui<br />
<br />
=Standard UI skins=<br />
Audacious supports Winamp classic skins, so you can use any of them with Audacious. Launch Audacious with:<br />
<br />
audacious2 -i skinned<br />
<br />
Adding Winamp skins to Audacious is very simple. Just copy your skin (*.wsz file) to '''{{Filename|/usr/share/audacious/Skins}}'''. Then you can browse and select it from ''Skinned Interface'' tab in ''Preferences''.<br />
<br />
<br />
There are some places where skins could be found:<br />
<br />
[http://www.customize.org/list/winamp2 http://www.customize.org/list/winamp2]<br />
<br />
[http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic]<br />
<br />
[http://www.1001skins.com http://www.1001skins.com]<br />
<br />
=Play Audio CD=<br />
<br />
pacman -S libcdio<br />
<br />
After you install libcdio Audacious can play Audio CD via Main menu (right click) > Plugin Services > Add CD.<br />
<br />
Reference:<br />
http://bbs.archlinux.org/viewtopic.php?id=40075<br />
<br />
=OSS Support=<br />
When you are using Open Sound System instead of ALSA, make sure that Audacious is set properly. Just select: <br />
''Preferences''-->''Audio''-->''Current output plugin''-->'''''OSS Output Plugin'''''.</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Codecs_and_containers&diff=91697Codecs and containers2010-01-11T06:22:15Z<p>Nixxx: </p>
<hr />
<div>[[Category:Audio/Video (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|Česky|Common codecs (Česky)}}<br />
{{i18n_entry|English|Common codecs}}<br />
{{i18n_entry|Español|Common codecs (Español)}}<br />
{{i18n_entry|Ελληνικά|Common codecs (Ελληνικά)}}<br />
{{i18n_entry|简体中文|通用编码解码器}}<br />
{{i18n_entry|Italiano|Common codecs (Italiano)}}<br />
{{i18n_entry|日本語|一般的なコーデック (日本語)}}<br />
{{i18n_entry|Türkçe|Kodekler}}<br />
{{i18n_links_end}}<br />
<br />
=GStreamer codecs=<br />
<br />
If you find that you cannot play common audio (such as MP3) or video files, you might not have the correct codecs installed to play them. Media players using the '''gstreamer''' backend (such as Totem) will be able to play most multimedia files after installing these codecs:<br />
<br />
pacman -S gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg}<br />
<br />
{{Box Note | '''codecs''' package is out-of-date and no longer needed! }}<br />
<br />
=Useful media players=<br />
<br />
==VLC==<br />
<br />
You may still find that some files (especially Windows video files) won't play properly in Totem. '''VLC''' is a multipurpose media player which has many of its own codecs and can handle the tricky video files, as well as DVD movies with menus.<br />
<br />
pacman -S vlc<br />
<br />
[http://www.videolan.org/vlc/ VLC Homepage]<br />
<br />
==MPlayer==<br />
<br />
MPlayer also plays many files. Many times it will play things that won't play in VLC.<br />
<br />
pacman -S mplayer<br />
<br />
The MPlayer's GUI is disabled by default. The best way to enable it is the installation of one of the external frontends. For example:<br />
<br />
pacman -S smplayer<br />
<br />
If you want to play media such as QuickTime, RealPlayer or Windows Media Player in your browser install '''gecko-mediaplayer'''. <br />
<br />
{{Box Note | The '''mplayer-plugin''' package is no longer available in official repositories. }}<br />
<br />
<br />
[http://www.mplayerhq.hu/ MPlayer Homepage]<br />
<br />
===Install Mplayer binary codecs===<br />
<br />
As an ultimate solution you can try to install MPlayer binary codecs.<br />
<br />
If you are not able to play some files go to http://www.mplayerhq.hu/design7/dload.html, read the instructions and install the codec you need to play your files.<br />
<br />
They can also be found in AUR with the name [http://aur.archlinux.org/packages.php?ID=2697 codecs].</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Audacious&diff=91696Audacious2010-01-11T06:19:52Z<p>Nixxx: </p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
=Description=<br />
[http://audacious-media-player.org/ Audacious] is an advanced fork of Beep Media Player. It is free, lightweight, based on GTK2 and is focused on audio quality and supporting a wide range of audio codecs. Audacious is extensible through third-party plugins.<br />
<br />
Features:<br />
*Large amount of audio codecs supported (and even more with [http://aur.archlinux.org/packages.php?ID=13050 xmp] plugin),<br />
*PulseAudio, ALSA, OSS, Crossfade output (also file and null),<br />
*WAV, Vorbis, Mp3, FLAC transcoding,<br />
*Sound effects,<br />
*Visualization,<br />
*Scrobbler plugin, OSD, EvDev, status icon, alarm,<br />
*Streaming support<br />
<br />
=Installation=<br />
Audacious 2.2.0 is available from official repository. To install it, use [[Pacman]]:<br />
<br />
pacman -Sy audacious<br />
<br />
You will probably want to install some plugins to expand Audacious features:<br />
<br />
pacman -S audacious-plugins<br />
<br />
=Audtool=<br />
Audacious is shipped with powerful management tool called Audtool. Audtool could be used to retrieve information or to control the player.<br />
<br />
For example, to retrieve current song title or artist you can use:<br />
<br />
audtool2 current-song<br />
<br />
audtool2 current-song-tuple-data artist<br />
<br />
There are also functions to control playback, to manipulate playlist, equalizer and main window. For the whole option list see<br />
<br />
audtool2 --help<br />
<br />
=GTK UI in Audacious 2=<br />
Audacious 2 has an option to use alternative UI's. To use new GTK user interface, launch audacious2 with<br />
<br />
audacious2 -i gtkui<br />
<br />
=Standard UI skins=<br />
Audacious supports Winamp classic skins, so you can use any of them with Audacious. Launch Audacious with:<br />
<br />
audacious2 -i skinned<br />
<br />
Adding Winamp skins to Audacious is very simple. Just copy your skin (*.wsz file) to '''{{Filename|/usr/share/audacious/Skins}}'''. Then you can browse and select it from "Skinned Interface" tab in "Preferences".<br />
<br />
<br />
There are some places where skins could be found:<br />
<br />
[http://www.customize.org/list/winamp2 http://www.customize.org/list/winamp2]<br />
<br />
[http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic]<br />
<br />
[http://www.1001skins.com http://www.1001skins.com]<br />
<br />
=Play Audio CD=<br />
<br />
pacman -S libcdio<br />
<br />
After you install libcdio Audacious can play Audio CD via Main menu (right click) > Plugin Services > Add CD.<br />
<br />
Reference:<br />
http://bbs.archlinux.org/viewtopic.php?id=40075<br />
<br />
=OSS Support=<br />
When you are using Open Sound System instead of ALSA, make sure that Audacious is set properly. Just select: <br />
''Preferences''-->''Audio''-->''Current output plugin''-->'''''OSS Output Plugin'''''.</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Codecs_and_containers&diff=91695Codecs and containers2010-01-11T05:53:09Z<p>Nixxx: </p>
<hr />
<div>[[Category:Audio/Video (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|Česky|Common codecs (Česky)}}<br />
{{i18n_entry|English|Common codecs}}<br />
{{i18n_entry|Español|Common codecs (Español)}}<br />
{{i18n_entry|Ελληνικά|Common codecs (Ελληνικά)}}<br />
{{i18n_entry|简体中文|通用编码解码器}}<br />
{{i18n_entry|Italiano|Common codecs (Italiano)}}<br />
{{i18n_entry|日本語|一般的なコーデック (日本語)}}<br />
{{i18n_entry|Türkçe|Kodekler}}<br />
{{i18n_links_end}}<br />
<br />
=GStreamer codecs=<br />
<br />
If you find that you cannot play common audio (such as MP3) or video files, you might not have the correct codecs installed to play them. Media players using the '''gstreamer''' backend (such as Totem) will be able to play most multimedia files after installing these codecs:<br />
<br />
pacman -S gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg}<br />
<br />
{{Box Note | '''codecs''' package is out-of-date and no longer needed! }}<br />
<br />
=Useful media players=<br />
<br />
==VLC==<br />
<br />
You may still find that some files (especially Windows video files) won't play properly in Totem. '''VLC''' is a multipurpose media player which has many of its own codecs and can handle the tricky video files, as well as DVD movies with menus.<br />
<br />
pacman -S vlc<br />
<br />
[http://www.videolan.org/vlc/ VLC Homepage]<br />
<br />
==MPlayer==<br />
<br />
MPlayer also plays many files. Many times it will play things that won't play in VLC.<br />
<br />
pacman -S mplayer<br />
<br />
Note that MPlayer's GUI is disabled by default. The best way to enable it is the installation of one of the external frontends. For example:<br />
<br />
pacman -S smplayer<br />
<br />
If you want to play media such as QuickTime, RealPlayer or Windows Media Player in your browser install '''gecko-mediaplayer'''. <br />
<br />
{{Box Note | The '''mplayer-plugin''' package is no longer available in official repositories. }}<br />
<br />
<br />
[http://www.mplayerhq.hu/ MPlayer Homepage]<br />
<br />
===Install Mplayer binary codecs===<br />
<br />
As an ultimate solution you can try to install MPlayer binary codecs.<br />
<br />
If you are not able to play some files go to http://www.mplayerhq.hu/design7/dload.html, read the instructions and install the codec you need to play your files.<br />
<br />
They can also be found in AUR with the name [http://aur.archlinux.org/packages.php?ID=2697 codecs].</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Codecs_and_containers&diff=91694Codecs and containers2010-01-11T05:51:04Z<p>Nixxx: </p>
<hr />
<div>[[Category:Audio/Video (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|Česky|Common codecs (Česky)}}<br />
{{i18n_entry|English|Common codecs}}<br />
{{i18n_entry|Español|Common codecs (Español)}}<br />
{{i18n_entry|Ελληνικά|Common codecs (Ελληνικά)}}<br />
{{i18n_entry|简体中文|通用编码解码器}}<br />
{{i18n_entry|Italiano|Common codecs (Italiano)}}<br />
{{i18n_entry|日本語|一般的なコーデック (日本語)}}<br />
{{i18n_entry|Türkçe|Kodekler}}<br />
{{i18n_links_end}}<br />
<br />
=GStreamer codecs=<br />
<br />
If you find that you cannot play common audio (such as MP3) or video files, you might not have the correct codecs installed to play them. Media players using the '''gstreamer''' backend (such as Totem) will be able to play most multimedia files after installing these codecs:<br />
<br />
pacman -S gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg}<br />
<br />
{{Box Note | '''codecs''' package is out-of-date and no longer needed! }}<br />
<br />
=Useful media players=<br />
<br />
==VLC==<br />
<br />
You may still find that some files (especially Windows video files) won't play properly in Totem. '''VLC''' is a multipurpose media player which has many of its own codecs and can handle the tricky video files, as well as DVD movies with menus.<br />
<br />
pacman -S vlc<br />
<br />
[http://www.videolan.org/vlc/ VLC Homepage]<br />
<br />
==MPlayer==<br />
<br />
MPlayer also plays many files. Many times it will play things that won't play in VLC.<br />
<br />
pacman -S mplayer<br />
<br />
Note that MPlayer's GUI is disabled by default. The best way to enable it is the installation of one of the external frontends. For example:<br />
<br />
pacman -S smplayer<br />
<br />
If you want to play media such as QuickTime, RealPlayer or Windows Media Player in your browser install '''gecko-mediaplayer'''. <br />
<br />
''The "mplayer-plugin" package is no longer available in official repositories.''<br />
<br />
[http://www.mplayerhq.hu/ MPlayer Homepage]<br />
<br />
===Install Mplayer binary codecs===<br />
<br />
As an ultimate solution you can try to install MPlayer binary codecs.<br />
<br />
If you are not able to play some files go to http://www.mplayerhq.hu/design7/dload.html, read the instructions and install the codec you need to play your files.<br />
<br />
They can also be found in AUR with the name [http://aur.archlinux.org/packages.php?ID=2697 codecs].</div>Nixxxhttps://wiki.archlinux.org/index.php?title=Audacious&diff=88854Audacious2009-12-24T20:46:11Z<p>Nixxx: /* Standard UI skins */</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
=Description=<br />
[http://audacious-media-player.org/ Audacious] is an advanced fork of Beep Media Player. It is free, lightweight, based on GTK2 and is focused on audio quality and supporting a wide range of audio codecs. Audacious is extensible through third-party plugins.<br />
<br />
Features:<br />
*Large amount of audio codecs supported (and even more with [http://aur.archlinux.org/packages.php?ID=13050 xmp] plugin),<br />
*PulseAudio, ALSA, OSS, Crossfade output (also file and null),<br />
*WAV, Vorbis, Mp3, FLAC transcoding,<br />
*Sound effects,<br />
*Visualization,<br />
*Scrobbler plugin, OSD, EvDev, status icon, alarm,<br />
*Streaming support<br />
<br />
=Installation=<br />
Audacious 2.2.0 is available from official repository. To install it, use [[Pacman]]:<br />
<br />
pacman -Sy audacious<br />
<br />
You will probably want to install some plugins to expand audacious features:<br />
<br />
pacman -S audacious-plugins<br />
<br />
=Audtool=<br />
Audacious is shipped with powerful management tool called Audtool. Audtool could be used to retrieve information or to control the player.<br />
<br />
For example, to retrieve current song title or artist you can use:<br />
<br />
audtool2 current-song<br />
<br />
audtool2 current-song-tuple-data artist<br />
<br />
There are also functions to control playback, to manipulate playlist, equalizer and main window. For the whole option list see<br />
<br />
audtool2 --help<br />
<br />
=GTK UI in Audacious 2=<br />
Audacious 2 has an option to use alternative UI's. To use new GTK user interface, launch audacious2 with<br />
<br />
audacious2 -i gtkui<br />
<br />
=Standard UI skins=<br />
Audacious supports Winamp classic skins, so you can use any of them with Audacious. Launch Audacious with:<br />
<br />
audacious2 -i skinned<br />
<br />
Adding Winamp skins to Audacious is very simple. Just copy your skin (*.wsz file) to '''{{Filename|/usr/share/audacious/Skins}}'''. Then you can browse and select it from "Skinned Interface" tab in "Preferences".<br />
<br />
<br />
There are some places where skins could be found:<br />
<br />
[http://www.customize.org/list/winamp2 http://www.customize.org/list/winamp2]<br />
<br />
[http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic http://www.deviantart.com/#catpath=customization/skins/media/winamp/classic]<br />
<br />
[http://www.1001skins.com http://www.1001skins.com]<br />
<br />
=Play Audio CD=<br />
<br />
pacman -S libcdio<br />
<br />
After you install libcdio Audacious can play Audio CD via Main menu (right click) > Plugin Services > Add CD.<br />
<br />
Reference:<br />
http://bbs.archlinux.org/viewtopic.php?id=40075</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88644KDE2009-12-22T19:39:49Z<p>Nixxx: /* Using xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basically there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== Using KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [[KDM]] Wiki page.''<br />
<br />
==== Starting KDM as a daemon ====<br />
Add "'''kdm'''" (without the quotes) to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== Starting KDM through /etc/inittab ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automatically.}}<br />
<br />
===Using xinitrc===<br />
''The meaning and usage of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-username''}}'''{{Filename|/.xinitrc}}'''. Then uncomment:<br />
exec startkde <br />
After a reboot or/and login, each execution of Xorg ('''startx''' or '''xinit''') will start KDE automatically.<br />
<br />
{{Note| If you want to start Xorg at boot, please read [[Start X at boot]] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88516KDE2009-12-21T21:52:09Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [[KDM]] Wiki page.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-username''}}'''{{Filename|/.xinitrc}}'''. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88457KDE2009-12-21T13:29:01Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [[KDM]] Wiki page.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-username''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88456KDE2009-12-21T13:20:02Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [[KDM]] Wiki page.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88452KDE2009-12-21T13:17:47Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [http://wiki.archlinux.org/index.php/KDM KDM] Wiki page.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88451KDE2009-12-21T13:17:25Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes. See also [http://wiki.archlinux.org/index.php/KDM KDM] Wiki page''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88449KDE2009-12-21T13:16:07Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.See also [http://wiki.archlinux.org/index.php/KDM KDM] Wiki page''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88448KDE2009-12-21T13:14:58Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.See also [KDM] Wiki page''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88444KDE2009-12-21T13:01:56Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' is very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88442KDE2009-12-21T12:59:18Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88440KDE2009-12-21T12:38:36Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
exec startkde <br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88439KDE2009-12-21T12:31:15Z<p>Nixxx: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88438KDE2009-12-21T12:30:19Z<p>Nixxx: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88437KDE2009-12-21T12:29:26Z<p>Nixxx: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88436KDE2009-12-21T12:26:22Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88434KDE2009-12-21T12:21:29Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88433KDE2009-12-21T12:20:30Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
'''exec startkde'''<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88432KDE2009-12-21T12:13:51Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article.}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88431KDE2009-12-21T12:10:30Z<p>Nixxx: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88430KDE2009-12-21T12:06:08Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/}}'''{{Filename|''your-user-name''}}'''{{Filename|/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88429KDE2009-12-21T12:01:56Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Then uncomment:<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/''your-user-name''/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88428KDE2009-12-21T12:01:03Z<p>Nixxx: /* deamon method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in '''{{Filename|/etc/rc.conf}}'''<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/''your-user-name''/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88427KDE2009-12-21T11:58:52Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/rc.conf}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''{{Filename|/home/''your-user-name''/.xinitrc}}''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88426KDE2009-12-21T11:58:36Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/rc.conf}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit '''{{Filename|/etc/inittab}}''' and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit {{Filename|/home/''your-user-name''/.xinitrc}} in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88425KDE2009-12-21T11:52:15Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/rc.conf}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit {{Filename|/etc/inittab}} and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit {{Filename|/home/''your-user-name''/.xinitrc}} in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88424KDE2009-12-21T11:48:09Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/rc.conf}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit {{Filename|/etc/inittab}} and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88423KDE2009-12-21T11:47:19Z<p>Nixxx: /* deamon method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/rc.conf}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88422KDE2009-12-21T11:46:57Z<p>Nixxx: /* deamon method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in {{Filename|/etc/inittab}}<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88421KDE2009-12-21T11:40:15Z<p>Nixxx: /* KDM (KDE Display Manager) */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers, before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88416KDE2009-12-21T09:40:57Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment out:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
then uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88415KDE2009-12-21T09:35:13Z<p>Nixxx: /* deamon method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88414KDE2009-12-21T09:34:19Z<p>Nixxx: /* deamon method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond ... ... ... '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88413KDE2009-12-21T09:32:02Z<p>Nixxx: /* Starting KDE */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' or '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88412KDE2009-12-21T09:31:49Z<p>Nixxx: /* Starting KDE */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM''' and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88411KDE2009-12-21T09:22:33Z<p>Nixxx: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88410KDE2009-12-21T09:12:35Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88409KDE2009-12-21T09:08:23Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please, read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88339KDE2009-12-21T03:04:10Z<p>Nixxx: /* Starting KDE */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[..]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please, read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88332KDE2009-12-21T02:52:03Z<p>Nixxx: /* inittab method */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' which is simpler and works perfectly in most cases and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[..]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| In both metods KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please, read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88331KDE2009-12-21T02:47:05Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' which is simpler and works perfectly in most cases and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[..]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please, read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot] article}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxxhttps://wiki.archlinux.org/index.php?title=KDE&diff=88330KDE2009-12-21T02:46:21Z<p>Nixxx: /* xinitrc */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start| Summary}}<br />
{{Article summary text|Information, How-To and troubleshooting on KDE.}}<br />
{{Article summary heading|Languages}}<br />
{{i18n_entry|English|KDE}}<br />
{{i18n_entry|Español|KDE (Español)}}<br />
{{i18n_entry|Italiano|KDE (Italiano)}}<br />
{{i18n_entry|Czech|KDE (Česky)}}<br />
{{i18n_entry|简体中文|KDE(简体中文)}}<br />
{{i18n_entry|Türkçe|KDE (Türkçe)}}<br />
{{Article summary end}}<br />
<br />
KDE is a full featured desktop environment, known for its well integrated applications, like Konqueror, Dolphin, Plasma, KWrite and Konsole.<br />
<br />
==KDE 4.3 Arch Linux Notes==<br />
<br />
'''KDE 4.3''' Software Compilation is the next major release of KDE that includes a number of improvements and bug fixes. The new Arch package set for KDE makes it possible to only install those applications you like.''<br />
<br />
Important changes in short:<br />
* '''Split packages'''; for more Information see [[KDE_Packages|KDE Packages]] and [[DeveloperWiki:Splitting_KDE|Splitting KDE]].<br />
* Qt uses the '''Gstreamer backend''' for Phonon by default. Other backends like '''phonon-xine''' can be installed optionally.<br />
* Meta packages ensure a smooth upgrade and emulate the old monolith packages for those who prefer them.<br />
<br />
Important hints for upgraders:<br />
* Check if your mirror is '''up to date'''.<br />
* pacman will ask you to replace '''all''' kde packages with kde-meta packages.<br />
* '''Do not force an update'''. If pacman complains about conflicts please '''file a bug report'''.<br />
* You can remove the meta packages and the sub packages you do not need after the update.<br />
* If you do not like split packages just keep using the kde-meta packages.<br />
<br />
:Information about upstream changes are be available [http://kde.org/announcements/4.3/ here]<br />
<br />
==Installing KDE 4.3 Software Compilation==<br />
<br />
=== Installing full KDE SC ===<br />
<br />
To install the entire KDE set:<br />
<br />
pacman -Sy kde<br />
<br />
If you need language files:<br />
<br />
pacman -S kde-l10n-yourlanguagehere<br />
<br />
i.e. kde-l10n-'''de''', for the German language.<br />
<br />
{{Note| KDE 4.x is '''modular'''; you can install your preferred KDE applications without having to install an entire set of packages. See [[KDE Packages]] for more information.}}<br />
<br />
<br />
=== Minimal Install ===<br />
<br />
If you want to have a minimal installation of the KDE SC:<br />
<br />
pacman -S kdebase-workspace kdebase-konsole<br />
<br />
== Starting KDE ==<br />
<br />
Running KDE depends on your preferences. Basicly there are two ways of starting KDE. Using '''KDM (KDE Display Manager)''' which is simpler and works perfectly in most cases and '''xinitrc'''.<br />
<br />
=== KDM (KDE Display Manager)===<br />
''It is highly recommended to get familiar with the [http://wiki.archlinux.org/index.php/Display_Manager full article] concerning display managers before you make any changes.''<br />
<br />
==== deamon method ====<br />
Add "'''kdm'''" to deamons array in /etc/rc.conf<br />
<br />
DAEMONS=(dbus hal syslog-ng network netfs crond '''kdm''')<br />
<br />
==== inittab method ==== <br />
<br />
Edit /etc/inittab and comment:<br />
#id:3:initdefault:<br />
<br />
[...]<br />
<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
<br />
Uncomment<br />
<br />
id:5:initdefault:<br />
<br />
[..]<br />
<br />
x:5:respawn:/usr/bin/kdm -nodaemon<br />
<br />
{{Note| KDM loads Xorg automaticly.}}<br />
<br />
===xinitrc===<br />
''The meaning of '''xinitrc''' if very well described [http://wiki.archlinux.org/index.php/Xinitrc here].<br />
<br />
<br />
Edit '''~/.xinitrc''' in your home directory. Then uncomment:<br />
<br />
exec startkde<br />
<br />
After next reboot and login, every execution of Xorg ('''startx''' or '''xinit''') will start KDE automaticly.<br />
<br />
{{Note| If you want to start Xorg at boot please read [http://wiki.archlinux.org/index.php/Start_X_at_boot Start X at boot article]}}<br />
<br />
==Configuring==<br />
<br />
{{Note| Configuring KDE is primarily done in ''''System Settings''''. There are also a few other options available for the desktop with 'Desktop Settings' when you right click the desktop.}}<br />
<br />
For other personalization options not covered below such as activities, different wallpapers on one cube, etc please refer to the [http://wiki.archlinux.org/index.php/Plasma Plasma wiki page]<br />
<br />
===Personalization===<br />
<br />
How to set up the KDE desktop to your personal style; use different Plasma themes, window decorations and icon themes.<br />
<br />
====What is Plasma?====<br />
<br />
[http://en.wikipedia.org/wiki/Plasma_(KDE) Plasma] is a desktop integration technology that provides many functions from displaying the wallpaper to adding widgets to the desktop.<br />
<br />
=====Plasma themes=====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=76&PHPSESSID=bba0ae5354c7818b519687ebf5badf0e Plasma themes] can be installed through the Desktop Settings control panel. If you like to have them installed system-wide, themes can be found in both the official repositories and [http://aur.archlinux.org/packages.php?O=0&K=plasmatheme&do_Search=Go AUR].<br />
<br />
====Window Decorations====<br />
<br />
[http://kde-look.org/index.php?xcontentmode=75 Window decorations] can be changed in the '''System Settings > Appearance > Windows control''' panel and some are available on [http://aur.archlinux.org/packages.php?O=0&K=kdestyle&do_Search=Go&PP=25&SO=d&SB=v AUR].<br />
<br />
====KDE 4 Theme Integration with GTK Applications====<br />
<br />
To better integrate GTK and KDE 4 themes, you can use '''QtCurve'''.<br />
<br />
pacman -Sy qtcurve-gtk2 qtcurve-kde4<br />
<br />
To change the GTK theme to QtCurve a few applications are available:<br />
<br />
pacman -S lxappearance<br />
pacman -S gtk-theme-switch2<br />
pacman -S gtk-chtheme<br />
<br />
Then change the theme to QtCurve in the repective application:<br />
<br />
lxappearance<br />
switch2<br />
gtk-chtheme<br />
<br />
If you're using Oxygen icons and want a consistent look in GTK open/save dialogs, you can install an [http://aur.archlinux.org/packages.php?O=0&K=oxygenrefit2-icon-theme&do_Search=Go oxygenrefit2] icon theme from AUR and set it as your GTK icon theme. Add the theme to the {{Filename|~/.gtkrc-2.0}} file or you can use lxappearance and set it.<br />
<br />
gtk-icon-theme-name="OxygenRefit2"<br />
<br />
There are also a couple GTK themes built on the [http://aur.archlinux.org/packages.php?ID=24329 gtk-kde42-oxygen-theme Oxygen style] that can also do this.<br />
<br />
====Icon Themes====<br />
<br />
Not many full system icons themes are available for KDE 4. You can open up '''System Settings > Appearance > Icons''' and browse for new ones or install them manually. Many of them can be found on [http://www.kde-look.org/ kde-look.org].<br />
<br />
=====Arch Linux Logo Icon in Kicker menu=====<br />
<br />
Right-Click on the Kicker menu button, press "'''Application launcher settings'''" and then press the icon on the '''right'''. Then you may choose Arch Linux icon or any other icon that will replace the default one.<br />
<br />
====Plasmoids====<br />
<br />
KDE 4 supports plasmoids (aka plasma applets, and widgets). These are also available in the [http://aur.archlinux.org/packages.php?O=0&K=plasmoid&do_Search=Go&PP=25&SO=d&SB=v repositories] or you can find more on [http://www.kde-look.org/ kde-look.org].<br />
<br />
====Fonts====<br />
<br />
If you have personally set up how your [[Fonts]] render, be aware that System Settings may alter their appearance. When you go 'System Settings > Appearance > Fonts' System Settings will likely alter your font configuration file ({{Filename|fonts.conf}}). There is no way to prevent this but if you set the values to match your {{Filename|fonts.conf}} file the expected font rendering will return (it will require you to restart your application or in a few cases for you to have to restart your desktop). Note too that Gnomes' Font Preferences will also do this if you use both desktop environments.<br />
<br />
===Networking/Printing===<br />
<br />
===Samba/Windows support===<br />
<br />
If you want to have access to Windows services:<br />
<br />
pacman -S samba<br />
<br />
You may then configure your Samba shares through <br />
<br />
System Settings > Advanced (Tab) > Samba<br />
<br />
===Printing support===<br />
<br />
{{Tip|Use the web frontend of CUPS for quicker configuration.}} Printers configured this way are available in KDE applications. <br />
<br />
You may also prefer the printer configuration through 'System Settings > Printer Configuration'.<br />
<br />
===Powersaving===<br />
<br />
Since v.4.2, KDE has integrated Powersaving service called "'''Powerdevil Power Management'''". You may need to configure powersaving, especially on notebooks and netbooks that need to have the CPU core default on '''powersaving''' options or the screen brightness set lower.<br />
<br />
Install cpufrequtils<br />
<br />
pacman -S cpufrequtils<br />
<br />
and make sure you have your CPU's cpufreq module loaded. For more information on this, visit [[Cpufreq|this article]].<br />
<br />
Then, in 'System Settings > Advanced (Tab) > Power Management' configure the options the way you prefer.<br />
<br />
==System Administration==<br />
<br />
===PolicyKit integration===<br />
<br />
Since v4.3, KDE has '''PolicyKit authorisation integration'''. That means that you can now configure PolicyKit settings through<br />
<br />
System Settings > Advanced (Tab) > PolicyKit Authorisation<br />
<br />
according to what you want to configure for your system.<br />
<br />
===Akonadi and external MySQL-Server===<br />
<br />
As of December 2009, akonadi's configuration panel''' does not offer the option to connect to an external MySQL-server via TCP'''. You can however enable this via its configuration file (it's located within ${HOME}/.config/akonadi, the file is called akonadiserverrc). After you've stopped akonadi from the command line (with ''akonadictl stop'') Open the file with your favorite editor, and edit it like so:<br />
<br />
[QMYSQL]<br />
Name=${DBNAME}<br />
User=${USER}<br />
Password=${YOUR_PASSWORD_FOR_THE_USER}<br />
Options=<br />
ServerPath=/usr/sbin/mysqld<br />
StartServer=false<br />
Host=${THE_IP_WHERE_MYSQL_RUNS}<br />
Port=3306<br />
<br />
(of course, substitute your values for variables here)<br />
<br />
Test your setup from the command line (''akonadictl start''). If it starts, you succeeded and akonadi will now connect to MySQL via TCP. stop it once more, and go to system settings -> akonadi configuration (on the "Advanced" tab) and click "start" on the "Akonadi Server configuration" tab to restart akonadi. Alternatively, restart KDE.<br />
<br />
==Desktop Search and Semantic Desktop==<br />
<br />
===Nepomuk===<br />
<br />
From Wikipedia:<br />
''<br />
:NEPOMUK-KDE is featured as one of the newer technologies in KDE 4. It uses the RDF store Soprano and, on a technical level, :allows associating metadata to various items present on a normal user's desktop such as files, bookmarks, e-mails, and :calendar entries. Metadata can be arbitrary RDF; as of KDE 4, tagging is the most user-visible metadata application.'' <br />
<br />
Nepomuk is enabled by default. Nepomuk can be turned on and off in<br />
<br />
System Settings > Advanced > Desktop Search<br />
<br />
Visit [http://en.wikipedia.org/wiki/NEPOMUK_(framework) this Wikipedia article] for more information.<br />
See [http://lwn.net/Articles/358148/ here], [http://www.well.com/~doctorow/metacrap.htm here] and [http://tech.slashdot.org/article.pl?sid=08/12/16/1546219 here] for additional information.<br />
<br />
===Strigi Search===<br />
<br />
KDE4 has '''Strigi''' for file indexing. It is located under '''Desktop Search''', like Nepomuk. It can be turned on only if Nepomuk is turned on as well.<br />
<br />
Strigi indexes your files and helps you find them easily after by just pressing <br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and typing what you want to find.<br />
<br />
'''Nepomuk/Strigi''' search is also integrated into ''Dolphin''. By default, Dolphin has a search bar on top-right where you may type what you want to be found from Strigi's index. If you want to use the advanced Nepomuk searching features (that are going to be implemented into Dolphin's search bar in KDE 4.4 release) add this on the location bar<br />
<br />
nepomuksearch:search term<br />
<br />
where ''search term'' is the term you want to make the search for.<br />
<br />
{{Note | Strigi has implications for resource usage on your computer - CPU, memory, disk access, disk space, battery life. If Strigi is too resource-hungry for you, you can turn it off in "'''System Settings > Advanced > Desktop Search'''". }}<br />
<br />
Strigi index folders can be configured in "Advanced" tab.<br />
<br />
{{Tip|An efficient alternative to Strigi is [http://www.archlinux.org/packages/community/i686/recoll/ Recoll] [http://www.lesbonscomptes.com/recoll/ 1].}}<br />
<br />
==KDM (KDE Desktop Manager)==<br />
<br />
===KDM Xserver file===<br />
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.<br />
<br />
===Configure KDM as root===<br />
<br />
You cannot configure KDM settings when launching System Settings as user. In order to do that, press<br />
<br />
{{Keypress|Alt}} + {{Keypress|F2}}<br />
<br />
and type<br />
<br />
kdesu systemsettings<br />
<br />
In the pop-up kdesu window, enter your root password and wait for System Settings to be launched.<br />
<br />
{{Note| Since you have launched it as root, be careful when changing your settings. All settings configuration in root-launched System Settings are saved under /root/.kde4 and not under ~/.kde4 (your home location).}}<br />
<br />
In the System Settings window, go to <br />
<br />
Advanced (Tab) > Login Manager<br />
<br />
==Phonon==<br />
<br />
===What is Phonon ?===<br />
<br />
''Phonon is the multimedia API for KDE 4. Phonon was created to allow KDE 4 to be independent of any single multimedia framework such as GStreamer or xine and to provide a stable API for KDE 4's lifetime. It was done for various reasons: to create a simple KDE/Qt style multimedia API, to better support native multimedia frameworks on Windows and Mac OS X, and to fix problems of frameworks becoming unmaintained or having API or ABI instability.<br />
''<br />
<br />
from Wikipedia.<br />
<br />
===Which backend should I choose ?===<br />
<br />
KDE4 on Arch Linux has '''Gstreamer''' backend for Phonon. But there are more backends as well. You could use Xine ( [http://www.archlinux.org/packages/?q=phonon phonon-xine] ), Mplayer ( [http://aur.archlinux.org/packages.php?ID=26082 phonon-mplayer-svn] ) , or VLC ( [http://aur.archlinux.org/packages.php?ID=29113 phonon-vlc-svn] ).<br />
<br />
==Troubleshooting==<br />
<br />
===KHotkeys issue===<br />
<br />
Ιf '''khotkeys''' does not work, make sure you have a fully updated system first.<br />
<br />
You can also create ~/.kde4/Autostart/reloadkhotkeys.sh with contents <br />
#!/bin/bash<br />
(sleep 3 && qdbus org.kde.kded /modules/khotkeys reread_configuration) &<br />
and then do a<br />
chmod u+x ~/.kde4/Autostart/reloadkhotkeys.sh<br />
then logout & login.<br />
<br />
===Enabling thumbnails under Konqueror and Dolphin file managers===<br />
<br />
For thumbnails of videos in konqueror and dolphin:<br />
<br />
pacman -S kdemultimedia-mplayerthumbs<br />
<br />
===First login on KDE is slow===<br />
<br />
The first login takes a while; no need to worry. KDE is creating all the proper configuration files under '''~/.kde4''' in order to start.<br />
<br />
===I encounter problems with automounting (or) KDE behaves strangely for no apparent reason===<br />
<br />
====Possible HAL problem====<br />
<br />
=====HAL not installed/not running=====<br />
<br />
It is possible that you have not installed HAL yet.<br />
<br />
Install HAL<br />
<br />
pacman -S hal<br />
<br />
if it is not already installed and then add it to the DAEMONS array in '''/etc/rc.conf''' for full media functionality.<br />
<br />
=====Consolekit session not running=====<br />
<br />
'''ck-launch-session''' command attaches a consolekit session to the X session that is going to run, and it is needed by '''HAL'''.<br />
<br />
If you are starting KDE with '''startx''' try adding <code>ck-launch-session</code> to the '''.xinitrc''',<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with KDM. <br />
{{Tip|This should also clear up any power (i.e. suspend to RAM/Disk) issues you may also be having.}}<br />
<br />
====Possible previous KDE4 faulty settings====<br />
<br />
It may be possible that some previous KDE4 settings in '''~/.kde4''' may be configured in a wrong way (by an application, by the user etc). If you cannot find any way to solve the problem by editing/configuring/deleting/adding settings in '''~/.kde4''', [[KDE#I_want_a_fresh_installation_of_KDE_for_my_system._What_should_I_do_.3F|'''delete''']]the whole directory or just <code>~/.kde4/share/config</code> and restart KDE.<br />
<br />
<br />
===Suspend to Disk/Ram not working===<br />
If suspend to disk/ram does not work then try installing acpid with<br />
<br />
pacman -Sy acpid<br />
<br />
It will autoload with hal, also make sure you are in the power group (remember to logout)<br />
<br />
Also, if you are starting KDE with startx try adding ck-launch-session to the .xinitrc,<br />
as so:<br />
<br />
#!/bin/sh<br />
#<br />
# ~/.xinitrc<br />
#<br />
# Executed by startx (run your window manager from here)<br />
# exec gnome-session<br />
exec ck-launch-session startkde<br />
# exec startxfce4<br />
# ...or the Window Manager of your choice<br />
<br />
This is done automatically with kdm.<br />
<br />
===GPG and SSH===<br />
To disable gpg-agent and/or ssh-agent in KDE sessions, edit /etc/kde/env/agent-startup.sh and /etc/kde/shutdown/agent-shutdown.sh.<br />
<br />
=== Graphics' related issues ===<br />
<br />
==== Low 2D desktop performance (or) Artifacts appear when on 2D ====<br />
<br />
===== Possible driver problem =====<br />
<br />
Make sure you have the proper driver for your card installed, so that your desktop is at least 2D accelerated. Follow these articles for more information: [[ATI]], [[NVIDIA]], [[Intel_Graphics]] for more information, in order to make sure that everything is all right. <br />
<br />
The opensource ATI and Intel drivers and the proprietary Nvidia driver should provide the best 2D acceleration.<br />
<br />
===== Faulty KDE graphics' settings under ~/.kde4 =====<br />
<br />
See [http://wiki.archlinux.org/index.php?title=KDE&action=edit&section=29#Possible_previous_KDE4_faulty_settings this section] for more information. <br />
<br />
==== Low 3D desktop performance====<br />
<br />
KDE begins with desktop effects enabled. Older cards may be insufficient for 3D desktop acceleration. You can disable desktop effects in <br />
<br />
System Settings > Desktop <br />
<br />
or you can toggle desktop effects with <br />
{{Keypress|Alt}} + {{Keypress|Shift}} + {{Keypress|F12}}<br />
<br />
<br />
{{Note| You may encounter such problems with 3D desktop performance even when using a more powerful graphics card, but using catalyst proprietary driver (fglrx). This driver is known for having issues with 3D acceleration. Visit [[ATI|the ATi Wiki page]] for more troubleshooting.}}<br />
<br />
===Sound problems under KDE===<br />
====ALSA related problems====<br />
<br />
{{Note| First make sure you have '''alsa-lib''' and '''alsa-utils''' installed.}}<br />
<br />
====="Falling back to default" messages when trying to listen to any sound in KDE=====<br />
<br />
When you encounter such messages:<br />
<br />
:The audio playback device ''<name-of-the-sound-device>'' does not work.<br />
:Falling back to default<br />
<br />
Go to<br />
<br />
System Settings > Multimedia<br />
<br />
and set the device named "'''default'''" above all the other devices in each box you see.<br />
<br />
=====I cannot play mp3 files when having Gstreamer backend in Qt Phonon=====<br />
<br />
That can be solved by installing gstreamer0.10-plugins<br />
<br />
pacman -S gstreamer0.10-plugins<br />
<br />
You can also change the backend used by Phonon, by installing the phonon-xine<br />
<br />
pacman -S phonon-xine<br />
<br />
if you encounter problems that are not solved after installing gstreamer plugins. Then choose Xine in<br />
<br />
System Settings > Multimedia > Backend (tab)<br />
<br />
(it may have been autoselected after installing phonon-xine)<br />
<br />
=====Amarok "waits" before playing any track=====<br />
<br />
If you have encountered this error, the problem is backend specific. In order to solve this problem, change Amarok's backend from '''gstreamer''' to '''xine'''.<br />
<br />
====OSS4 related problems====<br />
<br />
=====I have OSS4 installed, but I have problems with Kmix etc=====<br />
<br />
Developers of Kmix are still integrating OSSv4 support. There is an [http://aur.archlinux.org/packages.php?ID=29286 AUR package] that is still experimental.<br />
<br />
Arch uses phonon with the Gstreamer backend that should work for most applications. Alternately you could try [[KDE#I_can.27t_play_mp3_files_when_having_Gstreamer_backend_in_Qt_Phonon|phonon with Xine]].<br />
<br />
===I wanted a minimal installation of KDE. After I installed some packages and logged in KDE, there are no panels===<br />
<br />
If you wanted a minimal installation of KDE, logged in, heard the login sound but nothing else happened, you may not have installed the Plasma binaries. These are included in<br />
<br />
kdebase-workspace<br />
<br />
Install this package and restart Xorg.<br />
<br />
===I want a fresh installation of KDE for my system. What should I do ?===<br />
<br />
If you really want that, just rename the settings directory of KDE (just in case you'll need a backup later):<br />
<br />
mv ~/.kde4 ~/.kde4-backup<br />
<br />
===Plasma desktop behaves strangely but I do not know what to do===<br />
<br />
Plasma issues are caused mainly by unstable '''plasmoids''' or '''plasma themes'''. First, find which was the last plasmoid or plasma theme you had installed and disable it or even remove it. <br />
<br />
If you cannot find which the problem is, but you do not want all the KDE settings to be lost, do:<br />
<br />
rm -r ~/.kde4/share/config/plasma*<br />
<br />
This command will '''delete all plasma configs''' of your user and when you will relogin into KDE, you will have the '''default''' settings back.<br />
<br />
===My external HDD/my CD/DVD cannot be found by Device Notifier plasmoid (or) is not automounted===<br />
<br />
That might happen if you have devicekit related packages installed, like <code> devicekit-disks </code> . It seems to work properly only GNOME. <br />
<br />
So, remove anything '''devicekit''' related<br />
<br />
# pacman -Rcn $(pacman -Q | grep devicekit | awk '{print $1}')<br />
<br />
restart HAL <br />
<br />
# /etc/rc.d/hal restart<br />
<br />
and relogin into KDE. Your external HDD or CD/DVD can be found or automounted again.<br />
<br />
{{Warning| Make sure that this problem occurs on your machine '''only''' due to DeviceKit operations and not''' due to hardware issues'''. Removing DeviceKit makes GNOME's hard disk related features not to work properly.}}<br />
<br />
==Other KDE projects==<br />
===The Chakra Project===<br />
<br />
====Split KDE packages====<br />
[http://chakra-project.org/ The Chakra Project] is a community-based modular version of KDE 4 and Live CD project, which includes a number of UI enhancements for KDE 4.x. Visit [http://chakra-project.org/wiki/index.php/Main_Page the Chakra Project Wiki main page] for more information.<br />
<br />
====Chakra Project Arch Live CD====<br />
<br />
The Chakra Project also provides a full featured Live CD, which has the latest stable KDEmod4 packages included.<br />
You may visit [http://chakra-project.org/download-iso.html the Chakra Project Live CD webpage] in order to find more information.<br />
<br />
====Passing from KDEmod to [extra]'s KDE====<br />
<br />
{{Note|You do have instructions for passing from '''[extra]''''s KDE4 to KDEmod4 [http://chakra-project.org/download-kdemod.html here]. }}<br />
<br />
Both flavours of KDE provide the same Desktop Environment, so if you install the one or the other, in the same upstream version, there should not be any problem regarding plasmoids, themes, styles or any KDE related application.<br />
<br />
So, if you want, for any reason, to pass from KDEmod to '''[extra]''''s KDE, do:<br />
<br />
pacman -Rd kdemod<br />
<br />
OR<br />
<br />
pacman -Rd kdemod-uninstall<br />
<br />
and it should be removed, but with the '''-d''' argument, the KDE dependent packages '''are not''' uninstalled, but only the Desktop Environment. But, if you want to '''completelly''' remove any KDEmod specific application/plasmoid/style etc too, do<br />
<br />
pacman -Rcns kdemod<br />
<br />
and then make sure that everything has been uninstalled:<br />
<br />
pacman -Q | grep kde<br />
<br />
{{Note| If you want to use the same KDE specific settings from the previous KDEmod installation, move or rename ~/'''.kdemod4''' to ~/'''.kde4''' }}<br />
<br />
After this, you may have KDEmod uninstalled.<br />
<br />
Then, follow [[KDE#Installing_KDE_4.3|this]].<br />
<br />
===KDE unstable===<br />
====KDE svn====<br />
<br />
If you want to install an unstable KDE version, visit [http://bbs.archlinux.org/viewtopic.php?id=44507 this thread]<br />
<br />
and follow the instructions there.<br />
<br />
It is currently '''inactive'''.<br />
<br />
====KDEmod testing/unstable====<br />
<br />
You may visit [http://chakra-project.org/repos.html this webpage] and see which repos can you add in''' pacman.conf''' in order to test the KDEmod unstable packages.<br />
<br />
====KDE unstable (snapshot)====<br />
<br />
The member '''ProgDan''' has created a repo where he uploads the testing KDE packages when a new '''upstream snapshot''' is out. You may visit [http://bbs.archlinux.org/viewtopic.php?id=76245 this topic] for more information.<br />
<br />
===KDE Legacy===<br />
<br />
====Downgrading to KDEmod3 from KDE 4.3====<br />
For those people who decide that KDE 4.3 is still not yet "ready" for them, there is a website about how to downgrade to a version of KDE 3.5 called '''kdemod3''':<br />
* [http://chakra-project.org/download-kdemod3.html KDEmod3]<br />
<br />
'''Warning''': There have been issues reported regarding Libjpeg7, that caused KDEmod3 to behave strangely. In order to solve that, install [http://aur.archlinux.org/packages.php?ID=28427 libjpeg6 from AUR]. More info [http://chakra-project.org/bbs/viewtopic.php?id=1097 here]<br />
<br />
==Bugs==<br />
===Common bugs===<br />
If you think you found something that seems like bug, please see [[Common_Issues]] and regarding that: KDE 4 config files are usually located at <br />
<br />
~/.kde4/share/config/<br />
<br />
and for app-specific configs <br />
<br />
~/.kde4/share/apps/<br />
<br />
===Distro and Upstream bug report===<br />
It is preferrable that if you find a minor or serious bug, you should visit [http://bugs.archlinux.org the Arch Bug Tracker] or/and [http://bugs.kde.org KDE Bug Tracker] in order to report that. Make sure that you be clear on what you want to report.<br />
<br />
==External Links==<br />
* [http://www.kde.org KDE Homepage]<br />
* [http://bugs.kde.org KDE Bug Tracker]<br />
* [http://bugs.archlinux.org Arch Linux Bug Tracker]<br />
* [http://websvn.kde.org KDE WebSVN]</div>Nixxx