aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/desktop/chapter.xml
blob: eb89f14726e03447f08fa09362e380fba8b2a7f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!--
     The FreeBSD Documentation Project
     $FreeBSD$
-->

<chapter id="desktop">
  <chapterinfo>
    <authorgroup>
      <author>
	<firstname>Christophe</firstname>
	<surname>Juniet</surname>
	<contrib>Contributed by </contrib>
      </author>
    </authorgroup>
  </chapterinfo>

  <title>Desktop Applications</title>

  <sect1 id="desktop-synopsis">
    <title>Synopsis</title>

    <para>While &os; is popular as a server for its performance and
      stability, it is also suited for day-to-day use as a desktop.
      With over 24,000 applications available as <link
	linkend="packages-using">packages</link> or <link
	linkend="ports-using">ports</link>, it is easy to build a
      customized desktop that runs a wide variety of desktop
      applications.  This chapter demonstrates how to install some
      popular desktop applications effortlessly using packages or the
      &os; Ports Collection.</para>

    <para>As &os; features <link linkend="linuxemu">&linux; binary
	compatibility</link>, many applications developed for &linux;
      can be installed on a &os; desktop.  Many of the ports using
      &linux; binary compatibility start with <quote>linux-</quote>.
      This chapter assumes that &linux; binary compatibility has been
      enabled before any &linux; applications are installed.</para>

    <para>This chapter demonstrates how to install the following
      desktop applications:</para>

    <informaltable frame="none" pgwide="1">
      <tgroup cols="3">
	<thead>
	  <row>
	    <entry>Type of Application</entry>
	    <entry>Application Name</entry>
	    <entry>Package Name</entry>
	    <entry>Ports Name</entry>
	  </row>
	</thead>

	<tbody>

	  <row>
	    <entry>Browser</entry>
	    <entry><application>Firefox</application></entry>
	    <entry><literal>firefox</literal></entry>
	    <entry><filename
		role="package">www/firefox</filename></entry>
	  </row>

	  <row>
	    <entry>Browser</entry>
	    <entry><application>Opera</application></entry>
	    <entry><literal>opera</literal></entry>
	    <entry><filename
		role="package">www/opera</filename></entry>
	  </row>

	  <row>
	    <entry>Browser</entry>
	    <entry><application>Konqueror</application></entry>
	    <entry><literal>kde4-baseapps</literal></entry>
	    <entry><filename
		role="package">x11/kde4-baseapps</filename></entry>
	  </row>

	  <row>
	    <entry>Browser</entry>
	    <entry><application>Chromium</application></entry>
	    <entry><literal>chromium</literal></entry>
	    <entry><filename
		role="package">www/chromium</filename></entry>
	  </row>

	  <row>
	    <entry>Productivity</entry>
	    <entry><application>Calligra</application></entry>
	    <entry><literal>calligra</literal></entry>
	    <entry><filename
		role="package">editors/calligra</filename></entry>
	  </row>

	  <row>
	    <entry>Productivity</entry>
	    <entry><application>AbiWord</application></entry>
	    <entry><literal>abiword</literal></entry>
	    <entry><filename
		role="package">editors/abiword</filename></entry>
	  </row>

	  <row>
	    <entry>Productivity</entry>
	    <entry><application>The GIMP</application></entry>
	    <entry><literal>gimp</literal></entry>
	    <entry><filename
		role="package">graphics/gimp</filename></entry>
	  </row>

	  <row>
	    <entry>Productivity</entry>
	    <entry><application>Apache
		OpenOffice</application></entry>
	    <entry><literal>openoffice</literal></entry>
	    <entry><filename
		role="package">editors/openoffice-3</filename></entry>
	  </row>

	  <row>
	    <entry>Productivity</entry>
	    <entry><application>LibreOffice</application></entry>
	    <entry><literal>libreoffice</literal></entry>
	    <entry><filename
		role="package">editors/libreoffice</filename></entry>
	  </row>

	  <row>
	    <entry>Document Viewer</entry>
	    <entry><application>&acrobat.reader;</application></entry>
	    <entry><literal>no package due to
		license restriction</literal></entry>
	    <entry><filename
		role="package">print/acroread9</filename></entry>
	  </row>

	  <row>
	    <entry>Document Viewer</entry>
	    <entry><application>gv</application></entry>
	    <entry><literal>gv</literal></entry>
	    <entry><filename
		role="package">print/gv</filename></entry>
	  </row>

	  <row>
	    <entry>Document Viewer</entry>
	    <entry><application>Xpdf</application></entry>
	    <entry><literal>xpdf</literal></entry>
	    <entry><filename
		role="package">graphics/xpdf</filename></entry>
	  </row>

	  <row>
	    <entry>Document Viewer</entry>
	    <entry><application>GQview</application></entry>
	    <entry><literal>gqview</literal></entry>
	    <entry><filename
		role="package">graphics/gqview</filename></entry>
	  </row>

	  <row>
	    <entry>Finance</entry>
	    <entry><application>GnuCash</application></entry>
	    <entry><literal>gnucash</literal></entry>
	    <entry><filename
		role="package">finance/gnucash</filename></entry>
	  </row>

	  <row>
	    <entry>Finance</entry>
	    <entry><application>Gnumeric</application></entry>
	    <entry><literal>gnumeric</literal></entry>
	    <entry><filename
		role="package">math/gnumeric</filename></entry>
	  </row>

	  <row>
	    <entry><application>KMyMoney</application></entry>
	    <entry><literal>kmymoney-kde4</literal></entry>
	    <entry><filename
		role="package">finance/kmymoney-kde4</filename></entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <para>Before reading this chapter, you should know how to:</para>

    <itemizedlist>
      <listitem>
	<para>Install additional software using packages or
	  ports.</para>
      </listitem>

      <listitem>
	<para>Enable &linux; binary compatibility.</para>
      </listitem>
    </itemizedlist>

    <para>For information on how to configure a multimedia
      environment, refer to <link linkend="multimedia"></link>.  For
      information on how to set up and use electronic mail, refer to
      <link linkend="mail"></link>.</para>
  </sect1>

  <sect1 id="desktop-browsers">
    <title>Browsers</title>

    <indexterm>
      <primary>browsers</primary>
      <secondary>web</secondary>
    </indexterm>

    <para>&os; does not come with a pre-installed web browser.
      Instead, the <ulink
	url="http://www.FreeBSD.org/ports/www.html">www</ulink>
      category of the Ports Collection contains many browsers which
      can be installed as a package or compiled from the Ports
      Collection.</para>

    <para>The <application>KDE</application> and
      <application>GNOME</application> desktop environments include
      their own HTML browser.  Refer to <link linkend="x11-wm"></link>
      for more information on how to set up these complete
      desktops.</para>

    <para>Some light-weight browsers include
      <filename role="package">www/dillo2</filename>,
      <filename role="package">www/links</filename>, and
      <filename role="package">www/w3m</filename>.</para>

    <para>This section demonstrates how to install the following
      popular web browsers and indicates if the application is
      resource-heavy, takes time to compile from ports, or has any
      major dependencies.</para>

    <informaltable frame="none" pgwide="1">
      <tgroup cols="4">
	<thead>
	  <row>
	    <entry>Application Name</entry>
	    <entry>Resources Needed</entry>
	    <entry>Installation from Ports</entry>
	    <entry>Notes</entry>
	  </row>
	</thead>

	<tbody>
	  <row>
	    <entry><application>Firefox</application></entry>
	    <entry>medium</entry>
	    <entry>heavy</entry>
	    <entry><application>&os; and &linux; versions are
		available</application></entry>
	  </row>

	  <row>
	    <entry><application>Opera</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry>&os; and &linux; versions are available</entry>
	  </row>

	  <row>
	    <entry><application>Konqueror</application></entry>
	    <entry>medium</entry>
	    <entry>heavy</entry>
	    <entry><application>Requires KDE</application>
	      libraries</entry>
	  </row>

	  <row>
	    <entry><application>Chromium</application></entry>
	    <entry>medium</entry>
	    <entry>medium</entry>
	    <entry><application>Requires Gtk+</application></entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <sect2>
      <title>Firefox</title>

      <indexterm>
	<primary><application>Firefox</application></primary>
      </indexterm>

      <para><application>Firefox</application> is a modern, free,
	open source browser that is fully ported to &os;.  It
	features a standards-compliant HTML display engine, tabbed
	browsing, popup blocking, extensions, improved security, and
	more.  <application>Firefox</application> is based on the
	<application>Mozilla</application> codebase.</para>

      <para>Install the package of the latest release version of
	<application>Firefox</application> by typing:</para>

      <screen>&prompt.root; <userinput>pkg_add -r firefox</userinput></screen>

      <para>To instead install <application>Firefox</application>
	Extended Support Release (ESR) version, use:</para>

      <screen>&prompt.root; <userinput>pkg_add -r firefox-esr</userinput></screen>

      <para>Localized versions are available in <filename
	  role="package">www/firefox-i18n</filename> and <filename
	  role="package">www/firefox-esr-i18n</filename>.</para>

      <para>The Ports Collection can instead be used to compile
	the desired version of <application>firefox</application> from
	source code.  This example builds <filename
	  role="package">www/firefox</filename>, where
	<literal>firefox</literal> can be replaced with the ESR or
	localized version to install.</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/firefox</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

    <sect3 id="moz-java-plugin">
      <title>Firefox and &java; Plugin</title>

      <note>
	<para>The following sections assume that
	  <application>Firefox</application> is already
	  installed.</para>
      </note>

      <para><filename role="package">java/icedtea-web</filename>
	provides a free software web browser plugin for running
	Java applets.  It can be installed as a package.  To
	alternately compile the port:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/java/icedtea-web</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>Keep the default configuration options when compiling the
	port.</para>

      <para>Once installed, start <application>firefox</application>,
	enter <literal>about:plugins</literal> in the location bar and
	press <keycap>Enter</keycap>.  A page listing the installed
	plugins will be displayed.  The
	<application>&java;</application> plugin should be
	listed.</para>

      <para>If the browser is unable to find the plugin, each user
	will have to run the following command and relaunch the
	browser:</para>

      <screen>&prompt.user; <userinput>ln -s /usr/local/lib/IcedTeaPlugin.so \
  $HOME/.mozilla/plugins/</userinput></screen>
    </sect3>

    <sect3 id="moz-flash-plugin">

      <title>Firefox and &adobe; &flash; Plugin</title>

      <indexterm>
	<primary>Flash</primary>
      </indexterm>

      <para>A native &adobe; &flash; plugin is not available for &os;.
	However, a software layer (wrapper) for running the &linux;
	version of the plugin exists.  This wrapper also provides
	support for other browser plugins such as &realplayer;.</para>

      <para>The steps required to install and enable this plugin vary
	by the &os; version:</para>

      <procedure>
	<step>
	  <title>Under &os;&nbsp;7.X</title>

	  <para>Install the <filename
	      role="package">www/nspluginwrapper</filename> package
	    or port.  This application requires <filename
	      role="package">emulators/linux_base-fc4</filename> which
	    is a large port.</para>

	  <para>Next, install <filename
	      role="package">www/linux-flashplugin9</filename>.  This
	    will install &flash; 9.X which is the version known to
	    run correctly under &os;&nbsp;7.X.</para>
	</step>

	<step>
	  <title>Under &os;&nbsp;8.X or Newer</title>

	  <para>Compile the <filename
	      role="package">www/nspluginwrapper</filename> port.
	    Due to licensing restrictions, a package is not available.
	    This port requires <filename
	      role="package">emulators/linux_base-f10</filename> which
	    is a large port.</para>

	  <para>Next, compile the <filename
	      role="package">www/linux-f10-flashplugin11</filename>
	    port.  Due to licensing restrictions, a package is not
	    available.</para>

	  <para>This version of &flash; requires the following link to
	    be created:</para>

	  <screen>&prompt.root; <userinput>ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
  /usr/local/lib/browser_plugins/</userinput></screen>

	  <para>Manually create <filename
	      class="directory">/usr/local/lib/browser_plugins</filename>
	    if it does not already exist on the system.</para>
	</step>
      </procedure>

      <para>Once the right &flash; port, according to the &os;
	version, is installed, the plugin must be installed by each
	user with <command>nspluginwrapper</command>:</para>

      <screen>&prompt.user; <userinput>nspluginwrapper -v -a -i</userinput></screen>

      <para>Start the browser, enter <literal>about:plugins</literal>
	in the location bar and press <keycap>Enter</keycap>.  A list
	should appear with all the currently available plugins.</para>
    </sect3>

    <sect3 id="moz-swfdec-flash-plugin">
      <title>Firefox and Swfdec &flash; Plugin</title>

      <para>Swfdec is the library for decoding and rendering &flash;
	animations.  Swfdec-Mozilla is a plugin for
	<application>Firefox</application> browsers that uses the
	Swfdec library for playing SWF files.  It is still in heavy
	development.</para>

      <para>To install the package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r swfdec-plugin</userinput></screen>

      <para>If the package is not available, compile and install it
	from the Ports Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/swfdec-plugin</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

	<para>Restart the browser for this plugin to take
	  effect.</para>
      </sect3>
    </sect2>

    <sect2>
      <title>Opera</title>

      <indexterm>
	<primary><application>Opera</application></primary>
      </indexterm>

      <para><application>Opera</application> is a full-featured and
	standards-compliant browser which is still lightweight and
	fast.  It comes with a built-in mail and news reader, an IRC
	client, an RSS/Atom feeds reader, and more.  It is available
	as a native &os; version and as a version that runs under
	&linux; emulation.</para>

      <para>This command installs the package of the &os; version of
	<application>Opera</application>.  Replace
	<literal>opera</literal> with <literal>linux-opera</literal>
	to instead install the &linux; version.</para>

      <screen>&prompt.root; <userinput>pkg_add -r opera</userinput></screen>

      <para>Alternately, install either version through the Ports
	Collection.  This example compiles the native version:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/opera</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>To install the &linux; version, substitute
	<literal>linux-opera</literal> in place of
	<literal>opera</literal>.</para>

      <para>To install &adobe; &flash; plugin support, first compile
	the <filename
	  role="package">www/linux-f10-flashplugin11</filename> port,
	as a package is not available due to licensing restrictions.
	Then install either the <filename
	  role="package">www/opera-linuxplugins</filename> port
	or package.  This example compiles both from ports:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/linux-f10-flashplugin11</userinput>
&prompt.root; <userinput>make install clean</userinput>
&prompt.root; <userinput>cd /usr/ports/www/opera-linuxplugins</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>Once installed, check the presence of the plugin by
	starting the browser, entering
	<literal>opera:plugins</literal> in the location bar and
	pressing <keycap>Enter</keycap>.  A list should appear with
	all the currently available plugins.</para>

      <para>To add the <application>&java;</application> plugin,
	follow the <link linkend="moz-java-plugin">instructions for
	  Firefox</link>.</para>
    </sect2>

    <sect2>
      <title>Konqueror</title>

      <indexterm>
	<primary><application>Konqueror</application></primary>
      </indexterm>

      <para><application>Konqueror</application> is part of <filename
	  role="package">x11/kde4-baseapps</filename>.
	<application>Konqueror</application> is more than a web
	browser as it is also a file manager and a multimedia
	viewer.</para>

      <para><application>Konqueror</application> supports WebKit as
	well as its own KHTML.  WebKit is a rendering engine used by
	many modern browsers including Chromium.  To use WebKit with
	<application>Konqueror</application> on &os;, install
	the <filename
	  role="package">www/kwebkitpart</filename> package or
	port.  This example compiles the port:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/kwebkitpart</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>To enable WebKit within
	<application>Konqueror</application>, click
	<quote>Settings</quote>, <quote>Configure Konqueror</quote>.
	In the <quote>General</quote> settings page, click the
	drop-down menu next to <quote>Default web browser
	engine</quote> and change <quote>KHTML</quote> to
	<quote>WebKit</quote>.</para>

      <para><application>Konqueror</application> also supports
	<application>&flash;</application>.  A <quote>How To</quote>
	guide for getting <application>&flash;</application> support
	on <application>Konqueror</application> is available at <ulink
	  url="http://freebsd.kde.org/howtos/konqueror-flash.php"></ulink>.</para>
    </sect2>

    <sect2>
      <title>Chromium</title>

      <indexterm>
	<primary><application>Chromium</application></primary>
      </indexterm>

      <para><application>Chromium</application> is an open source
	browser project that aims to build a safer, faster, and more
	stable web browsing experience.
	<application>Chromium</application> features tabbed browsing,
	popup blocking, extensions, and much more.
	<application>Chromium</application> is the open source project
	upon which the Google Chrome web browser is based.</para>

      <para><application>Chromium</application> can be installed as a
	package by typing:</para>

      <screen>&prompt.root; <userinput>pkg_add -r chromium</userinput></screen>

      <para>Alternatively, <application>Chromium</application> can be
	compiled from source using the Ports Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/www/chromium</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <note>
	<para>The executable for <application>Chromium</application>
	  is <filename>/usr/local/bin/chrome</filename>, not
	  <filename>/usr/local/bin/chromium</filename>.</para>
      </note>

    <sect3 id="chromium-java-plugin">
      <title>Chromium and &java; Plugin</title>

      <note>
	<para>The following sections assume that
	  <application>Chromium</application> is already
	  installed.</para>
      </note>

      <para>To install &java; plugin support, follow the instructions
	in <link linkend="moz-java-plugin"></link>.</para>

      <para>Once &java; support is installed, start
	<application>Chromium</application>, and enter
	<literal>about:plugins</literal> in the address bar.
	IcedTea-Web should be listed as one of the installed
	plugins.</para>

      <para>If <application>Chromium</application> does not display
	the IcedTea-Web plugin, run the following commands, and
	restart the web browser:</para>

      <screen>&prompt.root; <userinput>mkdir -p /usr/local/share/chromium/plugins
&prompt.root; ln -s /usr/local/lib/IcedTeaPlugin.so \
  /usr/local/share/chromium/plugins/</userinput></screen>
      </sect3>

      <sect3 id="chromium-flash-plugin">
	<title>Chromium and &adobe;&nbsp;&flash; Plugin</title>

	<para>Configuring <application>Chromium</application> and
	  &adobe;&nbsp;&flash; is similar to the
	  <link linkend="moz-flash-plugin">instructions for
	  Firefox</link>.  No additional configuration should be
	  necessary, since <application>Chromium</application> is able
	  to use some plugins from other browsers.</para>
      </sect3>
    </sect2>
  </sect1>

  <sect1 id="desktop-productivity">
    <title>Productivity</title>

    <para>When it comes to productivity, new users often look for a
      good office suite or a friendly word processor.  While some
      <link linkend="x11-wm">desktop environments</link> like
      <application>KDE</application> already provide an office suite,
      there is no default productivity package.  Several office
      suites and word processors are available for &os;, regardless
      of the installed desktop environment.</para>

    <para>This section demonstrates how to install the following
      popular web browsers and indicates if the application is
      resource-heavy, takes time to compile from ports, or has any
      major dependencies.</para>

    <informaltable frame="none" pgwide="1">
      <tgroup cols="4">
	<thead>
	  <row>
	    <entry>Application Name</entry>
	    <entry>Resources Needed</entry>
	    <entry>Installation from Ports</entry>
	    <entry>Major Dependencies</entry>
	  </row>
	</thead>

	<tbody>
	  <row>
	    <entry><application>Calligra</application></entry>
	    <entry>light</entry>
	    <entry>heavy</entry>
	    <entry><application>KDE</application></entry>
	  </row>

	  <row>
	    <entry><application>AbiWord</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry><application>Gtk+</application> or
	      <application>GNOME</application></entry>
	  </row>

	  <row>
	    <entry><application>The Gimp</application></entry>
	    <entry>light</entry>
	    <entry>heavy</entry>
	    <entry><application>Gtk+</application></entry>
	  </row>

	  <row>
	    <entry><application>Apache
		OpenOffice</application></entry>
	    <entry>heavy</entry>
	    <entry>huge</entry>
	    <entry><application>&jdk;</application> and
	      <application>Mozilla</application></entry>
	  </row>

	  <row>
	    <entry><application>LibreOffice</application></entry>
	    <entry>somewhat heavy</entry>
	    <entry>huge</entry>
	    <entry><application>Gtk+</application>, or
	      <application>KDE</application>/
	      <application>GNOME</application>, or
	      <application>&jdk;</application></entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <sect2>
      <title>Calligra</title>

      <indexterm>
	<primary><application>Calligra</application></primary>
      </indexterm>
      <indexterm>
	<primary>office suite</primary>
	<secondary><application>Calligra</application></secondary>
      </indexterm>

      <para>The KDE community provides its desktop environment with
	an office suite which can be used outside of
	<application>KDE</application>.
	<application>Calligra</application> includes standard
	components that can be found in other office suites.
	<application>Words</application> is the word processor,
	<application>Sheets</application> is the spreadsheet program,
	<application>Stage</application> manages slide presentations,
	and <application>Karbon</application> is used to draw
	graphical documents.</para>

      <para><filename
	  role="package">editors/calligra</filename> can be installed
	as a package or a port.  To install the package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r calligra</userinput></screen>

      <para>If the package is not available, use the Ports Collection
	instead:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/editors/calligra</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>

    <sect2>
      <title>AbiWord</title>

      <indexterm>
	<primary><application>AbiWord</application></primary>
      </indexterm>

      <para><application>AbiWord</application> is a free word
	processing program similar in look and feel to
	<application>&microsoft; Word</application>.  It is suitable
	for typing papers, letters, reports, memos, and so forth.  It
	is fast, contains many features, and is user-friendly.</para>

      <para><application>AbiWord</application> can import or export
	many file formats, including some proprietary ones like
	&microsoft; <filename>.doc</filename>.</para>

      <para>To install the <application>AbiWord</application>
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r abiword</userinput></screen>

      <para>If the package is not available, it can be compiled from
	the Ports Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/editors/abiword</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>

    <sect2>
      <title>The GIMP</title>

      <indexterm>
	<primary><application>The GIMP</application></primary>
      </indexterm>

      <para>For image authoring or picture retouching,
	<application>The GIMP</application> provides a sophisticated
	image manipulation program.  It can be used as a simple paint
	program or as a quality photo retouching suite.  It supports a
	large number of plugins and features a scripting interface.
	<application>The GIMP</application> can read and write a wide
	range of file formats and supports interfaces with scanners
	and tablets.</para>

      <para>To install the package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r gimp</userinput></screen>

      <para>Alternately, use the Ports Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/graphics/gimp</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>The <ulink
	  url="http://www.FreeBSD.org/ports/graphics.html">graphics</ulink>
	category of the Ports Collection contains several
	  <application>GIMP</application>-related plugins, help
	files, and user manuals.</para>

    </sect2>

    <sect2>
      <title>Apache OpenOffice</title>

      <indexterm>
	<primary>
	  <application>Apache OpenOffice</application>
	</primary>
      </indexterm>
      <indexterm>
	<primary>office suite</primary>
	<secondary>
	  <application>Apache OpenOffice</application>
	</secondary>
      </indexterm>

      <para>On 1 June 2011, &oracle; donated the
	<application>OpenOffice.org</application> code base to the
	Apache Software Foundation.
	<application>OpenOffice.org</application> is now known as
	<application>Apache OpenOffice</application> and is developed
	under the wing of the Apache Software Foundation's
	Incubator.</para>

      <para><application>Apache OpenOffice</application> includes all
	of the mandatory applications in a complete office
	productivity suite:  a word processor, spreadsheet,
	presentation manager, and drawing program.  Its user
	interface is very similar to other office suites, and it can
	import and export in various popular file formats.  It is
	available in a number of different languages and
	internationalization has been extended to interfaces, spell
	checkers, and dictionaries.</para>

      <para>The word processor of
	<application>Apache OpenOffice</application> uses a native XML
	file format for increased portability and flexibility.  The
	spreadsheet program features a macro language which can be
	interfaced with external databases.
	<application>Apache OpenOffice</application> is stable and
	runs natively on &windows;, &solaris;, &linux;, &os;, and
	&macos;&nbsp;X.  More information about <application>Apache
	  OpenOffice</application> can be found on the <ulink
	  url="http://incubator.apache.org/openofficeorg/">Apache
	  OpenOffice web site</ulink>.  For &os; specific
	information, and to directly download packages, refer to the
	web site of the <ulink
	  url="http://porting.openoffice.org/freebsd/">&os; Apache
	  OpenOffice Porting Team</ulink>.</para>

      <para>To install the <application>Apache
	  OpenOffice</application> package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r apache-openoffice</userinput></screen>

      <note>
	<para>When running a -RELEASE version of &os;, this should
	  work.  Otherwise, download the latest package from the
	  website of the &os;
	  <application>Apache OpenOffice</application> Porting Team
	  and install it using &man.pkg.add.1;.  Both the current
	  release and development versions are available for download
	  at this web site.</para>
      </note>

      <para>Once the package is installed, type the following command
	to launch <application>Apache OpenOffice</application>:</para>

      <screen>&prompt.user; <userinput>openoffice-<replaceable>X.Y.Z</replaceable></userinput></screen>

      <para>where <replaceable>X.Y.Z</replaceable> is the version
	number of the installed version of
	<application>Apache OpenOffice</application>.</para>

      <note>
	<para>During the first launch, some questions will be asked
	  and a <filename>.openoffice.org</filename> folder
	  will be created in the user's home directory.</para>
      </note>

      <para>If the desired <application>Apache
	  OpenOffice</application> package is not available, compiling
	the port is still an opton.  However, this requires a lot of
	disk space and a fairly long time to compile:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/editors/openoffice-3</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <note>
	<para>To build a localized version, replace the previous
	  command with:</para>

	<screen>&prompt.root; <userinput>make LOCALIZED_LANG=<replaceable>your_language</replaceable> install clean</userinput></screen>

	<para>Replace
	  <replaceable>your_language</replaceable> with the correct
	  language ISO-code.  A list of supported language codes is
	  available in
	  <filename>files/Makefile.localized</filename>, located in
	  the port's directory.</para>
      </note>
    </sect2>

    <sect2>
      <title>LibreOffice</title>

      <indexterm>
	<primary><application>LibreOffice</application></primary>
      </indexterm>
      <indexterm>
	<primary>office suite</primary>
	<secondary><application>LibreOffice</application></secondary>
      </indexterm>

      <para><application>LibreOffice</application> is a free software
	office suite developed by <ulink
	  url="http://www.documentfoundation.org/">The Document
	  Foundation</ulink>.  It is compatible with other major
	office suites and available on a variety of platforms.  It is
	a rebranded fork of <application>OpenOffice.org</application>
	which includes all of the mandatory applications in a complete
	office productivity suite: a word processor, spreadsheet,
	presentation manager, drawing program, database management
	program, and a tool for creating and editing mathematical
	formula.  It is available in a number of different languages
	and internationalization has been extended to interfaces,
	spell checkers, and dictionaries.</para>

      <para>The word processor of
	<application>LibreOffice</application> uses a native XML file
	format for increased portability and flexibility.  The
	spreadsheet program features a macro language which can be
	interfaced with external databases.
	<application>LibreOffice</application> is stable and runs
	natively on &windows;, &linux;, &os;, and &macos;&nbsp;X.
	More information about
	<application>LibreOffice </application> can be found on the
	<ulink url="http://www.libreoffice.org/">LibreOffice web
	  site</ulink>.</para>

      <para>To install the English version of the
	<application>LibreOffice</application> package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r libreoffice</userinput></screen>

      <para>The <ulink
	  url="http://www.FreeBSD.org/ports/editors.html">editors</ulink>
	category of the Ports Collection contains several
	localizations for <application>LibreOffice</application>.
	When installing a localized package, replace
	<literal>libreoffice</literal> with the name of the
	localized package.</para>

      <para>Once the package is installed, type the following command
	to run <application>LibreOffice</application>:</para>

      <screen>&prompt.user; <userinput>libreoffice</userinput></screen>

      <note>
	<para>During the first launch, some questions will be asked
	  and a <filename class="directory">.libreoffice</filename>
	  folder will be created in the user's home directory.</para>
      </note>

      <para>If the desired <application>LibreOffice</application>
	package is not available, compiling the port is still an
	option.  However, this requires a lot of disk space and a
	fairly long time to compile.  This example compiles the
	English version:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/editors/libreoffice</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <note>
	<para>To build a localized version,
	  <application>cd</application> into the port directory
	  of the desired language.  Supported languages can be found
	  in the <ulink
	    url="http://www.FreeBSD.org/ports/editors.html">editors</ulink>
	  category of the Ports Collection.</para>
      </note>
    </sect2>
  </sect1>

  <sect1 id="desktop-viewers">
    <title>Document Viewers</title>

    <para>Some new document formats have gained popularity since
      the advent of &unix; and the viewers they require may not be
      available in the base system.  This section demonstrates how to
      install the following viewers:</para>

    <informaltable frame="none" pgwide="1">
      <tgroup cols="4">
	<thead>
	  <row>
	    <entry>Application Name</entry>
	    <entry>Resources Needed</entry>
	    <entry>Installation from Ports</entry>
	    <entry>Major Dependencies</entry>
	  </row>
	</thead>

	<tbody>
	  <row>
	    <entry><application>&acrobat.reader;</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry>&linux; binary compatibility</entry>
	  </row>

	  <row>
	    <entry><application>gv</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry><application>Xaw3d</application></entry>
	  </row>

	  <row>
	    <entry><application>Xpdf</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry><application>FreeType</application></entry>
	  </row>

	  <row>
	    <entry><application>GQview</application></entry>
	    <entry>light</entry>
	    <entry>light</entry>
	    <entry><application>Gtk+</application> or
	      <application>GNOME</application></entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <sect2>
      <title>&acrobat.reader;</title>

      <indexterm>
	<primary><application>Acrobat Reader</application></primary>
      </indexterm>
      <indexterm>
	<primary>PDF</primary>
	<secondary>viewing</secondary>
      </indexterm>

      <para>Many documents are now distributed as Portable Document
	Format (PDF) files.  One popular viewer for PDFs is
	<application>&acrobat.reader;</application>,
	released by &adobe; for &linux;.  As &os; can run &linux;
	binaries, it is also available for &os;.  Due to
	licensing restrictions, a package is not available so it must
	be compiled from ports.  Several localizations are
	available from the <ulink
	  url="http://www.FreeBSD.org/ports/print.html">print</ulink>
	category of the Ports Collection.</para>

      <para>This command installs the English version of
	<application>&acrobat.reader; 9</application> from the Ports
	Collection.  To instead install a localized version,
	<application>cd</application> into the desired port's
	directory.</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/print/acroread9</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

    </sect2>

    <sect2>
      <title><application>gv</application></title>

      <indexterm>
	<primary><application>gv</application></primary>
      </indexterm>
      <indexterm>
	<primary>PDF</primary>
	<secondary>viewing</secondary>
      </indexterm>
      <indexterm>
	<primary>PostScript</primary>
	<secondary>viewing</secondary>
      </indexterm>

      <para><ulink
	  url="http://www.gnu.org/software/gv/">gv</ulink> is a
	&postscript; and PDF viewer.  It is based on
	<application>ghostview</application>, but has a nicer look
	due to the <application>Xaw3d</application> library.  It is
	fast with a clean interface.  <application>gv</application>
	has many configurable features, such as orientation, paper
	size, scale, and anti-aliasing.  Almost any operation can be
	performed with either the keyboard or the mouse.</para>

      <para>To install <application>gv</application> as a
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r gv</userinput></screen>

      <para>If a package is unavailable, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/print/gv</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>

    <sect2>
      <title>Xpdf</title>

      <indexterm>
	<primary><application>Xpdf</application></primary>
      </indexterm>
      <indexterm>
	<primary>PDF</primary>
	<secondary>viewing</secondary>
      </indexterm>

      <para>For users that prefer a small &os; PDF viewer,
	<ulink
	  url="http://www.foolabs.com/xpdf/">xpdf</ulink> provides a
	light-weight and efficient viewer which requires few
	resources.  It uses the standard X fonts and does not require
	<application>&motif;</application> or any other X
	toolkit.</para>

      <para>To install the <application>Xpdf</application>
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r xpdf</userinput></screen>

      <para>If the package is not available, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/graphics/xpdf</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>

      <para>Once the installation is complete, launch
	<command>xpdf</command> and use the right mouse button to
	activate the menu.</para>
    </sect2>

    <sect2>
      <title>GQview</title>

      <indexterm>
	<primary><application>GQview</application></primary>
      </indexterm>

      <para><ulink
	  url="http://gqview.sourceforge.net/">GQview</ulink> is
	an image manager which supports viewing a file with a single
	click, launching an external editor, and thumbnail previews.
	It also features a slideshow mode and some basic file
	operations, making it easy to manage image collections and to
	find duplicate files.  <application>GQview</application>
	supports full screen viewing and internationalization.</para>

      <para>To install the
	<application>GQview</application> package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r gqview</userinput></screen>

      <para>If the package is not available, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/graphics/gqview</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>
  </sect1>

  <sect1 id="desktop-finance">
    <title>Finance</title>

    <para>For managing personal finances on a &os; desktop, some
      powerful and easy-to-use applications can be installed.  Some
      are compatible with widespread file formats, such as the formats
      used by <application><trademark
	class="registered">Quicken</trademark></application> and
      <application>Excel</application>.</para>

    <para>This section covers these programs:</para>

    <informaltable frame="none" pgwide="1">
      <tgroup cols="4">
	<thead>
	  <row>
	    <entry>Application Name</entry>
	    <entry>Resources Needed</entry>
	    <entry>Installation from Ports</entry>
	    <entry>Major Dependencies</entry>
	  </row>
	</thead>

	<tbody>
	  <row>
	    <entry><application>GnuCash</application></entry>
	    <entry>light</entry>
	    <entry>heavy</entry>
	    <entry><application>GNOME</application></entry>
	  </row>

	  <row>
	    <entry><application>Gnumeric</application></entry>
	    <entry>light</entry>
	    <entry>heavy</entry>
	    <entry><application>GNOME</application></entry>
	  </row>

	  <row>
	    <entry><application>KMyMoney</application></entry>
	    <entry>light</entry>
	    <entry>heavy</entry>
	    <entry><application>KDE</application></entry>
	  </row>
	</tbody>
      </tgroup>
    </informaltable>

    <sect2>
      <title>GnuCash</title>

      <indexterm>
	<primary><application>GnuCash</application></primary>
      </indexterm>

      <para><ulink
	  url="http://www.gnucash.org/">GnuCash</ulink> is part of the
	<application>GNOME</application> effort to provide
	user-friendly, yet powerful, applications to end-users.
	<application>GnuCash</application> can be used to keep track
	of income and expenses, bank accounts, and stocks.  It
	features an intuitive interface while remaining
	professional.</para>

      <para><application>GnuCash</application> provides a smart
	register, a hierarchical system of accounts, and many keyboard
	accelerators and auto-completion methods.  It can split a
	single transaction into several more detailed pieces.
	<application>GnuCash</application> can import and merge
	<application>Quicken</application> QIF files.  It also handles
	most international date and currency formats.</para>

      <para>To install the <application>GnuCash</application>
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r gnucash</userinput></screen>

      <para>If the package is not available, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/finance/gnucash</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>

    <sect2>
      <title>Gnumeric</title>

      <indexterm>
	<primary><application>Gnumeric</application></primary>
      </indexterm>
      <indexterm>
	<primary>spreadsheet</primary>
	<secondary><application>Gnumeric</application></secondary>
      </indexterm>

      <para><ulink
	  url="http://projects.gnome.org/gnumeric/index.shtml">Gnumeric</ulink>
	is a spreadsheet program developed by the
	<application>GNOME</application> community.  It features
	convenient automatic <quote>guessing</quote> of user input
	according to the cell format with an autofill system for many
	sequences.  It can import files in a number of popular
	formats, including <application>Excel</application>,
	<application>Lotus 1-2-3</application>, and
	<application>Quattro Pro</application>.  It has a large number
	of built-in functions and allows all of the usual cell formats
	such as number, currency, date, time, and much more.</para>

      <para>To install <application>Gnumeric</application> as a
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r gnumeric</userinput></screen>

      <para>If the package is not available, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/math/gnumeric</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>

    <sect2>
      <title>KMyMoney</title>

      <indexterm><primary><application>KMyMoney</application></primary></indexterm>

      <indexterm>
	<primary>spreadsheet</primary>
	<secondary><application>KMyMoney</application></secondary>
      </indexterm>

      <para><ulink
	  url="http://kmymoney2.sourceforge.net">KMyMoney</ulink>
	is a personal finance created by the
	<application>KDE</application> community.
	<application>KMyMoney</application> intends to provide and
	incorporate all the important features found in commercial
	personal finance manager applications.  It also highlights
	ease-of-use and proper double-entry accounting among its
	features.  <application>KMyMoney</application> imports from
	standard Quicken Interchange Format (QIF) files, tracks
	investments, handles multiple currencies, and provides a
	wealth of reports.</para>

      <para>To install <application>KMyMoney</application> as a
	package:</para>

      <screen>&prompt.root; <userinput>pkg_add -r kmymoney-kde4</userinput></screen>

      <para>If the package is not available, use the Ports
	Collection:</para>

      <screen>&prompt.root; <userinput>cd /usr/ports/finance/kmymoney-kde4</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
    </sect2>
  </sect1>
</chapter>