Friday, August 25, 2023

Windows 10 show/hide "dim display after" option

Source:  https://www.makeuseof.com/windows-show-dim-display-after-option/

In PowerShell, enter the following command to show the Dim Display after option in the Power Options menu:

powercfg -attributes SUB_VIDEO 17aaa29b-8b43-4b94-aafe-35f64daaf1ee -ATTRIB_HIDE

To hide it, enter the following command:

powercfg -attributes SUB_VIDEO 17aaa29b-8b43-4b94-aafe-35f64daaf1ee +ATTRIB_HIDE

Monday, August 15, 2022

Cloning to a smaller SSD

Source: https://forum.macrium.com/21582/Cloning-to-a-smaller-SSD

In [Macrium] Reflect, select your source disk and click "Clone this disk".  In the first step of the wizard where you specify the source and destination, select your smaller SSD as the destination.  Then start dragging your partitions down from the source to destination one at a time, working left to right, but when you get to a partition you want to shrink, drag it down to the destination, click it down there, and select "Cloned partition properties".  Change its size on the destination as desired, then proceed with any remaining partitions. 

Wednesday, February 9, 2022

Friday, July 23, 2021

Python switch version

 https://stackoverflow.com/questions/5087831

This is if you have both the versions installed.

Go to This PC -> Right-click -> Click on Properties -> Advanced System Settings.

You will see the System Properties. From here navigate to the "Advanced" Tab -> Click on Environment Variables.

You will see a top half for the user variables and the bottom half for System variables.

Check the System Variables and double-click on the Path(to edit the Path).

Check for the path of Python(which you wish to run i.e. Python 2.x or 3.x) and move it to the top of the Path list.

Restart the Command Prompt, and now when you check the version of Python, it should correctly display the required version.


Or add both these paths in this order from top-down:


Python 3.8 location: 

\Users\[Your Username]\AppData\Local\Programs\Python\Python38\python.exe

\Users\[Your Username]\AppData\Local\Programs\Python\Python38\Scripts


https://blog.devgenius.io/python-for-beginners-how-to-install-python-3-8-3-for-windows-pc-a84f5d237c19