__TOC__
El archivo que controla los accesos de teclado se especifica en el archivo "init" (~/.fluxbox/init) así:
session.keyFile: ~/.fluxbox/keys
Este archivo (~/.fluxbox/keys) será el que controla todo los accesos rápidos por teclado. El sintaxis de cada acceso de teclado es el siguiente:
[ ] tecla [tecla tecla] :comando
Los modificadores generalmente son los siguientes:
None == ningunoMod1 == AltMod4 == Tecla "Windows"Control == ctrlShift == shift
Para ver cuales son los suyos haced:
$ xmodmap -pmxmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)lock Caps_Lock (0x42)control Control_L (0x25), Control_R (0x69)mod1 Alt_L (0x40)mod2 Num_Lock (0x4d)mod3 mod4 Super_L (0x85)mod5
Se pueden comprobar con xev para ver que tecla es cual. Si te hace falta alguno como la tecla "Windows" se puede añadir así:
xmodmap -e 'add Mod4 = Super_L'
El archivo keys es muy potente. Incluso se pueden hacer combinaciones como en emacs o vim así:
Control n Mod1 n :Close #ctrl+n seguido por alt+n cerrará la ventana activa
Si se quiere utilizar una combinación sin tener que utilizar modificadores (con None) sólo hace falta poner None una vez como en este ejemplo:
None F11 F12 :ExecCommand ssh example.com #F11 F12 ejecuta ssh
Restart #reinicia fluxbox, el argumento puede ser el binario de otro window manager Quit #sale de fluxbox Exit #sale de fluxbox Reconfigure #vuelve a cargar lo configuración'' Reload Style #vuelve a cargar el style si ha cambiado algún archivo 'SetStyle #cambia el style al argumento ExecCommand #ejecuta un comando, el argumento es el binario/script Exec #igual que ExecCommand
Fullscreen #maximiza la venta cubriendo TODOS las otras aplicaciones (sin importar la capa) Minimize #minimiza la ventana como el botón MinimizeWindow #igual que Minimize Iconify #igual que Minimize Maximize #maximiza la ventana como el botón MaximizeWindow #igual que Maximize MaximizeHorizontal #maximiza la ventana horizontalmente MaximizeVertical #maximiza la ventana verticalmente ResizeTo #cambia la mida de la aplicacion Resize #mirad las notas ResizeHorizontal #mirad las notas ResizeVertical #mirad las notas MoveTo #mirad las notas Move #mirad las notas MoveRight #mirad las notas MoveLeft #mirad las notas MoveUp #mirad las notas MoveDown #mirad las notas Raise #raises the focused window RaiseLayer #raises the focused window one layer Lower #lowers the focused window LowerLayer #lowers the focused window one layer Close #closes the focused window. same as the windowbutton Shade #shades the focused window. same as the windowbutton ShadeWindow #shades the focused window. same as the windowbutton Stick #makes the focused window sticky/unsticky. same as the windowbutton StickWindow #makes the focused window sticky/unsticky. same as the windowbutton ToggleDecor '' #makes the focused window borderless'' SendToWorkspace #sends the focused window to the workspace given by number SendToNextWorkspace #sends the focused window to the next workspace given by number SendToPrevWorkspace #sends the focused window to the previous workspace given by number TakeToWorkspace #sends the focused window to the workspace given by number and switches the view to it TakeToNextWorkspace #sends the focused window to the next workspace given by number and switches the view to it TakeToPrevWorkspace #sends the focused window to the previous workspace given by number and switches the view to it ' KillWindow' #kills the focused window NextTab #switches to the next tab of the focused window PrevTab #switches to the previous tab of the focused window MoveTabLeft #moves the focused tab to the left MoveTabRight #moves the focused tab to the right DetachClient #detatches the focused tab from a group SetHead #sets the default head for a window --> xinerame FocusUp #sets the focus to the window north of the focused one FocusDown #sets the focus to the window south of the focused one FocusLeft #sets the focus to the window west of the focused one FocusRight #sets the focus to the window east of the focused one
NextWorkspace #switches to the next (right) workspace PrevWorkspace #switches to the previous (left) workspace RightWorkspace #switches "number" workspaces to the right LeftWorkspace #switches "number" workspaces to the left Workspace #switches to the workspace geven by number NextWindow #scroll down for further information PrevWindow #scroll down for further information NextGroup # PrevGroup # ArrangeWindows #arranges windows :) ShowDesktop #iconifies all windows of the current workspace RootMenu #pops up the right-click menu WorkspaceMenu #pops up the middle-click menu WindowMenu #pops up the windowtitle menu SetWorkspaceName #renames the current workspace Deiconify LastWorkspace #uniconifies minimized windows Deiconify Last OriginQuiet #uniconifies minimized windows ' Deiconify All OriginQuiet' #uniconifies minimized windows
MacroCmd #scroll down for further information ReloadStyle #reloads the style SetResourceValue value #to be done...no one will ever need this! BindKey : #creates an "on the fly keycommand"
Couple of things
:* 0 or unspecified = Default/current behavior - no skipping
:* 1 cycle groups
:* 2 skip stuck windows
:* 4 skip shaded windows
:* 8 cycle linear (use the same order every time) for example:
Mod1 tab :NextWindow 6
will skip any window that is either stuck or shaded, since 6 = 4 + 2.
Mod1 r :ResizeHorizontal 10
when you use that key it would increase the size of your window to 110 pixels. If you had used
Mod1 R :ResizeHorizontal -10
then it would have decreased the size by 10, setting it to 90 pixels.
:MoveTo [int|*] [int|*] [reference corner]
Donde * significa "use el valor actual" y la esquina de referencia es una de
:* Left, Right
:* Upper, UpperLeft, UpperRight
:* Lower, LowerLeft, LowerRight Por ejemplo:
:MoveTo 0 * Left -> snap to left workspace edge :MoveTo * 0 Lower -> snap to lower workspace edge :MoveTo 0 0 UpperRight -> snap to upper right workspace corner