Difference between revisions of "Thunar (Italiano)"
m (→Prerequisiti) |
(Piccolo avanzamento nella traduzione) |
||
Line 1: | Line 1: | ||
− | [[Category: Utilities ( | + | [[Category: Utilities (Italiano)]] |
− | [[Category: File managers ( | + | [[Category: File managers (Italiano)]] |
{{i18n|Thunar}} | {{i18n|Thunar}} | ||
{{translateme}} | {{translateme}} | ||
Line 24: | Line 24: | ||
}} | }} | ||
− | ==== | + | ====Installazione==== |
− | + | Per installarlo, basterà installare il relativo pacchetto: | |
# pacman -S thunar-volman | # pacman -S thunar-volman | ||
− | ==== | + | ====Configurazione==== |
− | + | È possibile configurare l'esecuzione di certe azioni alla connessione di videocamere o player audio. Dopo aver installato il plugin: | |
− | + | # Lanciare Thunar e aprire le Preferenze | |
− | # | + | # Sotto la scheda 'Avanzate', spuntare la casella 'Abilita la gestione dei volumi' |
− | # | + | # Cliccare su Configura e fare le modifiche desiderate (qui sotto, un esempio) |
− | # | + | Per impostare l'apertura di Amarok all'inserimento di un cd audio, |
− | + | Multimedia - CD Audio: <code>amarok --cdplay %d</code> | |
− | Multimedia - Audio | ||
− | ==== | + | ====Consigli utili==== |
− | ===== | + | =====Eseguire in Modalità Demone===== |
− | Thunar | + | Thunar può essere eseguito in modalità demone. Questo comporta una serie di vantaggi, primo fra tutti una maggiore velocità nell'apertura delle finestre di Thunar (poichè appunto esso sarà in esecuizione in background) all'inserimento, ad esempio, di una chiavetta USB. |
− | + | Per farlo partire in questa modalità, è possibile utilizzare il file {{Filename|.xinitrc}} o uno script di autostart (come quello di [[Openbox]], il file {{Filename|autostart.sh}}). Un metodo vale l'altro, sta all'utente scegliere quale utilizzare. | |
− | + | Per eseguirlo in questa modalità, è semplicemente necessario lanciare Thunar tramite il comando: | |
thunar --daemon & | thunar --daemon & | ||
Revision as of 12:08, 2 January 2011
Thunar è un file manager che ha l'obiettivo di essere veloce, leggero e facile da usare. E' parte integrante del desktop XFCE, ma è possibile usarlo anche in maniera indipendente. Ciò lo rende molto attraente per utenti di vari window manager autonomi, come Openbox, Awesome e anche Compiz se usato in maniera standalone.
Contents
Installazione
Per installare thunar, semplicemente sarà necessario installare il relativo pacchetto:
# pacman -S thunar
Se avete già installato XFCE sul vostro sistema, avrete già installato sicuramente anche Thunar.
Plugins e Addons
Molti di questi plugin sono parte del gruppo xfce4-goodies, dunque se avete installato il suddetto siete già a posto. Nel caso, ovviamente, è possibile installarli uno ad uno.
Thunar Volume Manager
Thunar supporta già di suo il montaggio\smontaggio delle periferiche, questo plugin però fornisce funzionalità aggiuntive, come la possibilità di eseguire comandi particolari alla connessione di una periferica o di aprire automaticamente una finestra di Thunar per una periferica appena montata.
Prerequisiti
Per funzionare correttamente, Thunar-Volume-Manager necessita di Dbus e HAL configurati e correttamente inizializzati per funzionare.
Installazione
Per installarlo, basterà installare il relativo pacchetto:
# pacman -S thunar-volman
Configurazione
È possibile configurare l'esecuzione di certe azioni alla connessione di videocamere o player audio. Dopo aver installato il plugin:
- Lanciare Thunar e aprire le Preferenze
- Sotto la scheda 'Avanzate', spuntare la casella 'Abilita la gestione dei volumi'
- Cliccare su Configura e fare le modifiche desiderate (qui sotto, un esempio)
Per impostare l'apertura di Amarok all'inserimento di un cd audio,
Multimedia - CD Audio: amarok --cdplay %d
Consigli utili
Eseguire in Modalità Demone
Thunar può essere eseguito in modalità demone. Questo comporta una serie di vantaggi, primo fra tutti una maggiore velocità nell'apertura delle finestre di Thunar (poichè appunto esso sarà in esecuizione in background) all'inserimento, ad esempio, di una chiavetta USB.
Per farlo partire in questa modalità, è possibile utilizzare il file Template:Filename o uno script di autostart (come quello di Openbox, il file Template:Filename). Un metodo vale l'altro, sta all'utente scegliere quale utilizzare.
Per eseguirlo in questa modalità, è semplicemente necessario lanciare Thunar tramite il comando:
thunar --daemon &
Eliminating Conflicts
If you have hal and autofs running at the same time, you will have a lock in hal-mtab. To avoid this, use only one of them.
If you cannot get automount running and start your window manager via Template:Filename you maybe want to change the start line for your window manger from
exec /usr/bin/dwm
to
exec ck-launch-session /usr/bin/dwm
Setting the Icon Theme
When using Thunar outside of Gnome or Xfce, certain packages and configurations that control which icons are used may be missing. Window Managers like Awesopme and Xmonad do not come with XSettings managers, which is where Thunar looks first for it's icon setting. It is possible install and run xfce-mcs-manager from a startup script if many Xfce4 and Gnome applications are going to be used. The gtk-icon-theme-name setting for gtk2 can be set for a user by adding something like the following to ~/.gtkrc-2.0:
gtk-icon-theme-name = "Tango"
Of course, just installing the gnome-icon-them package will give Thunar an icon theme to use other than the default paper icon for all items.
# pacman -S gnome-icon-theme
Thunar Archive Plugin
The Thunar Archive Plugin is a frontend to file archive software such as File Roller, Ark, or Xarchiver to allow a simple, consistent interface to opening and decompressing archives.
Installation
It can be installed by running:
# pacman -S thunar-archive-plugin
Thunar Media Tags Plugin
The media tags plugin will display detailed information about media files. It supports ID3 (the MP3 file format's system) and Ogg/Vorbis tags. It also has a bulk renamer and allows editing of media tags.
Installation
It can be installed by running:
# pacman -S thunar-media-tags-plugin
Thunar Thumbnailers
The aim of the Thunar Thumbnailers project is to provide thumbnail generation for media formats that are neglected by other thumbnailers. If you want thumbnails and deal with media formats that are not compatible with other thumbnailers, use this. For a full list of supported formats, see the project page.
Installation
It can be installed by running:
# pacman -S thunar-thumbnailers
The Thunar Shares Plugin allows you to quickly share a folder using Samba from Thunar without requiring root access.
Installation
Install thunar-shares-plugin package from the AUR.
Configuration
as root user:
This marks the named objects for automatic export to the environment of subsequently executed commands:
# export USERSHARES_DIR="/var/lib/samba/usershares" # export USERSHARES_GROUP="sambashare"
This creates the usershares directory in var/lib/samba:
# mkdir -p ${USERSHARES_DIR}
This makes the group sambashare:
# groupadd ${USERSHARES_GROUP}
This changes the owner of the directory and group you just created to root:
# chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}
This changes the permissions of the usershares directory so that users in the group sambashare can read, write and execute files:
# chmod 01770 ${USERSHARES_DIR}
Using your favorite text editor as root, c reate the file /etc/samba/smb.conf
# joe /etc/samba/smb.conf
Use this smb.conf configuration file:
##This is the main Samba configuration file. You should read the ##smb.conf(5) manual page in order to understand the options listed ##here. Samba has a huge number of configurable options (perhaps too ##many!) most of which are not shown in this example ## ##For a step to step guide on installing, configuring and using samba, ## read the Samba-HOWTO-Collection. This may be obtained from: ## http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf ## ## Many working examples of smb.conf files can be found in the ## Samba-Guide which is generated daily and can be downloaded from: ## http://www.samba.org/samba/docs/Samba-Guide.pdf ## ## Any line which starts with a ; (semi-colon) or a # (hash) ## is a comment and is ignored. In this example we will use a # ## for commentry and a ; for parts of the config file that you ## may wish to enable ## ## NOTE: Whenever you modify this file you should run the command "testparm" ## to check that you have not made any basic syntactic errors. ## #[global] # workgroup = WORKGROUP # security = share # server string = My Share # load printers = yes # log file = /var/log/samba/%m.log # max log size = 50 # usershare path = /var/lib/samba/usershares # usershare max shares = 100 # usershare allow guests = yes # usershare owner only = yes # # # #Windows Internet Name Serving Support Section: # # #WINS Support - Tells the NMBD component of Samba to enable it's WINS Server #; wins support = yes # ## WINS Server - Tells the NMBD components of Samba to be a WINS Client ## Note: Samba can be either a WINS Server, or a WINS Client, but NOT both #; wins server = w.x.y.z # ##WINS Proxy - Tells Samba to answer name resolution queries on ## behalf of a non WINS capable client, for this to work there must be ## at least one WINS Server on the network. The default is NO. #; wins proxy = yes
Save the file and then add your user to the group sambashares replacing "your_username" with the name of your user:
# usermod -a -G ${USERSHARES_GROUP} your_username
Restart Samba:
# /etc/rc.d/samba restart
Log out and log back in. You should now be able to right click on any directory and share it on the network.
To have samba start at boot, add samba to daemons in your Template:Filename file.
For more infomration, visit the Samba wiki page.
Links and References
- Thunar project page.
- Thunar Volume Manager project page.
- Thunar Archive Plugin project page.
- Thunar Media Tags Plugin project page.
- Thunar Thumbnailers project page.
- Thunar Shares Plugin project page.
- This list of plugins.