GUI

From Things and Stuff Wiki
Revision as of 08:28, 2 August 2012 by Milk (talk | contribs) (→‎Widgets)
Jump to navigation Jump to search


X

xdpyinfo  | grep 'dimensions:'
  find out screen res
  • devilspie
  • telak is a program which displays pictures in root window. It can display content of local file, or download image via http. Telak can be configured to refetch picture every n seconds, so it can be used to display image from webcam.

Window Managers

Openbox

xmonad

  • xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell. In a normal WM, you spend half your time aligning and searching for windows. xmonad makes work easier, by automating this.
cabal --recompile
  after changing ~/.xmonad/xmonad.hs

keyboard;

mod shift enter
  start terminal
mod shift c
  close current window

mod w
  reload xmonad

mod space
  rotate through window layouts
mod shift space
  reset to workspace default
mod tab
  tab through windows
super 2
  switch to workspace 2

Awesome

Config

debug rc.lua changes;

Xephyr :1 -ac -br -noreset -screen 1152x720 &
DISPLAY=:1.0 awesome -c ~/.config/awesome/rc.lua.new

If xdg/awesome default config loads instead of .config/awesome, this is due to error in the rc.lua.

Wibox

Widgets

Colours

The color format in awesome is either a standard X color name (blue, darkblue, lightred, etc) or a hexadecimal formatted color (#rrggbb or #rrggbbaa). By using the hexadecimal format, you can also specify an alpha channel: that means that #00ff00 will draw pure green, but #00ff00aa will set the alpha channel to ‘aa’ and will blend the green with the color under it.

Text format

You can use Pango markup in a text string. This allows formating the text rendered inside widgets. Pango markup documentation can be found in the Pango documentation at http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html.

A Pango markup example: .

Shifty

Other

Other

Launchers

Infos

Widget toolkit

GTK+

Qt

qtconfig qt4

File managers