Put in remaining pages and wiki contents.
[ikiwiki.git] / docs / howtos / HowToKde.mdwn
1  **Index** 
2 [[!toc  levels=3]]
3
4
5 # KDE on DragonFlyBSD 
6
7 KDE is available on DragonFlyBSD in its up-to-date incarnation. You can install it via pkgsrc as binary package or compile it on your machine from source.
8
9
10 ## Necessary pkgsrc-packages 
11
12 This are the pkgsrc-packages for KDE:
13
14 * x11/kde-i18n-** - KDE desktop translations (replace ** with your language, e. g. fr for french etc)
15
16 * misc/kdeaccessibility3 - Accessibility support for the KDE integrated X11 desktop
17
18 * misc/kdeartwork3 - Artwork for the KDE integrated X11 desktop
19
20 * x11/kdebase3 - Base modules for the KDE 3 integrated X11 desktop
21
22 * games/kdegames3 - Games for the KDE integrated X11 desktop
23
24 * graphics/kdegraphics3 - Graphics programs for the KDE integrated X11 desktop
25
26 * x11/kdelibs3 - Support libraries for the KDE integrated X11 desktop
27
28 * multimedia/kdemultimedia3 - Multimedia tools for the KDE integrated X11 desktop
29
30 * net/kdenetwork3 - Network modules for the KDE integrated X11 desktop
31
32 * misc/kdepim3 - Personal Information Management tools for the KDE desktop
33
34 * misc/kdeutils - Utilities for the KDE integrated X11 desktop
35
36 There's a meta-package for this kde packages available: meta-pkgs/kde3
37
38
39 ## Installing binaries or build from sourcecode? 
40
41 Installing binary packages is way faster, but some features of KDE aren't enabled in the binary packages (e. g. CUPS-support), so you may want to compile from source, if you need this features.
42
43
44 ### Prerequisite libraries 
45
46 In case you decide to compile it from source, you should install some packages before:
47
48 * libogg
49
50 * libvorbis
51
52 * liba52
53
54 * faad2
55
56 * jpeg
57
58 * ffmpeg
59
60 Check out also http://www.kde.org/info/requirements/3.5.php for additional packages!
61
62  **Beware:**  building from source will need a lot of time!
63
64 There are also some KDE apps available, like Amarok, KMplayer and Konversation, but not all of them build or are available as binary package by now.
65
66
67 ## Problems 
68
69 Here are some issues, I've found:
70
71 * When you start kdm for the first time, it isn't able to build a session. Solution: create a file ".xinitrc" in your home directory with this line: "startkde". Then do a "startx" and log out of KDE. Now you can use kdm regulary.
72
73 * When you install kdemultimedia, KDE loses it's ability to play ogg-coded sound notifications. Without kdemultimedia installed, it can. Wav-coded sound files work, though.
74
75 * I haven't found a battery monitor that fits well in KDE's tray. I use gkrellm now. Maybe kbatterymonitor (in KDE's trunk) will be available some day for DragonFly.
76
77 * DragonFly has no desktop-priority for the GUI. For example, doing a "cvs up" for your pkgsrc tree slows much down the responsiveness of KDE.
78
79 * Ksysguard doesn't compile in CURRENT (1.9), you need [this patch](http://article.gmane.org/gmane.os.netbsd.devel.pkgsrc.user/3836).
80
81 * Ksysguard doesn't work on any DragonFlyBSD out of box. You need to make ksysguardd binary sgid kmem.
82     
83     chown root:kmem /usr/pkg/bin/ksysguardd
84     chmod 2755 /usr/pkg/bin/ksysguardd
85
86
87 ## Tips & tricks 
88
89
90 * If you want a shutdown with poweroff from the KDE, you must add this line in the file /usr/pkg/share/kde/config/kdm/kdmrc in the section "Shutdown": 
91     
92     [Shutdown]
93     HaltCmd=/sbin/shutdown -p now
94
95
96
97 * If you want to use the CUPS printing system in KDE, add this line to your /usr/pkg/etc/mk.conf file and compile it from source:
98     
99     PKG_OPTIONS.kdelibs=cups
100
101
102 ----
103 CategoryHowTo