Monday, December 16, 2019

How to disable Mozilla Firefox upgrading.

Keep Mozilla Firefox from upgrading, edit profile - prefs.js

if the following isn't present in some form, add this line to stop upgrading.

user_pref("app.update.enabled", false);

Used to stop from upgrading past point where reference feature was killed by Mozilla bad design decision.


Wednesday, December 11, 2019

Command line access to esxi server info, networking config

vim-cmd hostsvc/net/info | grep "mac ="

esxcfg-scsidevs -l
esxcfg-nas -l

Tuesday, November 26, 2019

Raspbian upgrade process and notes

Upgrade Raspbian releases

sudo apt update
sudo apt full-upgrade 

Check Raspberry pi release

cat /etc/os-release

make sure lsb_release is installed

sudo apt-get -y install lsb_release
lsb_release -a


Sunday, November 3, 2019

Find directories of certain (744) permissions and change them to 755

For some reason some directories are set to 744 permission from when saved from some systems. 

They need to be 755 for the system to properly back them up.

This will change the permissions with a chmod after showing them.
find . -type d -perm 744 -print -exec ls -ld {} \;

find . -type d -perm 744 -exec chmod 755 {} \;

Nice page of examples of chmod is here


Wednesday, October 23, 2019

setting python version on Ubuntu

Adapted from this link

 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1

annoying note #1.  Pip install is fskced up on Ubuntu.  It installs a wrapper for python-pip, but doesn't install the underlying python 3 main version.

so do this:

sudo apt-get -y install python3-pip

if ubuntu unattended upgrade is running, kill it by editing

APT::Periodic::Update-Package-Lists "1";
change the 1 to 0, and reboot (easiest).  If update is in progress
killing the scripts is a big PITA.
if you have to remove pip to start over use:
sudo apt-get purge python-pip

upgrade pip with

pip3 install --user --upgrade pip

Install mongo db


Thursday, August 8, 2019

Microsoft Mouse setting in Windows 10, plus Dell (or other) mouse driver controls

Windows 10 update to 1903 Build 18362.267 (or so) lost the setting to disable the touch pad when a mouse is plugged in.

I don't know why this isn't front and center in the  main Windows settings, but it isn't. 

If a touch pad is active, finger gestures above it will cause unwanted selections at times, and motion of the cursor.  If one turns off the pad completely, one would have to use keyboard actions to navigate back to the mouse / pad enable / disable when a mouse is unplugged.

The dell dialog has a setting to allow disabling the pad when a mouse is plugged in, and that is very desirable to have, as one only need to pull the mouse, or more important if you don't have the mouse, but a wireless mouse dongle is plugged in, you just pull it and have the pad working.

So making that setting persist is important.  Win10 upgrade didn't do that.

Recording how to get back to it in the current release.

Navigate to the Mouse settings.  (hit windows button, type mouse settings)

Select Additional Mouse options in the above.  This pops up.

select "click to change Dell Touchscreen settings":