Visualizzazione post con etichetta GTK3. Mostra tutti i post
Visualizzazione post con etichetta GTK3. Mostra tutti i post

venerdì 18 gennaio 2013

Fedora 18 and mp3

Selezionare le proprietà di un file mp3 in Fedora 18 causa il blocco di nautilus, Per risolvere: disinstallare il package totem-nautilus

In Fedora 18 clicking on an mp3 file properties hangs nautilus. Solution: remove totem-nautilus package.

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

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ì 22 novembre 2011

Primary Toolbar

Per ottenere la toolbar principale con gradiente come in nautilus bisogna aggiungere:
toolbar1->get_style_context()->add_class(GTK_STYLE_CLASS_PRIMARY_TOOLBAR);

To have the new style toolbar with gradient like nautilus main toolbar, you must add:
toolbar1->get_style_context()->add_class(GTK_STYLE_CLASS_PRIMARY_TOOLBAR);

Shutdown in Gnome-Shell

Per visualizzare la voce Uscita nel menù di gnome-shell bisogna premere il tasto ALT
To show the Shutdown item in gnome-shell menu press the ALT key.

GTK3 HTML5 backend

Per testare il backend broadway delle gtk3 ho ricompilato il package sorgente di gtk3 aggiungendo nel file .spec l'opzione --enable-broadway-backend, quindi lo ho installato nel sistema ed ho lanciato gedit con la seguente command line:

GDK_BACKEND=broadway gedit &

Quindi ho lanciato epiphany all'indirizzo 127.0.0.1:8080 e ... funziona !

Ho provato con nautilus, anche lui funziona ma con qualche piccolo problema di visualizzazione delle Icone.

To test gtk3 broadway backend I have recompiled the gtk3 source package adding --enable-broadway-backend option in the .spec file, then I've installed the bin package and started gedit with the following command line:

GDK_BACKEND=broadway gedit &

Then I started epiphany at 127.0.0.1:8080 address and ... it works !

Then I tested nautilus, that works but for a small icon visualization problem.

Mi presento

Ciao a Tutti !

Mi presento: sono Umberto Allievi, amo definirmi un artigiano del software, nel senso che sviluppo personalmente soluzioni software (e hardware) per aziende a partire dall'analisi fino all'installazione e all'addestramento del personale.  Il mio sito aziendale è www.uall-si.com: è un po' datato ma descrive bene la mia filosofia di lavoro.
Tramite questo blog voglio condividere le mie esperienze riguardo Linux, in particolare Fedora Linux che utilizzo ormai da diversi anni come sistema operativo principale per il lavoro (e non solo), le librerie GTK2 e GTK3 utilizzate con il linguaggio di programmazione C++, il database Firebird nonchè la cross-compilation per ottenere eseguibili Windows 32 e 64 bit.

Malgrado ami linux, molte aziende utilizzano ancora Windows sui desktop, e quindi diventa fondamentale poter compilare il software linux per Windows.

Hello Everybody !
My name is Umberto Allievi, I love to call myself a software artisan, in the sense that I develop software & hardware solutions for companies from the analysis to installation and staff training. My company website is www.uall-si.com: is a bit 'dated but it illustrates my philosophy of work.

Through this blog I will share my experiences about Linux, including Fedora Linux that I've been using for several years as a primary operating system for the job (and beyond), the libraries GTK2 and GTK3 used with the programming language C++, the Firebird database as well as cross-compilation for Windows 32 and 64-bit executable.

Despite my love for linux, many companies still use Windows on the desktop, and then becomes crucial to be able to compile linux software for Windows.