Category Archives: Computing Notes

Notes about computing, software, and hardware

Create a systemd service for YaCy

Create file /usr/lib/systemd/system/yacy.service and add this content: [Unit] Description=YaCy search server After=network.target Restart=always [Service] Type=forking User=yacy ExecStart=/opt/yacy/startYACY.sh ExecStop=/opt/yacy/stopYACY.sh Restart=on-failure RestartSec=1s [Install] WantedBy=multi-user.target Then use systemctl enable yacy.service.

Posted in Computing Notes | Tagged , , | Comments closed

Shrink Firefox Interface

Use about:config –> browser.uidensity . browser.uidensity is set to 0 by default.  Changer the  value to 1 and it takes immediate effect.

Posted in Computing Notes | Tagged , | Comments closed

VirtualBox Disk Conversion

To convert a dynamic VirtualBox disk to a Fixed disk, run the following command: vboxmanage clonemedium disk /path/disk.vdi /path/newdisk.vdi -variant Fixed using –variant Standard would create a dynamic disk.  Then open the virtual machine and remove the existing disk and attach the new disk.  Then use the media manager to delete the unused media. Use [...]

Posted in Computing Notes | Tagged , , | Comments closed

Browser Extensions

Chromium: Joplin Web Clipper, Zotero Connector, floccus bookmarks sync, uBlock Origin, Quick Javascript Switcher, SingleFile, uMatrix Firefox: SingleFile, Copy PlainText, floccus bookmarks sync, Joplin Web Clipper, Passman, Search by Image, Tree Style Tab, uMatrix, Undo Close Tab, Web Archives

Posted in Computing Notes | Tagged , , , | Comments closed

Debian 12 PATH and X11

A few quirks with Debain 12 include that path not being set in similar fashion to Fedora, Ubuntu, and other distributions.  One must regularly set export PATH=$PATH:/usr/sbin In Gnome, applications will open on the server instead of the client when using X11 forwarding.  This will occur even though xcalc opens on the client normally.  The [...]

Posted in Computing Notes | Tagged , , , , | Comments closed

Move /var to new disk

To add a new virtual disk and move the existing Linux partition to the new disk use the following process. The process assumes standard partitions without the use of Logical Volume Manager (LVM). 1. Backup the existing VM. One good way to do that is to clone the Virtual Machine and use the procedure on [...]

Posted in Computing Notes | Tagged , | Comments closed

Install Java 21 in Debian 12

Minecraft Java edition lost compatibility with Java 17 between 1.20.4 and 1.20.6. Version 1.20.4 works with Java 17, and 1.20.6 no longer works with Java 17.  Several guides appear online for installing downloaded packages of the 64-bit runtime from Oracle or other sources.  Since Debian offers 32-bit server operating systems in the present day, the [...]

Posted in Computing Notes | Tagged , , , | Comments closed

Disable updates in Thunderbird

Open the Thunderbird program folder (e.g. C:\Program Files (x86)\Thunderbird) create a new folder named distribution Create a file named policies.json with the following content:   { “policies”: { “DisableAppUpdate”: true } } Thanks to sifferedd.

Posted in Computing Notes | Tagged , | Comments closed

Print environmental variables in Bash

Use printenv to see what environment variables are set. #!/usr/bin/env bash printenv set -x

Posted in Computing Notes | Tagged , | Comments closed

.nanorc in CentOS

Edit $HOME/.nanorc to contain the following: include /usr/share/nano/java.nanorc include /usr/share/nano/man.nanorc include /usr/share/nano/nanorc.nanorc include /usr/share/nano/python.nanorc include /usr/share/nano/sh.nanorc include /usr/share/nano/html.nanorc include /usr/share/nano/perl.nanorc include /usr/share/nano/php.nanorc CentOS 7 uses a much older version of nano than the one that presently ships on most distributions. The php.nanorc on newer The following should appear in /usr/share/nano/php.nanorc on CentOS7 to allow syntax [...]

Posted in Computing Notes | Tagged , , | Comments closed