Page MenuHomeFreeBSD

Handbook WG - X11
ClosedPublic

Authored by carlavilla on Jan 21 2023, 6:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 21 2024, 4:50 PM
Unknown Object (File)
Oct 29 2024, 4:50 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM
Unknown Object (File)
Oct 22 2024, 11:12 PM

Details

Summary

Rewrite from zero the chapter. The information is stale, and at some point give users wrong instructions, like[1]

The X11 chapter is finished.
The Desktop chapter is finished.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258264
[2] https://carlavilla.es/freebsd/x11.html
[3] https://carlavilla.es/freebsd/desktop.html

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
documentation/content/en/books/handbook/x11/_index.adoc
80

Should we say that xorg is a meta-port containing many of the xorg components? I think that is useful information for anyone that wants to drill down.

840

I assume there is more coming here... It can probably be much more general than the old stuff.

documentation/content/en/books/handbook/x11/_index.adoc
59

For amdgpu/radeon it's there : https://www.x.org/wiki/RadeonFeature/
I'm sure there is some link somewhere on the wiki, we should keep the link.

80

Agreed.

437

Yes it is, you will not have graphics acceleration without being a member (I'm honestly surprised that it works for you).

fernape added a subscriber: fernape.
fernape added inline comments.
documentation/content/en/books/handbook/x11/_index.adoc
80

Yes, please.

437

In that case this shouldn't be in a warning block but be one more "normal" step in the configuration process.

576

I would move this paragraph just above the table itself, or alternatively, move the table just following this paragraph and after that showing how to know the card for you system.

621

"The Intel(R) driver" or maybe "Intel(R) drivers..." depending on the intention.

647

This probably shouldn't be a full stop but a comma and link the next sentence to this one.

688

For consistency, I would use the same phrasing as before. This is not loading the module, but adding the module to /etc/rc.conf so it can be loaded at boot time. The NVidia section uses correctly that phrasing.

842

"if starting X server results..." --> if starting _the_ X server results...
"or observe these..." --> or these values are observed...

This revision now requires changes to proceed.Jan 23 2023, 12:12 PM

I'm gonna upgrade the chapter finished and all comments fixed.

documentation/content/en/books/handbook/x11/_index.adoc
840

Fixed, my fault hehe

carlavilla marked an inline comment as done.

I fixed all the comments.

Also finished the X11 chapter. I know that we can improve the input devices and monitor section. But we can make this changes in further commits.

I also moved the GNOME, KDE Plasma and XFCE desktop instructions to a "new" chapter.
Right now GNOME, KDE Plasma, etc cannot be "associated" with X11, since they also support Wayland.

Therefore, I think the right thing to do is to move them to a "new" chapter.

(Well, not a new one, only I upgraded the title of the desktop chapter hehe)

documentation/content/en/books/handbook/desktop/_index.adoc
91

Typo "preferred".

103

This can be extended with information on sddm internationalization - sddm_lang var. Example: sddm_lang="ru_RU".

106

How about ... is by manually invoking man:startx[1]?

111

Here you talk about .xinitrc, but the command example appends to .xsession.

documentation/content/en/books/handbook/x11/_index.adoc
163

These two statements should be one.

219

Why use -f /etc/rc.conf argument there?

575–576

How about adding a sentence

Some desktop environments (such as KDE Plasma) provide a graphical UI for setting these parameters. Check it before resorting to manual config editing.

carlavilla marked 7 inline comments as done.

Fixed! @arrowd Thanks!
I'll try to finish the Desktop chapter this night.

Do you think there's something more we can add to the KDE Plasma section?

This looks pretty good. Great job, @carlavilla !

documentation/content/en/books/handbook/x11/_index.adoc
218

I meant that whole -f /etc/rc.conf was extraneous, as sysrc acts on this file by default. The sysrc /etc/rc.conf ... line is now wrong.

Fix some bugs and add more desktops.
Started with the browsers section - WIP

carlavilla added inline comments.
documentation/content/en/books/handbook/x11/_index.adoc
218
documentation/content/en/books/handbook/desktop/_index.adoc
57

Changing applications to environments here seems strange to me, because of what the rest of the sentence says. How about something like this?

This chapter demonstrates how to install popular desktop environments as well as desktop application such as web browsers, productivity software, document viewers, and financial software.

documentation/content/en/books/handbook/x11/_index.adoc
162

I would rephrase this avoiding in this way that feels more natural:

The following command can be used to identify which graphics card is installed in the system

185

Similarly as before

This command can be used to check the booting mode

237

The FreeBSD Project provides/maintains a matrix... ?

316–317

This warning is a duplicated of this one that appears earlier:

nvidia-modeset must be used only as an alternative to nvidia if starting X server results in a hang.

Probably just one of them (I would say this one) is enough.

585

I would use

... to configure the keyboard layout

But I don't have a very strong opinion here.

613

At some point in this section (probably at the end) we could add something like:

//If you want to know more about fonts, please read this article

A round of typos and small things.

documentation/content/en/books/handbook/desktop/_index.adoc
110

Typo

s/kde-meta-instal/kde-meta-install

229

Typo

s/gnome-meta-instal/gnome-meta-install

303

Typo

s/prefered/preferred

328

Typo
s/xfce-instal/xfce-install

403

Typo

s/mate-meta-instal/mate-meta-install

499

Typo

s/cinnamon-instal/cinnamon-install

574

Typo

s/lxqt-instal/lxqt-install

documentation/content/en/books/handbook/x11/_index.adoc
134

Typo:

s/Propietary/Proprietary

461

Typo (although not user visible)

s/x-config-video-cards-file-multple/x-config-video-cards-file-multiple

581

While common, probably s/config/configuration

carlavilla marked 17 inline comments as done.

Fixed typos

documentation/content/en/books/handbook/x11/_index.adoc
461

Really good catch haha

carlavilla edited the summary of this revision. (Show Details)

These are suggestions based on our Matrix discussion. It lets readers know once at the beginning of the chapter that any package can be custom built from the port, but we only describe how to install the package for each application.

documentation/content/en/books/handbook/desktop/_index.adoc
56–57

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.

56–57

Prerequisites:

  • Readers of this chapter should already understand how to either 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.
108–110
Install KDE Plasma meta package

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

116–125
128
130
137–146
150
229
236–245
302
304
324
331–340
400
475
671–677
685–693
707–714
728–735
750–786
820–827
872–878
1003–1010
1089–1096
1191–1198
carlavilla marked 27 inline comments as done.
This revision was not accepted when it landed; it landed in state Needs Review.Feb 13 2023, 7:50 PM
This revision was automatically updated to reflect the committed changes.
markmi_dsl-only.net added inline comments.
documentation/content/en/books/handbook/x11/_index.adoc
187

On aarch64 (a HoneyComb), booted via UEFI/ACPI, I get:

# sysctl machdep.bootmethod
sysctl: unknown oid 'machdep.bootmethod'

The specific material seems to be platform specific for a presumed (set of?) platform(s).

The context was:

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #90 main-n261544-cee09bda03c8-dirty: Wed Mar 15 20:25:49 PDT 2023     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400082 1400082
grahamperrin added inline comments.
documentation/content/en/books/handbook/x11/_index.adoc
1351

Losing sight of this NVIDIA-provided tool seems unfortunate.