Convert avif images to png

Posted by MD     Category: Informatica


I happened to want to save an image from a website with avif format (android 12 technology), but then not be able to view it with default image reader. So I created a Nautilus script to convert it to png


The only dependency you need is Davif which you can download here:


Now download my script here:


Now just move it to your home, full path:




Where instead of USER you will put the login name


Then give it execution permissions (right click > properties > permissions > allow execution)


I hope it can be useful to you



Ubuntu touch (ubport) Xiaomi Redmi Note 8

Posted by MD     Category: Informatica

Hi everyone, I managed to get Ubuntu touch working pretty well on the Xiaomi Redmi Note 8 smartphones (ginkgo).

Before we move on to the installation here’s what’s wrong:

  1. la telecamera frontale
  2. i programmi x11 non andranno in Libertine
  3. Anbox non funziona (apps android, ma va su note 7 quindi penso basti un altro kernel configurato per andare, io non ho provato)
  4. adb via USB (bisogna usare SSH via wifi)

Otherwise at least of what I’ve tried everything goes, including dual sim, video, photos, gps, bluetooth, SSH, fingerprint reader and various apps from the open store.

First of all I consider that you have backed up, and that you are ready to “fiddle” with pc and smartphones.

A) You need to unlock the Xiaomi boot-loader and install the TWRP recovery

follow this guide ONLY up to step 2. including optional steps: guide-unlocking-bootloader-twrp

B) Download the following files to your pc:

  3. halium/GSI/ (testata versione 9 e 10, vi consiglio la 10) (link alternativo: )

C) Install Ubuntu touch by following these steps

In recovery TWRP go to advanced and enable sideload (remember that for each step you must close sideload and reopen it otherwise it gives an error)

Here are three of my screenshots (they are made by pressing the power button for a few seconds, it will open a menu where you can reboot, shut down and take screenshots)

E) Now you are ready to use Ubuntu but to manage it from pc you’ll have to configure SSH (both from PC and smartphones):

From PC (I used Ubuntu 20.04, but it’s good for all Debian based:

Once you have generated the key you will find it in ~/.ssh/
Now copy it into your cell phone (I used the wifi transfert app that you can find in the store, or via bluetooth with another app that transfers files, or use dropbox or other)
From Ubuntu touch smartphone:
put the file in /home/phablet/ (i.e. the user home)
open the terminal and give
mkdir /home/phablet/.ssh
chmod 700 /home/phablet/.ssh
cat /home/phablet/ >> /home/phablet/.ssh/authorized_keys
chmod 600 /home/phablet/.ssh/authorized_keys
chown -R phablet:phablet /home/phablet/.ssh
sudo android-gadget-service enable ssh
Now from PC open the terminal and give
ssh phablet@ (from hotspot the ip should be the same, or your ip of the cell phone connected in wifi)

NB: the basic password is phablet I recommend to change it

Now you can finally have fun with Ubuntu touch

Treasure Planet: Battle at Procyon

Posted by MD     Category: Giochi

Dusting the old computer games I found this nice game for those who are fond of sailing ships (galleons, frigates) cannons, boarding and space. In fact it is derived from Disney’s animated film “Treasure Planet” which takes its cue from the novel “Treasure Island” by Robert Louis Stevenson.

This game from 2002 still has the primacy in its genre, but soon another similar game called “Solar Sails” will be released for Steam.

Now let’s see how to install it on Ubuntu or other linux distro with wine or Crossover. I will assume that you have already set the drivers for your graphics card and that you have both 64bit and 32bit Vulkan libraries (libvulkan1 mesa-vulkan-drivers mesa-vulkan-drivers:i386), for Crossover you should add libopenal1:i386 , libopenal1 and if you have NVIDIA also libnvidia-gl-450:i386

First of all create a 32 bit windows10 bottle, then add DXVK in Crossover directly from “install Windows Software” then select the created bottle, for wine instead go to package management and install dxvk (or if you prefer from terminal “sudo apt-get install dxvk”). Now install the game quietly but before starting it you have to open the regedit, on Crossover select the bottle, then from the menu bar, “bottle”; “Run Command…” will open a window and write us: regedit

Now you have to go to HKEY_CURRENT_USER/Software/Wine and create a Direct3D folder, then select Direct3D and right (inside) right click “create DWord” and give it the name MaxShaderModelVS give ok and you’re done (the default value zero is ok). Now you are ready to play the inserted cd, if you want to avoid the cd go to gamecopyworld and download the no-cd ENG (text and it works perfectly also on the italian version).
To set the resolution 1920×1080 you have to open the file \UserProfiles\default.pft and go to the string
00000003 InGame Max Fullscreen DisplayInfo
and edit “Width Int 1920” and “Height Int 1080”.
Now you can start the game and go to the settings and set the resolution to 1920, I also recommend that you put all graphic settings to the highest quality.
If instead you want to buy the game on Steam you can do it here: and avoid all these steps (of course then you have to set the windows compatibility layer)

There is also a mod that adds maps and more here: I hope that this guide has been enjoyed/served to someone!!

Convert HEIC iphone mac photos to JPG with Ubuntu

Posted by MD     Category: Informatica

Hi, I ran into a friend of mine who has iphone with the problem of opening with Ubuntu his photos which however are in HEIC format.

I found an easy solution:

open a terminal and type in

sudo apt-get install libheif-examples

give enter and type in your password to install this dependency,

After that create a text file and call it whatever you like, I put “”

give it execution permissions (right click properties > permissions > execution)

then open it up and write in it:

for f in *.HEIC
echo “I am converting the file $f”
heif-convert $f $f.jpg

Now save and move the file to


(instead of USER put your user name)

now when you go to a folder with photos in HEIC just select everything,

right click > script >

will now start the conversion by itself, the wait will depend on the number of photos selected!!

I hope it can be of help to you


Ubuntu Bluetooth phone calls Android as handsfree

Posted by MD     Category: Informatica

Hello, everyone,
I was able to hear and make calls from the mobile phone connected in BT (bluetooth) through the computer with Ubuntu and with headphones with microphone connected to the PC.
Let’s say how modern cars that have the Bluetooth handsfree, in fact you can make calls without headphones inserted.

0) Connect and pair the android smartphone (I used android 7.1) with BT to Ubuntu 18.04
1) Install ofono from package manager
2)Edit the file with

sudo gedit /etc/dbus-1/system.d/ofono.conf

putting in the final part

  <policy user="pulse">
<allow send_destination="org.ofono"/>


3) edit the file with

sudo gedit /etc/pulse/


load-module module-bluetooth-discover


load-module module-bluetooth-discover headset=ofono

4) Restart the PC
5) From smartphone go to BT and connect with a simple click to the already associated pc
6) In audio settings (system PC), in the input sub-menu, do not select the BT of the cell but the input of the microphone or of the PC or of the headphones connected to the PC (if it does not appear, change this setting during the call).
7) make a call and see if everything works! (remember when changing the microphone input as step 6)

Since searching on the internet I have not found any solution I have worked hard to write this guide
I hope you can use it
Greetings to all

Install Lightworks 15 on Ubuntu 17.10

Posted by MD     Category: Informatica

Hi, the Lightworks video editing program on the official website has two versions: 14 and 15,
now on ubuntu 17.10 for the 14 there are tricks to do to make it work and find various guides googolando, while instead the version 15 is designed for ubuntu 18.04 and 18.10.
Trying alone I found this solution that I share with you:
1) go to the official website login or register

2) download the beta version
3) open a terminal (ctrl + t) and write to us
sudo apt-get install libcurl4-openssl-dev
give and send the password even if you can not see it and send it again
4) assuming that you have downloaded Lightworks-145RC4-105935- in the download folder we give in the terminal
cd Download

dpkg-deb –extract Lightworks-145RC4-105935- estrazione-deb
dpkg-deb -e Lightworks-145RC4-105935- estrazione-deb/DEBIAN
5) DO NOT CLOSE THE TERMINAL; now let’s go with the file manager in the Downloads / extraction-deb / DEBIAN folder and open the file controll,
now let’s replace libcurl4 with libcurl4-openssl-dev
save the file and close
6) we return to the already opened terminal and we give
dpkg-deb -b estrazione-deb
sudo dpkg -i estrazione-deb.deb

7) now in the main ubuntu menu we search and start Lightworks
here we enter our login data as in the site! #END

Good video editing

Rename PDF based on the title tag data

Posted by MD     Category: Informatica

after several attempts I present a new script for Nautilus (file manager present in most linux distributions): allows you to rename all the PDF files, within the same folder, according to the internal tag of the title (for instance right click, property, document, title); very useful in various cases !!!
first of all download this file:

move the file to
then by right clicking on the file
go to property > permissions
and put the check mark on “Allow file execution as a program”
Now just select the file or pdf files that interest you and right click
script >
NB: ATTENTION the script renames all the PDFs contained in that folder
NB: ATTENTION If the PDF file has no title tag the PDF will be deleted
I hope you come back useful !!!

Ubuntu 17.10 will make the Gnome interface look like old Unity

Posted by MD     Category: Informatica

Hello everyone, after a few days of testing I managed to make the new interface Gnome of Ubuntu 17.10 similar to the old call Unity
risultato finale
it’s very simple we’ll use the extensions that the Gnome community offers:
1) install the bases for managing extensions:

sudo apt-get install gnome-tweak-tool chrome-gnome-shell dconf-editor

2) Aprire firefox e installare GNOME Shell integration plugin
3) install the following gnome shell extension (just go to the bar to the right of the extension name and bring it up)
a:Arc Menu by LinxGem33
Per disattivare pulsante menù ubuntu aprire un terminale e dare: gsettings set show-show-apps-button false
Comodo Menù
b:Dynamic Battery by Exalm
c:Dynamic Panel Transparency by rockon999
d:Extend Panel Menu by julio641742
Menù separati musica
Menù separati utente
e:Panel OSD by jens
f:Transparent Notification by ipaq3870
Notifiche semitrasparenti
g:Unite by hardpixel
4)To move the window buttons to the left (close, minimize, maximize)

gsettings set org.gnome.desktop.wm.preferences button-layout ‘close,maximize,minimize:menu’

5)To minimize the icon from the sidebar called Dock, by clicking on the icon

gsettings set click-action ‘minimize’

#####Guide on completion ……..go back to visit later, I leave you to the images#######

risultato finale

risultato finale

risultato finale

risultato finale

View mp4 videos in ubuntu 17.10 gnome+nvidia

Posted by MD     Category: Informatica

Hello everyone,

after several searches on the web I did not find a working solution to see the video mp4 with H.264 encoding on Video (default program Video, internal name Totem).

The MPEG-4 AAC sound was heard but the video was not displayed!

In fact, if you open a terminal and write

totem namevideo.mp4

we will find a mistake like this:
libva error,driver_name=(null)

This happens above all with those who have the double graphic card in optimus intel + nvidia managed by prime

Premise: guide for those with ubuntu 17.10 (with new gnome shell interface 3.26 and later) and nvidia proprietary drivers and then xorg graphics server


I open a terminal (ctrl + alt + t) and copy and paste the following lines

rm ~/.cache/gstreamer-1.0/*

sudo apt-get install libde265-0 libgstreamer-plugins-bad1.0-dev libde265-dev libavcodec-dev libavformat-dev libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg ubuntu-restricted-extras

sudo apt install vainfo vdpau-va-driver libvdpau-va-gl1

sudo chgrp video /dev/dri -R
sudo chmod 666 /dev/dri/*
sudo chmod 755 /dev/dri
sudo usermod -a -G video username

change username with your login name

NB: in these operations you will delete nvidia-libopencl1-384, accept changes when requested

Now DO NOT immediately open a video to see, you must first reboot the system completely !!

Once reopened you will have mp4 videos that can be viewed;)

Fix Microsoft font problem on Ubuntu 17.10

Posted by MD     Category: Informatica

The problem jumps out as an unsuccessful update called ttf-mscorefonts-installer ie fonts (fonts) used by Microsoft, it is better to install them to have compatibility on World documents in Libre Office.
Returning to the problem here is how to solve the problem on the fly without long tricks:
Let’s open a terminal with ctrl + alt + t or by looking it up in the main menu and make the copy paste of

sudo sed -i ‘s#’ /usr/share/package-data-downloads/ttf-mscorefonts-installer
sudo /usr/lib/update-notifier/package-data-downloader

Obviously put your password when requested even if you do not see the typing of the same !!
Simple, no?

Hello everybody