Cryptema’s Blog

my blocknotes…

Posts Tagged ‘toolbar’

Pulsanti aggiuntivi nella toolbar di Nautilus

Posted by cryptema on 19 February 2009


Spostarsi nella directory:

/usr/share/nautilus/ui

Individuare il file: “nautilus-navigation-window-ui.xml”. Per sicurezza conviene fare una copia di questo file con il seguente comando:

sudo cp nautilus-navigation-window-ui.xml nautilus-navigation-window-ui.xml.bak

Aprire il file sopracitato con:

sudo gedit nautilus-navigation-window-ui.xml

ed individuare il blocco di codice (alla fine):

<toolbar name="Toolbar">
	<toolitem name="Back" action="Back"/>
	<toolitem name="Forward" action="Forward"/>
	<toolitem name="Up" action="Up"/>
	<toolitem name="Stop" action="Stop"/>
	<toolitem name="Reload" action="Reload"/>
	<separator/>
	<toolitem name="Home" action="Home"/>
	<toolitem name="Computer" action="Go to Computer"/>
	<separator/>
	<toolitem name="Search" action="Search"/>
	<placeholder name="Extra Buttons Placeholder">
	<placeholder name="Extension Actions"/>
        </placeholder>
</toolbar>

Aggiungiamo 6 nuovi pulsanti: Copia, Incolla, Taglia, Elimina, Proprietà e Nuova scheda. In questo modo:

<toolbar name="Toolbar">
	<toolitem name="Back" action="Back"/>
	<toolitem name="Forward" action="Forward"/>
	<toolitem name="Up" action="Up"/>
	<toolitem name="New Tab" action="New Tab"/>
	<toolitem name="Stop" action="Stop"/>
	<toolitem name="Reload" action="Reload"/>
	<separator/>
	<toolitem name="Home" action="Home"/>
	<toolitem name="Computer" action="Go to Computer"/>
	<separator/>
	<toolitem name="Copy" action="Copy"/>
	<toolitem name="Paste" action="Paste"/>
	<toolitem name="Cut" action="Cut"/>
	<toolitem name="Move to Trash" action="Trash"/>
	<separator/>
	<toolitem name="Properties" action="Properties"/>
	<toolitem name="Search" action="Search"/>
	<placeholder name="Extra Buttons Placeholder">
	<placeholder name="Extension Actions"/>
        </placeholder>
</toolbar>

riavviate la sessione, e il gioco è fatto!
Ps. Ovviamente è possibile spostare l’ordine di visualizzazione di ogni pulsante!

Posted in Linux | Tagged: , , , | Leave a Comment »