martedì 11 dicembre 2012

FreeRDP and GnomeShell

FreeRDP does not work correctly under a gnome shell session. To change the session to gnome-fallback from the command line:

dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome-fallback'

Then to return to the gnome-shell from command line:


dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome'

FreeRDP non funziona correttamente con la sessione gnome-shell. Per cambiare il tipo di sessione dalla linea di comando:

dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome-fallback'

Per tornare alla sessione gnome-shell dalla linea di comando:

dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome'

sabato 16 giugno 2012

fdupes - find duplicate files

Da tempo volevo controllare se avevo file duplicati, mi ricordavo di aver letto di un programma che controlla in modo automatico, oggi lo ho installato e testato: fdupes !
Per istruzioni vedi fdupes man page.

It was a long time since I wanted to check my hd for duplicate files, I remembered reading about a program that automatically checks, today I've installed and tested it: fdupes !
For instructions fdupes man page.

venerdì 13 aprile 2012

Android XRDP Client

Alla ricerca del miglior client gratuito Android per RDP e xRDP .... ho trovato AccessToGo di ERICOM. Funziona prefettamente con xRDP se viene configurato in modo da invare gli scan codes della tastiera, ed è disponibile anche una versione gratuita per iPhone/iPad.


Searching for the best free Android RDP and xRDP client ... I've found ERICOM AccessToGo.
It works perfectly with xRDP once you configure to send the keyboard scan codes, and there is a free version for iPhone/iPad too.

mercoledì 11 aprile 2012

RAR Password recovery

Un mio cliente creando un archivio RAR ha digitato la password in modo errato. Per recuperare la password ho provato ad utilizzare il programma per linux rarcrack:

http://rarcrack.sourceforge.net/

Come programma mi piace ma è leentoooo.

Allora ho scaricato Crark (per windows) da:

http://www.password-crackers.com/en/download.php?cat=99&pid=13

Fantastico: basta scompattare, leggere le istruzioni e immettendo nel file di configurazione la password "corretta" ho ottenuto la password cercata in una frazione di secondo !

A customer of mine has typed the wrong password building a RAR archive. To recover the mistyped password I tested the rarcrack linux program:

http://rarcrack.sourceforge.net/


I liked this program, but it is sloooowwww.

Then I downloaded Crark (for windows) from:


http://www.password-crackers.com/en/download.php?cat=99&pid=13


Fantastic: I've uncompressed it, read the instructions, and by writing the "correct" password in the configuration file I obtained the real password in a fraction of a second !

giovedì 29 marzo 2012

Libreoffice 3.5.2 for F16 x86_64

Ho compilato il pacchetto sorgente di libreoffice della repository rawhide per F16 x86_64 e  ho caricato in mediafire i pacchetti binari:

http://www.mediafire.com/?n1pbq6q7kop24


I have compiled the libreoffice source package from rawhide repo on F16 x86_64 and have uploaded the binary files in mediafire:
http://www.mediafire.com/?n1pbq6q7kop24

mercoledì 21 marzo 2012

Dovecot Update

Dopo aver fatto yum update sul mio server di posta Scientific Linux 6.2, il client di posta evolution non riesce più a comunicare con il server IMAP Dovecot, aggiornato alla release 2.1.1-2_132.
Il log sul server mostra il seguente errore:

Error: user *****: Initialization failed: namespace configuration error: inbox=yes namespace missing

Per correggere bisogna modificare il file /etc/dovecot/conf.d/10-mail.conf.rpmnew correggendolo secondo le modifiche presenti nel /etc/dovecot/conf.d/10-mail.conf, quindi rinominarlo .conf e riavviare il servizio. Tutto è tornato a funzionare come prima.

After updating my mail server (Scientific Linux 6.2) with yum update, the evolution mail client stopped communicating with Dovecot IMAP server, updated to the 2.1.1-2_132 release.
In the server log I found:

Error: user *****: Initialization failed: namespace configuration error: inbox=yes namespace missing

To correct this behaviour you have to modify the /etc/dovecot/conf.d/10-mail.conf.rpmnew file to match the configuration in the /etc/dovecot/conf.d/10-mail.conf file,then rename it .conf and restart the Dovecot server.
Now everything is working like before.

sabato 10 marzo 2012

GTK3 in Windows 32/64 bit

Finalmente sono riuscito a utilizzare le librerie GTK3 per i miei programmi cross-compilati per Windows a 32 e a 64 bit. È stato fondamentale aver trovato le librerie corrette nel Build Service di Open SUSE:

http://download.opensuse.org/repositories/home:/aaborja:/mingw-win32-gtk3-latest/openSUSE_12.1/

Oltre a ciò, per utilizzare il tema adwaita e non il tema di default che è orribile, bisogna creare il filesettings.ini in /etc/gtk-3.0, che ha come contenuto:

[Settings]
gtk-theme-name = Adwaita


Ho creato anche le librerie per Win64, a breve le metterò su mediafire !

At last I've managed to use the GTK3 libraries in my programs cross-compiled for Windows 32 & 64 bits. Finding the correct packages in the OpenSuse Buld Service has been fundamental:

http://download.opensuse.org/repositories/home:/aaborja:/mingw-win32-gtk3-latest/openSUSE_12.1/

Beside these, to use Adwaita theme, as the default theme is orrible, you must create the file filesettings.ini in /etc/gtk-3.0 which contains:


[Settings]
gtk-theme-name = Adwaita

I've even created packages for Win64, I'll put them on mediafire ASAP !

venerdì 9 marzo 2012

Google Tasks and Gtg ?

Per sincroinizzare la mia todo list ? Utilizzare Google Tasks da Google Mail e la applicazione Astrind per Android.
Sul desktop di Gnome 3 sarebbe bello poter utilizzare Gtg, che nella prossima release dovrebbe implementare l'integrazione con Google Tasks.

How to Sync my Todo List ?? I can use Google Tasks from Google Mail and Astrid App for Android.
On Gnome 3 desktop I'd like to use Gtg, that in next release should implement Google Tasks integration.

giovedì 8 marzo 2012

Syncro PIM & News with Android

È comodo avere Agenda e News sincronizzati tra i miei computer e il tablet Android.
Chiaramente basterebbe utilizzare le Web Application Google Calendar e Reader per aver risolto il problema, ma io sul desktop utilizzo Evolution (posta e calendario) e Liferea (rss feed).
Nessun problema:
In Evolution basta creare un nuovo calendario, come tipo impostare Google, come nome il nome del calendario google e come nome utente il nome dell'account senza @google.com .
Per Liferea basta seguire le istruzioni in Subscribing to Google Reader, cioè Abbonamenti->Nuova Fonte e selezionare Google Reader.

It is useful to have Calendar and News Feed synchronized between my pc and the Android tablet.  To solve the problem I could use the Web Applications Google Calendar and Reader, but on my desktop I use Evolution (Mail and Calendar) and Liferea (rss feed).
No problem:
In Evolution you can create a new Calendar, set Google as type, Google's calendar name as name and you account (without @google.com) an user name.
For Liferea you can follow these instructions: Subscribing to Google Reader

mercoledì 7 marzo 2012

GTK3 Broadway in Fedora 17 alpha

Ho scaricato il pacchetto rpm sorgente per le gtk 3.3.18 e lo ho ricompilato per F17 alpha con il backend broadway abilitato. Ho ricompilato anche glib2 per dipendenza. Ho caricato il tutto su mediafire:

http://www.mediafire.com/?1s3dg6ah0ck38

Ho testato il backend broadway connettendomi con firefox per linux, e funziona correttamente, lo ho testato anche con firefox nightly per android e funziona bene ma.... ho bisogno di utilizzare la tastiera virtuale !!!

I've downloaded the source rpm package for gtk3 3.3.18 and recompiled it for F17 alpha with broadway backend enabled. Recompiled even glib2 for dependency. I've uploaded everything to mediafire:

http://www.mediafire.com/?1s3dg6ah0ck38
 
I've tested the broadway backend connecting from firefox for linux, and works well, tested in firefox nightly for android and works well but ... I need to popup the virtual keyboard !!!

martedì 6 marzo 2012

Libreoffice 3.5.1 for fedora 16

Ho compilato il pacchetto sorgente di libreoffice della repository rawhide per F16 x86_64 e  ho caricato in mediafire i pacchetti binari:

http://www.mediafire.com/?n1pbq6q7kop24


I have compiled the libreoffice source package from rawhide repo on F16 x86_64 and have uploaded the binary files in mediafire:
http://www.mediafire.com/?n1pbq6q7kop24

Sul mio sistema ho caricato i package:
On my system I've installed the following packages:

libreoffice-langpack-it-3.5.1.1-1.fc16.x86_64
libreoffice-pdfimport-3.5.1.1-1.fc16.x86_64
libreoffice-ogltrans-3.5.1.1-1.fc16.x86_64
libreoffice-impress-3.5.1.1-1.fc16.x86_64
libreoffice-presenter-screen-3.5.1.1-1.fc16.x86_64
libreoffice-xsltfilter-3.5.1.1-1.fc16.x86_64
libreoffice-opensymbol-fonts-3.5.1.1-1.fc16.noarch
libreoffice-presentation-minimizer-3.5.1.1-1.fc16.x86_64
libreoffice-writer-3.5.1.1-1.fc16.x86_64
libreoffice-wiki-publisher-3.5.1.1-1.fc16.x86_64
libreoffice-draw-3.5.1.1-1.fc16.x86_64
libreoffice-emailmerge-3.5.1.1-1.fc16.x86_64
libreoffice-pyuno-3.5.1.1-1.fc16.x86_64
libreoffice-report-builder-3.5.1.1-1.fc16.x86_64
libreoffice-calc-3.5.1.1-1.fc16.x86_64
libreoffice-javafilter-3.5.1.1-1.fc16.x86_64
libreoffice-graphicfilter-3.5.1.1-1.fc16.x86_64
libreoffice-math-3.5.1.1-1.fc16.x86_64
libreoffice-core-3.5.1.1-1.fc16.x86_64
libreoffice-bsh-3.5.1.1-1.fc16.x86_64
libreoffice-langpack-en-3.5.1.1-1.fc16.x86_64
libreoffice-base-3.5.1.1-1.fc16.x86_64
libreoffice-3.5.1.1-1.fc16.x86_64
libreoffice-ure-3.5.1.1-1.fc16.x86_64
libreoffice-nlpsolver-3.5.1.1-1.fc16.x86_64

Remote Control

Primo obiettivo: controllare dal tablet i computer windows, Linux e macchine virtuali VirtualBox.
I computer windows possono essere controllati tramite VNC o RDP: entrambi funzionano correttamente.
Per controllare le macchine virtuali VirtualBox si utilizza il protocollo RDP, che funziona correttamente.

Attualmente controllo  i computer Linux tramite server freeNX e client Remmina, ma non esiste alcun client NX per Android.
La versione 4 di NX supporterà un client in HTML5, ed è già possibile testarlo grazie alla beta gratuita: funziona bene sul desktop, ma sul tablet funziona solamente con il browser Skyfire.
Però c'è un problema: per interagire avrei bisogno della tastiera virtuale ... come attivarla ??
Ma esiste un altro protocollo per il controllo remoto per linux: Xrdp. Su SL6 (RHEL6) funziona correttamente "out of the box": basta installare il pacchetto ed avviare il servizio.
A questo punto il problema è il client Android: sono riuscito a connettermi correttamente solo con il client di xtralogic.



First target: remote control of windows, Linux and VirtualBox sessions from the tablet.
Windows computers can be controlled by means of VNC or RDP: both work well.

Actually I control Linux PC by means of freeNX server and the remmina client, but there's no NX android client !!
NX version 4 will support an HTML5 client, and you can test it thanks to the free beta: it works very well on the desktop, but on Android I got it working only with skyfire browser.
But there is another problem: to interact I need a virtual keyboard ... how to activate it ??
There is another remote control protocol for linux: Xrdp. With SL6 (RHEL6) it works correctly "out of the box": install the rpm package and start the service.
But now the problem is to find an appropriate Android client: only xtralogic client works correctly.

venerdì 2 marzo 2012

Android: un nuovo inizio

Finalmente ho a disposizione un device Android con cui giocare.
Cercherò di utilizzare il mio nuovo tablet per tutte quelle attività per cui fino ad ora utilizzavo il portatile:
 - connessione VPN con le aziende
 - controllo remoto di computer Windows e Linux
 - accesso ad internet
 - composizione di brevi memo o correzione di documenti esistenti
 - visione di film
 - lettura di documenti pdf
 - pianificazione dei viaggi
Ma anche per nuovi scopi:
 - navigazione GPS
 - comunicazione voip
Nel blog elencherò problemi e (spero) soluzioni.

Finally I got an android device to play with.
I'll try to use my new tablet for all the activities I actually use my laptop PC:
 - VPN connection to customers
 - Windows and Linux PC remote control
 - internet access/browsing
 - composing short memos and existing documents correction
 - films viewing
 - pdf documents reading
 - trip planning
But even for new activities:
 - GPS navigation
 - voip communication
In this blog I'll list problems and (I hope) solutions.

giovedì 16 febbraio 2012

RPM packages for libreoffice 3.5 beta 3 for Fedora 16

Ho compilato il pacchetto sorgente di libreoffice della repository rawhide per F16 x86_64 e  ho caricato in mediafire i pacchetti binari:

http://www.mediafire.com/?n1pbq6q7kop24


I have compiled the libreoffice source package from rawhide repo on F16 x86_64 and have uploaded the binary files in mediafire:
http://www.mediafire.com/?n1pbq6q7kop24

Sul mio sistema ho caricato i package:
On my system I've installed the following packages:

libreoffice-langpack-it-3.5.0.3-4.fc16.x86_64
libreoffice-pdfimport-3.5.0.3-4.fc16.x86_64
libreoffice-ogltrans-3.5.0.3-4.fc16.x86_64
libreoffice-impress-3.5.0.3-4.fc16.x86_64
libreoffice-presenter-screen-3.5.0.3-4.fc16.x86_64
libreoffice-xsltfilter-3.5.0.3-4.fc16.x86_64
libreoffice-opensymbol-fonts-3.5.0.3-4.fc16.noarch
libreoffice-presentation-minimizer-3.5.0.3-4.fc16.x86_64
libreoffice-writer-3.5.0.3-4.fc16.x86_64
libreoffice-wiki-publisher-3.5.0.3-4.fc16.x86_64
libreoffice-draw-3.5.0.3-4.fc16.x86_64
libreoffice-emailmerge-3.5.0.3-4.fc16.x86_64
libreoffice-pyuno-3.5.0.3-4.fc16.x86_64
libreoffice-report-builder-3.5.0.3-4.fc16.x86_64
libreoffice-calc-3.5.0.3-4.fc16.x86_64
libreoffice-javafilter-3.5.0.3-4.fc16.x86_64
libreoffice-graphicfilter-3.5.0.3-4.fc16.x86_64
libreoffice-math-3.5.0.3-4.fc16.x86_64
libreoffice-core-3.5.0.3-4.fc16.x86_64
libreoffice-bsh-3.5.0.3-4.fc16.x86_64
libreoffice-langpack-en-3.5.0.3-4.fc16.x86_64
libreoffice-base-3.5.0.3-4.fc16.x86_64
libreoffice-3.5.0.3-4.fc16.x86_64
libreoffice-ure-3.5.0.3-4.fc16.x86_64
libreoffice-nlpsolver-3.5.0.3-4.fc16.x86_64

mercoledì 8 febbraio 2012

venerdì 3 febbraio 2012

system-config-network per RHEL6

Red Hat Enterprise Linux 6 (e derivati) non contiene l'utility grafica di configurazione della rete system-config-network, poichè si affida completamente a network manager. Per ottenerla basta ricompilare l'RPM dell'ultima release di Fedora ed installare i due pacchetti così ottenuti.
Altrimenti bisogna editare a mano i file in /etc/sysconfig/network-script/


Red Hat Enterprise Linux 6 (and cloned distros) does not have the network GUI conf utility system-config-network, as it completely relies on network manager. To get it back you must rebuild the RPM package from the last fedora release and then install the two packages you get.
Otherwise you have to manually edit files in /etc/sysconfig/network-script/