All posts by Bob

Boot Windows with Syslinux

To install Syslinux on an NTFS partition to boot Windows XP: Download and extract the latest Zip file from: https://www.kernel.org/pub/linux/utils/boot/syslinux/This file contains code for Windows and Linux systems, only copy files from within the “bios” folder. Create the directoriy structure on the active NTFS partition: C:\boot\syslinux Within the extracted folders, find and copy from the syslinux-x.xx\bios\com32 … Continue reading Boot Windows with Syslinux

Debian 9 Stretch on Macbook Pro save Screen brightness

Symptom: Macbook resets to full brightness every reboot, instead of remembering brightness settting. Scenario: *OS: Debian 9 Stretch*System: 2011 Macbook Pro, with Nvidia 320M*Xorg.conf includes this line in the Device section:     Option         “RegistryDwords” “EnableBrightnessControl=1”*The current backlight value is recorded in:  /sys/class/backlight/apple/backlight/brightness Fix: During shutdown systemd should save the brightness setting in: /var/lib/systemd/backlight/and load it … Continue reading Debian 9 Stretch on Macbook Pro save Screen brightness

Windows 10 Backup Settings shortcut

To create a desktop shortcut to the Backup settings in Windows 10:  Right-click desktop -> New -> Shortcut -> ms-settings:backup  -> Next -> Finish Rename the shortcut to “Backup Settings”.Edit the shortcut’s properties to customize the icon. For shortcuts to other settings see: www.nextofwindows.com/the-complete-list-of-ms-settings-shortcuts-to-windows-10-settings-applet

LXDE create quick launcher

To provide a GUI for LXDE users to easily create new .desktop files, which can be used as shortcuts to applications or locations, follow the instructions below: 1. Create file:  /usr/local/bin/create-quicklauncher: #!/bin/bash # Use the current time as a unique temporary filenameDATETIME=$(date +%Y%m%d-%H%M%S)FILENAME=$DATETIME.desktop lxshortcut –output=$(pwd)/$FILENAME # Get the Name that user inputed so we can rename … Continue reading LXDE create quick launcher

Simple Invoices password reset

To reset the password of a Simple Invoices user it is necessary to use MySQL.  Passwords are stored as a hash using the MD5 function. Log in to mysql and connect to your database, then:select * from si_user;update si_user set password = MD5(‘newpassword’) WHERE email = ’email@address.com’; www.simpleinvoices.org

ClamAV ScanOnAccess

ClamAV 0.99 supports scan on access, through clamav-daemon (clamd),  Below are instructions for setting this up with Lubuntu 16.04. 1) apt-get install clamav-daemon 2) apt-get install libnotify-bin   (we will use notify-send to send alerts to the desktop) 3) edit /etc/clamav/clamd.confUser root…ScanOnAccess trueOnAccessPrevention yesOnAccessIncludePath /home/user/DownloadsVirusEvent VirusEvent export DISPLAY=:0; /usr/bin/notify-send –icon=error “CLAMD VIRUS ALERT:” “$CLAM_VIRUSEVENT_VIRUSNAME FOUND IN $CLAM_VIRUSEVENT_FILENAME” 4) … Continue reading ClamAV ScanOnAccess