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

Guide to install and manage tor on ubuntu 4.16 without vidalia

Posted by MD     Category: Informatica







Hi, as I was accustomed to vidalia, I had to endeavor to better manage tor on the new version! But let’s take it easy, first of all we install tor, open the terminal with ctrl + t:
sudo gedit /etc/apt/sources.list
Now it will open a text editor, copy and paste the following line at the bottom:
deb http://deb.torproject.org/torproject.org xenial main
save and close the editor. Always on the terminal to:
gpg –keyserver keys.gnupg.net –recv 886DDD89 gpg –export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add – sudo apt-get update

sudo apt-get install deb.torproject.org-keyring

sudo apt-get update

sudo apt-get install tor

then you have to install the proxy:

sudo apt-get install polipo

sudo gedit /etc/polipo/config
insert:

### Basic configuration
### *******************

# Uncomment one of these if you want to allow remote clients to
# connect:

# proxyAddress = "::0"        # both IPv4 and IPv6
# proxyAddress = "0.0.0.0"    # IPv4 only

proxyAddress = "127.0.0.1"
proxyPort = 8118

# If you do that, you'll want to restrict the set of hosts allowed to
# connect:

# allowedClients = "127.0.0.1, 134.157.168.57"
# allowedClients = "127.0.0.1, 134.157.168.0/24"

allowedClients = 127.0.0.1
allowedPorts = 1-65535

# Uncomment this if you want your Polipo to identify itself by
# something else than the host name:

proxyName = "localhost"

# Uncomment this if there's only one user using this instance of Polipo:

cacheIsShared = false

# Uncomment this if you want to use a parent proxy:

# parentProxy = "squid.example.org:3128"

# Uncomment this if you want to use a parent SOCKS proxy:

socksParentProxy = "localhost:9050"
socksProxyType = socks5

Well now you have to configure:
sudo gedit /etc/default/tor

We’re going to put in place of RUN_DAEMON=”yes”

RUN_DAEMON=”no”

Now to prevent the automatic start giving:
sudo systemctl disable tor.service

sudo update-rc.d tor disable

sudo update-rc.d -f tor remove

Now restart your PC! To graphically manage the start-tor instead of vidalia I created a small program with gui Download it here

Put it in your home or wherever you like is important not to move it if you want that it does not require a password:

sudo gedit /etc/sudoers OR sudo visudo

basically enter:
cacccacc
YourName ALL= NOPASSWD: /home/YourName/Tor-polipo.sh

Here now right-click on Tor-polipo.sh in your home, click properties, permissions enable the execution! For firefox you should get “Proxy selector” by Michele Pezza, to manage the proxy now easily go on plugins, manage proxy , add and copy the following configurations:





Good surfing Tor 😉

Nautilus Script antivirus scan

Posted by MD     Category: Informatica

Hello everyone today I propose un’estenzione nautilus that simplifies scanzione antivirus on linux.
You may wonder now what is a virus on linux:
a) To scanzionare files before transferring them on Windows (prevention)
b) For a hard-disk scanzionare infected (care)
The script created by me iterfaccia has a graphic that will follow you step by step before and during the scanzione.
The scanzione is based on ‘ClamAV antivirus for linux
If you do not have antivirus installed the script will propose the installation.

Instructions:
1) download the script from this link
2) Copy the script
vostraHOME/.gnome2/nautilus-scripts
(to view hidden folders use ctrl + h)
3) Give it execute permissions by right-clicking on the file, properties, permissions, select to run as a program.
4) Position yourself with your cursor on any folder or file by scanzionare, then right-click, scripts, scanzione-Antivirus

5) Now you will be asked to update the virus signature (recommended)

here is the window that appears when updating

6) Follow the graphical instructions and good scan
We carry a possible SCAN-measured weight:

Hope you like it, to the next!

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

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