git: be883180f9 - main - [phb]: Document DESKTOPDIR variable

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=be883180f9659029d9ae2d6b20d9ba5697341525

commit be883180f9659029d9ae2d6b20d9ba5697341525
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2023-08-26 16:42:39 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2023-08-29 11:18:37 +0000

    [phb]: Document DESKTOPDIR variable
    
    Add it to the DESKTOP_ENTRIES section.
    
    PR:             227613
    Reported by:    0mp
    Reviewed by:    carlavilla@
    Differential Revision: https://reviews.freebsd.org/D41623
---
 documentation/content/en/books/porters-handbook/special/_index.adoc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc
index 13ac549fde..4aafc5d589 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/special/_index.adoc
@@ -1564,6 +1564,10 @@ DESKTOP_ENTRIES=	"ToME" "Roguelike game based on JRR Tolkien's work" \
 			false
 ....
 
+`DESKTOP_ENTRIES` are installed in the directory pointed to by the `DESKTOPDIR`
+variable.
+`DESKTOPDIR` defaults to [.filename]#${PREFIX}/share/applications#
+
 
 [[using-gnome]]
 == Using GNOME
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.