This feed contains pages in the "linux" category

Si chiama Linux Joint Day e si terrà Sabato 28 e Domenica 29 a Villarosa in provincia di Enna, il quinto meeting ufficiale dei pinguini siciliani in una "due giorni" caratterizzata da incontri, dibattiti e seminari sull'utilizzo delle tecnologie libere, sul free software e sull'indipendenza della Rete.

Oltre ai Linux User Group dell'isola, aderiranno all'evento in uno spirito di condivisione e apprendimento collettivo anche altre associazioni, movimenti e controculture digitali made in sicily, l'associazione VerdeBinario di Cosenza, nonché i principali hacklab della regione.

La partecipazione, in pieno spirito "free", rimane comunque aperta ad appassionati o curiosi non appartenenti a nessun gruppo, ma che vogliano comunque conoscere e sperimentare il sistema operativo GNU/Linux e tutte le realta' ad esso collegate.

Durante l'incontro verranno affrontate e discusse varie tematiche, principalmente sul sistema operativo GNU/Linux.

Per raggiungere il posto: http://www.sangiovannello.it/it/dove-siamo.html

Per tutte le altre informazioni contattare:

geenna@freaknet.org
me@mancausoft.org
scinziatu@freaknet.org

Venite Numerosi :-)

Posted Fri 20 Mar 2009 10:32:18 PM CET Tags: linux

Today I was preparing a new package for Debian, pinot, a Xapian (and other engines) based full-text search engine, when I noticed of the real difference in generated dependencies passing -Wl,--as-needed to the linker (via LDFLAGS) or not. Here it is a table which summarizes the result:

LDFLAGS="" LDFLAGS="-Wl,--as-needed"
libatk1.0-0 (>= 1.20.0)
libc6 (>= 2.7-1) libc6 (>= 2.7-1)
libcairo2 (>= 1.4.0)
libcairomm-1.0-1 (>= 1.4.0)
libcomerr2 (>= 1.33-3)
libcurl3 (>= 7.16.2-1) libcurl3 (>= 7.16.2-1)
libdbus-1-3 (>= 1.1.1) libdbus-1-3 (>= 1.1.1)
libdbus-glib-1-2 (>= 0.74) libdbus-glib-1-2 (>= 0.74)
libfontconfig1 (>= 2.4.0)
libfreetype6 (>= 2.3.5)
libgcc1 (>= 1:4.1.1-21) libgcc1 (>= 1:4.1.1-21)
libglib2.0-0 (>= 2.12.0) libglib2.0-0 (>= 2.12.0)
libglibmm-2.4-1c2a (>= 2.14.0) libglibmm-2.4-1c2a (>= 2.14.0)
libgmime-2.0-2 libgmime-2.0-2
libgtk2.0-0 (>= 2.12.0) libgtk2.0-0 (>= 2.12.0)
libgtkmm-2.4-1c2a (>= 2.12.0) libgtkmm-2.4-1c2a (>= 2.12.0)
libidn11 (>= 0.5.18)
libkrb53 (>= 1.6.dfsg.2)
libldap-2.4-2 (>= 2.4.7)
libpango1.0-0 (>= 1.19.3)
libpng12-0 (>= 1.2.13-4)
libsigc++-2.0-0c2a (>= 2.0.2) libsigc++-2.0-0c2a (>= 2.0.2)
libsqlite3-0 (>= 3.5.4) libsqlite3-0 (>= 3.5.4)
libssh2-1
libssl0.9.8 (>= 0.9.8f-5) libssl0.9.8 (>= 0.9.8f-5)
libstdc++6 (>= 4.2.1-4) libstdc++6 (>= 4.2.1-4)
libtag1c2a (>= 1.4) libtag1c2a (>= 1.4)
libtextcat0 libtextcat0
libx11-6
libxapian15 libxapian15
libxml++2.6-2 (>= 2.20.0) libxml++2.6-2 (>= 2.20.0)
libxml2 (>= 2.6.27) libxml2 (>= 2.6.27)
libxrender1
zlib1g zlib1g
34 20

We removed 14 useless dependencies!

Posted Sat 13 Sep 2008 07:00:20 PM CEST Tags: linux

Posted Sat 13 Sep 2008 06:59:44 PM CEST Tags: linux

[lang_it]Un problema abbastanza comune potrebbe essere il dover "circondare" un insieme di linee con altro testo. Facciamo un esempio: vogliamo creare dei tag a partire dai file contenuti in una directory, così da creare facilmente una sorta di "galleria di immagini" da mettere online.[/lang_it][lang_en]One of the most common problems might be "enclosing" a bunch of lines with some other text. Let's do an example: we want to create some tags from files in a directory, so to easily create an "image gallery" to be put online.[/lang_en] [code]$ ls bar.png buz.png foo.png $[/code]

[lang_it]Come fare ad avere una lista dei file, con i tag ? "Semplice": utilizziamo un po' di sed magic![/lang_it][lang_en]How could we have a list of the files, with ?"Easy": use some sed magic![/lang_en] [code]$ ls > files $ cat files bar.png buz.png foo.png $ sed -i 's/^(.*)$//g' files $ cat files $[/code] [lang_it]Semplice, no? :)[/lang_it][lang_en]Easy, uh? :)[/lang_en]

Posted Sat 13 Sep 2008 06:54:49 PM CEST Tags: linux

[lang_it]Per chi usa GNU/Linux, grep è uno dei comandi fondamentali. Se state cercando una parola dentro un file con linee molto lunghe, come fate a vedere il risultato della vostra ricerca immediatamente? È difficile. Ecco perché coloriamo grep ;-)[/lang_it][lang_en]For those using GNU/Linux, grep is a fundamental utility. If you're looking for a word into a file with very long lines, how could you find the result of your search immediately? It's difficult. That's why we're going to give grep some fancy mood ;-)[/lang_en]

[lang_it]Prima di tutto, apriamo ~/.bashrc (o il file corrispondente, se si utilizza una shell alternativa a BASH), ed inseriamo, in un punto qualsiasi (meglio a fine file), le seguenti righe:[/lang_it][lang_en]First of all, let's open ~/.bashrc (or the corresponding file, if you use another shell than BASH), and put, in any point (better if at the end of the file), the following lines:[/lang_en] [code] alias grep="grep --color=auto" export GREP_COLOR="1;33;40" [/code] [lang_it]Dopo questo, torniamo alla shell e diamo il comando source ~/.bashrc, così da rendere attive le nuove impostazioni.[/lang_it][lang_en]After this, let's go back to the shell and give the command source ~/.bashrc, so as to enable the new settings.[/lang_en] [lang_it]E ora, il momento delle spiegazioni. La prima riga dice a Bash di sostituire a "grep" il comando "grep --color=auto". Questo fa sì che grep consideri la variabile d'ambiente GREP_COLOR. Infatti, alla seconda riga, esportiamo questa variabile con il colore che vogliamo. Il formato del "colore" è:[/lang_it][lang_en]And now, the explanation. The first line tells Bash to substitute to "grep" the command "grep --color=auto". This lets grep consider the environment variable GREP_COLOR. In fact, in the second line, we export this variable with the colour we want. The "colour" format is:[/lang_en] attr;foreground;background

  • [lang_it]attr è "l'attributo" del testo evidenziato, esso può avere valore 0 (normale), 1 *(grassetto)* e così via;[/lang_it][lang_en]attr** is the "attribute" for the highlighted text, it can be 0 (normal), 1 *(bold)* **and so on;[/lang_en]
  • [lang_it]foreground è il colore in primo piano, esso può avere i seguenti valori:[/lang_it][lang_en]*foreground* is the foreground colour of the text, and can be:[/lang_en]
  • 30 - [lang_it]nero[/lang_it][lang_en]black[/lang_en];
  • 31 - [lang_it]rosso[/lang_it][lang_en]red[/lang_en];
  • 32 - [lang_it]verde[/lang_it][lang_en]green[/lang_en];
  • 33 - [lang_it]giallo[/lang_it][lang_en]yellow[/lang_en];
  • 34 - [lang_it]blu[/lang_it][lang_en]blue[/lang_en];
  • 35 - [lang_it]magenta[/lang_it][lang_en]magenta[/lang_en];
  • 36 - [lang_it]ciano[/lang_it][lang_en]cyan[/lang_en];
  • 37 - [lang_it]bianco[/lang_it][lang_en]white[/lang_en]

  • [lang_it]background è il colore di sfondo, e può avere i valori:[/lang_it][lang_en]*background* is the background colour, and can have values of:[/lang_en]
  • 40 - [lang_it]nero[/lang_it][lang_en]black[/lang_en];
  • 41 - [lang_it]rosso[/lang_it][lang_en]red[/lang_en];
  • 42 - [lang_it]verde[/lang_it][lang_en]green[/lang_en];
  • 43 - [lang_it]giallo[/lang_it][lang_en]yellow[/lang_en];
  • 44 - [lang_it]blu[/lang_it][lang_en]blue[/lang_en];
  • 45 - [lang_it]magenta[/lang_it][lang_en]magenta[/lang_en];
  • 46 - [lang_it]ciano[/lang_it][lang_en]cyan[/lang_en];
  • 47 - [lang_it]bianco[/lang_it][lang_en]white[/lang_en]

[lang_it]L'esempio sopra riportato, quindi, imposta il testo cercato in grassetto, di colore giallo con sfondo nero. Ha un gran risalto sulla mia shell nera! ;-)[/lang_it][lang_en]So the example written above sets the searched text in bold, in yellow with a black background. It shines on my black shell! ;-)[/lang_en] [lang_it]Buon divertimento con grep![/lang_it][lang_en]Enjoy grep![/lang_en]

Posted Sat 13 Sep 2008 06:54:30 PM CEST Tags: linux

I'm currently experimenting with ports of the Debian system other than x86 using Qemu. This is what I currently have installed/am installing:

More details will follow about these setups, as soon as I get some time.

I actually plan to play more with qemu (disk space and time permitting), to install (and well, try), these other ports:

  • Debian GNU/Linux on MIPSEL
  • Debian GNU/Linux on ARM
  • Debian GNU/Linux on Sparc
  • Debian GNU/Linux on PowerPC
  • Debian GNU/Hurd on x86
  • possibly, other ports of Debian.

Just bookmark this page... and come visit sometimes! ;)

Posted Sun 08 Jun 2008 02:38:34 PM CEST Tags: linux