Convertire foto HEIC iphone mac in JPG con Ubuntu

Posted by MD     Category: Informatica



Salve, mi sono imbattuto in un mio amico che ha l’iphone con il problema di aprire con Ubuntu le sue foto che però son in formato HEIC.

Ho trovato una facile soluzione:

aprire un terminale e scriverci

sudo apt-get install libheif-examples

date invio e digitate la vostra password per installare questa dipendenza,

Dopodichè create un file di testo e chiamatelo come preferite, io ho messo “convertire_HEIC_in_JPG.sh”

dategli i permessi di esecuzione (clic destro proprietà > permessi > esecuzione)

poi apritelo e scriveteci dentro:

#!/bin/bash
for f in *.HEIC
do
echo “Sto convertendo il file $f”
heif-convert $f $f.jpg
done

Ora salvate e spostate il file in

/home/TUONOME/.local/share/nautilus/scripts

(al posto di TUONOME  mettere il vostro nome utente)

ora quando andate in una cartella con le foto in HEIC   basta selezionare tutto,

fare clic destro > script > convertire_HEIC_in_JPG.sh

ora partirà da sola la conversione, l’attesa dipenderà dal numero delle foto selezionate!!

Spero possa esservi d’aiuto

saluti

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"/>
</policy>

</busconfig>

3) edit the file with

sudo gedit /etc/pulse/default.pa

Replace

load-module module-bluetooth-discover

with

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 https://www.lwks.com 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-14.5.0.0.deb in the download folder we give in the terminal
cd Download

dpkg-deb –extract Lightworks-145RC4-105935-14.5.0.0.deb estrazione-deb
dpkg-deb -e Lightworks-145RC4-105935-14.5.0.0.deb 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



Hello,
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
/home/YourName/.local/share/nautilus/scripts/
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 > renam-Port-title-tag-in-name.sh
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 org.gnome.shell.extensions.dash-to-dock 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 org.gnome.shell.extensions.dash-to-dock 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

Resolution:

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;)

FireTray minimize thunderbird in the gnome panel

Posted by MD     Category: Informatica

# # Last modified November 16, 2012 # #





Hello from time FireTray use to keep active in the bar thunderbird gnome so I signal the presence of new email!
It looks like this:
in the absence of email

fireTray-immagine

with email notification arrived

fireTray-immagine

I wrote this article because I realized that installing certain versions of FireTray on thunderbird does not always work.

Now and then I write the respective correspondences versions make it all work:

Thunderbird 9/10/11/12/13/14/15/16   —-> firetray-0.4.0a2.xpi

NB: For version 16 will only count for incoming mail and right click and closing only one new message (the rest comes under management)

Thunderbird 8 —-> firetray-0.3.0-svn-r134M.xpi
(later update from add-ons otherwise does not go directly)

Compress pdf script with Nautilus

Posted by MD     Category: Informatica

After doing a search on the net I found that pdf file compression is quite dark!

To make life easier I created a script Nautilus (tested on version 10.04 and 11.04 of ubuntu 64bit, but working with all of them)

The script compresses the pdf looking for in the can to maintain good visual quality.

First you need to install a dependency, open the terminal and write

sudo apt-get install ghostscript

Now download the script created by me

Once you have downloaded the script must be placed in

/home/vostronome/.gnome2/nautilus-scripts

then right-clicking on the file

go to properties> permissions

and put the check “Allow executing file as program”

Now just you select the PDF file you need, and right-click

script> Compress-PDF

now wait patiently (depends on the weight of the file)

I hope you might come in handy!

 

if you want to leave me: comments, report errors, constructive criticism! write here

Add links to the applet indicator (envelope) of gnome

Posted by MD     Category: Informatica





# # Last update: January 15, 2011 # #

You know those icon Envelope right of the panel gnome ubuntu?

gnome-indicator

Well you can add the link to the drop-down menu to open several programs

here’s how you would have after adding your favorite programs:

gnome-indicator-final

For the occasion, I created a script for the most popular programs:

aMsn

Skype

Thunderbird

amule

Firefox

Rhythmbox

Once you have downloaded the execute permissions with

right click

> properties> permissions> (tick) consetire executing file as program

To run the script you have to click

alt + F2

and write gksudo

then given a space and drag the script then press enter
[es: gksudo /home/Vostronome/Add-INDICATOR-Zenity.sh]

if you want to leave me: comments, report errors, constructive criticism! write here

Passa alla modalità mobile / Switch to our mobile site