Wednesday, 29 April 2020

About Asteroids, Radio, Scienza and Twitter

When I ask science, it answers me... <3

Wednesday, 22 April 2020

How to free HDD space

I had difficult to access on my desktop on Ubuntu 19.10.

  • As first step I rebooted the system and accessed Ubuntu in a safe modality and, later, I chose the option to start a terminal in root mode
  • on the device sda8 (/) the space was over (I used df -h):

    In this picture /dev/sda8 has a sufficient space to allow me to start the OS
  • I noticed that time ago I had problem with my notebook camera that didn't work properly
  • then I tried to know how much was the size of the files in /var/log folder to know if something interesting could have come out and I found just that file, related with my camera, was larger in size than it normally could have been, even more then 6 Gigabytes!!

  • the offending file was called uvcdynctrl-udev.log (in the red rectangle above). In the picture it doesn't have a large size (because I proceeded to delete it).

  • I proceeded to delete it (don't panic! It will be recreated again by the system)
  • Then I was able to start again my Ubuntu 19.10

P.S. if you want to try another way to show the space occupied by some file or folder I suggest you to install ncdu:



 

Monday, 13 April 2020

MeteoLecce 2.0

The app is dowloadable from Play Store at the following link


Based on what I've previous said these are two screenshots of the main activity:






Try it... ;-)

Tuesday, 3 March 2020

MeteoLecce 2.0

Well, the second version of the app MeteoLecce, MeteoLecce2.0, is born.
In this renewed app I want to introduce a new idea of design based on minimalism.
Fundamentals rules:
  • minimalism
  • simplicity
  • cleaning
Above all and always: LESS is MORE

Monday, 24 February 2020

Wash my Bash

An effective title to explain my personal script to clean and obtain free space on my personal disk.
I want to show you all this script to delete something annoying:

df -h
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get purge `deborphan`
df -h


This script is composed of 4 parts in turn composed of as many commands:

  • autoremove 1: the autoremove option removes packages that were automatically installed because some other package required them but, with those other packages removed, they are no longer needed;
  • autoclean 2:clears the local repository of retrieved package files, but it only removes files that can no longer be downloaded and are virtually useless. It helps to keep your cache from growing too large;
  • clean 3: clears out the local repository of retrieved package files.It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/;
  • purge `deborphan` 4: To delete unnecessary libraries

1 https://www.networkworld.com/article/3453032/cleaning-up-with-apt-get.html
2 https://www.networkworld.com/article/3453032/cleaning-up-with-apt-get.html
3 https://askubuntu.com/questions/894736/what-is-sudo-apt-get-clean
4 https://sites.google.com/site/easytipsforlinux/using-deborphan