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
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
The FreeBSD Documentation Project
$FreeBSD$
-->
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="desktop">
<!--
<chapterinfo>
<authorgroup>
<author>
<firstname>Christophe</firstname>
<surname>Juniet</surname>
<contrib>Contributed by </contrib>
</author>
</authorgroup>
</chapterinfo>
-->
<title>Desktop Applications</title>
<sect1 xml: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 &os.numports; applications available as &os; packages
or ports, it is easy to build a customized desktop that runs
a wide variety of desktop applications. This chapter
demonstrates how to install numerous desktop applications,
including web browsers, productivity software, document viewers,
and financial software.</para>
<note>
<para>Users who prefer to install a pre-built desktop version
of FreeBSD rather than configuring one from scratch should
refer to the
<link xlink:href="http://www.trueos.org/">trueos.org
website.</link></para>
</note>
<para>Readers of this chapter should know how to:</para>
<itemizedlist>
<listitem>
<para>Install additional software using packages or
ports as described in <xref linkend="ports"/>.</para>
</listitem>
<listitem>
<para>Install X and a window manager as described in
<xref linkend="x11"/>.</para>
</listitem>
</itemizedlist>
<para>For information on how to configure a multimedia
environment, refer to <xref linkend="multimedia"/>.</para>
</sect1>
<sect1 xml: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 <link
xlink:href="http://www.FreeBSD.org/ports/www.html">www</link>
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 <xref linkend="x11-wm"/>
for more information on how to set up these complete
desktops.</para>
<para>Some lightweight browsers include
<package>www/dillo2</package>, <package>www/links</package>, and
<package>www/w3m</package>.</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>&os;, &linux;, and localized versions are
available</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>Requires <application>KDE</application>
libraries</entry>
</row>
<row>
<entry><application>Chromium</application></entry>
<entry>medium</entry>
<entry>heavy</entry>
<entry>Requires <application>Gtk+</application></entry>
</row>
</tbody>
</tgroup>
</informaltable>
<sect2>
<title>Firefox</title>
<indexterm>
<primary><application>Firefox</application></primary>
</indexterm>
<para><application>Firefox</application> is an 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>To install the package of the latest release version of
<application>Firefox</application>, type:</para>
<screen>&prompt.root; <userinput>pkg install firefox</userinput></screen>
<para>To instead install <application>Firefox</application>
Extended Support Release (ESR) version, use:</para>
<screen>&prompt.root; <userinput>pkg install firefox-esr</userinput></screen>
<para>Localized versions are available in
<package>www/firefox-i18n</package> and
<package>www/firefox-esr-i18n</package>.</para>
<para>The Ports Collection can instead be used to compile the
desired version of <application>Firefox</application> from
source code. This example builds
<package>www/firefox</package>, 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 xml:id="moz-java-plugin">
<title>Firefox and &java; Plugin</title>
<para>The installation of
<application>Firefox</application> does not include &java;
support. However, <package>java/icedtea-web</package>
provides a free software web browser plugin for running Java
applets. It can be installed as a package by running:</para>
<screen>&prompt.root; <userinput>pkg install icedtea-web</userinput></screen>
<para>Alternatively, to compile from the Ports Collection:</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 xml: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 wrapper for running the &linux; version
of the plugin is available. This wrapper also provides
support for other browser plugins such as &realplayer;.</para>
<para>To install and enable this plugin, perform these
steps:</para>
<procedure>
<step>
<para>Install <package
role="port">www/nspluginwrapper</package> from the port.
Due to licensing restrictions, a package is not available.
This port requires
<package>emulators/linux_base-c6</package>.</para>
</step>
<step>
<para>Install <package
role="port">www/linux-flashplayer</package> from
the port. Due to licensing restrictions, a package is not
available.</para>
</step>
<step>
<para>Before the plugin is first used, each user must
run:</para>
<screen>&prompt.user; <userinput>nspluginwrapper -v -a -i</userinput></screen>
<para>When the plugin port has been updated and reinstalled,
each user must run:</para>
<screen>&prompt.user; <userinput>nspluginwrapper -v -a -u</userinput></screen>
<para>Start the browser, enter
<literal>about:plugins</literal> in the location bar and
press <keycap>Enter</keycap>. A list of all the currently
available plugins will be shown.</para>
</step>
</procedure>
</sect3>
<sect3 xml:id="moz-swfdec-flash-plugin">
<title>Firefox and Swfdec &flash; Plugin</title>
<para><application>Swfdec</application> is a decoder and
renderer for &flash; animations.
<application>Swfdec-Mozilla</application> is a plugin for
<application>Firefox</application> browsers that uses the
Swfdec library for playing SWF files.</para>
<para>To install the package:</para>
<screen>&prompt.root; <userinput>pkg install 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 to activate this plugin.</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 install 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 <package role="port">www/linux-c6-flashplugin11</package>
port. Licensing restrictions prevent making a package
available. Then install <package
role="port">www/opera-linuxplugins</package>. This example
compiles both applications from ports:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/www/linux-c6-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 instructions in <xref
linkend="moz-java-plugin"/>.</para>
</sect2>
<sect2>
<title>Konqueror</title>
<indexterm>
<primary><application>Konqueror</application></primary>
</indexterm>
<para><application>Konqueror</application> is more than a web
browser as it is also a file manager and a multimedia
viewer. It is included in the
<package>x11/kde4-baseapps</package> package or port.</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
<package>www/kwebkitpart</package> package
or port. This example installs the package:</para>
<screen>&prompt.root; <userinput>pkg install kwebkitpart</userinput></screen>
<para>To install from the Ports Collection:</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 <uri
xlink:href="http://freebsd.kde.org/howtos/konqueror-flash.php">http://freebsd.kde.org/howtos/konqueror-flash.php</uri>.</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 install 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 xml:id="chromium-java-plugin">
<title>Chromium and &java; Plugin</title>
<para>The installation of
<application>Chromium</application> does not include &java;
support. To install &java; plugin support, follow the
instructions in <xref linkend="moz-java-plugin"/>.</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 xml:id="chromium-flash-plugin">
<title>Chromium and &adobe; &flash; Plugin</title>
<para>Configuring <application>Chromium</application> and
&adobe; &flash; is similar to the instructions in
<xref linkend="moz-flash-plugin"/>. No additional
configuration should be necessary, since
<application>Chromium</application> is able to use some
plugins from other browsers.</para>
</sect3>
</sect2>
</sect1>
<sect1 xml:id="desktop-productivity">
<title>Productivity</title>
<para>When it comes to productivity, new users often look for an
office suite or an easy-to-use word processor. While some
<link linkend="x11-wm">desktop environments</link> like
<application>KDE</application> provide an office suite, there
is no default productivity package. Several office suites and
graphical word processors are available for &os;, regardless
of the installed window manager.</para>
<para>This section demonstrates how to install the following
popular productivity software 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 desktop environment includes
an office suite which can be installed separately from
<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>In &os;, <package>editors/calligra</package> can be
installed as a package or a port. To install the
package:</para>
<screen>&prompt.root; <userinput>pkg install 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>µsoft; Word</application>. 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
µsoft; <filename>.rtf</filename>.</para>
<para>To install the <application>AbiWord</application>
package:</para>
<screen>&prompt.root; <userinput>pkg install 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 install 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 graphics category (<link
xlink:href="http://www.FreeBSD.org/ports/graphics.html">freebsd.org/ports/graphics.html</link>)
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><application>Apache OpenOffice</application> is an open
source office suite which is developed under the wing of the
Apache Software Foundation's Incubator. It includes all of
the applications found in a complete office productivity
suite: a word processor, spreadsheet, presentation manager,
and drawing program. Its user interface is 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; X.
More information about <application>Apache
OpenOffice</application> can be found at <link
xlink:href="http://openoffice.org/">openoffice.org</link>.
For &os; specific information refer to <link
xlink:href="http://porting.openoffice.org/freebsd/">porting.openoffice.org/freebsd/</link>.</para>
<para>To install the <application>Apache
OpenOffice</application> package:</para>
<screen>&prompt.root; <userinput>pkg install apache-openoffice</userinput></screen>
<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>. The first time
<application>Apache OpenOffice</application> launches, some
questions will be asked and a
<filename>.openoffice.org</filename> folder will be created in
the user's home directory.</para>
<para>If the desired <application>Apache
OpenOffice</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:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/editors/openoffice-4</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 <link
xlink:href="http://www.documentfoundation.org/">documentfoundation.org</link>.
It is compatible with other major office suites and available
on a variety of platforms. It is a rebranded fork of
<application>Apache OpenOffice</application> and includes
applications found 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 formulæ. 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; X.
More information about <application>LibreOffice</application>
can be found at <link
xlink:href="http://www.libreoffice.org/">libreoffice.org</link>.</para>
<para>To install the English version of the
<application>LibreOffice</application> package:</para>
<screen>&prompt.root; <userinput>pkg install libreoffice</userinput></screen>
<para>The editors category (<link
xlink:href="http://www.FreeBSD.org/ports/editors.html">freebsd.org/ports/editors.html</link>)
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>
<para>During the first launch, some questions will be asked
and a <filename>.libreoffice</filename> folder will be created
in the user's home directory.</para>
<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,
<command>cd</command> into the port directory of
the desired language. Supported languages can be found
in the editors category (<link
xlink:href="http://www.FreeBSD.org/ports/editors.html">freebsd.org/ports/editors.html</link>)
of the Ports Collection.</para>
</note>
</sect2>
</sect1>
<sect1 xml: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 document 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>Xpdf</application></entry>
<entry>light</entry>
<entry>light</entry>
<entry><application>FreeType</application></entry>
</row>
<row>
<entry><application>gv</application></entry>
<entry>light</entry>
<entry>light</entry>
<entry><application>Xaw3d</application></entry>
</row>
<row>
<entry><application>Geeqie</application></entry>
<entry>light</entry>
<entry>light</entry>
<entry><application>Gtk+</application> or
<application>GNOME</application></entry>
</row>
<row>
<entry><application>ePDFView</application></entry>
<entry>light</entry>
<entry>light</entry>
<entry><application>Gtk+</application></entry>
</row>
<row>
<entry><application>Okular</application></entry>
<entry>light</entry>
<entry>heavy</entry>
<entry><application>KDE</application></entry>
</row>
</tbody>
</tgroup>
</informaltable>
<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,
<application>Xpdf</application> provides a light-weight and
efficient viewer which requires few resources. It uses the
standard X fonts and does not require any additional
toolkits.</para>
<para>To install the <application>Xpdf</application>
package:</para>
<screen>&prompt.root; <userinput>pkg install 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><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><application>gv</application> is a &postscript; and PDF
viewer. It is based on <application>ghostview</application>,
but has a nicer look as it is based on the
<application>Xaw3d</application> widget toolkit.
<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 install 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>Geeqie</title>
<indexterm>
<primary><application>Geeqie</application></primary>
</indexterm>
<para><application>Geeqie</application> is a fork from the
unmaintained <application>GQView</application> project, in an
effort to move development forward and integrate the existing
patches. <application>Geeqie</application> 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>Geeqie</application> supports
full screen viewing and internationalization.</para>
<para>To install the <application>Geeqie</application>
package:</para>
<screen>&prompt.root; <userinput>pkg install geeqie</userinput></screen>
<para>If the package is not available, use the Ports
Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/graphics/geeqie</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
</sect2>
<sect2>
<title>ePDFView</title>
<indexterm>
<primary><application>ePDFView</application></primary>
</indexterm>
<indexterm>
<primary>PDF</primary>
<secondary>viewing</secondary>
</indexterm>
<para><application>ePDFView</application> is a lightweight
<acronym>PDF</acronym> document viewer that only uses the
<application>Gtk+</application> and
<application>Poppler</application> libraries. It is currently
under development, but already opens most
<acronym>PDF</acronym> files (even encrypted), save copies of
documents, and has support for printing using
<application>CUPS</application>.</para>
<para>To install <application>ePDFView</application> as a
package:</para>
<screen>&prompt.root; <userinput>pkg install epdfview</userinput></screen>
<para>If a package is unavailable, use the Ports
Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/graphics/epdfview</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
</sect2>
<sect2>
<title>Okular</title>
<indexterm>
<primary><application>Okular</application></primary>
</indexterm>
<indexterm>
<primary><acronym>PDF</acronym></primary>
<secondary>viewing</secondary>
</indexterm>
<para><application>Okular</application> is a universal document
viewer based on <application>KPDF</application> for
<application>KDE</application>. It can open many document
formats, including <acronym>PDF</acronym>, &postscript;, DjVu,
<acronym>CHM</acronym>, <acronym>XPS</acronym>, and
ePub.</para>
<para>To install <application>Okular</application> as a
package:</para>
<screen>&prompt.root; <userinput>pkg install okular</userinput></screen>
<para>If a package is unavailable, use the Ports
Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/graphics/okular</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
</sect2>
</sect1>
<sect1 xml: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>Quicken</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><application>GnuCash</application> 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 install 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><application>Gnumeric</application> is a spreadsheet
program developed by the <application>GNOME</application>
community. It features convenient automatic guessing 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 install 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><application>KMyMoney</application> is a personal finance
application created by the <application>KDE</application>
community. <application>KMyMoney</application> aims to
provide 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
<application>Quicken</application> 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 install 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>
|