Script per Gmail

 

Per scaricare la posta da Gmail io uso uno script per me utilissimo, dato che non sono interessato ad usare client di posta, ma al massimo i plugins per iceweasel-firefox. La particolarità di questo script è che una volta controllato il numero di nuove mail ricevute, si accende il led num lock (oppure caps lock o skroll lock) e lampeggia tante volte, quanto sono le email ricevute. L’unica dipendenza che serve è blinkd, presente nei repository.

apt-get install blinkd

Questo lo script:

#!/bin/bash
cd /tmp
username=Vostro_Username_Google_Senza_@gmail.com
password=$( zenity --entry --title="Password Gmail" --text="Inserisci password :" --hide-text )
if [[ -z $password ]]
then exit
fi
if [[ $password == "0" ]]
then password=$( zenity --entry --title="Password Gmail" --text="Inserisci password :" )
fi
sleep 15
function get_rss
{
wget -q -O .gmail_rss https://$username:$password@mail.google.com/mail/feed/atom --no-check-certificate
fc=$( cat .gmail_rss | grep "fullcount" | grep -o [1-9] )
}
while true
do
get_rss
if ! [[ fc == "0" ]]
then
    until [[ $fc == "" ]]
    do
    blink -n -r $fc
    get_rss
    sleep 15
    done
blink
fi
sleep 5m
done
rm -f .gmail_rss

chmod +x nome_script

 

Naturalmente per visualizzare il file .gmail_rss in /tmp bisogna visualizzare i file nascosti.

Lo script verifica la presenza di nuove mails ogni 10 minuti, per cambiare basta modificare "sleep 10m"

Il led che lampeggia è il num lock, per modificarlo basta sostituire blink -n -r $fc con blink -c -r $fc e si passa al capslock.

Queste le altre opzioni:

  -c,   –capslockled   use Caps-Lock LED
  -h,   –help          display this help and exit
  -m s, –machine=s     let keyboard of machine s blink
  -n,   –numlockled    use Num-Lock LED
  -r n, –rate=n        set blink rate to n
  -s,   –scrolllockled use Scroll-Lock LED
  -t n, –tcp-port=n    use tcp port n
  -v,   –version       output version information and exit

Per fermare o far partire i demoni  /etc/init.d/blinkd stop-start-restart.

Per altro man blinkd.

 

Linux-Debian fonts extra

 

Per chi volesse fonts supplementari non deve fare altro che installare i seguenti:

apt-get install msttcorefonts ttf-gentium ttf-dustin ttf-georgewilliams ttf-sjfonts sun-java6-fonts ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon

 

Per chi volesse esagerare circa 300 mega di fonts.

apt-get install msttcorefonts gsfonts* t1-xfree86-nonfree ttf-alee ttf-ancient-fonts ttf-arabeyes ttf-arhangai ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-atarismall ttf-dustin ttf-f500 ttf-isabella ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon ttf-staypuft ttf-summersby ttf-xfree86-nonfree xfonts* gsfonts-x11 gsfonts ttf-bpg-georgian-fonts ttf-sjfonts ttf-gentium ttf-georgewilliams ttf-georgewilliams sun-java6-fonts

Successivamente per rivederli basta:

apt-get install gnome-specimen

che troveremo sotto Applicazioni-Grafica

 

 

Programmi simili/alternativi Windows vs Gnu-Linux

Una delle difficoltà che s’incontrano nel passare da Windows a Gnu-Linux è la paura di non avere programmi a cui si è abituati o almeno equivalenti. Questa non è altro che una leggenda metropolitana, portata avanti da chi ha il monopolio assoluto e vorrebbe la morte dell’opensource. Certo su un professionista che per lavoro usa Photoshop piuttosto che Gimp, non c’è nulla da dire, ma tutti gli altri che usano Photoshop per correggere le proprie fotografie o gli occhi rossi, mi fanno soltanto ridere, e mi fanno pensare…. che se avessero dovuto comprarlo, col cazzo che lo avrebbero usato. Il software si paga, dato che c’è gente dietro che ci lavora, oppure bisognerebbe affidarsi all’opensource che di programmi ne ha tanti, non dimenticandosi che free non significa gratis, poiche anche in questo mondo vi sono programmi professionali a pagamento. Sotto alcuni esempi tratti da linuxalt.

 

Software Windows e simili/alternativi Gnu-Linux

 

3D Home Architect

Sweet Home 3D ( https://sweethome3d.sourceforge.net/index.html )

 

3D Studio Max

K-3D ( https://www.k-3d.org/ )
Wings 3D ( https://www.wings3d.com/ )
Art of Illusion ( https://www.artofillusion.org/ )
Blender ( https://www.blender.org/ )

 

ACDSee

KuickShow ( https://kuickshow.sourceforge.net/ )
ShowImg ( )
Gwenview ( https://gwenview.sourceforge.net/ )
GQview ( https://gqview.sourceforge.net/ )
Eye of GNOME ( https://www.gnome.org/projects/eog/ )

Adobe Acrobat Reader

okular ( )
Xpdf ( https://www.foolabs.com/xpdf/ )
Evince ( https://www.gnome.org/projects/evince/ )
ePDFView ( )
KPDF ( https://kpdf.kde.org/ )

Adobe Audition

Audacity ( https://audacity.sourceforge.net/ )

Adobe Illustrator

Skencil ( https://www.skencil.org/ )
Inkscape ( https://www.inkscape.org/ )
Karbon14 ( https://www.koffice.org/karbon/ )
Xara Xtreme for Linux ( https://www.xaraxtreme.org/ )

Adobe PageMaker

Scribus ( https://www.scribus.net/ )

Adobe PhotoAlbum

F-Spot ( https://f-spot.org/Main_Page )
KPhotoAlbum ( https://www.kphotoalbum.org/ )
digiKam ( https://www.digikam.org/ )

Adobe Photoshop

CinePaint ( https://www.cinepaint.org/ )
Krita ( https://www.koffice.org/krita/ )
GIMP ( https://www.gimp.org/ )

Adobe Premier

PiTiVi ( https://www.pitivi.org/wiki/Main_Page )
LiVES ( https://lives.sourceforge.net/ )
Kino ( https://www.kinodv.org/ )
Cinelerra ( )
kdenlive ( https://kdenlive.sourceforge.net/ )
Jahshaka ( )

Ant Movie Catalog

Moviefly ( https://savannah.nongnu.org/projects/lmc/ )

AOL Instant Messenger (AIM)

Kopete ( https://kopete.kde.org/ )
Pidgin ( https://pidgin.im )

APC PowerChute

Network UPS Tools ( https://www.networkupstools.org/ )
Apcupsd ( https://www.apcupsd.com/ )
PowerD ( https://power.sourceforge.net/ )

CDex

Sound Juicer ( )
Rubyripper ( https://wiki.hydrogenaudio.org/index.php?title=Rubyripper )
ripperX ( https://ripperx.sourceforge.net/ )
Grip ( )
KAudioCreator ( )

Collectorz

aviManager ( https://avimanager.sourceforge.net/ )
GCstar ( https://www.gcstar.org/ )
Tellico ( https://periapsis.org/tellico/ )
Alexandria ( https://alexandria.rubyforge.org/ )
Griffith ( )
vMovieDB ( https://vmoviedb.sourceforge.net/ )
Katalog ( )

Dreamweaver

Quanta Plus ( )
Geany ( https://geany.uvena.de )
Nvu ( )
Screem ( https://www.screem.org/ )
KompoZer ( https://www.kompozer.net/ )
Bluefish ( https://bluefish.openoffice.nl/index.html )

DVDShrink

k9copy ( https://k9copy.sourceforge.net/ )
OGMRip ( https://ogmrip.sourceforge.net/ )
Thoggen ( https://thoggen.net/ )
xdvdshrink ( https://dvdshrink.sourceforge.net/ )
DVD Rip-O-Matic ( )
qVamps ( https://vamps.sourceforge.net/ )
dvd::rip ( https://www.exit1.org/dvdrip/ )
AcidRip ( )

Everest

HardInfo ( )

Finale

Lilypond ( https://www.lilypond.org )
Denemo ( https://denemo.sourceforge.net/index.html )
Rosegarden ( https://www.rosegardenmusic.com/ )
NoteEdit ( )
Brahms ( https://brahms.sourceforge.net/ )

Flash

F4L ( https://f4l.sourceforge.net/ )

Fontographer

FontForge ( https://fontforge.sourceforge.net/ )

Forte Agent

Pan ( https://pan.rebelbase.com/ )

FruityLoops

LMMS ( https://lmms.sourceforge.net/ )
Hydrogen ( https://www.hydrogen-music.org/ )

Google Desktop Search

Google Desktop ( https://desktop.google.com/linux/index.html )
Beagle ( https://beagle-project.org/ )

Guitar Pro

TuxGuitar ( https://www.tuxguitar.com.ar/home.html )
DGuitar ( https://sourceforge.net/projects/dguitar/ )
kguitar ( https://sourceforge.net/projects/kguitar/ )

iTunes

Banshee ( )
aTunes ( https://www.atunes.org/ )
Quod Libet ( https://www.sacredchao.net/quodlibet )
SongBird ( https://www.songbirdnest.com )
Exaile ( https://www.exaile.org/ )
Amarok ( https://amarok.kde.org/ )
Listen ( https://listengnome.free.fr/ )
Rhythmbox ( https://www.gnome.org/projects/rhythmbox/ )
gtkpod ( https://www.gtkpod.org/ )

Legacy Family Tree

GRAMPS ( https://gramps-project.org/ )

LimeWire

FrostWire ( https://www.frostwire.com/ )

Meal Master

krecipe ( https://krecipes.sourceforge.net/ )
Gourmet Recipe Manager ( https://grecipe-manager.sourceforge.net/ )

Microsoft Access

Kexi ( https://www.koffice.org/kexi/ )
knoda ( https://www.knoda.org )
GNOME-DB ( https://www.gnome-db.org/ )

Microsoft Excel

KSpread ( )
Open Calc ( https://www.openoffice.org/product/calc.html )
Gnumeric ( https://www.gnome.org/projects/gnumeric/ )

Microsoft Frontpage

Quanta Plus ( )
Nvu ( )
KompoZer ( https://www.kompozer.net/ )
Bluefish ( https://bluefish.openoffice.nl/index.html )

Microsoft HyperTerminal

minicom ( https://alioth.debian.org/projects/minicom/ )
GtkTerm ( https://freshmeat.net/projects/gtkterm/ )

Microsoft Internet Explorer

Epiphany ( https://www.gnome.org/projects/epiphany/ )
Opera ( https://www.opera.com/download/ )
Firefox ( https://www.mozilla.com/firefox/ )
Konqueror ( https://www.konqueror.org/ )

Microsoft Media Center

XBMC Media Center ( https://xbmc.org/ )

Microsoft Money

KMyMoney ( https://kmymoney2.sourceforge.net/ )
GNUcash ( https://www.gnucash.org/ )
Gnofin ( https://gnofin.sourceforge.net/ )
Grisbi ( https://www.grisbi.org/ )

Microsoft Office

GNOME Office ( https://www.gnome.org/gnome-office/ )
KOffice ( https://www.koffice.org/ )
OpenOffice ( https://www.openoffice.org/ )

Microsoft OneNote

BasKet ( https://basket.kde.org/ )

Microsoft Outlook (Express)

Thunderbird ( https://www.mozilla.com/thunderbird/ )
Evolution ( https://www.gnome.org/projects/evolution/ )

Microsoft Powerpoint

Open Office Impress ( https://www.openoffice.org/product/impress.html )
KPresenter ( )

Microsoft Project

KPlato ( )
OpenProj ( )
GanttProject ( https://ganttproject.sourceforge.net/ )
Planner ( https://live.gnome.org/Planner )
TaskJuggler ( https://www.taskjuggler.org/ )

Microsoft Visio

Dia ( https://www.gnome.org/projects/dia/ )
Kivio ( )

Microsoft Windows Media Center

Freevo ( https://freevo.sourceforge.net/ )
Elisa Media Center ( )
MythTV ( https://www.mythtv.org )
LinuxMCE ( https://www.linuxmce.com/ )

Microsoft Word

Open Office Writer ( https://www.openoffice.org/product/writer.html )
AbiWord ( https://www.abisource.com/ )
Kword ( )

mIRC

Konversation ( https://konversation.kde.org/ )
KVIrc ( https://www.kvirc.net/ )
BitchX ( https://www.bitchx.org/ )
Xchat ( https://www.xchat.org/ )
ChatZilla! ( https://chatzilla.hacksrus.com/ )
irssi ( https://www.irssi.org/ )
Pidgin ( https://pidgin.im )

Mp3tag

Kid3 ( https://kid3.sourceforge.net/ )
Pinkytagger ( https://pinkytagger.sourceforge.net/ )
EasyTAG ( https://easytag.sourceforge.net/ )
Cowbell ( https://more-cowbell.org/ )
Audio Tag Tool ( https://pwp.netcabo.pt/paol/tagtool/ )

MSN messenger

Mercury Messenger ( https://www.mercury.to/ )
Kopete ( https://kopete.kde.org/ )
aMSN ( https://amsn-project.net/ )
Pidgin ( https://pidgin.im )

Mudbox

SharpConstruct ( )

Nero Burning Rom

X-CD-Roast ( https://www.xcdroast.org/ )
Brasero ( https://perso.orange.fr/bonfire/index.htm )
GnomeBaker ( https://gnomebaker.sourceforge.net/ )
Graveman ( https://graveman.tuxfamily.org/ )
K3b ( https://www.k3b.org/ )

NetMeeting

Ekiga ( )

NetStumbler

Kismet ( https://www.kismetwireless.net/ )
SWScanner ( https://www.swscanner.org/ )

NewzCrawler

RSSOwl ( https://www.rssowl.org/ )
L iferea ( https://liferea.sourceforge.net/ )
BasKet ( https://basket.kde.org/ )
Akregator ( https://akregator.kde.org/ )
Blam ( )
Straw ( https://www.gnome.org/projects/straw/ )

Notepad

leafpad ( https://tarot.freeshell.org/leafpad/ )
NEdit ( https://www.nedit.org/ )
jEdit ( https://www.jedit.org/ )
Kate ( https://kate-editor.org/ )
gedit ( https://www.gnome.org/projects/gedit/ )
Scribes ( https://scribes.sourceforge.net/ )
tpad ( https://tclpad.sourceforge.net/ )

OrangeCD Catalog

GWhere ( https://www.gwhere.org )

Origin

SciGraphica ( https://scigraphica.sourceforge.net/ )

Partition Magic

Partimage ( https://www.partimage.org/Main_Page )
GParted ( https://gparted.sourceforge.net/ )
QtParted ( https://qtparted.sourceforge.net )

Picasa

F-Spot ( https://f-spot.org/Main_Page )
KPhotoAlbum ( https://www.kphotoalbum.org/ )
digiKam ( https://www.digikam.org/ )

Pro Tools

Ardour ( https://www.ardour.org )

Quicken

KMyMoney ( https://kmymoney2.sourceforge.net/ )
GNUcash ( https://www.gnucash.org/ )
Gnofin ( https://gnofin.sourceforge.net/ )
Grisbi ( https://www.grisbi.org/ )

SoulSeek

Nicotine ( )
Nicotine-Plus ( https://nicotine-plus.sourceforge.net/ )

SoundForge

ReZound ( https://rezound.sourceforge.net/ )

TexnicCenter

Total Commander

GNOME Commander ( https://www.nongnu.org/gcmd/ )
xfe ( https://roland65.free.fr/xfe/ )
Tux Commander ( https://tuxcmd.sourceforge.net/ )
Midnight Commander ( https://www.ibiblio.org/mc/ )
Krusader ( https://krusader.sourceforge.net/ )

Traktor DJ

Mixxx ( https://mixxx.sourceforge.net/ )
terminatorX ( https://www.terminatorx.org/ )

Videora

thin liquid film ( )

Winamp

Audacious ( )
Amarok ( https://amarok.kde.org/ )
XMMS ( https://www.xmms.org/ )

Windows Media Player

KPlayer ( https://kplayer.sourceforge.net/ )
VideoLAN ( https://www.videolan.org/ )
xine ( https://xinehq.de/ )
mplayer ( https://www.mplayerhq.hu/design7/news.html )

Windows Movie Maker

PiTiVi ( https://www.pitivi.org/wiki/Main_Page )
LiVES ( https://lives.sourceforge.net/ )
Open Movie Editor ( https://openmovieeditor.sourceforge.net/HomePage )
Avidemux ( https://fixounet.free.fr/avidemux/ )
Cinelerra ( )
kdenlive ( https://kdenlive.sourceforge.net/ )

WinIso

ISO Master ( https://littlesvr.ca/isomaster/ )
KIso ( https://kiso.sourceforge.net/ )

WinMerge

KDiff3 ( https://kdiff3.sourceforge.net/ )
Meld ( https://meld.sourceforge.net/ )
xxdiff ( https://furius.ca/xxdiff/ )
Kile ( https://kile.sourceforge.net/ )

WinTV

XdTV ( https://xawdecode.sourceforge.net/ )
tvtime ( https://tvtime.sourceforge.net/ )

WS_FTP

gFTP ( https://gftp.seul.org/ )
FireFTP ( https://fireftp.mozdev.org/ )

Zbrush

SharpConstruct ( )

ZoneAlarm

Guarddog ( https://www.simonzone.com/software/guarddog/ )
Firestarter ( https://www.fs-security.com/ )

 

Migliorare Iceweasel o Firefox

Esiste la possibilità di fare delle migliorie ad Iceweasel e quindi anche a Firefox. Le migliorie non fanno altro che abbellire per così dire il nostro browser, e rendere quindi molto più definite le linee ed i pulsanti. Bisogna seguire pochi semplici passaggi:

wget

tar -xvzf firefox-form-widgets.tar.gz

da root

cp /usr/share/iceweasel/res/forms.css /usr/share/iceweasel/res/forms.css.bak

cat firefox-form-widgets/res/forms-extra.css | tee –append /usr/share/iceweasel/res/forms.css > /dev/null

cp -r firefox-form-widgets/res/form-widgets /usr/share/iceweasel/res

exit

rm -rf firefox-form-widgets

Le migliorie sono molto evidenti. Provare per credere.

 

 

Semplice header con Gimp

 

In questo periodo ho avuto un pò di tempo libero, e mi sono messo in testa di cambiare header al mio blog. Come spesso succede, su molte cose ci s’ impegna solo nel momento in cui si ha effettivamente bisogno. Premetto che non sono uno del mestiere (e si vede), ma come tutte le cose che mi appassionano veramente, alla fine riesco quasi sempre a trovare il modo. Quando ho iniziato a crearlo avevo dei punti fermi : il pinguino, e qualcosa che rappresentasse il suo habitat, come il ghiaccio, il vento, i colori o qualcosa di simile. Per crearlo naturalmente ho usato Gimp, il tutto è davvero semplicissimo, dato che anche uno scarso come me c’è riuscito.

 

 

Puo essere visto e scaricato anche da qui