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

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 !!!

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