Thursday, October 29, 2020

Check disks on Ubuntu Desktop for Raspberry Pi


Disk Usage Analyzer is a graphical tool to analyze disk usage. It is pre-loaded in Ubuntu Desktop for Raspberry Pi.

Search and run Disk Usage Analyzer in Accessories:





Test the performance of disk on Ubuntu Desktop for Raspberry Pi using Disks(gnome-disk-utility)

Disks(gnome-disk-utility) is a GNOME utility for dealing with storage devices.

To test the performance of disk on Ubuntu Desktop for Raspberry Pi, open Disks from Activities.

This video show how:


Tuesday, October 27, 2020

Check system usage using System Monitor, on Ubuntu for Raspberry Pi

To check system status, system loading and disk usage on Ubuntu for Raspberry, you can use System Monitor.

Search and run "System Monitor" in Activities.


In System Monitor, you can checkProcesses, Resources and File systems.





related:

Tuesday, October 13, 2020

Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit)


With Visual Studio Code now support Raspberry Pi officially, just tried to install on Raspberry Pi 4B/4GB. As straightforward as stated in Visual Studio Code doc.

Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit):

Install VS Code:

Visit: https://code.visualstudio.com/
Scroll down and download ".deb" of "ARM" build for 32 bit Raspberry Pi OS.

Open Terminal, run the command:
$ sudo apt install ./<file>.deb

Where <file> is the file downloaded.

Install Extension of PlatformIO IDE to Visual Studio Code:

Click Extension tab, search and install PlatformIO IDE

Related:
~ Current Raspberry Pi OS officially 32 bit only. If you want 64 bit Visual Studio Code, you can try Ubuntu Desktop for Raspberry Pi (64 bit), and Install Visual Studio Code/PlatformIO IDE on Ubuntu for Raspberry Pi.


Updated@2021-03-24:

Sunday, October 11, 2020

Visual Studio Code now support Raspberry Pi officially

 Visual Studio Code is a free, open source code editor from Microsoft. With its release of version 1.50 (September 2020) it support Raspberry Pi officiaally.


  • Visual Studio Code is a free, open source code editor from Microsoft.
  • It's available cross-platform on Linux and Mac, and also Chromebooks that support Linux apps.
  • Official ARM support for Linux now brings the application to ARM based Chromebooks, Linux machines like the PineBook Pro and the Raspberry Pi.

reference:
- Windows Central > Microsoft Visual Studio Code now supports Raspberry Pi and ARM Chromebooks
- Visual Studio Code > September 2020 (version 1.50)

Next:
Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit)



Updated@2021-03-24:

Saturday, October 10, 2020

Watch CPU frequency of Raspberry Pi: adding menu item of CPUFreq frontend and using vcgencmd.

This video show how to watch CPU frequency of Raspberry Pi running Rspberry Pi OS (tested on Raspberry Pi 4):
- adding menu item of CPUFreq frontend
- or using vcgencmd. 

vcgencmd is a command line utility that can get various pieces of information from the VideoCore GPU on the Raspberry Pi, details refer to Raspberry Pi Document of vcgencmd.

To get the actual speed of ARM cores, enter the command in Terminal:

$ vcgencmd measure_clock arm

You can also keep watching vcgencmd result in Terminal using the watch command.

$ watch -n 1 vcgencmd measure_clock arm

Alternatively, you can also check it in the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq, where cpu0 can be cpu0~4 for Raspberry Pi 4 with 4 core. Read HERE.