Monitor and Control Network Usage on Win10

If you are on your network or WiFi it’s easy to forget that things are consuming bandwidth and just go, but if you are on a metered internet connection data plan like Cellphone Tethering/Hotspot or a capped plan from your ISP you need to be cautious not to exceed those caps or incur extra costs.

Monitoring Usage

There are two ways to monitor Network Usage Settings and Task Manager, both reset the information every 30 days.
Continue reading Monitor and Control Network Usage on Win10

Advertisements

New Material Design Mode – Chrome 68

Edits: Found other settings that extend the new look. iOS edit to come shortly and noted in that section.

Tip: You can change back by selecting the Default option if you change your mind.

Chrome has a new Material Design mode that you can turn on, simply follow our instructions.
Continue reading New Material Design Mode – Chrome 68

Windows Search Indexer High Disk or CPU

Search Indexer – What is it?

Search Indexer basically provides indexing of things on your computer for Windows Search and Cortana to work. It indexes and caches files, emails and other things that you would search for. By default this service should not be running at 100% unless your computer was idle.

From Microsoft:

Provides content indexing, property caching, an search results for files, e-mail, media files, contact list and other content.

Now that we know what it does we can see why it would consume as much resources as it does.
Continue reading Windows Search Indexer High Disk or CPU

Changing Default Editor in Ubuntu

By default the editor in Ubuntu Server is Nano, I prefer Vim.

Run the following command:

sudo update-alternatives --config editor

this will output a selection list that may differ depending on which editors you have installed:

There are 5 alternatives which provide `editor’.
Selection Alternative
———————————————–
*+ 1 /bin/nano
2 /usr/bin/vim.basic
3 /usr/bin/vim.tiny
Press enter to keep the default[*], or type selection number:

Select the number of the editor you want to use and press enter. That’s it.

Was this helpful for you? Leave us a comment below. Thanks.

Rotate display in Linux when not using an X Server

In general you would use a desktop version of whatever Linux Distro you decided suits your needs and you may have an external display that you use to write scripts on or whatever else you do that would work best with a rotated (portrait) display; for me that is note taking or scripting. I have mine hard mounted to the wall and if I need to rotate it it’s almost impossible because I have displays on either side of it that are also hard mounted on the wall.

The last few days I’ve been playing with building a Linux (Ubuntu Server 18.04 LTS) based Gateway to run my network in server mode and I had to use this rotated display as I had other things going on that were taking up the other displays. As you are aware, using a portrait display to see what you’re doing on a server is no fun and yes I can ssh into the server but I wanted to work directly off the server while tasks on my other machine were still going on. Yes, I did make this extra complicated for myself but it made me learn things that I and not many normally people think about. I could make this easy by installing a GUI but that would add extra things to my system that I do not need and that would take up resources that I prefer to go to the task I’m creating this system for.
Continue reading Rotate display in Linux when not using an X Server

Make your Android phone a bit faster

First off let me say that this will not increase system resources, it will tho increase response times that will make your phone work faster by adjusting the animation timers.

First thing we need to do is enable Developer Mode

Warning : Before we go any further, only change the three items we list below unless you know what you are doing.
  • Open the Settings app on your phone
  • If your handset runs Android 8.0+, tap System If not, skip this step.
  • Scroll down and tap About phone
  • Scroll down and tap Build number 7 times consecutively

Locate these three settings tap on each one and change it’s value to .5x ← Note the decimal.

  1. Window animation scale
  2. Transition animation scale
  3. Animator animation scale

Basically what this is doing is setting the transition animation time to 1/2 of it’s original value so things will load and close twice as fast, giving you a significant boost in non-wasted time on your phone waiting for things to load.

That’s it. Go enjoy your new speed.

Upgrade Ubuntu Server over ssh

I run an Ubunutu server and initially I found it tedious to have to do upgrades by going to the server and manually running the upgrade. I did not want to get too fancy with this process as it was not worth the time. I just log in and set it then come back later and ensure thing are going smoothly and answer any questions that may come up.

I was thinking about doing this via ssh but there is always the possibility that your connection may drop and you can potentially break your server, Ubuntu actually puts up a warning for you in this regard.

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
'1022'.
Do you want to continue?

Continue [yN]

What I did was use a screen session should things disconnect me from my session so that the process can remain running and I can reconnect once I am able to. I have not had an issue as yet (knocks on wood) but you just never know and I prefer to be safe than sorry.

Install screen

sudo apt update && sudo apt install screen

Start a session and accept the license as prompted

screen

If you need to reconnect just run the following command

screen -r

If you have more than one session running find the one you want by running the following command

screen -ls

To connect to one of your running sessions run the following command where 17448 is the screen session id

screen -r 17448

Ensure Update Manager is installed

sudo apt install update-manager-core

Ensure your upgrade config is set to the tree you want to be on

/etc/update-manager/release-upgrades

From that file, as you can see, I use lts only:

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=lts

Run a base upgrade

sudo do-release-upgrade

Run a full Upgrade

sudo do-release-upgrade -d

Follow the instructions that appear on screen. You will be asked about keeping files or installing the new version, that will be up to you as only you know your server and what you’ve changed.

Warning : Pay close attention as upgrading a file that has config settings that let your sever do the work you built it for may be overwritten.

Did it work?

Ensure that the upgrade works and that you are on the most recent release as per your upgrader settings.

Run the lsb command:

The lsb_release command provides certain LSB (Linux Standard Base) and distribution-specific information.

lsb_release -a

Here are all the options you can use:

-v, --version
              Show the version of the LSB against which your current installation is compliant.  The version is expressed as a colon separated list of LSB module descriptions.

       -i, --id
              Display the distributor's ID.

       -d, --description
              Display a description of the currently installed distribution.

       -r, --release
              Display the release number of the currently installed distribution.

       -c, --codename
              Display the code name of the currently installed distribution.

       -a, --all
              Display all of the above information.

       -s, --short
              Use the short output format for any information displayed.  This format omits the leading header(s).

       -h, --help
              Show summary of options.

You should see something like this:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic

The Description line would show the sub version number if there are security releases done after the initial release. In those cases you should see something like this which I got from my server prior to the upgrade:

Description:    Ubuntu 16.04.4 LTS

There you go. Did I forget something or do you have something to add to make this article better, leave a comment below.