From aaee1e4644e54f3b77e4f7745b8127f35d2b7821 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 16 Sep 2010 02:00:51 +0000 Subject: [PATCH] Add portugese from Alicornio Update engrish man page while at it. --- Makefile | 2 +- html/cygwin.html | 4 + html/cygwin_pt.html | 67 +++++ html/man.html | 689 ++++++++++++++++++++++--------------------- html/man_pt.html | 384 ++++++++++++++++++++++++ html/osx.html | 4 + html/osx_pt.html | 63 ++++ html/scrotwm.html | 1 + html/scrotwm_es.html | 1 + html/scrotwm_it.html | 1 + html/scrotwm_pt.html | 133 +++++++++ linux/Makefile | 1 + osx/Makefile | 1 + port/Makefile | 2 +- release.sh | 2 +- scrotwm.1 | 10 + scrotwm_pt.1 | 583 ++++++++++++++++++++++++++++++++++++ 17 files changed, 1610 insertions(+), 338 deletions(-) create mode 100644 html/cygwin_pt.html create mode 100644 html/man_pt.html create mode 100644 html/osx_pt.html create mode 100644 html/scrotwm_pt.html create mode 100644 scrotwm_pt.1 diff --git a/Makefile b/Makefile index f95799b..4aa16f9 100644 --- a/Makefile +++ b/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 diff --git a/html/cygwin.html b/html/cygwin.html index cee18db..a1ed0ae 100644 --- a/html/cygwin.html +++ b/html/cygwin.html @@ -7,6 +7,10 @@ Using scrotwm on Windows/cygwin

+ +Em Português +

+ A port to Windows/cygwin was created to make Windows useful for UNIX people. Following are the compilation and installation steps. diff --git a/html/cygwin_pt.html b/html/cygwin_pt.html new file mode 100644 index 0000000..5ff061e --- /dev/null +++ b/html/cygwin_pt.html @@ -0,0 +1,67 @@ + + + +Scrotwm + + + +Usando o scrotwm no Windows/cygwin

+ +In English +

+ + +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. +

+Compile o scrotwm do diretório linux do snapshot: +

+cd linux
+make
+
+Instale o scrotwm: +
sudo make install
+
+Baixe o +dmenu +e aplique o patch no config.mk com: +
+$ 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
+
+
+Compile: +
make
+Instale o dmenu: +
sudo make install
+Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha: +
+exec /usr/local/bin/scrotwm
+
+Se a estúpida barra de menu no xterm te irritar adicione a seguinte linha +no ~/.Xdefaults +
+xterm.ToolBar:          false
+
+

+

+Tudo isso resulta no êxtase do scrotwm!

+[scrotwm]
+

+

+ +$scrotwm$ + + diff --git a/html/man.html b/html/man.html index 8f21e66..d61a5b2 100644 --- a/html/man.html +++ b/html/man.html @@ -1,340 +1,359 @@ - + -scrotwm.1.html - +~/scrotwm.1.html + + + + + - -SCROTWM(1)                 OpenBSD Reference Manual                 SCROTWM(1)
-
-NAME
-     scrotwm - window manager for X11
-
-SYNOPSIS
-     scrotwm
-
-DESCRIPTION
-     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.
-
-CONFIGURATION FILES
-     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.
-           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 xterm(1) is currently
-                                   supported.  The xterm(1) 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 xterm(1)
-                                   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 XQueryColor(3) specification and
-     fonts need to be specified per the XQueryFont(3) specification.
-
-PROGRAMS
-     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 http://scrotwm.org/
-           bind[ff] = Mod+f # Now Mod+F launched firefox
-
-     To undo the previous:
-
-           bind[] = Mod+f
-           program[ff] =
-
-
-BINDINGS
-     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.
-
-QUIRKS
-     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 xprop(1) 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
-
-SIGNALS
-     Sending scrotwm a HUP signal will retstart it.
-
-FILES
-     ~/.scrotwm.conf       scrotwm user specific settings.
-     /etc/scrotwm.conf     scrotwm global settings.
-
-HISTORY
-     scrotwm was inspired by xmonad & dwm.
-
-AUTHORS
-
-     scrotwm was written by Marco Peereboom <marco@peereboom.us>, Ryan Thomas
-     McBride <mcbride@countersiege.com> and Darrin Chandler
-     <dwchandler@stilyagin.com>.
-
-BUGS
-     Currently the menu, invoked with M-p, depends on dmenu.
-
-OpenBSD 4.7                      July 3, 2010                      OpenBSD 4.7
-
+ +

+SCROTWM(1)                 OpenBSD Reference Manual                 SCROTWM(1)
+
+NAME
+     scrotwm - window manager for X11
+
+SYNOPSIS
+     scrotwm
+
+DESCRIPTION
+     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.
+
+CONFIGURATION FILES
+     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 xterm(1) is currently
+                                   supported.  The xterm(1) 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 xterm(1)
+                                   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 XQueryColor(3) specification and
+     fonts need to be specified per the XQueryFont(3) specification.
+
+     To list the available fonts in your system see fc-list(1) or xlsfonts(1)
+     manpages.  The xfontsel(1) application can help you to show the X Logical
+     Font Description ("XLFD") used as setting in the keyword bar_font.
+
+PROGRAMS
+     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 http://scrotwm.org/
+           bind[ff] = Mod+f # Now Mod+F launched firefox
+
+     To undo the previous:
+
+           bind[] = Mod+f
+           program[ff] =
+
+BINDINGS
+     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.
+
+QUIRKS
+     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 xprop(1) 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
+
+SIGNALS
+     Sending scrotwm a HUP signal will retstart it.
+
+FILES
+     ~/.scrotwm.conf       scrotwm user specific settings.
+     /etc/scrotwm.conf     scrotwm global settings.
+
+HISTORY
+     scrotwm was inspired by xmonad & dwm.
+
+AUTHORS
+
+     scrotwm was written by Marco Peereboom <marco@peereboom.us>, Ryan Thomas
+     McBride <mcbride@countersiege.com> and Darrin Chandler
+     <dwchandler@stilyagin.com>.
+
+BUGS
+     Currently the menu, invoked with M-p, depends on dmenu.
+
+OpenBSD 4.8                      July 15, 2010                     OpenBSD 4.8
+
+ diff --git a/html/man_pt.html b/html/man_pt.html new file mode 100644 index 0000000..9e632c3 --- /dev/null +++ b/html/man_pt.html @@ -0,0 +1,384 @@ + + + + +~/scrotwm_pt.1.html + + + + + + + +
+SCROTWM(1)                 OpenBSD Reference Manual                 SCROTWM(1)
+
+NOME
+     scrotwm - gerenciador de janela para o X11
+
+SINOPSE
+     scrotwm
+
+DESCRICAO
+     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.
+
+ARQUIVOS DE CONFIGURACAO
+     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 xterm(1)
+                                   e suportado atualmente.  O binario do
+                                   xterm(1) 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 xterm(1) 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 XQueryColor(3) e
+     fontes pela especificacao XQueryFont(3).
+
+     Para listar as fontes disponiveis em seu sistema veja o manual do
+     fc-list(1) ou do xlsfonts(1).  A aplicacao xfontsel(1) pode te ajudar a
+     mostrar a X Logical Font Description ("XLFD") usada na configuracao da
+     palavra-chave bar_font.
+
+PROGRAMAS
+     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 http://scrotwm.org/
+           bind[ff] = Mod+f # Agora Mod+F executa o firefox
+
+     Para desfazer a configuracao anterior:
+
+           bind[] = Mod+f
+           program[ff] =
+
+ATALHOS
+     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.
+
+QUIRKS
+     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 xprop(1) 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 grep(1) para WM_CLASS voce obtem class e name.  No
+     exemplo acima a configuracao do quirk poderia ser:
+
+           quirk[Firefox:Navigator] = FLOAT
+
+SINAIS
+     Enviar ao scrotwm um sinal HUP fara com que o mesmo seja reiniciado.
+
+ARQUIVOS
+     ~/.scrotwm.conf       Configuracoes especificas do usuario.
+     /etc/scrotwm.conf     Configuracoes globais.
+
+HISTORIA
+     scrotwm foi inspirado pelo xmonad & dwm.
+
+AUTORES
+
+     scrotwm foi escrito por Marco Peereboom <marco@peereboom.us>, Ryan Thomas
+     McBride <mcbride@countersiege.com> e Darrin Chandler
+     <dwchandler@stilyagin.com>.
+
+BUGS
+     Atualmente o menu, invocado com M-p, depende do dmenu.
+
+OpenBSD 4.8                      July 15, 2010                     OpenBSD 4.8
+
+ + diff --git a/html/osx.html b/html/osx.html index a4887fa..c7bca57 100644 --- a/html/osx.html +++ b/html/osx.html @@ -7,6 +7,10 @@ Using scrotwm on OSX

+ +Em Português +

+ A port to OSX was created to make OSX useful for UNIX people. Following are the compilation and installation steps. diff --git a/html/osx_pt.html b/html/osx_pt.html new file mode 100644 index 0000000..106ac11 --- /dev/null +++ b/html/osx_pt.html @@ -0,0 +1,63 @@ + + + +Scrotwm + + + +Usando o scrotwm no OSX

+ +In English +

+ + +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. +

+Compile o scrotwm do diretório osx do snapshot: +

+cd osx
+make
+
+

+Para compilar o scrotwm no OSX 10.5 edite o Makefile e troque: +

+libswmhack.so.$(LVERS): swm_hack.so
+	$(CC) -shared -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
+
+Para: +
+libswmhack.so.$(LVERS): swm_hack.so
+	$(CC) -shared -bundle -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
+
+

+Instale o scrotwm: +

sudo make install
+
+Baixe o +dmenu +e compile: +
make
+Instale o dmenu: +
sudo make install
+Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha: +
+exec scrotwm
+
+Ajuste as preferências do X11 do OSX para as seguintes: +
+[osx1]
+[osx2]
+[osx3]
+[osx4]
+[osx5]
+Tudo isso resulta no êxtase do scrotwm!
+[scrotwm]
+
+

+ +$scrotwm$ + + diff --git a/html/scrotwm.html b/html/scrotwm.html index 2b07eaa..70ae344 100644 --- a/html/scrotwm.html +++ b/html/scrotwm.html @@ -10,6 +10,7 @@ Welcome to Scrotwm's website.

En Español In Italiano +Em portugês In Russian

diff --git a/html/scrotwm_es.html b/html/scrotwm_es.html index f2838be..17dcddc 100644 --- a/html/scrotwm_es.html +++ b/html/scrotwm_es.html @@ -8,6 +8,7 @@ In English In Italiano +Em Português In Russian

diff --git a/html/scrotwm_it.html b/html/scrotwm_it.html index dc5566e..60dd082 100644 --- a/html/scrotwm_it.html +++ b/html/scrotwm_it.html @@ -7,6 +7,7 @@ In English En Español +Em Português In Russian

diff --git a/html/scrotwm_pt.html b/html/scrotwm_pt.html new file mode 100644 index 0000000..ba88102 --- /dev/null +++ b/html/scrotwm_pt.html @@ -0,0 +1,133 @@ + + + +Scrotwm + + + +Bem-vindo ao website do Scrotwm.

+ +In English +En Español +In Italiano +In Russian +

+ +Scrotwm é um pequeno, dinâmico e +tiling +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. +

+Foi largamente inspirado pelo +xmonad +e +dwm. +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 +NIH. +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. +

+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 +OpenBSD +(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 +licença +ISC. +Patches podem ser aceitos desde que também estejam licenciados sob a ISC. +

+A seguir estão alguns screenshots do scrotwm em ação. +

+[scrotwm]
+Pilha vertical. +

+[scrotwm2]
+Pilha horizontal. +

+[scrotwm3]
+Pilha horizontal com gvim &Firefox. +

+[scrotwm4]
+Pilha vertical com uma janela flutuando e uma janela extra na área mestre. +

+[scrotwm5]
+Mplayer, redimensionado e movido. +

+

+ +Principais características:
+- xrandr dinâmico & suporte ao xinerama (multi screen)
+- Navegação em qualquer lugar em todas as telas tanto com teclado quanto com mouse
+- Barra de status personalizável
+- Arquivos de configuração legíveis por humanos
+- Screenshots
+- Reinicializável sem perder o estado
+- Menu de inicialização rápida
+- Muitos layouts de telas são possíveis com uma pequena combinação de teclas
+- Janelas podem ser adicionadas ou removidas da área mestre
+- Janelas podem ser movidas para qualquer área de trabalho ou dentro de uma região
+- Área mestre redimencionável
+- Mova/redimencione janelas flutuantes
+- arraste-para-flutuar
+- Regiões definíveis pelo usuário
+- Teclas de atalho e de modificação definíveis pelo usuário
+- "Quirk bindings" definíveis pelo usuário
+- Teclas de atalho de aplicações definíveis pelo usuário
+- Suporte a vários sistemas operacionais (*BSD, Linux, OSX, Windows/cygwin) +
+Por fazer:
+- adicionar troca entre 2 janelas (como alt-tab)
+- adicionar posições de janela persistente
+- adicionar pesquisa para função de janela
+- adicionar identificação para função de janela
+- passar o scrotwm do Xlib para o XCB
+- fazer as janelas flutuantes se lembrarem de sua posição quando a tela for +redimencionada
+- fazer um mecanismo de pilhas de janelas flutuantes
+
+Bugs conhecidos:
+- Por enquanto nenhum. +
+

+Por favor, leia o +manual +para uma explicação mais detalhada. +

+Você pode baixar o fonte via anoncvs em:
+CVSROOT=anoncvs@anoncvs.freedaemon.com:/scrotwm
+Alternativamente você pode baixar periódicos snapshots +aqui.
+

+Para assinar a lista de mudanças do CVS envie um e-mail para +majordomo@freedaemon.com +no corpo do e-mail escreva: subscribe scrotwm-changes. +

+Copyright (c) 2009-2010 Marco Peereboom <marco@peereboom.us>, +Ryan Thomas McBride <mcbride@countersiege.com> & +Darrin Chandler <dwchandler@stilyagin.com>
+

+Espelhos:
+Site principal
+Espelho argentino
+Espelho americano
+

+ +$scrotwm$ + + diff --git a/linux/Makefile b/linux/Makefile index 54d0aed..1ea50b1 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -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: diff --git a/osx/Makefile b/osx/Makefile index 5f09d43..2164fb5 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -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: diff --git a/port/Makefile b/port/Makefile index c9a0d7c..eb1e929 100644 --- a/port/Makefile +++ b/port/Makefile @@ -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 diff --git a/release.sh b/release.sh index 44d48ab..98ec09a 100644 --- a/release.sh +++ b/release.sh @@ -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 " diff --git a/scrotwm.1 b/scrotwm.1 index 9d5563a..02c73e0 100644 --- a/scrotwm.1 +++ b/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 diff --git a/scrotwm_pt.1 b/scrotwm_pt.1 new file mode 100644 index 0000000..afc7e06 --- /dev/null +++ b/scrotwm_pt.1 @@ -0,0 +1,583 @@ +.\" $scrotwm$ +.\" +.\" Copyright (c) 2009 Marco Peereboom +.\" Copyright (c) 2009 Darrin Chandler +.\" +.\" 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[]: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[] = [ [... ]] +.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-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-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-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[] = +.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:VCLSalFrameXXX" -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_FONTADJXXX" -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[:] = [ + ... ] +.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. -- 2.39.2