Lubuntu 16.04 slow shutdown

posted Sep 29, 2016, 11:04 PM by Ron Cotton

If your Lubuntu system is experiencing slow shutdowns and you installed CUPS for printing,
you may wish to

sudo systemctl edit cups-browsed.service #replace edit with fav editor if needed

... and set the following ...

[Service] TimeoutStopSec=10
... and finally restart the cups daemon so your next shutdown goes smoothly:

sudo systemctl daemon-reload

Posted by unhammer from

Great Notes for Linear Algebra

posted Jun 12, 2016, 6:54 PM by Ron Cotton

Great Site for TI-89 Users

posted Jun 12, 2016, 2:25 PM by Ron Cotton

Many new updates with Windows Bash Subsystem

posted May 12, 2016, 1:26 PM by Ron Cotton

If your an Insider for Microsoft Windows, now is the time to try out bash again.  Many new fixes in the Linux Subsystem:

Debian on Chromebook ARM

posted Apr 10, 2016, 10:36 AM by Ron Cotton

I'm planning on installing Debian (Jessie) on my Chromebook ARM (Model: XE303C12 - Do not attempt these instructions on another model!) 
No time to work on this now, but I found what I believe to be the best resources to do this install and merged them into one pdf for use later.  If your attempting to do the same thing and you realize that this can toast your Chromebook, the link to the file is below.  Enjoy!

Error: 0x800c0005 when installing bash

posted Apr 6, 2016, 11:03 PM by Ron Cotton

This might be caused by a Windows 10 upgrade from Windows 7 or Windows 8...  SSL 2.0 and SSL 3.0 connections are not working properly.  This is what the error looks like:

-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical
and licensed under its terms available here:

Type "y" to continue: y
Downloading from the Windows Store... 0%Error: 0x800c0005

To fix this issue:

Step 1: Hit the Windows Key and start typing 'Internet Explorer'.  Press enter when 'Internet Explorer' appears.

Step 2: Click on the "gear" or "cog" icon on the top-right of the browser window, not the "gear" IN the browser window (IE defaults to bing).

Step 3: Choose Internet Options

Step 4: Click on the Advanced tab in Internet Options, scroll down to the bottom, and enable SSL 2.0 and SSL 3.0. Apply. Note: "POODLE Bug" and note OpenSSL has SSL 3.0 and 2.0 disabled by default as a security feature!

Step 5: Close command line window then reopen command line window, rerun 'bash'.

Step 6: If you enabled SSL 3.0 or SSL 2.0 which I had, I recommend go back disable SSL 3.0 and SSL 2.0 in Internet Explorer (see steps above except uncheck/disable, then click apply button!)  Ensure that SSL 3.0 and SSL 2.0 are disabled by closing IE and reopening and seeing if the changes were applyed!

Canonical Bash for Windows 10!

posted Apr 6, 2016, 8:51 PM by Ron Cotton   [ updated Apr 6, 2016, 8:54 PM ]

Ubuntu == Windows 10

First announced in the Microsoft Build 2016 Conference and was just introduced in build 14316, which is available only for Inside Developer fast track.  Finish each step completely before going on to the next step...

Step 1: Make sure you're in Inside Developer Fast Track
Settings -> Update & Security -> Windows Update -> Advanced Options -> Get Insider Preview Builds
Slide the bar underneath this feature all the way to the right (fast track)...

Easy to setup if you have already have an outlook/hotmail account, will require you to bounce around some webpages. Unfortunately, it will force you to log in with that account, if that feature isn't turned on... The other disadvantage to this is Under Settings -> Privacy -> Feedback & Diagnostics, Microsoft takes control of those option.  Once this feature is on, Windows will begin downloading the Newest Build.

Once the download is done, in updates, Restart now.  Windows will install the update and may require several reboots in the process.

Step 2: Turn on developer mode
Settings -> Setup & Security -> For developers -> Developer Mode (Install any signed app and use advanced development features)

Step 3: Turn on Windows Feature "Windows Subsystem for Linux (Beta)"
Left Click start menu and type 'Turn Windows features on or off' and check 'Windows Subsystem for Linux (Beta)' to on.
Reboot Windows Again

Step 4: Run bash from Command Prompt (Admin)
Right click start menu and choose Command Prompt (Admin) (hotkey: Win+X Then A) Click OK at the confirmation window, type bash and confirm the Canonical Terms by typing 'Y' (A website URL will show the current Canonical Terms and Conditions)

Windows will download an Ubuntu Image from the Windows Store, which leads me to believe that doing this in the future with a standard install will be much easier in the future.

Step 5: Finally, Run "Windows Subsystem for Linux (Beta)"
Either click on the desktop application or type "bash" after clicking the Windows key.

Installed and complete install.  Note: that your user level in Windows will determine what user level your bash account will be in.  (ie: Admin = root) and you will not be able to run X, and your in userland Linux.  Also, last reports stated that vt100 emulation is not complete so top, tmux, etc. might not be running correctly.  Also, use Feedback Hub to let Microsoft know what's wrong with the build, they want developers feedback.  ENJOY! ^_^

Official Blog Post - Windows Command Line Tools For Developers

Removing Extra Whitespace - Linux / GOW / Cygwin

posted Mar 31, 2016, 10:51 PM by Ron Cotton

Here's one method using tr:
tr -s " " < file

using column (if data is in column form):
column -t inputFile

using awk:
awk '{$2=$2};1' file

Fix for Wordpress Internal 500

posted Mar 28, 2016, 10:27 PM by Ron Cotton

Wordpress has a problem with Internal Error 500, especially when dealing with images.  People up the number of megabytes for php.ini, remove security plugins, and even remove .htaccess to fix this issue.  Chances are, this isn't the real issue. It's really the way the host is handling php, perhaps running multiple versions of php.  This simple line of code this the fix, place this on the top of your .htaccess file.  (Just like any edits you make to .htaccess file, make a backup before making this change)
#enable php5 AddType x-mapp-php5 .php 

If this isn't the case, please me know how you or your host solved your problem and what host your using.  This quick fix worked for me!

GOW bash not working

posted Mar 28, 2016, 10:17 PM by Ron Cotton

Had difficulty getting bash running until I read the issue in github...

The quick fix is to create an /etc directory in the gow directory (default gow install directory: C:\Program Files (x86)\Gow - so create directory: C:\Program Files (x86)\Gow\etc)

This was an issue that was going to be fixed in GOW v0.8, but in never got fixed. (  GOW btw is a great alternative for CYGWIN, and if you really need to install other linux apps onto you Windows Machine, (like apt-get) check out Chocolatey!

1-10 of 20