Fix blury apps in Windows 10

For a while I have been having a rather annoying issue on my main PC, where Chrome, Edge (Chromium version), Opera, Microsoft Teams, Atom, Postman and GitKraken would all go blury if out of focus.

After some Googling, and loads of answers blaming the Windows 10 setting to auto fix blury apps (it wasn't this by the way), I found the solution...

It turns out it was my Nvidia graphics driver configuration, the fix is below:

Nvidia Video Cards

  1. Open the Nvidia Control Panel window by clicking the Nvidia icon in the system tray or the Start menu.
  2. Click the "Manage 3D Settings" link in the 3D Settings section.
  3. Click the "Antialiasing - Mode" option to select it, and then select "Off" in the box next to it.
  4. Click "Apply" to apply the new settings, and then close the Nvidia Control Panel window.

Apparently there is also a fix for ATI cards.... although I cannot confirm this as I do not have one...

ATI Video Cards

  1. Open the Catalyst Control Center window by clicking the Catalyst icon in the system tray or in the Start menu.
  2. Click the "3D" node in the left pane, and then click the "Anti-Aliasing" link to view the antialiasing settings in the right pane.
  3. Select the "Use application settings" option in the "Smoothvision HD: Anti-Aliasing" section. Each application uses its own antialiasing options, so you just need to turn off the antialiasing option in the application's settings.

Part 6 - Making it all come together

The original source for the following tutorial on how to setup a Plex Media Server with GSuite has gone offline, so I thought i would re-post it so it's not lost.

Everything below is simply lifted from their website (with minor tweaks) (Tech Perplexed / techperplexed.ga)

Well done, after finishing Part 5 - Mounting the drive(s) you are ready to roll! But, wait, isn't there a lot more to do? No... not really. You can now visit https://app.plex.tv/web - your brand new Plex server will be there. Bet you didn't know it would be this easy, did you?

Now I'm not going to teach you how to set up Plex, there is ample information on the Plex website for that. What you do need to know though is where to find your content.

So let's add a library and click "Browse for Media Folder".

You will see the services you created on the left hand side of your selection. If you just want to use Rclone, all you need to do is click Plex and add the folder(s) of your choice to your library.

That's all... You can stop sweating and start watching as soon as Plex has finished scanning your content!

Part 5 - Mounting the drive(s)

The original source for the following tutorial on how to setup a Plex Media Server with GSuite has gone offline, so I thought i would re-post it so it's not lost.

Everything below is simply lifted from their website (with minor tweaks) (Tech Perplexed / techperplexed.ga)

You made it up to here, you finished Part 4 - Setting up Rclone and/or Plexdrive and are still with it, congratulations! The hardest parts are done, it'll be downhill from now on. Promise! We now need to mount our drive so that Plex can access it as if it is just one giant external drive.

Mounting the Google drive (Rclone)

You are probably still logged in with your plexuser account, which is exactly what we want.

Let's create the required folders first:

mkdir -p /home/plexuser/logs
mkdir -p /home/plexuser/uploads

Creating the mount script:

sudo nano /etc/systemd/system/rclone.service

Then paste (right click):

[Unit]
Description=Mount and cache Google drive to /media/Plex
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/home/plexuser/.config/rclone
Environment=MOUNTTO=/media/Plex
Environment=LOGS=/home/plexuser/logs
Environment=UPLOADS=/home/plexuser/uploads
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStartPre=/bin/mkdir -p ${UPLOADS}
ExecStart=/usr/bin/rclone mount \
  --rc \
  --log-file ${LOGS}/rclone.log \
  --log-level INFO \
  --umask 022 \
  --allow-non-empty \
  --allow-other \
  --fuse-flag sync_read \
  --tpslimit 10 \
  --tpslimit-burst 10 \
  --dir-cache-time=160h \
  --buffer-size=64M \
  --attr-timeout=1s \
  --vfs-read-chunk-size=2M \
  --vfs-read-chunk-size-limit=2G \
  --vfs-cache-max-age=5m \
  --vfs-cache-mode=writes \
  --cache-dir ${UPLOADS} \
  --config ${RCLONEHOME}/rclone.conf \
  Gdrive: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target

Of course you will need to replace all instances of plexuser with your own username.

When you are done, save the file by typing Ctrl-O, Enter to save, then Ctrl-X to exit.

You will need to enable the service. Type

sudo systemctl enable rclone.service

Reload the service so it'll work:

sudo systemctl daemon-reload

You will need to reboot your server now. Type

sudo reboot

You may need to wait a few seconds for the server to be back online again... just enough time to grab another cup of coffee. You deserve a break.

Click away the PuTTY session (it has become unresponsive anyway). You are done now and you can proceed to Part 6 - Making it all come together.

Part 4 - Setting up Rclone

The original source for the following tutorial on how to setup a Plex Media Server with GSuite has gone offline, so I thought i would re-post it so it's not lost.

Everything below is simply lifted from their website (with minor tweaks) (Tech Perplexed / techperplexed.ga)

Now that you finished Part 3 - Install and configure Plex, we're halfway there... keep with it! This part will discuss Rclone.

Installing Rclone

Installing Rclone itself is the easiest part. You don't even need to understand what is happening. After you have followed these steps to the letter, Rclone will be installed.

I suggest you start a new session in PuTTY (select your saved session and click "Open", then log in with plexuser (or the name you picked for yourself) so that we are no longer in local mode.

Copy and paste the following line:

curl https://rclone.org/install.sh | sudo bash 

That's all, Rclone is installed and ready to run!

Configuring Rclone with Google

You didn't think everything would be this easy, right? No, the hard part is still to come. Now we need to configure Rclone, which is a bit of a task because on our PuTTY terminal, we have no browser available. Not to worry, with a bit of work, your own local computer will come to the rescue.

In the PuTTY terminal, type

sudo rclone config

You will be presented with a choice, type the letter n for "New remote" and hit the Enter key.

This tutorial will cover Google Drive, which is by far the most popular service. If you have signed up for another cloud service, check the Rclone website how to set that up.

You are asked to give a name. For this tutorial to work properly, please make sure you type:

Gdrive

Notice the capital G in Gdrive - Linux is picky about these things. Again, to avoid problems, you should not deviate from this (unless you exactly know what you're doing, but then you probably wouldn't be following this guide).

Check which option mentions Google Drive "drive" in the list (in the latest version this is #11), so type 11 and Enter.

Leave client_id> blank, just Enter.
Leave client_secret> blank as well, just Enter.

Scope that Rclone should use> 1 (full access)

ID of root folder> blank, just Enter
Service account files> again leave blank, just Enter.

Type the letter n for No, you don't want to use auto config and Enter.

You'll get a message that if your browser doesn't open, you will need to copy and paste the following link. You will need to place the entire link in a block by dragging your mouse (see screenshot below). Do not hit Ctrl-C - remember, this is PuTTY - dragging the mouse and placing the link in a block means it's copied.

Go to your local browser and paste the link. You will be asked to log into Google and accept authorization. You will then be given a code to paste in PuTTY.

Paste the code (right click), hit Enter.

Next you will be asked if you want to configure it as a team drive. Unless you know exactly what this means, type n - you don't want it.

Finally type y that Yes, all is okay and then q to Quit config.

You should see both drives in your list of current remotes:

Head over to Part 5 - Mounting the drive(s).

Part 3 - Install and configure Plex

The original source for the following tutorial on how to setup a Plex Media Server with GSuite has gone offline, so I thought i would re-post it so it's not lost.

Everything below is simply lifted from their website (with minor tweaks) (Tech Perplexed / techperplexed.ga)

Finished Part 2 - Configuring Ubuntu? Then you can proceed with the installation of Plex itself. Thanks to an awesome script that is available for free, this is going to be a breeze. We now need to restart PuTTY in localhost mode to set up the Plex server using our local browser.

Open a new terminal window, select your saved Plex session and click "Load".

Don't click "Open" yet, first, look for Connection in the menu on the left hand side, open up SSH and click "Tunnels".

In the field behind Source port type: 32400
In the field behind Destination type: localhost:32400
Click "Add".

Now click "Open".

You can now login as your newly created plexuser.

Installing Plex

To install Plex, type (copy/paste):

bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)"

All in one line (you may need to scroll horizontally). If you are asked to enter your password, then this is not your Plex password, but the password you chose for plexuser in Linux.

Type the letter y to proceed with the installation, then hit Enter to agree to the default location "/opt/plexupdate".

You will be asked if you want to install the latest PlexPass releases. Important: answer y ONLY if you own a PlexPass, otherwise type n. I have a PlexPass, so I entered y.

If you choose y you will need to provide your Plex credentials. Enter your Plex e-mail address and Plex password.

Follow the rest of the prompts. I chose y when asked if I want to install the latest updates whenever they are released and y to check if the server is in use before upgrading,

Hit the Enter key twice when presented with the DNS/IP name and server port, 127.0.0.1 and 32400 are both correct.

I chose y to set up automatic daily updates for Plex.

Choose y that you wish to continue.

I chose n that I do not wish to run syslog, and n that I don't want to receive an email if an update is available.

Lastly, make sure you choose y that you want to run the Plex update right now.

Congratulations, Plex is installed!

If you ever need to make chances to this configuration, type

/opt/plexupdate/extras/installer.sh

This will run all options again and update the configuration with your new choices. Don't click away PuTTY, we're not done yet.

Getting Plex to run

Leave the terminal open on your desktop and open your local computer browser.

Visit this link:

http://127.0.0.1:32400/web

If all goes well, you will be presented with a Plex login screen. You're doing fantastic!

Sign in with your Plex credentials, or create a new account if you are new to Plex. Continue clicking "Next" until you get the Plex main page.

Later we'll finish setting up the server, but before we proceed there is one more thing to do. Make sure your Plex server is available at https://app.plex.tv. If it is, click the Settings button (top right), click "Server", then "Remote Access".

Make sure you see "Fully accessible outside your network" in green.

Perfect, Plex is installed properly and we're ready for Part 4 - Setting up Rclone and/or Plexdrive.