From owner-freebsd-doc@freebsd.org Sat Jul 20 07:55:35 2019 Return-Path: Delivered-To: freebsd-doc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3FD7B770A for ; Sat, 20 Jul 2019 07:55:35 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F5F6713A7 for ; Sat, 20 Jul 2019 07:55:35 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe33.google.com with SMTP id j26so23008010vsn.10 for ; Sat, 20 Jul 2019 00:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NFs6/hScjb5nrakpfe13HYTjYgnc+wtLwI50/sVcJA4=; b=iIoCjDUPZMfJmthYxVhscs/k18W/e4d0P2d3v8A2yz/hUwfeKsXDVlh96H1thiXASC /FClHrTOhmaFiBK4DwivUvyXfwK8FbEbPF4ZUu1LaTqocFg53kvOGxAv+1thLhhcvJrB 22zXx7lCDq7ec2LCVQj9u0tfyIQ8OFh2HSTQVZZIIziNWRoFghsXMl1l6+6oHRo3cMT7 d8lxybtUkrMMYv0DUXFMTSHCDsbmFWemReKJg5KtYoTbt7YiPL41jvQ8f71xMYxkveEq kEYwHvsPxwCJt5rWRekiJuZTx8F+70ZideVyzdhpouWOXgMjZlnp0U0xTIjdAM//PY7Q V/mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NFs6/hScjb5nrakpfe13HYTjYgnc+wtLwI50/sVcJA4=; b=lSf00YIjz2rVMmFgHlBGTocgSc/UjPTxnX5BMzZYz/r7o6QQ+Vhcf+nUekztPo3pd6 fwKm/NRabfj1LSdgZwKBd/R17NhoWXOWqYc5HErxpMwPMhIC54fM0EY0x2OYNIom6vIY /kCA4VCe4aAo9QLZEpzUB9OcwysQ6CFgmbl5XjMxwZKR4qcIMJ3gLW/qz0kP4Uy4m7jb EIFWFMgzlY+SkbsaxIlseNl9urL8Kp7HNTuRj1+IVVvqoep0HSpZN/tCup1JNgUp85F8 mx1Ey8s5e5JlLHSJiyLGkRBmhiXOCoWxy7TcgtEhIF3fgL0z09aA1V32d8VRYtVeUIO1 gp+Q== X-Gm-Message-State: APjAAAWrMI2kW5fQev+hBcPCvOwMBr3xrR4ABnvGJq3tQhCQW4WwMk+l GpzcmI8B54nqrQRntC6q5ddI7xrBdyUHgRn9CPx0380iwQ== X-Google-Smtp-Source: APXvYqxnrZMIsFep98TZSysbZSV3t8lJIolMbq4RwmZNN+qDVlTP/LotCd0W3WRiNZrHma8hs9vX8yu+DqQWUS+94xc= X-Received: by 2002:a67:300f:: with SMTP id w15mr30508041vsw.116.1563609334181; Sat, 20 Jul 2019 00:55:34 -0700 (PDT) MIME-Version: 1.0 From: "Clay Daniels Jr." Date: Sat, 20 Jul 2019 02:55:22 -0500 Message-ID: Subject: Would Like to Add Documentation to FreeBSD Handbook about LXDE To: freebsd-doc@freebsd.org X-Rspamd-Queue-Id: 1F5F6713A7 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iIoCjDUP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e33 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-7.02 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-doc@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.05)[ip: (-9.63), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.43), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2019 07:55:35 -0000 I have installed the LXDE desktop environment and really like it. The FreeBSD Handbook does not have a section for it, and I would like to add one to Chapter 5.7, where there are instructions for Gnome, KDE. and XFCE. I need some help with the procedure to submit such a document. Here is my rough draft: Install & Configure LXDE LXDE (Lightweight X11 Desktop Environment) is a nice lite desktop and easy to install and configure. Assuming you have installed Xorg, and the drm-kmod for your video drivers, and added users who will have permission to 'startx' the video by adding them to either the wheel or video groups, you are ready to install a desktop envirnment. LXDE is a good choice for those who want to have a lot of control on what apps are installed. Beyond the basic desktop it only pre-installs a few programs: two terminals, an image viewer, and a file manager. You pick your graphical text ediror, web browser, etc. Nice and clean. Neat screen savers! 1. INSTALL EITHER: # pkg install lxde-meta OR: # cd /usr/ports/x11/lxde-meta && make install clean 2. CREATE ~/.xinitrc file in user's home directory a. PUT this line in your ~/.xinitrc to start LXDE via startx command: # echo 'exec startlxde' > ~/.xinitrc You can also do this as user so you will be their home directory, not root's home directory. % echo 'exec startlxde' > ~/.xinitrc b. ADD this line above 'exec startlxde': ck-launch-session dbus-launch --exit-with-session startlxde All of this .xinitrc work could also be done in vi or leafpad, by root or user,and ~/.xinitrc should now have these two lines: ck-launch-session dbus-launch --exit-with-session startlxde exec startlxde 3. ENABLE D-BUS Add this line to /etc/rc.conf: dbus_enable="YES" 4. MOUNT PROC Add procfs like this to "/etc/fstab" file, using vi or other text editor: proc /proc procfs rw 0 0 5. RE-BOOT, LOGIN AS USER, AND RUN startx % startx Remember, _NEVER RUN STARTX AS ROOT_, only as a user! Taken in part from https://wiki.lxde.org/en/FreeBSD at lxde.org and other sources, including FreeBSD forums and trial & error experience. Clay Daniels - clay.daniels.jr@gmail.com - July 2019 Tested on FreeBSD 13.0-CURRENT r350103