header image
 

Potenziare Nautilus, espanderne le funzionalità con degli script

questa è una collezione di 125 script che aggiungono funzioni automatizzate all’interno di nautilus (il file-manager di gnome che trovate di default anche su Ubuntu).

per installarli
cd ~/.gnome2/nautilus-scripts
wget http://g-scripts.sourceforge.net/nautilus-scripts.tar.gz
tar zxvf nautilus-scripts.tar.gz

questa è la lista delle funzioni aggiuntive
|-- Archiving
| |– Compress__.bz2_
| |– Compress__.gz_
| |– Decompress
| |– archiver-unarchiver
| |– gnome-archive
| |– super-extractor
| `– unrar
|– Execute
| |– Open Terminal Here
| |– Play in XMMS
| |– XMMS
| |– command_prompt_here
| |– gedit
| |– ghex
| |– glimmer
| |– gnome2-terminal-here
| |– root-nautilus-here
| |– root-terminal-here
| |– run
| |– terminal-here
| |– xemacs
| |– xine
| `– xsu-terminal-here
|– File Info
| |– FileUsedBy
| |– Search Here
| |– Show MD5 Sum
| |– Show_Parameters
| |– filetype
| |– ggrep
| |– gtk-du
| |– gtk2-du
| |– gtk2-grep
| |– mimetype
| `– wordcount
|– File Processing
| |– Mail In Evolution
| |– New Text Document
| |– concatenate
| |– dos2unix
| |– doublespace
| |– latex
| |– latex2ps
| |– mail_file
| |– mail_file2
| |– maker
| |– new-text-document
| |– pdf2ps
| |– pixdir2html.pl
| |– pprint
| |– print
| |– print_with_openoffice
| |– ps2pdf
| |– scp2host
| |– scp_to_host
| |– search_n_replace
| |– secure copy
| `– superexec.py
|– File System Management
| |– Get Photos
| |– Junksorter.pl
| |– Make Link
| |– QuickBurn
| |– Search Here
| |– UnExec
| |– burn_dir
| |– burn_iso
| |– change_name
| |– chmod
| |– chmog
| |– copyhome
| |– junksorter
| |– linker
| |– lowercase
| |– mount_loopback
| |– moveup
| |– set_exec
| |– set_read_only
| |– shredder
| `– uppercase
|– Multimedia
| |– Create_Thumbnail
| |– Naudilus
| |– Play_in_XMMS
| |– Queue to XMMS
| |– Show Digital Photo EXIF data
| |– XMMS_Enqueue
| |– convert_to_jpeg
| |– convert_to_png
| |– create-vcd
| |– dv_to_mpg
| |– mirror_jpg
| |– queue_to_xmms
| |– rotate
| |– rotate_image
| |– rotate_jpg_left
| |– rotate_jpg_right
| |– scale_image
| |– scale_image_to_sizes
| |– slideshow
| `– watermark
|– Obsolete
| |– RPM-install-update
| |– bzip2
| |– converter
| |– create-zip
| |– create_file
| |– create_targz
| |– gb-unzip
| |– gzip
| |– mail_image
| |– mailinbalsa
| |– to_upper
| `– uncompress_all
`– System Configuration
|– Debian_Package
|– Hide or Show Hidden Files
|– Install to Palm
|– Install_Galeon_Theme
|– Query_RPM
|– RPM-install-update
|– RPM-tools
|– Set image as Wallpaper
|– Set_as_Directory_Icon
|– Set_as_Wallpaper
|– Show_Directory_Metafile
|– archiver-config
|– install_rpm
|– make-nautilus-script
|– make_launcher
|– pseudo-nautilus
`– pynautilus

Installazione driver ATI 8.42.3 con supporto AIGLX

Ci sono due modi per installare i driver, uno è manualmente e l’altro tramite uno script, personalmente li ho provati ed hanno avuto successo entrambi, ma se vi devo consigliare è sempre meglio scegliere il primo metodo perchè in caso di problemi lo si può analizzare Wink

Fase di preparazione del sistema:

Disinstalliamo la versione precedente dei Driver Ati, nel caso non avete mai installato i driver precedenti passate al punto successivo altrimenti date i comandi:

sudo dpkg -r fglrx-amdcccle
sudo dpkg -r fglrx-kernel-2.6.22-14-generic
sudo dpkg -r xorg-driver-fglrx-dev
sudo dpkg -r xorg-driver-fglrx

Controllate di non avere installato XGL, se è presente conviene rimuoverlo:

sudo apt-get remove xserver-xgl

Scarichiamo alcuni pacchetti che ci possono servire per l’installazione dei driver dando questi comandi:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base linux-headers-generic

Installazione dei driver manualmente

Finalmente si parte, scarichiamo il driver da qui, una volta terminato diamo i seguenti comandi da terminale:

Per sistemi a 32 bit:

chmod +x ati-driver-installer-8.42.3-x86.x86_64.run
./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy

Per sistemi a 64 bit:

In questo caso bisogna apportare questa patch al file scaricato precedentemente, ricordo che i due file devono giacere nella stessa cartella:

./ati-driver-installer-8.42.3-x86.x86_64.run --extract temp
cd temp/
tar jxf ../fglrx-8.42-ubuntu+debian-2.tar.bz2
sudo ./ati-installer.sh 8.42.3 --buildpkg Ubuntu/gutsy

Ora la guida vale per entrambi i sistemi quindi installiamo i pacchetti appena creati:

sudo dpkg -i xorg-driver-fglrx_8.42.3-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.42.3-1_i386.deb
sudo dpkg -i fglrx-amdcccle_8.42.3-1_i386.deb
sudo dpkg -i xorg-driver-fglrx-dev_8.42.3-1_i386.deb

Rimuoviamo possibili pacchetti compilati precedentemente:

sudo rm /usr/src/fglrx-kernel*.deb

Compiliamo, pacchettizziamo e installiamo il modulo:

sudo m-a update
sudo m-a prepare
sudo m-a build fglrx
sudo m-a install fglrx

Prima di riavviare una piccola nota dedicata a tutti coloro che prima di questi driver utilizzavano quelli presenti nei repository ufficiali è necessario disabilitare i vecchi sostituendo all’interno del file:

sudo nano /etc/default/linux-restricted-modules-common

la riga:

DISABLED_MODULES=""

con la riga:

DISABLED_MODULES="fglrx"

Abilitate i driver proprietari da “restricted manager”, questo passo è FONDAMENTALE per la buona riuscita dell’installazione.

Fatto questo riavviate il sistema e date il comando:

fglrxinfo

Dovreste ottenere come risultato:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 2400 PRO
OpenGL version string: 2.0.6958 Release

Se al posto di ATI vi esce Mesa il sistema non carica ancora il modulo per l’accelerazione 3D, significa che precedentemente non avete installato il pacchetto:

linux-restricted-modules-$(uname -r)

per farlo caricare correttamente date questi comandi:

sudo mkdir /lib/modules/$(uname -r)/misc/
sudo mkdir /lib/modules/$(uname -r)/volatile/

controllate che all’interno della cartella:

/lib/modules/$(uname -r)/misc/

sia presente il driver fglrx.ko, e create il link simbolico:

sudo ln -s /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko

fatto questo riavviate il server X.

Installazione dei driver automatizzata tramite script

Scaricate e fate partire questo Script farà tutto da solo.

Compiz con ATI e Aiglx

Per abilitare compiz bisogna editare il file:

sudo kate /usr/bin/compiz

e aggiungere in white list il driver fglrx:

# Driver whitelist
WHITELIST=”nvidia intel ati fglrx radeon i810

Controllate anche la black list per vedere se la vostra scheda è tra quelle, in tal caso toglietela cancellando la voce Smiley

Un ultimo sguardo al file Xorg per cancellare le voci relative a Aiglx e Composite, che oramai sono diventate obsoleto con l’arrivo di Gutsy perchè le carica di default con il sistema:

sudo nano /etc/X11/xorg.conf

10 comandi utili per Ubuntu Linux

Eccovi una lista di 10 comandi da lanciare da terminale che spero possano esservi utili:

1) Cercare un file in tutto il sistema:

find / -name NOMEFILE

2) Aggiornare l’orologio con l’ora esatta:

sudo ntpdate ntp.ien.it

3) Visualizzare i messaggi che compaiono durante il boot del sistema:

dmesg | more

4) Visualizzare la configurazione di rete:

ifconfig | less

5) Per controllare lo spazio occupato sull’hard disk dai vari utenti:

du -sh

6) Gestire nomi di file contenenti uno spazio:
Bisogna mettere il carattere “\” prima dello spazio.
Esempio:

cd /home/nome utente/

Diventa:

cd /home/nome\ utente/

7) Per ripristinare un download interrotto:

wget -c URL del file da scaricare

8) Copiare ricorsivamente tutto il contenuto di una directory in un’altra (inclusi i file nascosti):

cp -rav CARTELLASORGENTE/{[!.],.[!.],..?}* DESTINAZIONE/

9) Cambiare il proprietario di una cartella e di tutti i file/directory che contiene:

sudo chown -R NOMEUTENTE NOMECARTELLA

10) Ridurre la partizione di Swap (lenta) per usare di più la RAM (veloce). Consigliato solo per chi ha almeno 1GB di RAM:

sudo gedit /etc/sysctl.conf

Al fondo del file inserite la riga

vm.swappiness=5

Quindi salvate e riavviate.

Fonte: LINK

GimpSHOP!!!

Ho trovato questa interessante news per tutti coloro che sono abituati ad usare Photoshop e si trovano un po’ spaesati nel passaggio a Gimp.

GIMPshop is a modification of the free/open source graphics program GNU Image Manipulation Program (GIMP), intended to replicate the feel of Adobe Photoshop. Its primary purpose is to make users of Photoshop feel comfortable using GIMP.

This is what developer had to say:

“My original purpose for GIMPshop was to make the Gimp accessible to the many Adobe Photoshop users out there. I hope I’ve done that. And maybe along the way, I can convert a Photoshop pirate into a Gimp user.”

GIMPShop tries to replicate Photoshop’s interface as close as possible , hence many tutorials designed for Adobe Photoshop could be followed for GIMPshop !! . Now besides all the interface change it adds naming convection similar to photoshop to Gimp . Other than this all the features of GIMP are preserved .

Like GIMP which is crossplatform and runs on Windows , Linux , OS X ,Solaris GIMPshop too is crossplatform .

Since GIMPshop is based on GIMP so it has all the features of GIMP .

To install GIMPShop type the following command in the terminal window:

sudo wget http://www.plasticbugs.com/blogimg/gimpshop_2.2.11-1_i386.deb

and

sudo dpkg -i gimpshop_2.2.11-1_i386.deb

and

gimp

in the terminal window.

7 passi da seguire dopo l’installazione di Ubuntu

Ho trovato QUI questa interessante lista di cose da fare subito dopo aver installato Ubuntu sul proprio computer:

1. Enabling/Adding Extra Repositories
Ubuntu comes by default with only some of the repositories enabled because of licensing issue since downloading certain codecs and apps may be illegal in some countries so you have to enable these repositories/add new repositories to enable installation of these packages.

To enable new repositories go to (System -> Administration -> Synaptic Package Manager), type in the root password.Then Go to (Settings -> Repositories), there enable all the check-boxes to enable all the repositories you need.

Also for installing some apps extra repositories are needed since they are not in the default repositories so go to third Party and add the following there

deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main main-all
deb http://flomertens.keo.in/ubuntu/ edgy main main-all

This repositories below is for Multimedia files and stuff above was for ntfs-3g you can use any one of the above since they are mirrors.

deb http://mirror.ubuntulinux.nl edgy-seveas all

IMPORTANT: Do not press reload button now in synaptic package manager type first following command in the terminal to install the GPG keys.

After doing this exit Synaptic Package Manager go to (Applications > Accessories > Terminal) and type the following command to import GPG keys .

wget http://mirror.ubuntulinux.nl/1135D466.gpg -O- | sudo apt-key add -

After doing this your system should be ready for installing extra application. Type the

sudo apt-get update
sudo apt-get upgrade<!--

at terminal to start adding data from the repositories.

2. Installing ntfs-3g

ntfs-3g this is necessary if you have a ntfs drive in your computer ( Usually Windows XP installs on NTFS drive) and you want to read and write data to the drive you have to install this .

This can be installed as following type the following at the command prompt

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install ntfs-config

Then type the following command

gksu ntfs-config

This is automatic configuration of ntfs-3g , enable read , write support and it should be configured.

These commands would back up fstab file if configuration goes wrong.

sudo cp /etc/fstab /etc/fstab.bak
gksu gedit /etc/fstab

Now restart Ubuntu and your windows partition should be working well.

3. Installing flash-plugin

Macromedia Flash player is not installed by default but since we would be surely needing it while browing the net , installing it is necessary, and it can be installed by the following command:

sudo apt-get install -y flashplugin-nonfree

4. Installing Microsoft True Type Fonts

If you are making a jump from windows to ubuntu you would surely miss the true type fonts that Windows uses , since Microsoft has released them free so they can be installed without a hitch in Ubuntu (Though not distributed with Ubuntu).

sudo apt-get install -y msttcorefonts

5. Installing unrar

RAR is one of the very widely used archives on Windows, however unrar tool to decompress RAR is not shipped with distribution and it has to be installed manually.

sudo apt-get -y install unrar

6. Installing DVD playback support

Now this is a contentious issue, in some countries playing DVD files through DEcss is illegal, so use it at your own will, anyways to enable dvd playback issue the following command at the command line:

sudo aptitude install libdvdcss2

Note : the above commands would only work if you have added the repositories i had mentioned before the Seveas repositories.

However if you do not have these Repositories installed, issue the following command to install the DVD playback support:

sudo /usr/share/doc/libdvdread3/./install-css.sh

7. Installing the extra multimedia codecs & players

Now you would surely want to install all the codecs for playing various media files and the players. Primarily xine, vlc & mplayer, so issue the following commands to install the multimedia codecs.

sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse libxine-extracodecs w32codecs
vlc mplayer

E’ tutta roba utile, speriamo non dia noia durante l’installazione.

Screenlets

Links interessanti per avere delle (in)utili screenlets sul desktop

http://hendrik.kaju.pri.ee/screenlets/

http://www.screenlets.org/index.php/Home

Working With The GRUB Menu

Post trovato su http://www.howtoforge.com a questo LINK

Working With The GRUB Menu

This tutorial describes how to edit the GRUB menu. It will also show how to add operating systems and how to add splash screens.
What everything means

To start off I will go over why you would use GRUB and what it all means.

The reason anyone would use the GRUB menu is to dual-boot two different operating systems. All it is is a simple DOS menu that you select which operating system you want to load during boot-up.

To open it type -

gksudo gedit /boot/grub/menu.lst

This will open up the menu.lst (the file in which you edit the GRUB Menu) in a simple text editor while giving you the ability to make changes and save them.

You will see a bunch of lines at first that all begin with “#”. That tells the file to skip over these lines when reading the file. Scroll down into you stop seeing them.

Title - This is what is shown when the menu loads at boot up. Editing this will only change what is written on the screen.

Root - You likely have something along these lines “(hd0,1)”. “hd0″ refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.

Kernel -Pretty self-explanatory. This just is to ask what kernel version you would like to boot with.

Initrd - This is simple a temporary file system used by the kernel during a boot till the real file system can be mounted.

That is the basics of what all those lines mean.
Adding an OS

Adding an operating system to your grub menu is by no means difficult. Just fill in a few lines and you are done!

1. Open up Terminal (Applications>Accessories>Terminal) and run -

gksudo gedit /boot/grub/menu.lst

Once menu.lst opens up, scroll down to the button of the page. For this example I will be adding “Windows XP”.

First add the title, which should look like what is shown bellow -

title Microsoft Windows XP

Now to add the root for the OS. For me it is on the 1st disk and the third partition so I will put the following -

root (hd0,2)

To finish it off add the following lines -

makeactive
chainloader +1

Definitions

The final product should look something like this (with your options of course) -

title Microsoft Windows XP
root (hd0,2)
makeactive
chainloader +1

Save and reboot to make sure it worked correctly
Installing a Splash Screen

As you have probably noticed, the default look of GRUB is nothing too exciting. But fear not, you can install splash screens to spice it up a bit!

To start off find a image that pleases you (9 beautiful screens). Make sure it meets the requirements though -

* .xpm file
* 640×480
* 14 colors only

1. Download an image and add it to a directory.

2. Open up your GRUB file again -

gksudo gedit /boot/grub/menu.lst

3. To keep it organized, add the following line under “Pretty colours” -

splashimage=(hd0,1)your/directory/splashimage.xpm

Remember to change the above line accordingly and reboot to test.

How To Configure Apt Sources.List - For Complete Newbies

A questo LINK ho trovato un interessante HowTo per ripristinare il file “sources.lst” qualora si verificassero degli “incidenti”.

How To Configure Apt Sources.List - For Complete Newbies

So you were playing with your Apt sources.list and somehow ruined it. No matter how hard you try you cannot get it back. Every time you try to install a package you get error messages. Now what?

Don’t despair … I’ve been there and found an easy answer: The Aptitude Source-O-Matic: http://www.ubuntu-nl.org/source-o-matic/

All you have to do is go there, fill out three boxes and a new sources.list will be created for you. Here is how to use it.

Copy the new sources.list to your clipboard.

Back up your current sources.list, make a new one and start editing.

sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
sudo touch /etc/apt/sources.list
sudo vim /etc/apt/sources.list

Hit i (for insert).

Right click with your mouse button and the contents of your clipboard should appear.

[ESC]wq to save your changes.

Update your sources afterwards:

sudo apt-get update

Hopefully all will now go well.

Of course you could always download your new sources.list and ftp, ssh, scp … it to your box but sometimes an SSH shell from a windows box is what we have to work with.

Risorsa HowTos

Ho letto QUI di questo sito e sono subito andato a guardarlo, trovandolo oltremodo utile ed interessante.

E’ strapieno di HowTo, rivolti per lo più al mondo linux in generale, e quindi non solo ad Ubuntu.

Merita una visita, potreste trovare la risposta a qualche quesito insoluto.

LINK: http://www.howtoforge.com/

UCK: Ubuntu Customization Kit

Questo sembra un tool veramente interessante, e dopo aver letto questo post di Felipe su Pollycoke lo diventa sempre di più.

In pratica permette di creare una distribuzione personalizzata partendo da una Ubuntu. Splendido!

Potrò già mettere tutti i programmi aggiuntivi e tutte le modifiche e configurazioni fatte successivamente, dimodoché una volta finita l’installazione avrò un sistema come serve e piace a me già pronto per l’uso senza dover smanettare ancora e quindi perdere del tempo.

Molto interessante.

Link alla pagina del tool su SourceForge:  http://uck.sourceforge.net/