mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
Add portugese from Alicornio <alicornio@ig.com.br>
Update engrish man page while at it.
This commit is contained in:
parent
14d988ce21
commit
aaee1e4644
17 changed files with 1610 additions and 338 deletions
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ BINDIR=${PREFIX}/bin
|
|||
SUBDIR= lib
|
||||
|
||||
PROG=scrotwm
|
||||
MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_ru.1
|
||||
MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1
|
||||
|
||||
CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3
|
||||
# Uncomment define below to disallow user settable clock format string
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
Using scrotwm on Windows/cygwin<p>
|
||||
<small>
|
||||
<a href="cygwin_pt.html">Em Português</a>
|
||||
<p>
|
||||
</small>
|
||||
<body bgcolor="#101010" text="#ffffff">
|
||||
A port to Windows/cygwin was created to make Windows useful for UNIX people.
|
||||
Following are the compilation and installation steps.
|
||||
|
|
67
html/cygwin_pt.html
Normal file
67
html/cygwin_pt.html
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Scrotwm</title>
|
||||
<meta name="Generator" content="Vim/7.1">
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
Usando o scrotwm no Windows/cygwin<p>
|
||||
<small>
|
||||
<a href="cygwin.html">In English</a>
|
||||
<p>
|
||||
</small>
|
||||
<body bgcolor="#101010" text="#ffffff">
|
||||
Um port para Windows/cygwin foi criado para fazer o Windows útil
|
||||
para o pessoal do UNIX.
|
||||
A seguir estão os passos para a compilação e a instalação.
|
||||
<p>
|
||||
Compile o scrotwm do diretório linux do snapshot:
|
||||
<pre>
|
||||
cd linux
|
||||
make
|
||||
</pre>
|
||||
Instale o scrotwm:
|
||||
<pre>sudo make install</pre>
|
||||
<br>
|
||||
Baixe o
|
||||
<a href="http://tools.suckless.org/dmenu/">dmenu</a>
|
||||
e aplique o patch no config.mk com:
|
||||
<pre>
|
||||
$ diff -uNp config.mk.old config.mk
|
||||
--- config.mk.old 2010-01-11 16:23:55.503440600 -0600
|
||||
+++ config.mk 2010-01-11 16:24:04.300315600 -0600
|
||||
@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
||||
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||
+CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
|
||||
LDFLAGS = -s ${LIBS}
|
||||
|
||||
# Solaris
|
||||
|
||||
</pre>
|
||||
Compile:
|
||||
<pre>make</pre>
|
||||
Instale o dmenu:
|
||||
<pre>sudo make install</pre>
|
||||
Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha:
|
||||
<pre>
|
||||
exec /usr/local/bin/scrotwm
|
||||
</pre>
|
||||
Se a estúpida barra de menu no xterm te irritar adicione a seguinte linha
|
||||
no ~/.Xdefaults
|
||||
<pre>
|
||||
xterm.ToolBar: false
|
||||
</pre>
|
||||
<p>
|
||||
<center>
|
||||
Tudo isso resulta no êxtase do scrotwm!<p>
|
||||
<a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
|
||||
</center>
|
||||
<p>
|
||||
<small>
|
||||
$scrotwm$
|
||||
</small>
|
||||
</body>
|
689
html/man.html
689
html/man.html
|
@ -1,340 +1,359 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>scrotwm.1.html</title>
|
||||
<meta name="Generator" content="Vim/7.2">
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
<title>~/scrotwm.1.html</title>
|
||||
<meta name="Generator" content="Vim/7.3">
|
||||
<meta name="plugin-version" content="vim7.3_v6">
|
||||
<meta name="syntax" content="man">
|
||||
<meta name="settings" content="use_css">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
pre { font-family: monospace; background-color: #000000; color: #ffffff; }
|
||||
body { font-family: monospace; background-color: #000000; color: #ffffff; }
|
||||
.PreProc { color: #ff40ff; }
|
||||
.Statement { color: #ffff00; }
|
||||
.Title { color: #ff40ff; }
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body text="#ffffff" bgcolor="#000000"><font face="monospace">
|
||||
<font color="#ff40ff">SCROTWM(1) OpenBSD Reference Manual SCROTWM(1)</font><br>
|
||||
<br>
|
||||
<font color="#ffff00">NAME</font><br>
|
||||
scrotwm - window manager for X11<br>
|
||||
<br>
|
||||
<font color="#ffff00">SYNOPSIS</font><br>
|
||||
scrotwm<br>
|
||||
<br>
|
||||
<font color="#ffff00">DESCRIPTION</font><br>
|
||||
scrotwm is a minimalistic window manager that tries to stay out of the<br>
|
||||
way so that valuable screen real estate can be used for much more<br>
|
||||
important stuff. It has sane defaults and does not require one to learn<br>
|
||||
a language to do any configuration. It was written by hackers for<br>
|
||||
hackers and it strives to be small, compact and fast.<br>
|
||||
<br>
|
||||
When scrotwm starts up, it reads settings from its configuration file,<br>
|
||||
scrotwm.conf. See the CONFIGURATION FILES section below.<br>
|
||||
<br>
|
||||
The following notation is used throughout this page:<br>
|
||||
<br>
|
||||
M Meta<br>
|
||||
S Shift<br>
|
||||
<Name> Named key<br>
|
||||
M1 Mouse button 1<br>
|
||||
M3 Mouse button 3<br>
|
||||
<br>
|
||||
scrotwm is very simple in its use. Most of the actions are initiated via<br>
|
||||
key or mouse bindings. See the BINDINGS section below for defaults and<br>
|
||||
customizations.<br>
|
||||
<br>
|
||||
<font color="#ffff00">CONFIGURATION FILES</font><br>
|
||||
scrotwm first tries to open the user specific file, ~/.scrotwm.conf. If<br>
|
||||
that file is unavailable, it then tries to open the global configuration<br>
|
||||
file /etc/scrotwm.conf.<br>
|
||||
<br>
|
||||
The format of the file is <keyword> = <setting>. For example:<br>
|
||||
<br>
|
||||
color_focus = red<br>
|
||||
<br>
|
||||
Enabling or disabling an option is done by using 1 or 0 respectively.<br>
|
||||
<br>
|
||||
The file supports the following keywords:<br>
|
||||
<br>
|
||||
color_focus Border color of the currently focussed<br>
|
||||
window.<br>
|
||||
color_unfocus Border color of unfocussed windows.<br>
|
||||
bar_enabled Enable or disable status bar.<br>
|
||||
bar_border[x] Color of the status bar border in screen x.<br>
|
||||
bar_color[x] Color of the status bar window in screen x.<br>
|
||||
bar_font_color[x] Color of the font in status bar in screen<br>
|
||||
x.<br>
|
||||
bar_font Status bar font.<br>
|
||||
bar_action External script that populates additional<br>
|
||||
information in the status bar, such as<br>
|
||||
battery life.<br>
|
||||
bar_delay Update frequency, in seconds, of external<br>
|
||||
script that populates the status bar.<br>
|
||||
stack_enabled Enable or disable displaying the current<br>
|
||||
stacking algorithm in the status bar.<br>
|
||||
clock_enabled Enable or disable displaying the clock in<br>
|
||||
the status bar. Disable by setting to 0 so<br>
|
||||
a custom clock could be used in the<br>
|
||||
bar_action script.<br>
|
||||
dialog_ratio Some applications have dialogue windows<br>
|
||||
that are too small to be useful. This<br>
|
||||
ratio is the screen size to what they will<br>
|
||||
be resized. For example, 0.6 is 60% of the<br>
|
||||
physical screen size.<br>
|
||||
region Allocates a custom region, removing any<br>
|
||||
autodetected regions which occupy the same<br>
|
||||
space on the screen. Defined in the format<br>
|
||||
screen[<idx>]:WIDTHxHEIGHT+X+Y, e.g.<br>
|
||||
screen[1]:800x1200+0+0.<br>
|
||||
term_width Set a preferred minimum width for the<br>
|
||||
terminal If this value is greater than 0,<br>
|
||||
scrotwm will attempt to adjust the font<br>
|
||||
sizes in the terminal to keep the terminal<br>
|
||||
width above this number as the window is<br>
|
||||
resized. Only <font color="#ff40ff">xterm(1)</font> is currently<br>
|
||||
supported. The <font color="#ff40ff">xterm(1)</font> binary must not be<br>
|
||||
setuid or setgid, which it is by default on<br>
|
||||
most systems. Users may need to set<br>
|
||||
program[term] (see the PROGRAMS section) to<br>
|
||||
use an alternate copy of the <font color="#ff40ff">xterm(1)</font><br>
|
||||
binary without the setgid bit set.<br>
|
||||
title_class_enabled Enable or disable displaying the window<br>
|
||||
class in the status bar. Enable by setting<br>
|
||||
to 1<br>
|
||||
title_name_enabled Enable or disable displaying the window<br>
|
||||
title in the status bar. Enable by setting<br>
|
||||
to 1<br>
|
||||
modkey Change mod key. Mod1 is generally the ALT<br>
|
||||
key and Mod4 is the windows key on a PC.<br>
|
||||
focus_mode Using a value of follow_cursor will make<br>
|
||||
the window manager focus the window under<br>
|
||||
the mouse when switching workspaces and<br>
|
||||
creating windows.<br>
|
||||
disable_border Remove border when bar is disabled and<br>
|
||||
there is only one window on the screen.<br>
|
||||
program[p] Define new action to spawn a program p.<br>
|
||||
See the PROGRAMS section below.<br>
|
||||
bind[x] Bind key combo to action x. See the<br>
|
||||
BINDINGS section below.<br>
|
||||
quirk[c:n] Add "quirk" for windows with class c and<br>
|
||||
name n. See the QUIRKS section below.<br>
|
||||
<br>
|
||||
Colors need to be specified per the <font color="#ff40ff">XQueryColor(3)</font> specification and<br>
|
||||
fonts need to be specified per the <font color="#ff40ff">XQueryFont(3)</font> specification.<br>
|
||||
<br>
|
||||
<font color="#ffff00">PROGRAMS</font><br>
|
||||
scrotwm allows you to define custom actions to launch programs of your<br>
|
||||
choice and then bind them the same as with built-in actions. See the<br>
|
||||
BINDINGS section below.<br>
|
||||
<br>
|
||||
The default programs are described below:<br>
|
||||
<br>
|
||||
term xterm<br>
|
||||
screenshot_all screenshot.sh full<br>
|
||||
screenshot_wind screenshot.sh window<br>
|
||||
lock xlock<br>
|
||||
initscr initscreen.sh<br>
|
||||
menu dmenu_run -fn $bar_font -nb $bar_color -nf<br>
|
||||
$bar_font_color -sb $bar_border -sf $bar_color<br>
|
||||
<br>
|
||||
Custom programs in the configuration file are specified as follows:<br>
|
||||
<br>
|
||||
program[<name>] = <progpath> [<arg> [... <arg>]]<br>
|
||||
<br>
|
||||
<name> is any identifier that does not conflict with a built-in action or<br>
|
||||
keyword, <progpath> is the desired program, and <arg> is zero or more<br>
|
||||
arguments to the program.<br>
|
||||
<br>
|
||||
The following variables represent settable values in scrotwm (see the<br>
|
||||
CONFIGURATION FILES section above), and may be used in the <arg> fields<br>
|
||||
and will be substituted for values at the time the program is spawned:<br>
|
||||
<br>
|
||||
$bar_border<br>
|
||||
$bar_color<br>
|
||||
$bar_font<br>
|
||||
$bar_font_color<br>
|
||||
$color_focus<br>
|
||||
$color_unfocus<br>
|
||||
<br>
|
||||
Example:<br>
|
||||
<br>
|
||||
program[ff] = /usr/local/bin/firefox <a href="http://scrotwm.org/">http://scrotwm.org/</a><br>
|
||||
bind[ff] = Mod+f # Now Mod+F launched firefox<br>
|
||||
<br>
|
||||
To undo the previous:<br>
|
||||
<br>
|
||||
bind[] = Mod+f<br>
|
||||
program[ff] =<br>
|
||||
<br>
|
||||
<br>
|
||||
<font color="#ffff00">BINDINGS</font><br>
|
||||
scrotwm provides many functions (or actions) accessed via key or mouse<br>
|
||||
bindings.<br>
|
||||
<br>
|
||||
The current mouse bindings are described below:<br>
|
||||
<br>
|
||||
M1 Focus window<br>
|
||||
M-M1 Move window<br>
|
||||
M-M3 Resize window<br>
|
||||
M-S-M3 Resize window while maintaining it centered<br>
|
||||
<br>
|
||||
The default key bindings are described below:<br>
|
||||
<br>
|
||||
M-S-<Return> term<br>
|
||||
M-p menu<br>
|
||||
M-S-q quit<br>
|
||||
M-q restart scrotwm<br>
|
||||
M-<Space> cycle_layout<br>
|
||||
M-S-<Space> reset_layout<br>
|
||||
M-h master_shrink<br>
|
||||
M-l master_grow<br>
|
||||
M-, master_add<br>
|
||||
M-. master_del<br>
|
||||
M-S-, stack_inc<br>
|
||||
M-S-. stack_del<br>
|
||||
M-<Return> swap_main<br>
|
||||
M-j, M-<TAB> focus_next<br>
|
||||
M-k, M-S-<TAB> focus_prev<br>
|
||||
M-m focus_main<br>
|
||||
M-S-j swap_next<br>
|
||||
M-S-k swap_prev<br>
|
||||
M-b bar_toggle<br>
|
||||
M-x wind_del<br>
|
||||
M-S-x wind_kill<br>
|
||||
M-<n> ws_n<br>
|
||||
M-S-<n> mvws_n<br>
|
||||
M-<Right> ws_next<br>
|
||||
M-<Left> ws_prev<br>
|
||||
M-a ws_prior<br>
|
||||
M-S-<Right> screen_next<br>
|
||||
M-S-<Left> screen_prev<br>
|
||||
M-s screenshot_all<br>
|
||||
M-S-s screenshot_wind<br>
|
||||
M-S-v version<br>
|
||||
M-t float_toggle<br>
|
||||
M-S <Delete> lock<br>
|
||||
M-S-i initscr<br>
|
||||
<br>
|
||||
The action names and descriptions are listed below:<br>
|
||||
<br>
|
||||
term Spawn a new terminal (see PROGRAMS above)<br>
|
||||
menu Menu (see PROGRAMS above)<br>
|
||||
quit Quit scrotwm<br>
|
||||
restart Restart scrotwm<br>
|
||||
cycle_layout Cycle layout<br>
|
||||
reset_layout Reset layout<br>
|
||||
master_shrink Shrink master area<br>
|
||||
master_grow Grow master area<br>
|
||||
master_add Add windows to master area<br>
|
||||
master_del Remove windows from master area<br>
|
||||
stack_inc Add columns/rows to stacking area<br>
|
||||
stack_del Remove columns/rows from stacking area<br>
|
||||
swap_main Move current window to master area<br>
|
||||
focus_next Focus next window in workspace<br>
|
||||
focus_prev Focus previous window in workspace<br>
|
||||
focus_main Focus on main window in workspace<br>
|
||||
swap_next Swap with next window in workspace<br>
|
||||
swap_prev Swap with previous window in workspace<br>
|
||||
bar_toggle Toggle status bar in all workspaces<br>
|
||||
wind_del Delete current window in workspace<br>
|
||||
wind_kill Destroy current window in workspace<br>
|
||||
ws_n Switch to workspace n, where n is 1 through 10<br>
|
||||
mvws_n Move current window to workspace n, where n is 1<br>
|
||||
through 10<br>
|
||||
ws_next Switch to next workspace with a window in it<br>
|
||||
ws_prev Switch to previous workspace with a window in it<br>
|
||||
ws_prior Switch to last visited workspace<br>
|
||||
screen_next Move pointer to next region<br>
|
||||
screen_prev Move pointer to previous region<br>
|
||||
screenshot_all Take screenshot of entire screen (if enabled) (see<br>
|
||||
PROGRAMS above)<br>
|
||||
screenshot_wind Take screenshot of selected window (if enabled)<br>
|
||||
(see PROGRAMS above)<br>
|
||||
version Toggle version in status bar<br>
|
||||
float_toggle Toggle focused window between tiled and floating<br>
|
||||
lock Lock screen (see PROGRAMS above)<br>
|
||||
initscr Reinitialize physical screens (see PROGRAMS above)<br>
|
||||
<br>
|
||||
Custom bindings in the configuration file are specified as follows:<br>
|
||||
<br>
|
||||
bind[<action>] = <keys><br>
|
||||
<br>
|
||||
<action> is one of the actions listed above (or empty) and <keys> is in<br>
|
||||
the form of zero or more modifier keys (MOD, Mod1, Shift, etc.) and one<br>
|
||||
or more normal keys (b, space, etc.), separated by "+". For example:<br>
|
||||
<br>
|
||||
bind[reset] = Mod4+q # bind Windows-key + q to reset<br>
|
||||
bind[] = Mod1+q # unbind Alt + q<br>
|
||||
<br>
|
||||
Multiple key combinations may be bound to the same action.<br>
|
||||
<br>
|
||||
<font color="#ffff00">QUIRKS</font><br>
|
||||
scrotwm provides "quirks" which handle windows that must be treated<br>
|
||||
specially in a tiling window manager, such as some dialogs and fullscreen<br>
|
||||
apps.<br>
|
||||
<br>
|
||||
The default quirks are described below:<br>
|
||||
<br>
|
||||
Firefox-bin:firefox-bin TRANSSZ<br>
|
||||
Firefox:Dialog FLOAT<br>
|
||||
Gimp:gimp FLOAT + ANYWHERE<br>
|
||||
MPlayer:xv FLOAT + FULLSCREEN<br>
|
||||
OpenOffice.org 2.4:VCLSalFrame FLOAT<br>
|
||||
OpenOffice.org 3.1:VCLSalFrame FLOAT<br>
|
||||
pcb:pcb FLOAT<br>
|
||||
xine:Xine Window FLOAT + ANYWHERE<br>
|
||||
xine:xine Panel FLOAT + ANYWHERE<br>
|
||||
xine:xine Video Fullscreen Window FULLSCREEN + FLOAT<br>
|
||||
Xitk:Xitk Combo FLOAT + ANYWHERE<br>
|
||||
Xitk:Xine Window FLOAT + ANYWHERE<br>
|
||||
XTerm:xterm XTERM_FONTADJ<br>
|
||||
<br>
|
||||
The quirks themselves are described below:<br>
|
||||
<br>
|
||||
FLOAT This window should not be tiled, but allowed<br>
|
||||
to float freely.<br>
|
||||
TRANSSZ Adjusts size on transient windows that are<br>
|
||||
too small using dialog_ratio (see<br>
|
||||
CONFIGURATION FILES).<br>
|
||||
ANYWHERE Allow window to position itself, uncentered.<br>
|
||||
XTERM_FONTADJ Adjust xterm fonts when resizing.<br>
|
||||
FULLSCREEN Remove border to allow window to use full<br>
|
||||
screen size.<br>
|
||||
<br>
|
||||
Custom quirks in the configuration file are specified as follows:<br>
|
||||
<br>
|
||||
quirk[<class>:<name>] = <quirk> [+ <quirk> ...]<br>
|
||||
<br>
|
||||
<class> and <name> specify the window to which the quirk(s) apply, and<br>
|
||||
<quirk> is one of the quirks from the list above. For example:<br>
|
||||
<br>
|
||||
quirk[MPlayer:xv] = FLOAT + FULLSCREEN # let mplayer play<br>
|
||||
quirk[pcb:pcb] = NONE # remove existing quirk<br>
|
||||
<br>
|
||||
You can obtain <class> and <name> by running <font color="#ff40ff">xprop(1)</font> and then clicking<br>
|
||||
on the desired window. In the following example the main window of<br>
|
||||
Firefox was clicked:<br>
|
||||
<br>
|
||||
$ xprop | grep WM_CLASS<br>
|
||||
WM_CLASS(STRING) = "Navigator", "Firefox"<br>
|
||||
<br>
|
||||
Note that grepping for WM_CLASS flips class and name. In the example<br>
|
||||
above the quirk entry would be:<br>
|
||||
<br>
|
||||
quirk[Firefox:Navigator] = FLOAT<br>
|
||||
<br>
|
||||
<font color="#ffff00">SIGNALS</font><br>
|
||||
Sending scrotwm a HUP signal will retstart it.<br>
|
||||
<br>
|
||||
<font color="#ffff00">FILES</font><br>
|
||||
~/.scrotwm.conf scrotwm user specific settings.<br>
|
||||
/etc/scrotwm.conf scrotwm global settings.<br>
|
||||
<br>
|
||||
<font color="#ffff00">HISTORY</font><br>
|
||||
scrotwm was inspired by xmonad & dwm.<br>
|
||||
<br>
|
||||
<font color="#ffff00">AUTHORS</font><br>
|
||||
<br>
|
||||
scrotwm was written by Marco Peereboom <marco@peereboom.us>, Ryan Thomas<br>
|
||||
McBride <mcbride@countersiege.com> and Darrin Chandler<br>
|
||||
<dwchandler@stilyagin.com>.<br>
|
||||
<br>
|
||||
<font color="#ffff00">BUGS</font><br>
|
||||
Currently the menu, invoked with M-p, depends on dmenu.<br>
|
||||
<br>
|
||||
OpenBSD 4.7 July 3, 2010 OpenBSD 4.7<br>
|
||||
</font></body>
|
||||
<body>
|
||||
<pre>
|
||||
<span class="Title">SCROTWM(1) OpenBSD Reference Manual SCROTWM(1)</span>
|
||||
|
||||
<span class="Statement">NAME</span>
|
||||
scrotwm - window manager for X11
|
||||
|
||||
<span class="Statement">SYNOPSIS</span>
|
||||
scrotwm
|
||||
|
||||
<span class="Statement">DESCRIPTION</span>
|
||||
scrotwm is a minimalistic window manager that tries to stay out of the
|
||||
way so that valuable screen real estate can be used for much more
|
||||
important stuff. It has sane defaults and does not require one to learn
|
||||
a language to do any configuration. It was written by hackers for
|
||||
hackers and it strives to be small, compact and fast.
|
||||
|
||||
When scrotwm starts up, it reads settings from its configuration file,
|
||||
scrotwm.conf. See the CONFIGURATION FILES section below.
|
||||
|
||||
The following notation is used throughout this page:
|
||||
|
||||
M Meta
|
||||
S Shift
|
||||
<Name> Named key
|
||||
M1 Mouse button 1
|
||||
M3 Mouse button 3
|
||||
|
||||
scrotwm is very simple in its use. Most of the actions are initiated via
|
||||
key or mouse bindings. See the BINDINGS section below for defaults and
|
||||
customizations.
|
||||
|
||||
<span class="Statement">CONFIGURATION FILES</span>
|
||||
scrotwm first tries to open the user specific file, ~/.scrotwm.conf. If
|
||||
that file is unavailable, it then tries to open the global configuration
|
||||
file /etc/scrotwm.conf.
|
||||
|
||||
The format of the file is <keyword> = <setting>. For example:
|
||||
|
||||
color_focus = red
|
||||
|
||||
Enabling or disabling an option is done by using 1 or 0 respectively.
|
||||
|
||||
The file supports the following keywords:
|
||||
|
||||
color_focus Border color of the currently focussed
|
||||
window.
|
||||
color_unfocus Border color of unfocussed windows.
|
||||
bar_enabled Enable or disable status bar.
|
||||
bar_border[x] Color of the status bar border in screen x.
|
||||
bar_color[x] Color of the status bar window in screen x.
|
||||
bar_font_color[x] Color of the font in status bar in screen
|
||||
x.
|
||||
bar_font Status bar font.
|
||||
bar_action External script that populates additional
|
||||
information in the status bar, such as
|
||||
battery life.
|
||||
bar_delay Update frequency, in seconds, of external
|
||||
script that populates the status bar.
|
||||
bar_at_bottom Place the statusbar at the bottom of each
|
||||
region instead of the top.
|
||||
stack_enabled Enable or disable displaying the current
|
||||
stacking algorithm in the status bar.
|
||||
clock_enabled Enable or disable displaying the clock in
|
||||
the status bar. Disable by setting to 0 so
|
||||
a custom clock could be used in the
|
||||
bar_action script.
|
||||
dialog_ratio Some applications have dialogue windows
|
||||
that are too small to be useful. This
|
||||
ratio is the screen size to what they will
|
||||
be resized. For example, 0.6 is 60% of the
|
||||
physical screen size.
|
||||
region Allocates a custom region, removing any
|
||||
autodetected regions which occupy the same
|
||||
space on the screen. Defined in the format
|
||||
screen[<idx>]:WIDTHxHEIGHT+X+Y, e.g.
|
||||
screen[1]:800x1200+0+0.
|
||||
term_width Set a preferred minimum width for the
|
||||
terminal If this value is greater than 0,
|
||||
scrotwm will attempt to adjust the font
|
||||
sizes in the terminal to keep the terminal
|
||||
width above this number as the window is
|
||||
resized. Only <span class="PreProc">xterm(1)</span> is currently
|
||||
supported. The <span class="PreProc">xterm(1)</span> binary must not be
|
||||
setuid or setgid, which it is by default on
|
||||
most systems. Users may need to set
|
||||
program[term] (see the PROGRAMS section) to
|
||||
use an alternate copy of the <span class="PreProc">xterm(1)</span>
|
||||
binary without the setgid bit set.
|
||||
title_class_enabled Enable or disable displaying the window
|
||||
class in the status bar. Enable by setting
|
||||
to 1
|
||||
title_name_enabled Enable or disable displaying the window
|
||||
title in the status bar. Enable by setting
|
||||
to 1
|
||||
modkey Change mod key. Mod1 is generally the ALT
|
||||
key and Mod4 is the windows key on a PC.
|
||||
focus_mode Using a value of follow_cursor will make
|
||||
the window manager focus the window under
|
||||
the mouse when switching workspaces and
|
||||
creating windows.
|
||||
disable_border Remove border when bar is disabled and
|
||||
there is only one window on the screen.
|
||||
program[p] Define new action to spawn a program p.
|
||||
See the PROGRAMS section below.
|
||||
bind[x] Bind key combo to action x. See the
|
||||
BINDINGS section below.
|
||||
quirk[c:n] Add "quirk" for windows with class c and
|
||||
name n. See the QUIRKS section below.
|
||||
|
||||
Colors need to be specified per the <span class="PreProc">XQueryColor(3)</span> specification and
|
||||
fonts need to be specified per the <span class="PreProc">XQueryFont(3)</span> specification.
|
||||
|
||||
To list the available fonts in your system see <span class="PreProc">fc-list(1)</span> or <span class="PreProc">xlsfonts(1)</span>
|
||||
manpages. The <span class="PreProc">xfontsel(1)</span> application can help you to show the X Logical
|
||||
Font Description ("XLFD") used as setting in the keyword bar_font.
|
||||
|
||||
<span class="Statement">PROGRAMS</span>
|
||||
scrotwm allows you to define custom actions to launch programs of your
|
||||
choice and then bind them the same as with built-in actions. See the
|
||||
BINDINGS section below.
|
||||
|
||||
The default programs are described below:
|
||||
|
||||
term xterm
|
||||
screenshot_all screenshot.sh full
|
||||
screenshot_wind screenshot.sh window
|
||||
lock xlock
|
||||
initscr initscreen.sh
|
||||
menu dmenu_run -fn $bar_font -nb $bar_color -nf
|
||||
$bar_font_color -sb $bar_border -sf $bar_color
|
||||
|
||||
Custom programs in the configuration file are specified as follows:
|
||||
|
||||
program[<name>] = <progpath> [<arg> [... <arg>]]
|
||||
|
||||
<name> is any identifier that does not conflict with a built-in action or
|
||||
keyword, <progpath> is the desired program, and <arg> is zero or more
|
||||
arguments to the program.
|
||||
|
||||
The following variables represent settable values in scrotwm (see the
|
||||
CONFIGURATION FILES section above), and may be used in the <arg> fields
|
||||
and will be substituted for values at the time the program is spawned:
|
||||
|
||||
$bar_border
|
||||
$bar_color
|
||||
$bar_font
|
||||
$bar_font_color
|
||||
$color_focus
|
||||
$color_unfocus
|
||||
|
||||
Example:
|
||||
|
||||
program[ff] = /usr/local/bin/firefox <a href="http://scrotwm.org/">http://scrotwm.org/</a>
|
||||
bind[ff] = Mod+f # Now Mod+F launched firefox
|
||||
|
||||
To undo the previous:
|
||||
|
||||
bind[] = Mod+f
|
||||
program[ff] =
|
||||
|
||||
<span class="Statement">BINDINGS</span>
|
||||
scrotwm provides many functions (or actions) accessed via key or mouse
|
||||
bindings.
|
||||
|
||||
The current mouse bindings are described below:
|
||||
|
||||
M1 Focus window
|
||||
M-M1 Move window
|
||||
M-M3 Resize window
|
||||
M-S-M3 Resize window while maintaining it centered
|
||||
|
||||
The default key bindings are described below:
|
||||
|
||||
M-S-<Return> term
|
||||
M-p menu
|
||||
M-S-q quit
|
||||
M-q restart scrotwm
|
||||
M-<Space> cycle_layout
|
||||
M-S-<Space> reset_layout
|
||||
M-h master_shrink
|
||||
M-l master_grow
|
||||
M-, master_add
|
||||
M-. master_del
|
||||
M-S-, stack_inc
|
||||
M-S-. stack_del
|
||||
M-<Return> swap_main
|
||||
M-j, M-<TAB> focus_next
|
||||
M-k, M-S-<TAB> focus_prev
|
||||
M-m focus_main
|
||||
M-S-j swap_next
|
||||
M-S-k swap_prev
|
||||
M-b bar_toggle
|
||||
M-x wind_del
|
||||
M-S-x wind_kill
|
||||
M-<n> ws_n
|
||||
M-S-<n> mvws_n
|
||||
M-<Right> ws_next
|
||||
M-<Left> ws_prev
|
||||
M-a ws_prior
|
||||
M-S-<Right> screen_next
|
||||
M-S-<Left> screen_prev
|
||||
M-s screenshot_all
|
||||
M-S-s screenshot_wind
|
||||
M-S-v version
|
||||
M-t float_toggle
|
||||
M-S <Delete> lock
|
||||
M-S-i initscr
|
||||
|
||||
The action names and descriptions are listed below:
|
||||
|
||||
term Spawn a new terminal (see PROGRAMS above)
|
||||
menu Menu (see PROGRAMS above)
|
||||
quit Quit scrotwm
|
||||
restart Restart scrotwm
|
||||
cycle_layout Cycle layout
|
||||
reset_layout Reset layout
|
||||
master_shrink Shrink master area
|
||||
master_grow Grow master area
|
||||
master_add Add windows to master area
|
||||
master_del Remove windows from master area
|
||||
stack_inc Add columns/rows to stacking area
|
||||
stack_del Remove columns/rows from stacking area
|
||||
swap_main Move current window to master area
|
||||
focus_next Focus next window in workspace
|
||||
focus_prev Focus previous window in workspace
|
||||
focus_main Focus on main window in workspace
|
||||
swap_next Swap with next window in workspace
|
||||
swap_prev Swap with previous window in workspace
|
||||
bar_toggle Toggle status bar in all workspaces
|
||||
wind_del Delete current window in workspace
|
||||
wind_kill Destroy current window in workspace
|
||||
ws_n Switch to workspace n, where n is 1 through 10
|
||||
mvws_n Move current window to workspace n, where n is 1
|
||||
through 10
|
||||
ws_next Switch to next workspace with a window in it
|
||||
ws_prev Switch to previous workspace with a window in it
|
||||
ws_prior Switch to last visited workspace
|
||||
screen_next Move pointer to next region
|
||||
screen_prev Move pointer to previous region
|
||||
screenshot_all Take screenshot of entire screen (if enabled) (see
|
||||
PROGRAMS above)
|
||||
screenshot_wind Take screenshot of selected window (if enabled)
|
||||
(see PROGRAMS above)
|
||||
version Toggle version in status bar
|
||||
float_toggle Toggle focused window between tiled and floating
|
||||
lock Lock screen (see PROGRAMS above)
|
||||
initscr Reinitialize physical screens (see PROGRAMS above)
|
||||
|
||||
Custom bindings in the configuration file are specified as follows:
|
||||
|
||||
bind[<action>] = <keys>
|
||||
|
||||
<action> is one of the actions listed above (or empty) and <keys> is in
|
||||
the form of zero or more modifier keys (MOD, Mod1, Shift, etc.) and one
|
||||
or more normal keys (b, space, etc.), separated by "+". For example:
|
||||
|
||||
bind[reset] = Mod4+q # bind Windows-key + q to reset
|
||||
bind[] = Mod1+q # unbind Alt + q
|
||||
|
||||
Multiple key combinations may be bound to the same action.
|
||||
|
||||
<span class="Statement">QUIRKS</span>
|
||||
scrotwm provides "quirks" which handle windows that must be treated
|
||||
specially in a tiling window manager, such as some dialogs and fullscreen
|
||||
apps.
|
||||
|
||||
The default quirks are described below:
|
||||
|
||||
Firefox-bin:firefox-bin TRANSSZ
|
||||
Firefox:Dialog FLOAT
|
||||
Gimp:gimp FLOAT + ANYWHERE
|
||||
MPlayer:xv FLOAT + FULLSCREEN
|
||||
OpenOffice.org 2.4:VCLSalFrame FLOAT
|
||||
OpenOffice.org 3.1:VCLSalFrame FLOAT
|
||||
pcb:pcb FLOAT
|
||||
xine:Xine Window FLOAT + ANYWHERE
|
||||
xine:xine Panel FLOAT + ANYWHERE
|
||||
xine:xine Video Fullscreen Window FULLSCREEN + FLOAT
|
||||
Xitk:Xitk Combo FLOAT + ANYWHERE
|
||||
Xitk:Xine Window FLOAT + ANYWHERE
|
||||
XTerm:xterm XTERM_FONTADJ
|
||||
|
||||
The quirks themselves are described below:
|
||||
|
||||
FLOAT This window should not be tiled, but allowed
|
||||
to float freely.
|
||||
TRANSSZ Adjusts size on transient windows that are
|
||||
too small using dialog_ratio (see
|
||||
CONFIGURATION FILES).
|
||||
ANYWHERE Allow window to position itself, uncentered.
|
||||
XTERM_FONTADJ Adjust xterm fonts when resizing.
|
||||
FULLSCREEN Remove border to allow window to use full
|
||||
screen size.
|
||||
|
||||
Custom quirks in the configuration file are specified as follows:
|
||||
|
||||
quirk[<class>:<name>] = <quirk> [+ <quirk> ...]
|
||||
|
||||
<class> and <name> specify the window to which the quirk(s) apply, and
|
||||
<quirk> is one of the quirks from the list above. For example:
|
||||
|
||||
quirk[MPlayer:xv] = FLOAT + FULLSCREEN # let mplayer play
|
||||
quirk[pcb:pcb] = NONE # remove existing quirk
|
||||
|
||||
You can obtain <class> and <name> by running <span class="PreProc">xprop(1)</span> and then clicking
|
||||
on the desired window. In the following example the main window of
|
||||
Firefox was clicked:
|
||||
|
||||
$ xprop | grep WM_CLASS
|
||||
WM_CLASS(STRING) = "Navigator", "Firefox"
|
||||
|
||||
Note that grepping for WM_CLASS flips class and name. In the example
|
||||
above the quirk entry would be:
|
||||
|
||||
quirk[Firefox:Navigator] = FLOAT
|
||||
|
||||
<span class="Statement">SIGNALS</span>
|
||||
Sending scrotwm a HUP signal will retstart it.
|
||||
|
||||
<span class="Statement">FILES</span>
|
||||
~/.scrotwm.conf scrotwm user specific settings.
|
||||
/etc/scrotwm.conf scrotwm global settings.
|
||||
|
||||
<span class="Statement">HISTORY</span>
|
||||
scrotwm was inspired by xmonad & dwm.
|
||||
|
||||
<span class="Statement">AUTHORS</span>
|
||||
|
||||
scrotwm was written by Marco Peereboom <marco@peereboom.us>, Ryan Thomas
|
||||
McBride <mcbride@countersiege.com> and Darrin Chandler
|
||||
<dwchandler@stilyagin.com>.
|
||||
|
||||
<span class="Statement">BUGS</span>
|
||||
Currently the menu, invoked with M-p, depends on dmenu.
|
||||
|
||||
OpenBSD 4.8 July 15, 2010 OpenBSD 4.8
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
384
html/man_pt.html
Normal file
384
html/man_pt.html
Normal file
|
@ -0,0 +1,384 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
<title>~/scrotwm_pt.1.html</title>
|
||||
<meta name="Generator" content="Vim/7.3">
|
||||
<meta name="plugin-version" content="vim7.3_v6">
|
||||
<meta name="syntax" content="man">
|
||||
<meta name="settings" content="use_css">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
pre { font-family: monospace; background-color: #000000; color: #ffffff; }
|
||||
body { font-family: monospace; background-color: #000000; color: #ffffff; }
|
||||
.PreProc { color: #ff40ff; }
|
||||
.Statement { color: #ffff00; }
|
||||
.Title { color: #ff40ff; }
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<pre>
|
||||
<span class="Title">SCROTWM(1) OpenBSD Reference Manual SCROTWM(1)</span>
|
||||
|
||||
<span class="Statement">NOME</span>
|
||||
scrotwm - gerenciador de janela para o X11
|
||||
|
||||
<span class="Statement">SINOPSE</span>
|
||||
scrotwm
|
||||
|
||||
<span class="Statement">DESCRICAO</span>
|
||||
scrotwm e um gerenciador de janela minimalista que tenta nao atrapalhar a
|
||||
valorosa forma real da tela para que essa possa ser usada para coisas
|
||||
muito mais importantes. Tem sensatos defaults e nao requer que alguem
|
||||
aprenda uma linguagem de programacao para fazer qualquer configuracao.
|
||||
Ele foi escrito por hackers para hackers e esforca-se em ser pequeno,
|
||||
compacto e rapido.
|
||||
|
||||
Quando o scrotwm inicia, ele le as configuracoes do seu arquivo de
|
||||
configuracao, scrotwm.conf. Veja a secao ARQUIVOS DE CONFIGURACAO logo
|
||||
abaixo.
|
||||
|
||||
A seguinte notacao e usada por toda essa pagina:
|
||||
|
||||
M Meta
|
||||
S Shift
|
||||
<Name> Nome da tecla
|
||||
M1 Botao 1 do mouse
|
||||
M3 Botao 3 do mouse
|
||||
|
||||
scrotwm e muito simples de usar. Muitas das acoes sao iniciadas por
|
||||
atalhos do mouse ou do teclado. Veja a secao ATALHOS logo abaixo para os
|
||||
defaults e as personalizacoes.
|
||||
|
||||
<span class="Statement">ARQUIVOS DE CONFIGURACAO</span>
|
||||
scrotwm primeiro tenta abrir o arquivo de configuracao no diretorio do
|
||||
usuario, ~/.scrotwm.conf. Se o arquivo nao estiver disponivel, entao
|
||||
tenta abrir o arquivo de configuracao global /etc/scrotwm.conf.
|
||||
|
||||
Assim e o formato do arquivo:<palavra-chave> = <configuracao>. Por
|
||||
exemplo:
|
||||
|
||||
color_focus = red
|
||||
|
||||
Para habilitar ou desabilitar uma opcao usa-se o 1 ou 0, respectivamente.
|
||||
|
||||
O arquivo suporta as seguintes palavras-chave:
|
||||
|
||||
color_focus Cor da borda da janela atualmente focada.
|
||||
color_unfocus Cor da borda das janelas fora de foco.
|
||||
bar_enabled Habilita ou desabilita a barra de status.
|
||||
bar_border[x] Cor da borda da barra de status na tela x.
|
||||
bar_color[x] Cor da janela da barra de status na tela x.
|
||||
bar_font_color[x] Cor da fonte na barra de status na tela x.
|
||||
bar_font Fonte da barra de status.
|
||||
bar_action Script externo que preenche a barra de
|
||||
status com informacoes adicionais, como
|
||||
tempo de vida da bateria.
|
||||
bar_delay Frequencia da atualizacao, em segundos, do
|
||||
script externo que preenche a barra de
|
||||
status.
|
||||
bar_at_bottom Coloca a barra de status na parte inferior
|
||||
de cada regiao, ao inves da parte superior.
|
||||
stack_enabled Habilita ou desabilita mostrar o atual
|
||||
algoritmo de empilhamento na barra de
|
||||
status.
|
||||
clock_enabled Habilita ou desabilita mostrar o relogio na
|
||||
barra de status. Desabilite configurando
|
||||
para 0, entao um relogio personalizado pode
|
||||
ser usado no script bar_action.
|
||||
dialog_ratio Algumas aplicacoes tem janelas de dialogo
|
||||
que sao muito pequenas para serem uteis.
|
||||
Essa taxa e o tamanho da tela para o qual
|
||||
elas serao redimencionadas. Por exemplo,
|
||||
0.6 equivale a 60% do tamanho da tela
|
||||
fisica.
|
||||
region Aloca uma regiao personalizada, removendo
|
||||
qualquer regiao automaticamente detectada
|
||||
que ocupe o mesmo espaco na tela. Definido
|
||||
no formato screen[<idx>]:WIDTHxHEIGHT+X+Y,
|
||||
e.g. screen[1]:800x1200+0+0.
|
||||
term_width Configura a largura minima preferida para o
|
||||
terminal Se esse valor for maior do que 0,
|
||||
scrotwm vai tentar ajustar os tamanhos da
|
||||
fonte no terminal para manter a largura do
|
||||
terminal acima desse numero enquanto a
|
||||
janela e redimencionada. Apenas o <span class="PreProc">xterm(1)</span>
|
||||
e suportado atualmente. O binario do
|
||||
<span class="PreProc">xterm(1)</span> nao deve ser setuid ou setgid, que
|
||||
e o default em muitos sistemas. Os
|
||||
usuarios podem precisar de configurar
|
||||
program[term] (veja a secao PROGRAMAS )
|
||||
para usar uma copia alternativa do binario
|
||||
do <span class="PreProc">xterm(1)</span> sem o bit setgid ativado.
|
||||
title_class_enabled Habilita ou desabilita mostrar a classe da
|
||||
janela na barra de status. Habilite
|
||||
configurando para 1.
|
||||
title_name_enabled Habilita ou desabilita mostrar o titulo da
|
||||
janela na barra de status. Habilite
|
||||
configurando para 1.
|
||||
modkey Muda a tecla de modificacao. Mod1 e
|
||||
geralmente a tecla ALT e Mod4 e a tecla
|
||||
windows em um PC.
|
||||
focus_mode Usar um valor de follow_cursor vai fazer o
|
||||
gerenciador de janela focar a janela sob o
|
||||
mouse quando trocando areas de trabalho e
|
||||
criando janelas.
|
||||
disable_border Remove a borda quando a barra estiver
|
||||
desabilitada e houver apenas uma janela na
|
||||
tela.
|
||||
program[p] Define uma nova acao para executar um
|
||||
programa p. Veja a secao PROGRAMAS logo
|
||||
abaixo.
|
||||
bind[x] Cria uma combinacao de teclas de atalho
|
||||
para a acao x. Veja a secao ATALHOS logo
|
||||
abaixo.
|
||||
quirk[c:n] Adicione "quirk" para janelas com classe c
|
||||
e nome n. Veja a secao QUIRKS logo abaixo.
|
||||
|
||||
Cores precisam ser especificadas pela especificacao <span class="PreProc">XQueryColor(3)</span> e
|
||||
fontes pela especificacao <span class="PreProc">XQueryFont(3)</span>.
|
||||
|
||||
Para listar as fontes disponiveis em seu sistema veja o manual do
|
||||
<span class="PreProc">fc-list(1)</span> ou do <span class="PreProc">xlsfonts(1)</span>. A aplicacao <span class="PreProc">xfontsel(1)</span> pode te ajudar a
|
||||
mostrar a X Logical Font Description ("XLFD") usada na configuracao da
|
||||
palavra-chave bar_font.
|
||||
|
||||
<span class="Statement">PROGRAMAS</span>
|
||||
scrotwm te permite definir acoes personalizadas para executar programas
|
||||
de sua escolha e entao criar um atalho para elas da mesma forma que as
|
||||
acoes embutidas. Veja a secao ATALHOS logo abaixo.
|
||||
|
||||
Os programas default sao descritos abaixo:
|
||||
|
||||
term xterm
|
||||
screenshot_all screenshot.sh full
|
||||
screenshot_wind screenshot.sh window
|
||||
lock xlock
|
||||
initscr initscreen.sh
|
||||
menu dmenu_run -fn $bar_font -nb $bar_color -nf
|
||||
$bar_font_color -sb $bar_border -sf $bar_color
|
||||
|
||||
Programas personalizados no arquivo de configuracao sao especificados da
|
||||
seguinte maneira:
|
||||
|
||||
program[<name>] = <progpath> [<arg> [... <arg>]]
|
||||
|
||||
<name> e um identificador qualquer que nao conflite com uma acao ou
|
||||
palavra-chave embutida, <progpath> e o programa desejado, e <arg> e zero
|
||||
ou mais argumentos para o programa.
|
||||
|
||||
As seguintes variaveis representam valores configuraveis no scrotwm (veja
|
||||
a secao ARQUIVOS DE CONFIGURACAO logo acima), e podem ser usadas nos
|
||||
campos <arg> e serao substituidas pelos valores na hora em que o programa
|
||||
for executado:
|
||||
|
||||
$bar_border
|
||||
$bar_color
|
||||
$bar_font
|
||||
$bar_font_color
|
||||
$color_focus
|
||||
$color_unfocus
|
||||
|
||||
Exemplo:
|
||||
|
||||
program[ff] = /usr/local/bin/firefox <a href="http://scrotwm.org/">http://scrotwm.org/</a>
|
||||
bind[ff] = Mod+f # Agora Mod+F executa o firefox
|
||||
|
||||
Para desfazer a configuracao anterior:
|
||||
|
||||
bind[] = Mod+f
|
||||
program[ff] =
|
||||
|
||||
<span class="Statement">ATALHOS</span>
|
||||
scrotwm prove muitas funcoes (ou aces) acessadas pelos atalhos do teclado
|
||||
ou do mouse.
|
||||
|
||||
Os atuais atalhos do mouse sao descritos abaixo:
|
||||
|
||||
M1 Foca a janela
|
||||
M-M1 Move a janela
|
||||
M-M3 Redimenciona a janela
|
||||
M-S-M3 Redimenciona a janela enquanto a mantem
|
||||
centralizada
|
||||
|
||||
Os atalhos default do teclado sao descritos abaixo:
|
||||
|
||||
M-S-<Return> term
|
||||
M-p menu
|
||||
M-S-q quit
|
||||
M-q restart scrotwm
|
||||
M-<Space> cycle_layout
|
||||
M-S-<Space> reset_layout
|
||||
M-h master_shrink
|
||||
M-l master_grow
|
||||
M-, master_add
|
||||
M-. master_del
|
||||
M-S-, stack_inc
|
||||
M-S-. stack_del
|
||||
M-<Return> swap_main
|
||||
M-j, M-<TAB> focus_next
|
||||
M-k, M-S-<TAB> focus_prev
|
||||
M-m focus_main
|
||||
M-S-j swap_next
|
||||
M-S-k swap_prev
|
||||
M-b bar_toggle
|
||||
M-x wind_del
|
||||
M-S-x wind_kill
|
||||
M-<n> ws_n
|
||||
M-S-<n> mvws_n
|
||||
M-<Right> ws_next
|
||||
M-<Left> ws_prev
|
||||
M-a ws_prior
|
||||
M-S-<Right> screen_next
|
||||
M-S-<Left> screen_prev
|
||||
M-s screenshot_all
|
||||
M-S-s screenshot_wind
|
||||
M-S-v version
|
||||
M-t float_toggle
|
||||
M-S <Delete> lock
|
||||
M-S-i initscr
|
||||
|
||||
Os nomes das acoes e suas descrices estao listados abaixo:
|
||||
|
||||
term Executa um novo terminal (veja a secao PROGRAMAS
|
||||
logo acima)
|
||||
menu Menu (veja a secao PROGRAMAS logo acima)
|
||||
quit Sair scrotwm
|
||||
restart Reiniciar scrotwm
|
||||
cycle_layout Circula entre os possiveis layouts
|
||||
reset_layout Reinicia o layout
|
||||
master_shrink Encolhe a area mestre
|
||||
master_grow Aumenta a area mestre
|
||||
master_add Adiciona janelas na area mestre
|
||||
master_del Remove janelas da area mestre
|
||||
stack_inc Adiciona colunas/linhas para a area de
|
||||
empilhamento
|
||||
stack_del Remove colunas/linhas da area de empilhamento
|
||||
swap_main Move a janela atual para a area mestre
|
||||
focus_next Foca a proxima janela da area de trabalho
|
||||
focus_prev Foca a janela anterior da area de trabalho
|
||||
focus_main Foca a janela principal da area de trabalho
|
||||
swap_next Troca com a proxima janela da area de trabalho
|
||||
swap_prev Troca com a janela anterior da area de trabalho
|
||||
bar_toggle Ativa/desativa a barra de status em todas as areas
|
||||
de trabalho
|
||||
wind_del Apaga a janela atual da area de trabalho
|
||||
wind_kill Destroi a janela atual da area de trabalho
|
||||
ws_n Troca para a area de trabalho n, onde n vai de 1
|
||||
ate 10
|
||||
mvws_n Move a janela atual para a area de trabalho n,
|
||||
onde n vai de 1 ate 10
|
||||
ws_next Troca para a proxima area de trabalho que possua
|
||||
uma janela
|
||||
ws_prev Troca para a area de trabalho anterior que possua
|
||||
uma janela
|
||||
ws_prior Troca para a ultima area de trabalho visitada
|
||||
screen_next Move o ponteiro para a proxima regiao
|
||||
screen_prev Move o ponteiro para a regiao anterior
|
||||
screenshot_all Tira screenshot da tela inteira (se habilitado)
|
||||
(veja a secao PROGRAMAS logo acima)
|
||||
screenshot_wind Tira screenshot da janela selecionada (se
|
||||
habilitado) (veja a secao PROGRAMAS logo acima)
|
||||
version Ativa/desativa a versao na barras de status
|
||||
float_toggle Troca o estado da janela focada entre flutuante e
|
||||
tiled
|
||||
lock Trava a tela (veja a secao PROGRAMAS logo acima)
|
||||
initscr Reinicializa as telas fisicas (veja a secao
|
||||
PROGRAMAS logo acima)
|
||||
|
||||
Atalhos personalizados no arquivo de configuracao sao especificados da
|
||||
seguinte maneira:
|
||||
|
||||
bind[<action>] = <keys>
|
||||
|
||||
<action> e uma das acoes listadas acima (ou vazio) e <keys> esta na forma
|
||||
de zero ou mais teclas de modificacao (MOD, Mod1, Shift, etc.) e uma ou
|
||||
mais teclas normais (b, space, etc.), separadas pelo "+". Por exemplo:
|
||||
|
||||
bind[reset] = Mod4+q # combina a tecla Windows + q para reiniciar
|
||||
bind[] = Mod1+q # desfaz a combinacao Alt + q
|
||||
|
||||
Multiplas combinacoes de teclas podem ser usadas para a mesma acao.
|
||||
|
||||
<span class="Statement">QUIRKS</span>
|
||||
scrotwm prove "quirks" que manipulam janelas que devem ser tratadas
|
||||
especialmente em um gerenciador de janela "tiling", tal como algumas
|
||||
aplicacoes de dialogos e tela cheia.
|
||||
|
||||
Os quirks default estao descritos abaixo:
|
||||
|
||||
Firefox-bin:firefox-bin TRANSSZ
|
||||
Firefox:Dialog FLOAT
|
||||
Gimp:gimp FLOAT + ANYWHERE
|
||||
MPlayer:xv FLOAT + FULLSCREEN
|
||||
OpenOffice.org 2.4:VCLSalFrame FLOAT
|
||||
OpenOffice.org 3.1:VCLSalFrame FLOAT
|
||||
pcb:pcb FLOAT
|
||||
xine:Xine Window FLOAT + ANYWHERE
|
||||
xine:xine Panel FLOAT + ANYWHERE
|
||||
xine:xine Video Fullscreen Window FULLSCREEN + FLOAT
|
||||
Xitk:Xitk Combo FLOAT + ANYWHERE
|
||||
Xitk:Xine Window FLOAT + ANYWHERE
|
||||
XTerm:xterm XTERM_FONTADJ
|
||||
|
||||
Os quirks em si estao descritos abaixo:
|
||||
|
||||
FLOAT Esta janela nao deve ser "tiled", mas
|
||||
permitida a flutuar livremente.
|
||||
TRANSSZ Ajusta o tamanho das janelas transitorias
|
||||
que sejam muito pequenas usando dialog_ratio
|
||||
(veja a secao ARQUIVOS DE CONFIGURACAO).
|
||||
ANYWHERE Permite que a janela posicione a si mesma,
|
||||
nao-centrada.
|
||||
XTERM_FONTADJ Ajusta as fontes do xterm quando
|
||||
redimencionando.
|
||||
FULLSCREEN Remove a borda para permitir a janela usar
|
||||
todo o tamanho da tela.
|
||||
|
||||
Quirks personalizados no arquivo de configuracao sao especificados da
|
||||
seguinte maneira:
|
||||
|
||||
quirk[<class>:<name>] = <quirk> [+ <quirk> ...]
|
||||
|
||||
<class> e <name> especificam a janela ao qual o quirk se aplica, e
|
||||
<quirk> e um dos quirks da lista acima. Por exemplo:
|
||||
|
||||
quirk[MPlayer:xv] = FLOAT + FULLSCREEN # faz o mplayer tocar livremente
|
||||
quirk[pcb:pcb] = NONE # remove quirk existente
|
||||
|
||||
Voce pode obter <class> e <name> executando o <span class="PreProc">xprop(1)</span> e entao clicando
|
||||
na janela desejada. No seguinte exemplo a jenela principal do Firefox
|
||||
foi clicada:
|
||||
|
||||
$ xprop | grep WM_CLASS
|
||||
WM_CLASS(STRING) = "Navigator", "Firefox"
|
||||
|
||||
Note que usando o <span class="PreProc">grep(1)</span> para WM_CLASS voce obtem class e name. No
|
||||
exemplo acima a configuracao do quirk poderia ser:
|
||||
|
||||
quirk[Firefox:Navigator] = FLOAT
|
||||
|
||||
<span class="Statement">SINAIS</span>
|
||||
Enviar ao scrotwm um sinal HUP fara com que o mesmo seja reiniciado.
|
||||
|
||||
<span class="Statement">ARQUIVOS</span>
|
||||
~/.scrotwm.conf Configuracoes especificas do usuario.
|
||||
/etc/scrotwm.conf Configuracoes globais.
|
||||
|
||||
<span class="Statement">HISTORIA</span>
|
||||
scrotwm foi inspirado pelo xmonad & dwm.
|
||||
|
||||
<span class="Statement">AUTORES</span>
|
||||
|
||||
scrotwm foi escrito por Marco Peereboom <marco@peereboom.us>, Ryan Thomas
|
||||
McBride <mcbride@countersiege.com> e Darrin Chandler
|
||||
<dwchandler@stilyagin.com>.
|
||||
|
||||
<span class="Statement">BUGS</span>
|
||||
Atualmente o menu, invocado com M-p, depende do dmenu.
|
||||
|
||||
OpenBSD 4.8 July 15, 2010 OpenBSD 4.8
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -7,6 +7,10 @@
|
|||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
Using scrotwm on OSX<p>
|
||||
<small>
|
||||
<a href="osx_pt.html">Em Português</a>
|
||||
<p>
|
||||
</small>
|
||||
<body bgcolor="#101010" text="#ffffff">
|
||||
A port to OSX was created to make OSX useful for UNIX people.
|
||||
Following are the compilation and installation steps.
|
||||
|
|
63
html/osx_pt.html
Normal file
63
html/osx_pt.html
Normal file
|
@ -0,0 +1,63 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Scrotwm</title>
|
||||
<meta name="Generator" content="Vim/7.1">
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
Usando o scrotwm no OSX<p>
|
||||
<small>
|
||||
<a href="osx.html">In English</a>
|
||||
<p>
|
||||
</small>
|
||||
<body bgcolor="#101010" text="#ffffff">
|
||||
Um port para OSX foi criado para fazer o OSX útil
|
||||
para o pessoal do UNIX.
|
||||
A seguir estão os passos para a compilação e a instalação.
|
||||
<p>
|
||||
Compile o scrotwm do diretório osx do snapshot:
|
||||
<pre>
|
||||
cd osx
|
||||
make
|
||||
</pre>
|
||||
<p>
|
||||
Para compilar o scrotwm no OSX 10.5 edite o Makefile e troque:
|
||||
<pre>
|
||||
libswmhack.so.$(LVERS): swm_hack.so
|
||||
$(CC) -shared -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
|
||||
</pre>
|
||||
Para:
|
||||
<pre>
|
||||
libswmhack.so.$(LVERS): swm_hack.so
|
||||
$(CC) -shared -bundle -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
|
||||
</pre>
|
||||
<p>
|
||||
Instale o scrotwm:
|
||||
<pre>sudo make install</pre>
|
||||
<br>
|
||||
Baixe o
|
||||
<a href="http://tools.suckless.org/dmenu/">dmenu</a>
|
||||
e compile:
|
||||
<pre>make</pre>
|
||||
Instale o dmenu:
|
||||
<pre>sudo make install</pre>
|
||||
Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha:
|
||||
<pre>
|
||||
exec scrotwm
|
||||
</pre>
|
||||
Ajuste as preferências do X11 do OSX para as seguintes:
|
||||
<center>
|
||||
<img border=0 src="osx1.png" alt="[osx1]"><br>
|
||||
<img border=0 src="osx2.png" alt="[osx2]"><br>
|
||||
<img border=0 src="osx3.png" alt="[osx3]"><br>
|
||||
<img border=0 src="osx4.png" alt="[osx4]"><br>
|
||||
<img border=0 src="osx5.png" alt="[osx5]"><br>
|
||||
Tudo isso resulta no êxtase do scrotwm!<br>
|
||||
<a href="osx.jpg"><img border=0 src="osx_small.jpg" alt="[scrotwm]"></a><br>
|
||||
</center>
|
||||
<p>
|
||||
<small>
|
||||
$scrotwm$
|
||||
</small>
|
||||
</body>
|
|
@ -10,6 +10,7 @@ Welcome to Scrotwm's website.<p>
|
|||
<small>
|
||||
<a href="scrotwm_es.html">En Español</a>
|
||||
<a href="scrotwm_it.html">In Italiano</a>
|
||||
<a href="scrotwm_pt.html">Em portugês</a>
|
||||
<a href="scrotwm_ru.html">In Russian</a>
|
||||
<p>
|
||||
</small>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<small>
|
||||
<a href="scrotwm.html">In English</a>
|
||||
<a href="scrotwm_it.html">In Italiano</a>
|
||||
<a href="scrotwm_pt.html">Em Português</a>
|
||||
<a href="scrotwm_ru.html">In Russian</a>
|
||||
<p>
|
||||
</small>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<small>
|
||||
<a href="scrotwm.html">In English</a>
|
||||
<a href="scrotwm_es.html">En Español</a>
|
||||
<a href="scrotwm_pt.html">Em Português</a>
|
||||
<a href="scrotwm_ru.html">In Russian</a>
|
||||
<p>
|
||||
</small>
|
||||
|
|
133
html/scrotwm_pt.html
Normal file
133
html/scrotwm_pt.html
Normal file
|
@ -0,0 +1,133 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Scrotwm</title>
|
||||
<meta name="Generator" content="Vim/7.1">
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
Bem-vindo ao website do Scrotwm.<p>
|
||||
<small>
|
||||
<a href="scrotwm.html">In English</a>
|
||||
<a href="scrotwm_es.html">En Español</a>
|
||||
<a href="scrotwm_it.html">In Italiano</a>
|
||||
<a href="scrotwm_ru.html">In Russian</a>
|
||||
<p>
|
||||
</small>
|
||||
Scrotwm é um pequeno, dinâmico e
|
||||
<a href="http://en.wikipedia.org/wiki/Tiling_window_manager">tiling</a>
|
||||
gerenciador de janela para o X11.
|
||||
Ele tenta não atrapalhar a valorosa forma real da tela para que essa possa
|
||||
ser usada para coisas muito mais importantes.
|
||||
Tem sensatos defaults e não requer que alguém aprenda uma linguagem de
|
||||
programação para fazer qualquer configuração.
|
||||
Ele foi escrito por hackers para hackers e esforça-se em ser pequeno, compacto e
|
||||
rápido.
|
||||
<p>
|
||||
Foi largamente inspirado pelo
|
||||
<a href="http://xmonad.org/">xmonad</a>
|
||||
e
|
||||
<a href="http://www.suckless.org/dwm/">dwm</a>.
|
||||
Ambos são bons produtos mas sofrem de coisas como:
|
||||
síndrome-da-louca-linguagem-não-portável, defaults bobos, assimétrico
|
||||
layout de janela, "quão difícil isso pode ser?" e o bom e velho
|
||||
<a href=http://en.wikipedia.org/wiki/Not_Invented_Here>NIH</a>.
|
||||
Contudo, o dwm foi um recurso fenomenal e muitas boas idéias e código
|
||||
foram emprestados dele.
|
||||
Por sua vez, o xmonad tem grandes defaults, teclas de atalho e suporte ao
|
||||
xinerama mas é aleijado por não ter sido escrito em C.
|
||||
<p>
|
||||
Scrotwm é uma pérola linda!
|
||||
Porque ele, também, foi criado por uma grande irritação.
|
||||
Não existe perda de tempo maior do que mover as janelas até que estejam
|
||||
no tamanho certo ou ter praticamente qualquer combinação de teclas
|
||||
relevantes sendo usadas por alguma tarefa que ninguém nunca precisa.
|
||||
O caminho da agonia é muito longo para citar e no clássico estilo
|
||||
<a href="http://www.openbsd.org">OpenBSD</a>
|
||||
(suporte, ou hackeie) um novo gerenciador de janelas surgiu para a nenhum
|
||||
outro propósito senão o de obedecer seus mestres.
|
||||
Foi escrito por Marco Peereboom, Ryan Thomas McBride & Darrin Chandler
|
||||
e está lançado sob a
|
||||
<a href="license.html">licença</a>
|
||||
ISC.
|
||||
Patches podem ser aceitos desde que também estejam licenciados sob a ISC.
|
||||
<p>
|
||||
A seguir estão alguns screenshots do scrotwm em ação.
|
||||
<center>
|
||||
<a href="scrotwm.jpg"><img border=0 src="scrotwm_small.jpg" alt="[scrotwm]"></a><br>
|
||||
Pilha vertical.
|
||||
<p>
|
||||
<a href="scrotwm2.jpg"><img border=0 src="scrotwm2_small.jpg" alt="[scrotwm2]"></a><br>
|
||||
Pilha horizontal.
|
||||
<p>
|
||||
<a href="scrotwm3.jpg"><img border=0 src="scrotwm3_small.jpg" alt="[scrotwm3]"></a><br>
|
||||
Pilha horizontal com gvim &Firefox.
|
||||
<p>
|
||||
<a href="scrotwm4.jpg"><img border=0 src="scrotwm4_small.jpg" alt="[scrotwm4]"></a><br>
|
||||
Pilha vertical com uma janela flutuando e uma janela extra na área mestre.
|
||||
<p>
|
||||
<a href="scrotwm5.jpg"><img border=0 src="scrotwm5_small.jpg" alt="[scrotwm5]"></a><br>
|
||||
Mplayer, redimensionado e movido.
|
||||
</center>
|
||||
<p>
|
||||
<body bgcolor="#101010" text="#ffffff"> <font face="monospace">
|
||||
Principais características:<br>
|
||||
- xrandr dinâmico & suporte ao xinerama (multi screen)<br>
|
||||
- Navegação em qualquer lugar em todas as telas tanto com teclado quanto com mouse<br>
|
||||
- Barra de status personalizável<br>
|
||||
- Arquivos de configuração legíveis por humanos<br>
|
||||
- Screenshots<br>
|
||||
- Reinicializável sem perder o estado<br>
|
||||
- Menu de inicialização rápida<br>
|
||||
- Muitos layouts de telas são possíveis com uma pequena combinação de teclas<br>
|
||||
- Janelas podem ser adicionadas ou removidas da área mestre<br>
|
||||
- Janelas podem ser movidas para qualquer área de trabalho ou dentro de uma região<br>
|
||||
- Área mestre redimencionável<br>
|
||||
- Mova/redimencione janelas flutuantes<br>
|
||||
- arraste-para-flutuar<br>
|
||||
- Regiões definíveis pelo usuário<br>
|
||||
- Teclas de atalho e de modificação definíveis pelo usuário<br>
|
||||
- "Quirk bindings" definíveis pelo usuário<br>
|
||||
- Teclas de atalho de aplicações definíveis pelo usuário<br>
|
||||
- Suporte a vários sistemas operacionais (*BSD, Linux, <a href="osx_pt.html">OSX</a>, <a href="cygwin_pt.html">Windows/cygwin</a>)
|
||||
<br>
|
||||
Por fazer:<br>
|
||||
- adicionar troca entre 2 janelas (como alt-tab)<br>
|
||||
- adicionar posições de janela persistente<br>
|
||||
- adicionar pesquisa para função de janela<br>
|
||||
- adicionar identificação para função de janela<br>
|
||||
- passar o scrotwm do Xlib para o <a href="http://xcb.freedesktop.org">XCB</a><br>
|
||||
- fazer as janelas flutuantes se lembrarem de sua posição quando a tela for
|
||||
redimencionada<br>
|
||||
- fazer um mecanismo de pilhas de janelas flutuantes<br>
|
||||
<br>
|
||||
Bugs conhecidos:<br>
|
||||
- Por enquanto nenhum.
|
||||
</font></body>
|
||||
<p>
|
||||
Por favor, leia o
|
||||
<a href="man_pt.html">manual</a>
|
||||
para uma explicação mais detalhada.
|
||||
<p>
|
||||
Você pode baixar o fonte via anoncvs em:<br>
|
||||
CVSROOT=anoncvs@anoncvs.freedaemon.com:/scrotwm<br>
|
||||
Alternativamente você pode baixar periódicos snapshots
|
||||
<a href="../snapshot">aqui</a>.<br>
|
||||
<p>
|
||||
Para assinar a lista de mudanças do CVS envie um e-mail para
|
||||
<a href="mailto:majordomo@freedaemon.com">majordomo@freedaemon.com</a>
|
||||
no corpo do e-mail escreva: subscribe scrotwm-changes.
|
||||
<p>
|
||||
Copyright (c) 2009-2010 Marco Peereboom <marco@peereboom.us>,
|
||||
Ryan Thomas McBride <mcbride@countersiege.com> &
|
||||
Darrin Chandler <dwchandler@stilyagin.com><br>
|
||||
<p>
|
||||
Espelhos:<br>
|
||||
<a href="http://www.scrotwm.org/">Site principal</a><br>
|
||||
<a href="http://www.scrotwm.com.ar/scrotwm.html">Espelho argentino</a><br>
|
||||
<a href="http://www.peereboom.us/scrotwm/html/scrotwm_old.html">Espelho americano</a><br>
|
||||
<p>
|
||||
<small>
|
||||
$scrotwm$
|
||||
</small>
|
||||
</html>
|
|
@ -39,6 +39,7 @@ install: all
|
|||
install -m 644 ../scrotwm.1 $(DESTDIR)$(MANDIR)/man1/scrotwm.1
|
||||
install -m 644 ../scrotwm_es.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_es.1
|
||||
install -m 644 ../scrotwm_it.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_it.1
|
||||
install -m 644 ../scrotwm_pt.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_pt.1
|
||||
install -m 644 ../scrotwm_ru.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_ru.1
|
||||
|
||||
clean:
|
||||
|
|
|
@ -41,6 +41,7 @@ install: all
|
|||
install -m 644 ../scrotwm.1 $(DESTDIR)$(MANDIR)/man1/scrotwm.1
|
||||
install -m 644 ../scrotwm_es.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_es.1
|
||||
install -m 644 ../scrotwm_it.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_it.1
|
||||
install -m 644 ../scrotwm_pt.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_pt.1
|
||||
install -m 644 ../scrotwm_ru.1 $(DESTDIR)$(MANDIR)/man1/scrotwm_ru.1
|
||||
|
||||
clean:
|
||||
|
|
|
@ -38,7 +38,7 @@ post-install:
|
|||
${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/examples/scrotwm
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/examples/scrotwm
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
|
||||
.for i in es it ru
|
||||
.for i in es it pt ru
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/man/$i/cat1
|
||||
mv ${PREFIX}/man/cat1/scrotwm_$i.0 ${PREFIX}/man/$i/cat1/scrotwm.0
|
||||
.endfor
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
PREFIX=scrotwm-
|
||||
DIRS="lib linux osx"
|
||||
FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_ru.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h lib/Makefile lib/shlib_version lib/swm_hack.c osx/Makefile osx/osx.h osx/osx.c"
|
||||
FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h lib/Makefile lib/shlib_version lib/swm_hack.c osx/Makefile osx/osx.h osx/osx.c"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "usage: release.sh <version>"
|
||||
|
|
10
scrotwm.1
10
scrotwm.1
|
@ -176,6 +176,16 @@ Colors need to be specified per the
|
|||
specification and fonts need to be specified per the
|
||||
.Xr XQueryFont 3
|
||||
specification.
|
||||
.Pp
|
||||
To list the available fonts in your system see
|
||||
.Xr fc-list 1
|
||||
or
|
||||
.Xr xlsfonts 1
|
||||
manpages.
|
||||
The
|
||||
.Xr xfontsel 1
|
||||
application can help you to show the X Logical Font Description ("XLFD") used
|
||||
as setting in the keyword bar_font.
|
||||
.Sh PROGRAMS
|
||||
.Nm
|
||||
allows you to define custom actions to launch programs of your choice and then
|
||||
|
|
583
scrotwm_pt.1
Normal file
583
scrotwm_pt.1
Normal file
|
@ -0,0 +1,583 @@
|
|||
.\" $scrotwm$
|
||||
.\"
|
||||
.\" Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
|
||||
.\" Copyright (c) 2009 Darrin Chandler <dwchandler@stilyagin.com>
|
||||
.\"
|
||||
.\" Permission to use, copy, modify, and distribute this software for any
|
||||
.\" purpose with or without fee is hereby granted, provided that the above
|
||||
.\" copyright notice and this permission notice appear in all copies.
|
||||
.\"
|
||||
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate$
|
||||
.Dt SCROTWM 1
|
||||
.Os
|
||||
.Sh NOME
|
||||
.Nm scrotwm
|
||||
.Nd gerenciador de janela para o X11
|
||||
.Sh SINOPSE
|
||||
.Nm scrotwm
|
||||
.Sh DESCRI\(,C\(~AO
|
||||
.Nm
|
||||
\('e um gerenciador de janela minimalista que tenta n\(~ao atrapalhar a
|
||||
valorosa forma real da tela para que essa possa
|
||||
ser usada para coisas muito mais importantes.
|
||||
Tem sensatos defaults e n\(~ao requer que algu\('em aprenda uma linguagem de
|
||||
programa\(,c\(~ao para fazer qualquer configura\(,c\(~ao.
|
||||
Ele foi escrito por hackers para hackers e esfor\(,ca-se em ser pequeno, compacto e
|
||||
r\('apido.
|
||||
.Pp
|
||||
Quando o
|
||||
.Nm
|
||||
inicia, ele l\(^e as configura\(,c\(~oes do seu arquivo de configura\(,c\(~ao,
|
||||
.Pa scrotwm.conf .
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx ARQUIVOS DE CONFIGURA\(,C\(~AO
|
||||
logo abaixo.
|
||||
.Pp
|
||||
A seguinte nota\(,c\(~ao \('e usada por toda essa p\('agina:
|
||||
.Pp
|
||||
.Bl -tag -width Ds -offset indent -compact
|
||||
.It Cm M
|
||||
Meta
|
||||
.It Cm S
|
||||
Shift
|
||||
.It Aq Cm Name
|
||||
Nome da tecla
|
||||
.It Cm M1
|
||||
Bot\(~ao 1 do mouse
|
||||
.It Cm M3
|
||||
Bot\(~ao 3 do mouse
|
||||
.El
|
||||
.Pp
|
||||
.Nm
|
||||
\('e muito simples de usar.
|
||||
Muitas das a\(,c\(~oes s\(~ao iniciadas por atalhos do mouse ou do teclado.
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx ATALHOS
|
||||
logo abaixo para os defaults e as personaliza\(,c\(~oes.
|
||||
.Sh ARQUIVOS DE CONFIGURA\(,C\(~AO
|
||||
.Nm
|
||||
primeiro tenta abrir o arquivo de configura\(,c\(~ao no diret\('orio do usu\('ario,
|
||||
.Pa ~/.scrotwm.conf .
|
||||
Se o arquivo n\(~ao estiver dispon\('ivel, ent\(~ao tenta abrir o arquivo de
|
||||
configura\(,c\(~ao global
|
||||
.Pa /etc/scrotwm.conf .
|
||||
.Pp
|
||||
Assim \('e o formato do arquivo:\*(Ltpalavra-chave\*(Gt = \*(Ltconfigura\(,c\(~ao\*(Gt.
|
||||
Por exemplo:
|
||||
.Pp
|
||||
.Dl color_focus = red
|
||||
.Pp
|
||||
Para habilitar ou desabilitar uma op\(,c\(~ao usa-se o 1 ou 0, respectivamente.
|
||||
.Pp
|
||||
O arquivo suporta as seguintes palavras-chave:
|
||||
.Pp
|
||||
.Bl -tag -width "title_class_enabledXXX" -offset indent -compact
|
||||
.It Cm color_focus
|
||||
Cor da borda da janela atualmente focada.
|
||||
.It Cm color_unfocus
|
||||
Cor da borda das janelas fora de foco.
|
||||
.It Cm bar_enabled
|
||||
Habilita ou desabilita a barra de status.
|
||||
.It Cm bar_border Ns Bq Ar x
|
||||
Cor da borda da barra de status na tela
|
||||
.Ar x .
|
||||
.It Cm bar_color Ns Bq Ar x
|
||||
Cor da janela da barra de status na tela
|
||||
.Ar x .
|
||||
.It Cm bar_font_color Ns Bq Ar x
|
||||
Cor da fonte na barra de status na tela
|
||||
.Ar x .
|
||||
.It Cm bar_font
|
||||
Fonte da barra de status.
|
||||
.It Cm bar_action
|
||||
Script externo que preenche a barra de status com informa\(,c\(~oes adicionais,
|
||||
como tempo de vida da bateria.
|
||||
.It Cm bar_delay
|
||||
Freq\(:u\(^encia da atualiza\(,c\(~ao, em segundos, do script externo que preenche
|
||||
a barra de status.
|
||||
.It Cm bar_at_bottom
|
||||
Coloca a barra de status na parte inferior de cada regi\(~ao, ao inv\('es da parte superior.
|
||||
.It Cm stack_enabled
|
||||
Habilita ou desabilita mostrar o atual algor\('itmo de empilhamento na barra de status.
|
||||
.It Cm clock_enabled
|
||||
Habilita ou desabilita mostrar o rel\('ogio na barra de status.
|
||||
Desabilite configurando para 0, ent\(~ao um rel\('ogio personalizado pode ser usado no
|
||||
script bar_action.
|
||||
.It Cm dialog_ratio
|
||||
Algumas aplica\(,c\(~oes tem janelas de di\('alogo que s\(~ao muito pequenas para serem \('uteis.
|
||||
Essa taxa \('e o tamanho da tela para o qual elas ser\(~ao redimencionadas.
|
||||
Por exemplo, 0.6 equivale a 60% do tamanho da tela f\('isica.
|
||||
.It Cm region
|
||||
Aloca uma regi\(~ao personalizada, removendo qualquer regi\(~ao automaticamente detectada
|
||||
que ocupe o mesmo espa\(,co na tela.
|
||||
Definido no formato screen[<idx>]:WIDTHxHEIGHT+X+Y,
|
||||
e.g.\& screen[1]:800x1200+0+0.
|
||||
.It Cm term_width
|
||||
Configura a largura m\('inima preferida para o terminal
|
||||
Se esse valor for maior do que 0,
|
||||
.Nm
|
||||
vai tentar ajustar os tamanhos da fonte no terminal para manter a largura
|
||||
do terminal acima desse n\('umero enquanto a janela \('e redimencionada.
|
||||
Apenas o
|
||||
.Xr xterm 1
|
||||
\('e suportado atualmente.
|
||||
O bin\('ario do
|
||||
.Xr xterm 1
|
||||
n\(~ao deve ser setuid ou setgid, que \('e o default em muitos sistemas.
|
||||
Os usu\('arios podem precisar de configurar program[term] (veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
) para usar uma c\('opia alternativa do bin\('ario do
|
||||
.Xr xterm 1
|
||||
sem o bit setgid ativado.
|
||||
.It Cm title_class_enabled
|
||||
Habilita ou desabilita mostrar a classe da janela na barra de status.
|
||||
Habilite configurando para 1.
|
||||
.It Cm title_name_enabled
|
||||
Habilita ou desabilita mostrar o t\('itulo da janela na barra de status.
|
||||
Habilite configurando para 1.
|
||||
.It Cm modkey
|
||||
Muda a tecla de modifica\(,c\(~ao.
|
||||
Mod1 \('e geralmente a tecla ALT e Mod4 \('e a tecla windows em um PC.
|
||||
.It Cm focus_mode
|
||||
Usar um valor de follow_cursor vai fazer o gerenciador de janela focar
|
||||
a janela sob o mouse quando trocando \('areas de trabalho e criando janelas.
|
||||
.It Cm disable_border
|
||||
Remove a borda quando a barra estiver desabilitada e houver apenas uma janela na tela.
|
||||
.It Cm program Ns Bq Ar p
|
||||
Define uma nova a\(,c\(~ao para executar um programa
|
||||
.Ar p .
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo abaixo.
|
||||
.It Cm bind Ns Bq Ar x
|
||||
Cria uma combina\(,c\(~ao de teclas de atalho para a a\(,c\(~ao
|
||||
.Ar x .
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx ATALHOS
|
||||
logo abaixo.
|
||||
.It Cm quirk Ns Bq Ar c:n
|
||||
Adicione "quirk" para janelas com classe
|
||||
.Ar c
|
||||
e nome
|
||||
.Ar n .
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx QUIRKS
|
||||
logo abaixo.
|
||||
.El
|
||||
.Pp
|
||||
Cores precisam ser especificadas pela especifica\(,c\(~ao
|
||||
.Xr XQueryColor 3
|
||||
e fontes pela especifica\(,c\(~ao
|
||||
.Xr XQueryFont 3 .
|
||||
.Pp
|
||||
Para listar as fontes dispon\('iveis em seu sistema veja o manual do
|
||||
.Xr fc-list 1
|
||||
ou do
|
||||
.Xr xlsfonts 1 .
|
||||
A aplica\(,c\(~ao
|
||||
.Xr xfontsel 1
|
||||
pode te ajudar a mostrar a X Logical Font Description ("XLFD") usada na
|
||||
configura\(,c\(~ao da palavra-chave bar_font.
|
||||
.Sh PROGRAMAS
|
||||
.Nm
|
||||
te permite definir a\(,c\(~oes personalizadas para executar programas de sua escolha
|
||||
e ent\(~ao criar um atalho para elas da mesma forma que as a\(,c\(~oes embutidas.
|
||||
Veja a se\(,c\(~ao
|
||||
.Sx ATALHOS
|
||||
logo abaixo.
|
||||
.Pp
|
||||
Os programas default s\(~ao descritos abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "screenshot_wind" -offset indent -compact
|
||||
.It Cm term
|
||||
xterm
|
||||
.It Cm screenshot_all
|
||||
screenshot.sh full
|
||||
.It Cm screenshot_wind
|
||||
screenshot.sh window
|
||||
.It Cm lock
|
||||
xlock
|
||||
.It Cm initscr
|
||||
initscreen.sh
|
||||
.It Cm menu
|
||||
dmenu_run \-fn $bar_font \-nb $bar_color \-nf $bar_font_color \-sb $bar_border \-sf $bar_color
|
||||
.El
|
||||
.Pp
|
||||
Programas personalizados no arquivo de configura\(,c\(~ao s\(~ao especificados da seguinte maneira:
|
||||
.Pp
|
||||
.Dl program[<name>] = <progpath> [<arg> [... <arg>]]
|
||||
.Pp
|
||||
.Aq name
|
||||
\('e um identificador qualquer que n\(~ao conflite com uma a\(,c\(~ao ou palavra-chave embutida,
|
||||
.Aq progpath
|
||||
\('e o programa desejado, e
|
||||
.Aq arg
|
||||
\('e zero ou mais argumentos para o programa.
|
||||
.Pp
|
||||
As seguintes vari\('aveis representam valores configur\('aveis no
|
||||
.Nm
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx ARQUIVOS DE CONFIGURA\(,C\(~AO
|
||||
logo acima),
|
||||
e podem ser usadas nos campos
|
||||
.Aq arg
|
||||
e ser\(~ao substitu\('idas pelos valores na hora em que o programa for executado:
|
||||
.Pp
|
||||
.Bl -tag -width "$bar_font_color" -offset indent -compact
|
||||
.It Cm $bar_border
|
||||
.It Cm $bar_color
|
||||
.It Cm $bar_font
|
||||
.It Cm $bar_font_color
|
||||
.It Cm $color_focus
|
||||
.It Cm $color_unfocus
|
||||
.El
|
||||
.Pp
|
||||
Exemplo:
|
||||
.Bd -literal -offset indent
|
||||
program[ff] = /usr/local/bin/firefox http://scrotwm.org/
|
||||
bind[ff] = Mod+f # Agora Mod+F executa o firefox
|
||||
.Ed
|
||||
.Pp
|
||||
Para desfazer a configura\(,c\(~ao anterior:
|
||||
.Bd -literal -offset indent
|
||||
bind[] = Mod+f
|
||||
program[ff] =
|
||||
.Ed
|
||||
.Pp
|
||||
.Sh ATALHOS
|
||||
.Nm
|
||||
prov\(^e muitas fun\(,c\(~oes (ou a\(,cões) acessadas pelos atalhos do teclado ou do mouse.
|
||||
.Pp
|
||||
Os atuais atalhos do mouse s\(~ao descritos abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "M-j, M-<TAB>XXX" -offset indent -compact
|
||||
.It Cm M1
|
||||
Foca a janela
|
||||
.It Cm M-M1
|
||||
Move a janela
|
||||
.It Cm M-M3
|
||||
Redimenciona a janela
|
||||
.It Cm M-S-M3
|
||||
Redimenciona a janela enquanto a mant\('em centralizada
|
||||
.El
|
||||
.Pp
|
||||
Os atalhos default do teclado s\(~ao descritos abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "M-j, M-<TAB>XXX" -offset indent -compact
|
||||
.It Cm M-S- Ns Aq Cm Return
|
||||
term
|
||||
.It Cm M-p
|
||||
menu
|
||||
.It Cm M-S-q
|
||||
quit
|
||||
.It Cm M-q
|
||||
restart
|
||||
.Nm
|
||||
.It Cm M- Ns Aq Cm Space
|
||||
cycle_layout
|
||||
.It Cm M-S- Ns Aq Cm Space
|
||||
reset_layout
|
||||
.It Cm M-h
|
||||
master_shrink
|
||||
.It Cm M-l
|
||||
master_grow
|
||||
.It Cm M-,
|
||||
master_add
|
||||
.It Cm M-.
|
||||
master_del
|
||||
.It Cm M-S-,
|
||||
stack_inc
|
||||
.It Cm M-S-.
|
||||
stack_del
|
||||
.It Cm M- Ns Aq Cm Return
|
||||
swap_main
|
||||
.It Xo
|
||||
.Cm M-j ,
|
||||
.Cm M- Ns Aq Cm TAB
|
||||
.Xc
|
||||
focus_next
|
||||
.It Xo
|
||||
.Cm M-k ,
|
||||
.Cm M-S- Ns Aq Cm TAB
|
||||
.Xc
|
||||
focus_prev
|
||||
.It Cm M-m
|
||||
focus_main
|
||||
.It Cm M-S-j
|
||||
swap_next
|
||||
.It Cm M-S-k
|
||||
swap_prev
|
||||
.It Cm M-b
|
||||
bar_toggle
|
||||
.It Cm M-x
|
||||
wind_del
|
||||
.It Cm M-S-x
|
||||
wind_kill
|
||||
.It Cm M- Ns Aq Ar n
|
||||
.Ns ws_ Ns Ar n
|
||||
.It Cm M-S- Ns Aq Ar n
|
||||
.Ns mvws_ Ns Ar n
|
||||
.It Cm M- Ns Aq Cm Right
|
||||
ws_next
|
||||
.It Cm M- Ns Aq Cm Left
|
||||
ws_prev
|
||||
.It Cm M-a
|
||||
ws_prior
|
||||
.It Cm M-S- Ns Aq Cm Right
|
||||
screen_next
|
||||
.It Cm M-S- Ns Aq Cm Left
|
||||
screen_prev
|
||||
.It Cm M-s
|
||||
screenshot_all
|
||||
.It Cm M-S-s
|
||||
screenshot_wind
|
||||
.It Cm M-S-v
|
||||
version
|
||||
.It Cm M-t
|
||||
float_toggle
|
||||
.It Cm M-S Aq Cm Delete
|
||||
lock
|
||||
.It Cm M-S-i
|
||||
initscr
|
||||
.El
|
||||
.Pp
|
||||
Os nomes das a\(,c\(~oes e suas descri\(,cões est\(~ao listados abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "M-j, M-<TAB>XXX" -offset indent -compact
|
||||
.It Cm term
|
||||
Executa um novo terminal
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.It Cm menu
|
||||
Menu
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.It Cm quit
|
||||
Sair
|
||||
.Nm
|
||||
.It Cm restart
|
||||
Reiniciar
|
||||
.Nm
|
||||
.It Cm cycle_layout
|
||||
Circula entre os poss\('iveis layouts
|
||||
.It Cm reset_layout
|
||||
Reinicia o layout
|
||||
.It Cm master_shrink
|
||||
Encolhe a \('area mestre
|
||||
.It Cm master_grow
|
||||
Aumenta a \('area mestre
|
||||
.It Cm master_add
|
||||
Adiciona janelas na \('area mestre
|
||||
.It Cm master_del
|
||||
Remove janelas da \('area mestre
|
||||
.It Cm stack_inc
|
||||
Adiciona colunas/linhas para a \('area de empilhamento
|
||||
.It Cm stack_del
|
||||
Remove colunas/linhas da \('area de empilhamento
|
||||
.It Cm swap_main
|
||||
Move a janela atual para a \('area mestre
|
||||
.It Cm focus_next
|
||||
Foca a pr\('oxima janela da \('area de trabalho
|
||||
.It Cm focus_prev
|
||||
Foca a janela anterior da \('area de trabalho
|
||||
.It Cm focus_main
|
||||
Foca a janela principal da \('area de trabalho
|
||||
.It Cm swap_next
|
||||
Troca com a pr\('oxima janela da \('area de trabalho
|
||||
.It Cm swap_prev
|
||||
Troca com a janela anterior da \('area de trabalho
|
||||
.It Cm bar_toggle
|
||||
Ativa/desativa a barra de status em todas as \('areas de trabalho
|
||||
.It Cm wind_del
|
||||
Apaga a janela atual da \('area de trabalho
|
||||
.It Cm wind_kill
|
||||
Destr\('oi a janela atual da \('area de trabalho
|
||||
.It Cm ws_ Ns Ar n
|
||||
Troca para a \('area de trabalho
|
||||
.Ar n ,
|
||||
onde
|
||||
.Ar n
|
||||
vai de 1 at\('e 10
|
||||
.It Cm mvws_ Ns Ar n
|
||||
Move a janela atual para a \('area de trabalho
|
||||
.Ar n ,
|
||||
onde
|
||||
.Ar n
|
||||
vai de 1 at\('e 10
|
||||
.It Cm ws_next
|
||||
Troca para a pr\('oxima \('area de trabalho que possua uma janela
|
||||
.It Cm ws_prev
|
||||
Troca para a \('area de trabalho anterior que possua uma janela
|
||||
.It Cm ws_prior
|
||||
Troca para a \('ultima \('area de trabalho visitada
|
||||
.It Cm screen_next
|
||||
Move o ponteiro para a pr\('oxima regi\(~ao
|
||||
.It Cm screen_prev
|
||||
Move o ponteiro para a regi\(~ao anterior
|
||||
.It Cm screenshot_all
|
||||
Tira screenshot da tela inteira (se habilitado)
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.It Cm screenshot_wind
|
||||
Tira screenshot da janela selecionada (se habilitado)
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.It Cm version
|
||||
Ativa/desativa a vers\(~ao na barras de status
|
||||
.It Cm float_toggle
|
||||
Troca o estado da janela focada entre flutuante e tiled
|
||||
.It Cm lock
|
||||
Trava a tela
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.It Cm initscr
|
||||
Reinicializa as telas f\('isicas
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx PROGRAMAS
|
||||
logo acima)
|
||||
.El
|
||||
.Pp
|
||||
Atalhos personalizados no arquivo de configura\(,c\(~ao s\(~ao especificados da seguinte maneira:
|
||||
.Pp
|
||||
.Dl bind[<action>] = <keys>
|
||||
.Pp
|
||||
.Aq action
|
||||
\('e uma das a\(,c\(~oes listadas acima (ou vazio) e
|
||||
.Aq keys
|
||||
est\('a na forma de zero ou mais teclas de modifica\(,c\(~ao
|
||||
(MOD, Mod1, Shift, etc.) e uma ou mais teclas normais
|
||||
(b, space, etc.), separadas pelo "+".
|
||||
Por exemplo:
|
||||
.Bd -literal -offset indent
|
||||
bind[reset] = Mod4+q # combina a tecla Windows + q para reiniciar
|
||||
bind[] = Mod1+q # desfaz a combina\(,c\(~ao Alt + q
|
||||
.Ed
|
||||
.Pp
|
||||
M\('ultiplas combina\(,c\(~oes de teclas podem ser usadas para a mesma a\(,c\(~ao.
|
||||
.Sh QUIRKS
|
||||
.Nm
|
||||
prov\(^e "quirks" que manipulam janelas que devem ser tratadas especialmente
|
||||
em um gerenciador de janela "tiling", tal como algumas aplica\(,c\(~oes de
|
||||
di\('alogos e tela cheia.
|
||||
.Pp
|
||||
Os quirks default est\(~ao descritos abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "OpenOffice.org N.M:VCLSalFrame<TAB>XXX" -offset indent -compact
|
||||
.It Firefox\-bin:firefox\-bin
|
||||
TRANSSZ
|
||||
.It Firefox:Dialog
|
||||
FLOAT
|
||||
.It Gimp:gimp
|
||||
FLOAT + ANYWHERE
|
||||
.It MPlayer:xv
|
||||
FLOAT + FULLSCREEN
|
||||
.It OpenOffice.org 2.4:VCLSalFrame
|
||||
FLOAT
|
||||
.It OpenOffice.org 3.1:VCLSalFrame
|
||||
FLOAT
|
||||
.It pcb:pcb
|
||||
FLOAT
|
||||
.It xine:Xine Window
|
||||
FLOAT + ANYWHERE
|
||||
.It xine:xine Panel
|
||||
FLOAT + ANYWHERE
|
||||
.It xine:xine Video Fullscreen Window
|
||||
FULLSCREEN + FLOAT
|
||||
.It Xitk:Xitk Combo
|
||||
FLOAT + ANYWHERE
|
||||
.It Xitk:Xine Window
|
||||
FLOAT + ANYWHERE
|
||||
.It XTerm:xterm
|
||||
XTERM_FONTADJ
|
||||
.El
|
||||
.Pp
|
||||
Os quirks em si est\(~ao descritos abaixo:
|
||||
.Pp
|
||||
.Bl -tag -width "XTERM_FONTADJ<TAB>XXX" -offset indent -compact
|
||||
.It FLOAT
|
||||
Esta janela n\(~ao deve ser "tiled", mas permitida a flutuar livremente.
|
||||
.It TRANSSZ
|
||||
Ajusta o tamanho das janelas transit\('orias que sejam muito pequenas
|
||||
usando dialog_ratio
|
||||
(veja a se\(,c\(~ao
|
||||
.Sx ARQUIVOS DE CONFIGURA\(,C\(~AO ) .
|
||||
.It ANYWHERE
|
||||
Permite que a janela posicione a si mesma, n\(~ao-centrada.
|
||||
.It XTERM_FONTADJ
|
||||
Ajusta as fontes do xterm quando redimencionando.
|
||||
.It FULLSCREEN
|
||||
Remove a borda para permitir a janela usar todo o tamanho da tela.
|
||||
.El
|
||||
.Pp
|
||||
Quirks personalizados no arquivo de configura\(,c\(~ao s\(~ao especificados da seguinte maneira:
|
||||
.Pp
|
||||
.Dl quirk[<class>:<name>] = <quirk> [ + <quirk> ... ]
|
||||
.Pp
|
||||
.Aq class
|
||||
e
|
||||
.Aq name
|
||||
especificam a janela ao qual o quirk se aplica, e
|
||||
.Aq quirk
|
||||
\('e um dos quirks da lista acima.
|
||||
Por exemplo:
|
||||
.Bd -literal -offset indent
|
||||
quirk[MPlayer:xv] = FLOAT + FULLSCREEN # faz o mplayer tocar livremente
|
||||
quirk[pcb:pcb] = NONE # remove quirk existente
|
||||
.Ed
|
||||
.Pp
|
||||
Voc\(^e pode obter
|
||||
.Aq class
|
||||
e
|
||||
.Aq name
|
||||
executando o xprop(1) e ent\(~ao clicando na janela desejada.
|
||||
No seguinte exemplo a jenela principal do Firefox foi clicada:
|
||||
.Bd -literal -offset indent
|
||||
$ xprop | grep WM_CLASS
|
||||
WM_CLASS(STRING) = "Navigator", "Firefox"
|
||||
.Ed
|
||||
.Pp
|
||||
Note que usando o grep(1) para WM_CLASS voc\(^e obt\('em class e name.
|
||||
No exemplo acima a configura\(,c\(~ao do quirk poderia ser:
|
||||
.Bd -literal -offset indent
|
||||
quirk[Firefox:Navigator] = FLOAT
|
||||
.Ed
|
||||
.Sh SINAIS
|
||||
Enviar ao
|
||||
.Nm
|
||||
um sinal HUP far\('a com que o mesmo seja reiniciado.
|
||||
.Sh ARQUIVOS
|
||||
.Bl -tag -width "/etc/scrotwm.confXXX" -compact
|
||||
.It Pa ~/.scrotwm.conf
|
||||
Configura\(,c\(~oes espec\('ificas do usu\('ario.
|
||||
.It Pa /etc/scrotwm.conf
|
||||
Configura\(,c\(~oes globais.
|
||||
.El
|
||||
.Sh HIST\('ORIA
|
||||
.Nm
|
||||
foi inspirado pelo xmonad & dwm.
|
||||
.Sh AUTORES
|
||||
.An -nosplit
|
||||
.Pp
|
||||
.Nm
|
||||
foi escrito por
|
||||
.An Marco Peereboom Aq marco@peereboom.us ,
|
||||
.An Ryan Thomas McBride Aq mcbride@countersiege.com
|
||||
e
|
||||
.An Darrin Chandler Aq dwchandler@stilyagin.com .
|
||||
.Sh BUGS
|
||||
Atualmente o menu, invocado com
|
||||
.Cm M-p ,
|
||||
depende do dmenu.
|
Loading…
Add table
Reference in a new issue