Ratpoison

by Daniel Pimentel — Mon 07 July 2014

Ratpoison is a simple Window Manager with no fat library dependencies, no fancy graphics, no window decorations, and no rodent dependence. It is largely modelled after GNU Screen which has done wonders in the virtual terminal market and Emacs.Ratpoison is already setted in GuixSD configuration by default. Access GuixSD documentation.

Config

You need to create a '.ratpoisonrc' hidden files in your home directory:
touch ~/.ratpoisonrc
chmod +x ~/.ratpoisonrc

.ratpoisonrc

# Custom
exec feh --bg-scale Desktop/pictures/wallpaper/wallpaper.png &
exec setxkbmap br
set border 0

# Shotcut
bind c exec xterm -bg black -fg white -cr red
bind e exec emacs
bind at exec conkeror
bind Pause exec xlock -mode matrix
bind Print exec scrot

Default Key Bindings

KeyMeaning
C-t C-tSwitch to the last window
C-t tSometimes you need to send a C-t to the current window
C-t 0-9Switch to the numbered window
C-t -Select no window, essentially hiding all windows in the current frame
C-t ARename the current window
C-t K or C-t C-KSend a DestroyClient event to the current window
C-t n or C-t C-n or C-t Return or C-t C-Return or C-t Space or C-t C-SpaceGo to next window
C-t p or C-t C-pGo to previous window
C-t ' or C-t C-'Go to a window by name
C-t a or C-t C-aDisplay the current time of day
C-t c or C-t C-cOpen a new X terminal
C-t :This allows you to execute a single ratpoison command
C-t !Run a shell command
C-t C-!Run a shell command through an X terminal
C-t i or C-t C-iDisplay information about the current window
C-t k or C-t C-kClose the current window
C-t l or C-t C-lRedisplay the current window
C-t m or C-t C-mDisplay the last message
C-t v or C-t C-vDisplay the version of ratpoison
C-t V or C-t C-VDisplay ratpoison's license
C-t w or C-t C-wDisplay the list of managed windows
C-t s or C-t C-sSplit the current window horizontally in two
C-t S or C-t C-SSplit the current window vertically in two
C-t tabCycle through ratpoison's frames
C-t M-tabSwitch to the last focused frame
C-t QKill all frames but the current one
C-t RKill the current frame
C-t r or C-t C-rResize the current frame
C-t b or C-t C-bBanish the mouse to the lower right corner of the screen
C-t ?Display a help screen
C-t f or C-t C-fselect a frame by number
C-t FIndicate which frame is the current frame
C-t DownMove to the frame below the current frame
C-t LeftMove to the frame left of the current frame
C-t RightMove to the frame right of the current frame
C-t UpMove to the frame above the current frame
C-t C-DownExchange the window in the current frame with the window in the frame below it
C-t C-LeftExchange the window in the current frame with the window in the frame to the left of it
C-t C-RightExchange the window in the current frame with the window in the frame to the rigth of it
C-t C-UpExchange the window in the current frame with the window in the frame above it
C-t x or C-t C-xChoose a frame and exchange the window in the current frame with the window in the chosen frame.
Ratpoison
2000-2016 by Daniel Pimentel under GFDL