Difference between revisions of "Evilwm (Italiano)"

From ArchWiki
Jump to: navigation, search
(Installation)
(Configuration)
Line 13: Line 13:
 
  # pacman -S evilwm
 
  # pacman -S evilwm
  
==Configuration==
+
==Configurazione==
  
===Starting evilwm===
+
===Avviare evilwm===
  
To start evilwm (without any options) via ''startx'', ensure your {{Filename|~/.xinitrc}} file contains:
+
Per avviare evilwm (senza opzioni) via ''startx'', assicurarsi che il file {{Filename|~/.xinitrc}} contenga:
 
  exec evilwm
 
  exec evilwm
  
evilwm doesn't control the desktop background or mouse cursor, so you may want to also specify these in your {{Filename|~/.xinitrc}} file. For example, to provide a solid color background and use the left pointer of your current mouse theme:
+
evilwm non controlla direttamente lo sfondo del desktop o il cursore del mouse, perciò sarà conveniente specificarli attraverso il file {{Filename|~/.xinitrc}}. Ad esempio , per un colore solido come sfondo ed il bottone sinistro del tema del mouse attuale:
 
  xsetroot -solid \#3f3f3f
 
  xsetroot -solid \#3f3f3f
 
  xsetroot -cursor_name left_ptr
 
  xsetroot -cursor_name left_ptr
  
For other options, please consult ''man xsetroot''.
+
Per maggiori dettagli sulle varie opzioni possibili consultare ''man xsetroot''.
  
===Startup options===
+
===Configurazioni d'avvio===
  
evilwm doesn't use a configuration file, but rather options switches when starting the window manager. Example options include:
+
evilwm non utilizza un file di configurazione, ma delle opzioni di "interruttore" quando si avvia il window manager. Alcuni esempi di configurazione:
*<tt>-fg ''color''</tt> (frame color of currently active window)
+
*<tt>-fg ''color''</tt> (colore della finestra attiva)
*<tt>-bw ''borderwidth''</tt> (width of window borders in pixels)
+
*<tt>-bw ''borderwidth''</tt> (larghezza dei bordi finestra in pixels)
*<tt>-term ''termprog''</tt> (specifies a program to run when spawming a new terminal. default is xterm)
+
*<tt>-term ''termprog''</tt> (specifica un programma terminale. il default è xterm)
*<tt>-snap ''number''</tt> (enables snap-to-border support and specifies the proximity in pixels to snap to)
+
*<tt>-snap ''number''</tt> (abilita supporto snap-to-border oltre che la vicinanza in pixels per lo snap)
*<tt>-mask1 ''modifier''</tt> (override the default ctrl+alt keyboard modifiers to something else)
+
*<tt>-mask1 ''modifier''</tt> (sovrascrive il predefinito ctrl+alt da tastiera con altro)
*<tt>-nosoliddrag</tt> (draw a window outline while moving or resizing, rather than drawing the entire window)
+
*<tt>-nosoliddrag</tt> (disegna un contorno alla finestra quando si ridimensiona o massimizza)
  
A full list of the evilwm options can be found via ''man evilwm''.
+
Una lista completa di opzioni di configurazione per evilwm è consultabile con ''man evilwm''.
  
By default, evilwm draws a one pixel gold border around the currenly active window. An example of the use of the options to change this would be a {{Filename|~/.xinitrc}} file such as:
+
In maniera predefinita, evilwm disegna un bordo d'ro di un pixel intorno alla finestra attiva. Un esempio di modifica può essere {{Filename|~/.xinitrc}}:
 
  exec evilwm -snap 10 -bw 2 -fg red
 
  exec evilwm -snap 10 -bw 2 -fg red
This would enable the snap-to-border option at a 10 pixel distance and change the default border width to 2 and the color of the currently active window border to red.
+
che abiliterà l'opzione snap-to-border a 10 pixel di distanza e cambierà la larghezza del bordo di default a 2 ed il colore della finestra attiva a rosso.
  
 
==Using evilwm==
 
==Using evilwm==

Revision as of 01:26, 16 April 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Evilwm (Italiano)#)
Note: La pagina è attualmente in traduzione. Temporaneamente, fare riferimento a quella inglese


evilwm è un window manager minimalista per il sistema X. È minimalista ne senso che non fornisce utilità non indispensabili come ad esempio decorazioni o cornici alle finestre ed icone. È comunque molto usabile e fornisce un ottimo controllo da tastiera con riposizionamento e massimizzazioni, trascinamento finestre, supporto snap-to-border, e desktop virtuali. La dimensione dei pacchetti binari installati è di soli 0.07 MB.

Installazione

Evilwm è reperibile nei repository extra, così l'installazione da console sarà:

# pacman -S evilwm

Configurazione

Avviare evilwm

Per avviare evilwm (senza opzioni) via startx, assicurarsi che il file Template:Filename contenga:

exec evilwm

evilwm non controlla direttamente lo sfondo del desktop o il cursore del mouse, perciò sarà conveniente specificarli attraverso il file Template:Filename. Ad esempio , per un colore solido come sfondo ed il bottone sinistro del tema del mouse attuale:

xsetroot -solid \#3f3f3f
xsetroot -cursor_name left_ptr

Per maggiori dettagli sulle varie opzioni possibili consultare man xsetroot.

Configurazioni d'avvio

evilwm non utilizza un file di configurazione, ma delle opzioni di "interruttore" quando si avvia il window manager. Alcuni esempi di configurazione:

  • -fg color (colore della finestra attiva)
  • -bw borderwidth (larghezza dei bordi finestra in pixels)
  • -term termprog (specifica un programma terminale. il default è xterm)
  • -snap number (abilita supporto snap-to-border oltre che la vicinanza in pixels per lo snap)
  • -mask1 modifier (sovrascrive il predefinito ctrl+alt da tastiera con altro)
  • -nosoliddrag (disegna un contorno alla finestra quando si ridimensiona o massimizza)

Una lista completa di opzioni di configurazione per evilwm è consultabile con man evilwm.

In maniera predefinita, evilwm disegna un bordo d'ro di un pixel intorno alla finestra attiva. Un esempio di modifica può essere Template:Filename:

exec evilwm -snap 10 -bw 2 -fg red

che abiliterà l'opzione snap-to-border a 10 pixel di distanza e cambierà la larghezza del bordo di default a 2 ed il colore della finestra attiva a rosso.

Using evilwm

After starting evilwm you will see nothing but a mouse cursor and a black background (or other background if you specified it as above). To open a terminal, use the key combination Ctrl+Alt+Return. Programs can then be run from the terminal using ProgramName&.

Keyboard controls

Using the keyboard combination of Ctrl+Alt plus a third key gives you these functions:

  • Return – spawns new terminal
  • Escape – Deletes current window
  • Insert – Lowers current window
  • H,J,K,L – Move window left, down, up, right 16 pixels
  • Y,U,B,N – Move window to top-left, top-right, bottom-left, bottom-right corner
  • I – Show information about current window
  • = – Maximize current window vertically (toggle)
  • X – Maximize current window full-screen (toggle)

Mouse controls

By holding down the Alt key, you can perform these functions with the mouse:

  • Button 1 – Move window
  • Button 2 – Resize window
  • Button 3 – Lower window

Virtual desktops

Using the keyboard combination of Ctrl+Alt plus a third key gives you these virtual desktop functions:

  • 1-8 – Switch virtual desktop
  • left – Previous virtual desktop
  • right – Next virtual desktop
  • F – Fix or unfix current window

To move a window from one virtual desktop to another, fix it, switch desktop, then unfix it. Alt+Tab can also be used to cycle through windows on the current desktop.

Tips & Tricks

Horizontal window maximize

The key combination of Ctrl+Alt+= will maximize a window vertically. To maximize a window horizontally, use Ctrl+Alt+= to maximize it vertically, then Ctrl+Alt+X to maximize it horizontally (as opposed to just using Ctrl+Alt+X to maximize it full-screen).

Exit evilwm by ending a program

By default, evilwm has no quit option. To exit, simply kill X (Ctrl+Alt+Backspace). If you wish, you can exit evilwm by closing a specific program. Instead of using exec evilwm in your Template:Filename file, you can transfer exec to another program. Ending this other program will then exit evilwm. For example:

# start evilwm (snap-to-border within 10 pixels option, 2 pixel window border, active window border red)
/usr/bin/evilwm -snap 10 -bw 2 -fg red&
# transfer exec control to xclock
# killing xclock (with ctrl+alt+escape, say) will exit evilwm
exec xclock -digital

Resize windows using the keyboard

Although not mentioned in the man-page, you can resize windows with the keyboard as well as the mouse. Using the same key-combinations for moving a window, just add the Shift key to the mix to resize a window.

Ctrl+Alt+Shift:

H,J,K,L - Resize window smaller horizontally, larger vertically, smaller vertically, larger horizontally

Lost focus bug fix

Some users suffer from a bug where evilwm loses focus after closing a window. This means that evilwm stops responding to keyboard shortcuts, and if no other window is open which the mouse can be moved over to regain focus evilwm becomes unusable and has to be restarted.

Right now the solution requires adding one line to the source code, recompiling evilwm and installing it manually (not via pacman). To fix the bug, get the source code from the official website, unpack it and open "client.c" with any text editor. Find the "remove_client" function and add the following to the very end of its definition (after the "LOG_DEBUG" call):

XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);

and compile and install evilwm by running "make" and "make install" (the latter with root privileges).

The author of evilwm has been told both of this bug and this fix, but he has not yet released a new version of evilwm which incorporates this solution.

Links

  • evilwm - Il sito ufficiale di evilwm.