From owner-freebsd-doc@freebsd.org Sat Jul 20 22:35:32 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 B6932A20CC for ; Sat, 20 Jul 2019 22:35:32 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (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 DC274922D3 for ; Sat, 20 Jul 2019 22:35:31 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-ua1-x92f.google.com with SMTP id j2so13918726uaq.5 for ; Sat, 20 Jul 2019 15:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4CwZ02WDFicwO/cLzN0Wg1gytEs8+RGGeMurUbRaBPw=; b=sNcGUDsln70LkC5gfUAKzqUFTjTBy6m0hLyk69+AAskapEeNwPa6H/4P0iS7b3qpnT vCTNK827fLqlWlqnCnPv6ILSamUFuRNYTcuXsrZvgeu3RW7NIIDgW9f5rcfzdaPGfPrq /p8tt3bHFuT+NZ6vvTlESFLv7UGc9WSiYlKvZZ9yxIBjZjtu8+JDwQqsSUhzxApzp/xY U1ycce3K8oALdVdkMj4boNrSVGFs6l/1HpF2iyuSCr3lZ2DG7T0o8pfxa1ryO5YebE6s wuh5Y9IYjwMj309AlkELNpFcGbtFmsIT2zD/u4AgZPGdYALj3s8/j1Y6G44Qu+vb+3P0 Gp5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4CwZ02WDFicwO/cLzN0Wg1gytEs8+RGGeMurUbRaBPw=; b=OTyko4pHbg23I3j7+MBrAh9J4EJcEaV720kgfMZg45EfDzTP0D0OkYsnUYkKt8eL35 Ln9aKHAzArd3fEAw1DycDwO6r7YBxt/KxUAloKj6g7fnxxFS93m9WP+TjtOSR9qoxQ4R UW2wGbXmnUMjmQXVX4ChM0UHDvQ1Aj0uOl4fLs7tS8zY5UUa1wvQKC7JBrV/o27GvxEn MLlV72dxNjkAdg4YSqYeHBskxb4YeIb9avobJGmOehEQckonsjuHetdE/FUE7xY6PWbT xSV4ZjsxqF83OjGRLpcUiYt5uxFTtII47chDsG5FGENxJATgQa1vxOhhfs8eUr0Ie9Xm /wHg== X-Gm-Message-State: APjAAAVpSqSjHlsYVm1jPRpiQsSWjXIOekpfq0qr8skW+Z0V8JsdDxux NFAKQcDxO7gIUwGe5iOKkXZq6JX4h2ihvmBTWRMihWtGfw== X-Google-Smtp-Source: APXvYqx37irW++wTFpUe8JzyZ28SWSb5wuAxV2CAistyXHyG2HpFNt+w3DSRkBOt528+bYH8aFfAeUqPeTA/fv46TOE= X-Received: by 2002:a9f:3f4d:: with SMTP id i13mr35824111uaj.54.1563662130881; Sat, 20 Jul 2019 15:35:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Clay Daniels Jr." Date: Sat, 20 Jul 2019 17:35:18 -0500 Message-ID: Subject: Re: Would Like to Add Documentation to FreeBSD Handbook about LXDE To: freebsd-doc@freebsd.org X-Rspamd-Queue-Id: DC274922D3 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=sNcGUDsl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::92f as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-7.10 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(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]; IP_SCORE(-3.10)[ip: (-9.88), ipnet: 2607:f8b0::/32(-3.12), asn: 15169(-2.43), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[f.2.9.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]; 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 22:35:32 -0000 I have a second draft of my How-To Install & Configure LXDE Desktop below. I think I want to just post it to the How_To Forum. What I would like is for anyone to look this over and seem if you can help me improve it. Thanks. *How-To Install & Configure LXDE Desktop* LXDE (Lightweight X11 Desktop Environment) is a nice lite desktop, easy to install and configure. 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, a task manager, a file manager, an image viewer, and desktop configuration tools. You pick your graphical text ediror, web browser, etc. Nice and clean. Neat screen savers! Assuming you have installed Xorg, and installed the drm-kmod for your video drivers, and added user(s) 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 environment. At this point log in as user [NOT ROOT], and run: % startx You should be able to see the skeleton X window with three xterm terminals and a clock. Now return to root login, and back to console if you like, or just just work in the skeleton Xorg window: 1. INSTALL LXDE: EITHER: # pkg install lxde-meta OR: # cd /usr/ports/x11/lxde-meta && make install clean 2. CREATE ~/.xinitrc file in user's home directory: Switch to users home directory: # cd /usr/home/ Create the new .xinitrc file: # vi .xinitrc Add these two lines to the new .xinitrc file: ck-launch-session dbus-launch --exit-with-session startlxde exec startlxde 3. ENABLE D-BUS Add this line to the existing /etc/rc.conf file: dbus_enable="YES" 4. MOUNT PROC Add procfs like this to existing /etc/fstab file: 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 On Sat, Jul 20, 2019 at 2:55 AM Clay Daniels Jr. wrote: > 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 >