Monday, May 4, 2026

Raspberry Pi display 7" install

The display orientation needs to be rotated for the display port attached display on the pi os.

This is done thru a preference setting with the pi os.


Rotate screen without a desktop

To set the screen orientation on a device that lacks a desktop environment, edit the /boot/firmware/cmdline.txt configuration file to pass an orientation to the system. Add the following line to cmdline.txt:

video=DSI-1:800x480@60,rotate=<rotation-value>

Replace the <rotation-value> placeholder with one of the following values, which correspond to the degree of rotation relative to the default on your display:

  • 0

  • 90

  • 180

  • 270

For example, a rotation value of 90 rotates the display 90 degrees to the right. 180 rotates the display 180 degrees, or upside-down.

Note
It is not possible to rotate the DSI display separately from the HDMI display with cmdline.txt. When you use DSI and HDMI simultaneously, they share the same rotation value.

Rotate touch input

Warning
Rotating touch input via device tree can cause conflicts with your input library. Whenever possible, configure touch event rotation in your input library or desktop.

Rotation of touch input is independent of the orientation of the display itself. To change this you need to manually add a dtoverlay instruction in /boot/firmware/config.txt. Add the following line at the end of config.txt:

dtoverlay=vc4-kms-dsi-7inch,invx,invy

Then, disable automatic display detection by removing the following line from config.txt, if it exists:

display_auto_detect=1

Touch Display device tree option reference

The vc4-kms-dsi-7inch overlay supports the following options:

DT parameterAction

sizex

Sets X resolution (default 800)

sizey

Sets Y resolution (default 480)

invx

Invert X coordinates

invy

Invert Y coordinates

swapxy

Swap X and Y coordinates

disable_touch

Disables the touch overlay totally

To specify these options, add them, separated by commas, to your dtoverlay line in /boot/firmware/config.txt. Boolean values default to true when present, but you can set them to false using the suffix "=0". Integer values require a value, e.g. sizey=240. For instance, to set the X resolution to 400 pixels and invert both X and Y coordinates, use the following line:

dtoverlay=vc4-kms-dsi-7inch,sizex=400,invx,invy

Installation on Compute Module based devices.

All Raspberry Pi SBCs auto-detect the official Touch Displays as the circuitry connected to the DSI connector on the Raspberry Pi board is fixed; this autodetection ensures the correct Device Tree entries are passed to the kernel. However, Compute Modules are intended for industrial applications where the integrator can use any and all GPIOs and interfaces for whatever purposes they require. Autodetection is therefore not feasible, and hence is disabled on Compute Module devices. This means that the Device Tree fragments required to set up the display need to be loaded via some other mechanism, which can be either with a dtoverlay entry in config.txt as described above, via a custom base DT file, or if present, a HAT EEPROM.



--30-- 

Wednesday, April 22, 2026

vnc server install ubuntu

tight vnc server install
apt -y install  tightvncserver
 
service file for tightvnc 
https://gist.github.com/spinxz/1692ff042a7cfd17583b
 
tutorial ubuntu 20 tightvnc
https://www.youtube.com/watch?v=oHm7B3hRSP0 

vnc on ubuntu 24
https://www.reddit.com/r/Ubuntu/comments/1i45x1u/how_to_set_up_vnc_server_on_ubuntu_2404_with/
 
various vnc on ubuntu 22
https://help.ubuntu.com/community/VNC/Servers
 
 

Sunday, April 12, 2026

telnetd installation on linux


install with
sudo apt -y install telnetd

if not started automatically on install check
/etc/inetd.conf 
for telnet enabled being commented out.

remove commenting which disables inetd handling the service and run

sudo systemctl restart inetutils-inetd.service

on raspberry pi os debian and later

sudo systemctl restart inetd 

example discussed for raspberrypi os

Tuesday, March 17, 2026

Yahoo / Thunderbird login changes / notes


Note / announcement about yahoo / thunderbird login

Apparently related to having more than one account logged into from a Thunderbird instance using this authentication method.  Need to set up multiple "cookies" for use on appropriate platform.

Using IMAP to access


You may have been asked in Thunderbird to log in your Yahoo, ATT or AOL accounts, or seen a notice with the title Upcoming Account Change. This is the result of Thunderbird, as of version 148.0 on February 22, 2026, switching to a more secure authorization protocol known as OAuth2 with PKCE. Below are instructions to assist you in the log in process.

In addition to enhanced security, this update also allows you to access Yahoo, AOL, and ATT calendars and address books in Thunderbird, which is a major new benefit to users. If you need more information, see OAuth2 Authorization below.

You have only one account

If you have only one account, then no change is needed in Thunderbird for PKCE to work. You just log in ("authenticate") by providing your email account and account password (App passwords do not work with OAuth2), and then confirm that Thunderbird may access data on the provider's servers (AOL, ATT, Yahoo, etc). This is a normal and safe process. If you have difficulty, please see Detailed Troubleshooting Steps below.

You have more than one account

If you have more than one account, such as one AOL account and one Yahoo account, to allow PKCE to work you must:

--30--

Sunday, March 15, 2026

WSL notes on Win 11

 using notes from 


Ways to run multiple Linux distributions with WSL

WSL supports running as many different Linux distributions as you would like to install. This can include choosing distributions from the Microsoft Store, importing a custom distribution, or building your own custom distribution.

There are several ways to run your Linux distributions once installed:

From Windows Terminal (Recommended) Using Windows Terminal supports as many command lines as you would like to install and enables you to open them in multiple tabs or window panes and quickly switch between multiple Linux distributions or other command lines (PowerShell, Command Prompt, Azure CLI, etc). You can fully customize your terminal with unique color schemes, font styles, sizes, background images, and custom keyboard shortcuts. 
Learn more.
You can directly open your Linux distribution by visiting the Windows Start menu and typing the name of your installed distributions. For example: "Ubuntu". This will open Ubuntu in its own console window.

From PowerShell, you can enter the name of your installed distribution. For example: ubuntu

From PowerShell, you can open your default Linux distribution inside your current command line, by entering: wsl.exe.

From PowerShell, you can use your default Linux distribution inside your current command line, without entering a new one, by entering:wsl [command]. Replacing [command] with a WSL command, such as: wsl -l -v to list installed distributions or wsl pwd to see where the current directory path is mounted in wsl. From PowerShell, the command Get-Date will provide the date from the Windows file system and wsl date will provide the date from the Linux file system.

The method you select should depend on what you're doing. If you've opened a WSL command line within a PowerShell window and want to exit, enter the command: exit.

Thursday, March 5, 2026

Installing Archivebox

Archivebox allows quick saving of web pages.  Uses a plugin, currently using chrome version.


It uses for what I installed, a Docker container

Install with
curl -fsSL 'https://get.archivebox.io' | bash

Command line archive of a page
archivebox add --depth=1 'https://howtogeek.com'.

Install the extension in Chrome, add URL of the server
http://192.168.1.xxx:8000

Must use unencrypted page URL, the server doesn't redirect 443 to the 8000 server port

The extension has two modes: Allowlist and BlockList. In Allowlist mode, it won't archive anything unless you specify a web domain (like howtogeek.com) as ones you "allow" to be automatically archived by ArchiveBox when you visit them. 

referral in article to Kiwix

--30--

Tuesday, March 3, 2026

Install and enable telnet daemon on Raspberry Pi

Telnetd isn't enabled by default.

sudo apt -y install telnetd

Edit /etc/inetd.conf and uncomment line 23 (line number is just a co-incidence).
Code: Select all

#:STANDARD: These are standard services.
telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/telnetd
Restart the inetd service
Code: Select all

sudo systemctl restart inetutils-inetd.service

--30--