aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/handbook/desktop/_index.adoc
blob: 524068ebe59d222db1ca82e7a0ada0d12eecb9c4 (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
---
title: Chapter 7. Desktop Environments
part: Part II. Common Tasks
prev: books/handbook/partii
next: books/handbook/multimedia
description: This chapter demonstrates how to install numerous desktop environments, including web browsers, productivity software, document viewers, and financial software
tags: ["desktop", "KDE Plasma", "GNOME", "XFCE", "MATE", "Cinnamon", "LXQT", "browsers", "Firefox", "Chromium", "Iridium", "Falkon", "Konqueror", "Epiphany", "qutebrowser", "Dillo", "Links", "w3m", "Development tools", "Visual Studio Code", "Qt Creator", "Kdevelop", "Eclipse IDE", "Vim", "Neovim", "GNU Emacs", "Productivity", "LibreOffice", "Calligra", "AbiWord", "Viewers", "Okular", "Evince", "ePDFView", "Xpdf", "Finance", "KMyMoney", "GnuCash"]
showBookMenu: true
weight: 10
path: "/books/handbook/"
aliases: ["/en/books/handbook/desktop-browsers/","/en/books/handbook/desktop-productivity/","/en/books/handbook/desktop-viewers/","/en/books/handbook/desktop-finance/"]
---

[[desktop]]
= Desktop Environments
:doctype: book
:toc: macro
:toclevels: 1
:icons: font
:sectnums:
:sectnumlevels: 6
:sectnumoffset: 7
:partnums:
:source-highlighter: rouge
:experimental:
:images-path: books/handbook/desktop/

ifdef::env-beastie[]
ifdef::backend-html5[]
:imagesdir: ../../../../images/{images-path}
endif::[]
ifndef::book[]
include::shared/authors.adoc[]
include::shared/mirrors.adoc[]
include::shared/releases.adoc[]
include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[]
include::shared/{{% lang %}}/mailing-lists.adoc[]
include::shared/{{% lang %}}/urls.adoc[]
toc::[]
endif::[]
ifdef::backend-pdf,backend-epub3[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
endif::[]

ifndef::env-beastie[]
toc::[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]

[[desktop-synopsis]]
== Synopsis

While FreeBSD is popular as a server for its performance and stability, it is also well suited for day-to-day use as a desktop.
With over {numports} applications available in the FreeBSD ports tree, it is straightforward to build a customized desktop that can run a wide variety of desktop applications.
This chapter demonstrates how to install popular desktop environments as well as desktop applications such as web browsers, productivity software, document viewers, and financial software.

Prerequisites:

* Readers of this chapter should already understand how to install either the crossref:x11[x11,X Window System] or crossref:wayland[wayland,Wayland] on FreeBSD.
* Readers are instructed throughout this chapter to install official packages. Refer to the section on crossref:ports[ports-using,using the ports collection] to build customized packages from ports.

[[desktop-environments]]
== Desktop Environments

This section describes how to install and configure some popular desktop environments on a FreeBSD system.
A desktop environment can range from a simple window manager to a complete suite of desktop applications.

.Supported desktop environments
[options="header", cols="1,1,1"]
|===
| Name | License | Package

| KDE Plasma
| GPL 2.0 or later
| x11/kde5

| GNOME
| GPL 2.0 or later
| x11/gnome

| XFCE
| GPL, LGPL, BSD
| x11-wm/xfce4

| MATE
| GPL 2.0, LGPL 2.0
| x11/mate

| Cinnamon
| GPL 2.0 or later
| x11/cinnamon

| LXQT
| GPL, LGPL
| x11-wm/lxqt

|===

[[kde-environment]]
=== KDE Plasma

KDE Plasma is an easy-to-use desktop environment.
This desktop provides a suite of applications with a consistent look and feel, a standardized menu and toolbars, keybindings, color-schemes, internationalization, and a centralized, dialog-driven desktop configuration.
More information on KDE can be found at the link:https://kde.org/[KDE homepage].
For FreeBSD-specific information, consult the link:https://freebsd.kde.org/[FreeBSD homepage at KDE].

[[kde-meta-install]]
==== Install KDE Plasma meta package

To install the KDE Plasma meta package with KDE Frameworks, Plasma Desktop and Applications execute:

[source,shell]
....
# pkg install kde5
....

[[kde-minimal-install]]
==== Minimal KDE Plasma installation

To install a minimal KDE Plasma execute:

[source,shell]
....
# pkg install plasma5-plasma
....

[TIP]
====
This installation is *really* minimal.
Konsole must be installed separately executing:

[source,shell]
....
# pkg install konsole
....
====

[[kde-configuration]]
==== Configure KDE Plasma

KDE Plasma uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of KDE Plasma.

Enable D-BUS service in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

To increase messages size execute:

[source,shell]
....
sysctl net.local.stream.recvspace=65536
sysctl net.local.stream.sendspace=65536
....

[[kde-start]]
==== Start KDE Plasma

The preferred KDE Plasma display manager is package:x11/sddm[].
To install package:x11/sddm[], execute:

[source,shell]
....
# pkg install sddm
....

Enable SDDM service in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc sddm_enable="YES"
....

The keyboard language can be set in SDDM by running the following command (for Spanish, for example):

[source,shell]
....
# sysrc sddm_lang="es_ES"
....

A second method to start KDE Plasma is by manually invoking man:startx[1].
For this to work, the following line is needed in ~/.xinitrc:

[source,shell]
....
% echo "exec ck-launch-session startplasma-x11" > ~/.xinitrc
....

[[gnome-environment]]
=== GNOME

GNOME is a user-friendly desktop environment. It includes a panel for starting applications and displaying status, a desktop, a set of tools and applications, and a set of conventions that make it easy for applications to cooperate and be consistent with each other.

[[gnome-meta-install]]
==== Install GNOME meta pacakge

To install the GNOME meta package with GNOME Desktop and Applications, execute:

[source,shell]
....
# pkg install gnome
....

[[gnome-minimal-install]]
==== Minimal GNOME installation

To install the GNOME-lite meta package with a GNOME desktop slimmed down for only the basics, execute:

[source,shell]
....
# pkg install gnome-lite
....

[[gnome-configuration]]
==== Configure GNOME

GNOME requires `/proc` to be mounted.
Add this line to `/etc/fstab` to mount this file system automatically during system startup:

[.programlisting]
....
# Device                Mountpoint      FStype  Options         Dump    Pass#
proc                    /proc           procfs  rw              0       0
....

GNOME uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of GNOME.

Enable D-BUS service in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

It is often desirable to also start all GNOME services.

Enable GNOME services in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc gnome_enable="YES"
....

[[gnome-start]]
==== Start GNOME

GNOME Display Manager is the preferred display manager for GNOME.
GDM is installed as part of the GNOME package.

Enable GDM in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc gdm_enable="YES"
....

A second method to start GNOME is by manually invoking man:startx[1].
For this to work, the following line is needed in `~/.xinitrc`:

[source,shell]
....
% echo "exec gnome-session" > ~/.xinitrc
....

[[xfce-environment]]
=== XFCE

XFCE is a desktop environment based on the GTK+, lightweight and provides a simple, efficient, easy-to-use desktop.
It is fully configurable, has a main panel with menus, applets, and application launchers, provides a file manager and sound manager, and is themeable.
Since it is fast, light, and efficient, it is ideal for older or slower machines with memory limitations.

[[xfce-install]]
==== Install XFCE

To install the XFCE meta package, execute:

[source,shell]
....
# pkg install xfce
....

[[xfce-configuration]]
==== Configure XFCE

XFCE requires `/proc` to be mounted.
Add this line to `/etc/fstab` to mount this file system automatically during system startup:

[.programlisting]
....
# Device                Mountpoint      FStype  Options         Dump    Pass#
proc                    /proc           procfs  rw              0       0
....

XFCE uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of XFCE.

Enable D-BUS in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

[[xfce-start]]
==== Start XFCE

package:x11/lightdm[] is a display manager that supports different display technologies and is a good choice as it is very lightweight, requires little memory usage, and has fast performance.

To install it, execute:

[source,shell]
....
# pkg install lightdm lightdm-gtk-greeter
....

Enable lightdm in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc lightdm_enable="YES"
....

A second method to start XFCE is by manually invoking man:startx[1].
For this to work, the following line is needed in `~/.xinitrc`:

[source,shell]
....
% echo '. /usr/local/etc/xdg/xfce4/xinitrc' > ~/.xinitrc
....

[[mate-environment]]
=== MATE

The MATE Desktop Environment is the continuation of GNOME 2.
// What does "traditional metaphors" mean?
It provides an intuitive and attractive desktop environment using traditional metaphors.

[[mate-meta-install]]
==== Install MATE meta package

To install the MATE meta package that includes the MATE Desktop with some extra applications such as text editor, archiver manager, etc., execute: 

[source,shell]
....
# pkg install mate
....

[[mate-minimal-install]]
==== Minimal MATE installation

To install the MATE lite meta package with MATE desktop slimmed down for only the basics, execute:

[source,shell]
....
# pkg install mate-base
....

[[mate-configuration]]
==== Configure MATE

MATE requires `/proc` to be mounted.
Add this line to `/etc/fstab` to mount this file system automatically during system startup:

[.programlisting]
....
# Device                Mountpoint      FStype  Options         Dump    Pass#
proc                    /proc           procfs  rw              0       0
....

MATE uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of MATE.
Enable D-BUS in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

[[mate-start]]
==== Start MATE

package:x11/lightdm[] is a display manager that supports different display technologies and is a good choice as it is very lightweight, requires little memory usage, and has fast performance.

To install it, execute:

[source,shell]
....
# pkg install lightdm lightdm-gtk-greeter
....

Enable lightdm in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc lightdm_enable="YES"
....

A second method to start MATE is by manually invoking man:startx[1].
For this to work, the following line is needed in `~/.xinitrc`:

[source,shell]
....
% echo "exec ck-launch-session mate-session" > ~/.xinitrc
....

[[cinnamon-environment]]
=== Cinnamon

Cinnamon is a UNIX(R) desktop which provides advanced innovative features and a traditional user experience.
The desktop layout is similar to Gnome 2.
The underlying technology is forked from Gnome Shell.
The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience.

[[cinnamon-install]]
=== Install Cinnamon

To install the Cinnamon package, execute:

[source,shell]
....
# pkg install cinnamon
....

[[cinnamon-configuration]]
==== Configure Cinnamon

Cinnamon requires `/proc` to be mounted.
Add this line to `/etc/fstab` to mount this file system automatically during system startup:

[.programlisting]
....
# Device                Mountpoint      FStype  Options         Dump    Pass#
proc                    /proc           procfs  rw              0       0
....

Cinnamon uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of Cinnamon.
Enable D-BUS in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

[[cinnamon-start]]
==== Start Cinnamon

package:x11/lightdm[] is a display manager that supports different display technologies and is a good choice as it is very lightweight, requires little memory usage, and has fast performance.

To install it execute:

[source,shell]
....
# pkg install lightdm lightdm-gtk-greeter
....

Enable lightdm in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc lightdm_enable="YES"
....

A second method to start Cinnamon is by manually invoking man:startx[1].
For this to work, the following line is needed in `~/.xinitrc`:

[source,shell]
....
% echo "exec ck-launch-session cinnamon-session" > ~/.xinitrc
....

[[lxqt-environment]]
=== LXQT

LXQt is an advanced, easy-to-use, and fast desktop environment based on Qt technologies.
It has been tailored for users who value simplicity, speed, and an intuitive interface.
Unlike most desktop environments, LXQt also works fine with less powerful machines.

[[lxqt-install]]
==== Install LXQT

To install the LXQT meta package, execute:

[source,shell]
....
# pkg install lxqt
....

[[lxqt-configuration]]
==== Configure LXQT

LXQT requires `/proc` to be mounted.
Add this line to `/etc/fstab` to mount this file system automatically during system startup:

[.programlisting]
....
# Device                Mountpoint      FStype  Options         Dump    Pass#
proc                    /proc           procfs  rw              0       0
....

LXQT uses man:dbus-daemon[1] for a message bus and hardware abstraction.
This application is automatically installed as a dependency of LXQT.

Enable D-BUS in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc dbus_enable="YES"
....

[[lxqt-start]]
==== Start LXQT

The preferred LXQT display manager is package:x11/sddm[].
To install package:x11/sddm[], execute:

[source,shell]
....
# pkg install sddm
....

Enable SDDM service in `/etc/rc.conf` to start at system boot:

[source,shell]
....
# sysrc sddm_enable="YES"
....

The keyboard language can be set in SDDM by running the following command (for example, for Spanish):

[source,shell]
....
# sysrc sddm_lang="es_ES"
....

A second method to start LXQT is by manually invoking man:startx[1].
For this to work, the following line is needed in `~/.xinitrc`:

[source,shell]
....
% echo "exec ck-launch-session startlxqt" > ~/.xinitrc
....

[[desktop-browsers]]
== Browsers

This section describes how to install and configure some popular web browsers on a FreeBSD system, from full web browsers with high resource consumption to command line web browsers with reduced resource usage.

.Supported browsers
[options="header", cols="1,1,1,1"]
|===
| Name | License | Package | Resources Needed

| Firefox
| MPL 2.0
| package:www/firefox[]
| Heavy

| Chromium
| BSD-3 and others
| package:www/chromium[]
| Heavy

| Iridium browser
| BSD-3 and others
| package:www/iridium[]
| Heavy

| Falkon
| MPL 2.0
| package:www/firefox[]
| Heavy

| Konqueror
| GPL 2.0 or later
| package:x11-fm/konqueror[]
| Medium

| Gnome Web (Epiphany)
| GPL 3.0 or later
| package:www/epiphany[]
| Medium

| qutebrowser
| GPL 3.0 or later
| package:www/qutebrowser[]
| Medium

| Dillo
| GPL 3.0 or later
| package:www/dillo2[]
| Light

| Links
| GPL 2.0 or later
| package:www/links[]
| Light

| w3m
| MIT
| package:www/w3m[]
| Light

|===

[[firefox]]
=== Firefox

Firefox is an open source browser that features a standards-compliant HTML display engine, tabbed browsing, popup blocking, extensions, improved security, and more.
Firefox is based on the Mozilla codebase.

To install the package of the latest release version of Firefox, execute:

[source,shell]
....
# pkg install firefox
....

To instead install Firefox Extended Support Release (ESR) version, execute:

[source,shell]
....
# pkg install firefox-esr
....

[[chromium]]
=== Chromium

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

To install Chromium, execute:

[source,shell]
....
# pkg install chromium
....

[NOTE]
====
The executable for Chromium is [.filename]#/usr/local/bin/chrome#, not [.filename]#/usr/local/bin/chromium#.
====

[[iridium]]
=== Iridium browser

Iridium is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas.
Automatic transmission of partial queries, keywords, metrics to central services is inhibited and only occurs with consent.

To install Iridium, execute:

[source,shell]
....
# pkg install iridium
....

[[falkon]]
=== Falkon

Falkon is a new-ish and very fast QtWebEngine browser.
It aims to be a lightweight web browser available on all major platforms.
Falkon has all standard functions you expect from a web browser.
It includes bookmarks, history (both also in sidebar) and tabs.
Beyond that, you block ads with a builtin AdBlock plugin, block Flash content with Click2Flash and edit the local CA Certificates database with an SSL Manager.

To install Falkon, execute:

[source,shell]
....
# pkg install falkon
....

[[konqueror]]
=== Konqueror

Konqueror is more than a web browser as it is also a file manager and a multimedia viewer.
It supports WebKit, a rendering engine used by many modern browsers including Chromium, as well as its own KHTML engine.

To install Konqueror, execute:

[source,shell]
....
# pkg install konqueror
....

[[gnome-web-epiphany]]
=== Gnome Web (Epiphany)

Gnome Web (Epiphany) is a web browser designed to be as lightweight and fast as possible, at the expense of many of the features found in other browsers.

To install Gnome Web (Epiphany), execute:

[source,shell]
....
# pkg install epiphany
....

[[qutebrowser]]
=== qutebrowser

Qutebrowser is a keyboard-focused browser with a minimal GUI.
It is based on Python and PyQt5 and free software, licensed under the GPL.
// What are these and how does this information help in this context?
It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl.

To install qutebrowser, execute:

[source,shell]
....
# pkg install qutebrowser
....

[[dillo]]
=== Dillo

Dillo aims to be a multiplatform alternative browser that is small, stable, developer-friendly, usable, fast, and extensible.
This new, experimental version of Dillo is based upon FLTK toolkit, rather than GTK1, and has been substantially rewritten.

To install Dillo, execute:

[source,shell]
....
# pkg install dillo2
....

[[links]]
=== Links

A lynx-like WWW browser with text and graphics modes with many features like displaying tables, menus, etc.

To install Links, execute:

[source,shell]
....
# pkg install links
....

[[w3m]]
=== w3m

w3m is a pager/text-based web browser. It is a similar application to Lynx, but it has several features Lynx doesn't have like rendering tables and rendering frames.

To install w3m, execute:

[source,shell]
....
# pkg install w3m
....

[[desktop-development]]
== Development tools

This section describes how to install and configure some popular development tools on a FreeBSD system.

.Supported development tools
[options="header", cols="1,1,1,1"]
|===
| Name | License | Package | Resources Needed

| Visual Studio Code
| MIT
| package:editors/vscode[]
| Heavy

| Qt Creator
| QtGPL
| package:devel/qtcreator[]
| Heavy

| Kdevelop
| GPL 2.0 or later and LGPL 2.0 or later
| package:devel/kdevelop[]
| Heavy

| Eclipse IDE
| EPL
| package:java/eclipse[]
| Heavy

| Vim
| VIM
| package:editors/vim[]
| Light

| Neovim
| Apache 2.0
| package:editors/neovim[]
| Light

| GNU Emacs
| GPL 3.0 or later
| package:editors/emacs[]
| Light

|===

[[vs-code]]
=== Visual Studio Code

Visual Studio Code is a type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle.
It provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools.

To install Visual Studio Code, execute:

[source,shell]
....
# pkg install vscode
....

[[qt-creator]]
=== Qt Creator

Qt Creator is a cross-platform IDE (integrated development environment) tailored to the needs of Qt developers.
Functionalities included with Qt Creator are:

* code editor with C++, QML and ECMAscript support;
* rapid code navigation tools;
* static code checking and style hints as you type;
* context sensitive help;
* visual debugger;
* integrated GUI layout and forms designer.

To install Qt Creator, execute:

[source,shell]
....
# pkg install qtcreator
....

[[kdevelop]]
=== kdevelop

Open source, feature-full, plugin extensible IDE for C/C++ and other programming languages.
It is based on KDevPlatform and the KDE and Qt libraries, and it has been under development since 1998.

To install kdevelop, execute:

[source,shell]
....
# pkg install kdevelop
....

[[eclipse]]
=== Eclipse IDE

The Eclipse Platform is an open extensible IDE for anything and yet nothing in particular.
The Eclipse Platform provides building blocks and a foundation for constructing and running integrated software-development tools. 
The Eclipse Platform allows tool builders to independently develop tools that integrate with other people's tools.

To install Eclipse IDE, execute:

[source,shell]
....
# pkg install eclipse
....

[[vim]]
=== Vim

Vim is a highly configurable text editor built to enable efficient text editing.
It is an improved version of the vi editor distributed with most UNIX systems.

Vim is often called a "programmer's editor," and so useful for programming that many consider it an entire IDE.
It's not just for programmers, though.
Vim is perfect for all kinds of text editing, from composing email to editing configuration files.

To install Vim, execute:

[source,shell]
....
# pkg install vim
....

[[neovim]]
=== Neovim

Neovim is an aggressive refactor of package:editors/vim[].
It represents a complete overhaul of the codebase with many sanity improvements, including sensible defaults, a built-in terminal emulator, asynchronous plugin architecture, and powerful APIs designed for speed and extensibility.
It retains full compatibility with almost all Vim plugins and scripts.

To install Neovim, execute:

[source,shell]
....
# pkg install neovim
....

[[gnu-emacs]]
=== GNU Emacs

GNU Emacs is an extensible, customizable, free/libre text editor.
At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.

To install GNU Emacs, execute:

[source,shell]
....
# pkg install emacs
....

[[desktop-productivity]]
== Desktop office productivity

When it comes to productivity, users often look for an office suite or an easy-to-use word processor.
While some desktop environments like <<kde-environment, KDE Plasma>> provide an office suite, there is no default productivity package.
Several office suites and graphical word processors are available for FreeBSD, regardless of the installed desktop environments.

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.

.Supported Desktop office productivity suites
[options="header", cols="1,1,1,1"]
|===
| Name | License | Package | Resources Needed

| LibreOffice
| MPL 2.0
| package:editors/libreoffice[]
| Heavy

| Calligra Suite
| LGPL and GPL
| package:editors/calligra[]
| Medium

| AbiWord
| GPL 2.0 or later
| package:editors/abiword[]
| Medium

|===

[[libreoffice]]
=== LibreOffice

LibreOffice is a free software office suite developed by http://www.documentfoundation.org/[The Document Foundation].
It is compatible with other major office suites and available on a variety of platforms.
It is a rebranded fork of Apache OpenOffice 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.
More information about LibreOffice can be found at http://www.libreoffice.org/[libreoffice.org].

To install LibreOffice, execute:

[source,shell]
....
# pkg install libreoffice
....

The LibreOffice package comes by default only in English.
To have a localized version of LibreOffice it is necessary to install a language pack.
For example, for the version localized in Spanish, it is necessary to install the package package:editors/libreoffice-es[] with the command:

[source,shell]
....
# pkg install libreoffice-es
....

[[calligra]]
=== Calligra

The KDE Plasma desktop environment includes an office suite which can be installed separately from KDE Plasma.
Calligra includes standard components that can be found in other office suites.
Words is the word processor, Sheets is the spreadsheet program, Stage manages slide presentations, and Karbon is used to draw graphical documents.

To install Calligra, execute:

[source,shell]
....
# pkg install calligra
....

[[abiword]]
=== AbiWord

AbiWord is a free word processing program similar in look and feel to Microsoft(R) Word.
It is fast, contains many features, and is user-friendly.

AbiWord can import or export many file formats, including some proprietary ones like Microsoft(R) [.filename]#.rtf#.

To install AbiWord, execute:

[source,shell]
....
# pkg install abiword
....

[[desktop-viewers]]
== Document Viewers

Some new document formats have gained popularity since the advent of UNIX(R) and the viewers they require may not be available in the base system. 
This section demonstrates how to install the following document viewers:

.Supported Document Viewers
[options="header", cols="1,1,1,1"]
|===
| Name | License | Package | Resources Needed

| Okular
| GPL 2.0
| package:graphics/okular[]
| Heavy

| Evince
| GPL 2.0
| package:graphics/evince[]
| Medium

| ePDFView
| GPL 2.0
| package:graphics/epdfview[]
| Medium

| Xpdf
| GPL 2.0
| package:graphics/xpdf[]
| light

|===

[[okular]]
=== Okular

Okular is a universal document viewer, part of the KDE Plasma project.

Okular combines excellent functionality with the versatility of supporting different kind of documents, like PDF, Postscript, DjVu, CHM, XPS, ePub and others.

To install Okular, execute:

[source,shell]
....
# pkg install okular
....

[[evince]]
=== Evince

Evince is a document viewer for multiple document formats including PDF and Postscript.
Part of the GNOME project.
The goal of evince is to replace document viewers such as ggv and gpdf with a single, simple application.

To install Evince, execute:

[source,shell]
....
# pkg install evince
....

[[epdfview]]
=== ePDFView

ePDFView is a lightweight PDF document viewer that only uses the Gtk+ and Poppler libraries.
The aim of ePDFView is to make a simple PDF document viewer, similar to Evince but without using the GNOME libraries.

To install ePDFView, execute:

[source,shell]
....
# pkg install epdfview
....

[[xpdf]]
=== Xpdf

For users that prefer a small FreeBSD PDF viewer, Xpdf provides a light-weight and efficient viewer which requires few resources.
It uses the standard X fonts and does not require any additional toolkits.

To install Xpdf, execute:

[source,shell]
....
# pkg install xpdf
....

[[desktop-finance]]
== Finance

For managing personal finances on a FreeBSD desktop, some powerful and easy-to-use applications can be installed.
Some are compatible with widespread file formats, such as the formats used by Quicken and Excel.

This section covers these programs:

.Supported Finance programs
[options="header", cols="1,1,1,1"]
|===
| Name | License | Package | Resources Needed

| KMyMoney
| GPL 2.0
| package:finance/kmymoney[]
| Heavy

| GnuCash
| GPL 2.0 and GPL 3.0
| package:finance/gnucash[]
| Heavy

|===

[[kmymoney]]
=== KMyMoney

KMyMoney is a personal finance application created by the KDE community.
KMyMoney 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.
KMyMoney imports from standard Quicken QIF files, tracks investments, handles multiple currencies, and provides a wealth of reports.

To install KMyMoney, execute:

[source,shell]
....
# pkg install kmymoney
....

[[gnucash]]
=== GnuCash

GnuCash is part of the GNOME effort to provide user-friendly, yet powerful, applications to end-users.
GnuCash can be used to keep track of income and expenses, bank accounts, and stocks.
It features an intuitive interface while remaining professional.

GnuCash 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.
GnuCash can import and merge Quicken QIF files.
It also handles most international date and currency formats.

To install GnuCash, execute:

[source,shell]
....
# pkg install gnucash
....