Friday, May 20, 2022

Fix for HDMI to an external monitor:

Run the commands below with the HDMI connected to my monitor:

  • xrandr --listproviders (to make sure you have NVIDIA-G0 as a provider)
  • xrandr --setprovideroutputsource NVIDIA-G0 modesetting 
  • xrandr --auto


Ref: Found the info in the last post in this thread: https://www.linuxquestions.org/questions/debian-26/debian-11-bullseye-on-optimus-laptop-not-detecting-external-screen-4175690446/

Solution : how to check if the drive is ssd or hdd ?

Command :  lsblk -o NAME,ROTA

Result: 

NAME   ROTA
sda       0
└─sda1    0
sdb       1
├─sdb1    1
├─sdb2    1
├─sdb3    1
├─sdb4    1
nvmep1    1


 1 for hard drive and 0 for ssd.