You are not logged in.

#26 2008-03-21 15:40:50

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Share your Openbox Desktop ! :)

w0rmtux wrote:

Thanks for the quick reply smile
I'm using openbox for the second time right now (i've always used fluxbox as wm)
It's great but i've another question, does xcompmgr slow down openbox? in my box it feels "heavy"

Xcompmgr on itself won't slow down your box, transset will though.

Reasons: is there a way you get stalonetray to cope with the huge icons e.g. sonata and xchat tend to dump in the system tray? Over here they either resize the tray, or, if you block that, put a huge icon in the tray that is only 1/3 visible...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#27 2008-03-21 15:45:16

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Share your Openbox Desktop ! :)

I don't have any experience with stalonetray. It's basically just the "notification area" type thing in pypanel? If so, I'd check to see if there is an option for sizes. If the icons are huge, they are probably scalable (and technically anything is, just not as nice), and you might be able to do something like this:

for pypanel

TRAY_I_HEIGHT    = 16        # system tray icon height
TRAY_I_WIDTH    = 16        # system tray icon width

I'll look into it a bit when I'm back from class which is four ish hours.

Last edited by Reasons (2008-03-21 15:45:39)

Offline

#28 2008-03-21 16:18:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Share your Openbox Desktop ! :)

Sorry, confused that with your screenshot tongue. I wonder if someone has a 'fix' for this stalonetray issue, it's very annoying, those big icons tend to overlap other icons too...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#29 2008-03-21 17:03:07

w0rmtux
Member
Registered: 2007-06-14
Posts: 3

Re: Share your Openbox Desktop ! :)

@Reasons:
Where can i found your theme and your backgrounds? I'm searching for the same background but blue or black smile (green is good too)


Sorry for my english smile

Offline

#30 2008-03-21 19:58:00

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Share your Openbox Desktop ! :)

w0rmtux wrote:

@Reasons:
Where can i found your theme and your backgrounds? I'm searching for the same background but blue or black smile (green is good too)

Background only exists in green and gray without the logo.

http://art.gnome.org/backgrounds/gnome/2335

Theme is arch.blue on box-look.org. I just changed it to green. Can upload if requested.

Last edited by Reasons (2008-03-21 19:58:35)

Offline

#31 2008-03-21 21:31:04

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: Share your Openbox Desktop ! :)

2008-03-22-161312_1440x900_scrot586.png.xs.jpg
2008-03-22-161338_1440x900_scrot181.png.xs.jpg

here it is.. clean both clean and busy.  My desktop is very rarely that busy though as i make extensive use of multiple desktops.  I always have as my first desktop a fullscreen urxvt running gnuscreen and also tend to keep nicotine and mldonkey hiding behind it. 
I usually have conky running, but it is currently going through some renovations so i didn't put it in my screenshot.

anyway.. as for details:
GTK theme: royalty (i think i found it on deviantart)
OB theme: a modification of the 1977 theme i got from boxlook here I just changed the colors and made it a bit slimmer
Panel: its bmpanel, and a theme that i made myself, using the 'royalty' colors
Font: The panel and window decorations both use MS trebuchet

there isn't much of any interest in my menu.xml or rc.xml other than making urxvt open maximised with no decor

Last edited by mrcold (2008-03-21 21:33:45)

Offline

#32 2008-03-21 22:30:53

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Share your Openbox Desktop ! :)

Clean:
thumb-20080321-2442188948.png
Busy:
thumb-20080321-2441359327.png

Definitely a work-in-progress as I convert my old ob config to a tiling-wm-friendly setup.

standalone Openbox-session
xcompmgr (for some reason urxvt refuses to show shadows)
launcher: dmenu (not visible in the screenshot, but I rarely ever use the ob menu these days)
tray: stalonetray (normally hidden in dockmode, but you can see it in the busy shot)
panel: none (why?)
pager: netwmpager
stats/clock: conky
obtheme: Mint
gtk: Rezlooks-Gilouche
icons: Tango (yeah I know, hey I'm too busy)

Notable Keybinds (W==winkey && S==shift):

W-p:        dmenu (app launcher)
W-S-p:      gmrun
W-S-enter:  exec urxvt
W-e:        email (mutt)
W-w:        web (firefox)
W-f:        file manager (thunar)
W-1/2/3/4:  go to desktop 1 thru 4
W-S-1/2/3/4:move client window to desktop 1 thru 4

W-q:        reconfigure (reload menu/rc xmls)
W-S-q:      logout
W-S-delete: reboot
W-S-end:    shutdown

There's a ton more, but you get the gist of it.

autostart.sh (yeah, the sleeps are ridiculous, but its being finicky for some reason):

#. $GLOBALAUTOSTART

# launch these with openbox-session
# 'sleep' is not accumulative

numlockx &
xset r rate 250 50 &
xsetroot -solid black &
xsetroot -cursor_name left_ptr &
xbindkeys &
xscreensaver -no-splash &

nitrogen --restore &
#eval `cat $HOME/.fehbg` &
#xcompmgr -cC -t-3 -l-5 -r5 -o.65 &   # shadows
xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7 &   # shadows and fades
(sleep 5 && stalonetray -w -p) &
(sleep 7 && glipper-old) &
(sleep 3 && conky -c ~/.conkyrc-clock) &
(sleep 3 && conky) &
(sleep 7 && netwmpager) &   # req's xcompmgr -C flag for transparency
urxvt &

rc.xml:

<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
  <resistance>
    <strength>10</strength>
    <screen_edge_strength>20</screen_edge_strength>
  </resistance>
  <focus>
    <focusNew>yes</focusNew>
    <!-- always try to focus new windows when they appear. other rules do
       apply -->
    <followMouse>no</followMouse>
    <!-- move focus to a window when you move the mouse into it -->
    <focusLast>yes</focusLast>
    <!-- focus the last used window when changing desktops, instead of the one
       under the mouse pointer. when followMouse is enabled -->
    <underMouse>no</underMouse>
    <!-- move focus under the mouse, even when the mouse is not moving -->
    <focusDelay>300</focusDelay>
    <!-- when followMouse is enabled, the mouse must be inside the window for
       this many milliseconds (1000 = 1 sec) before moving focus to it -->
    <raiseOnFocus>yes</raiseOnFocus>
    <!-- when followMouse is enabled, and a window is given focus by moving the
       mouse into it, also raise the window -->
  </focus>
  <placement>
    <policy>Smart</policy>
    <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
    <!-- whether to place windows in the center of the free area found or
       the top left corner -->
    <monitor>Any</monitor>
  </placement>
  <theme>
    <name>Mint</name>
    <titleLayout>LIMC</titleLayout>
    <!--
      avaible characters are NDSLIMC, each can occur at most once.
      N: window icon
      L: window label (AKA title).
      I: iconify
      M: maximize
      C: close
      S: shade (roll up/down)
      D: omnipresent (on all desktops).
  -->
    <keepBorder>yes</keepBorder>
    <animateIconify>yes</animateIconify>
    <font place="ActiveWindow">
      <name>nu</name>
      <size>8</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
    <font place="InactiveWindow">
      <name>nu</name>
      <size>8</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuHeader">
      <name>nu</name>
      <size>12</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuItem">
      <name>nu</name>
      <size>8</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
    <font place="OnScreenDisplay">
      <name>nu</name>
      <size>12</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
  </theme>
  <desktops>
    <!-- this stuff is only used at startup, pagers allow you to change them
       during a session

       these are default values to use when other ones are not already set
       by other applications, or saved in your session

       use obconf if you want to change these without having to log out
       and back in -->
    <number>4</number>
    <firstdesk>1</firstdesk>
    <names>
      <!-- set names up here if you want to, like this: -->
      <name>main</name>
      <name>www</name>
      <name>win32</name>
      <name>misc</name>
    </names>
    <popupTime>650</popupTime>
  </desktops>
  <resize>
    <drawContents>yes</drawContents>
    <popupShow>Always</popupShow>
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
    <popupPosition>Center</popupPosition>
    <!-- 'Center' or 'Top' -->
    <popupFixedPosition>
      <x>0</x>
      <y>0</y>
    </popupFixedPosition>
  </resize>
  <!-- You can reserve a portion of your screen where windows will not cover when
     they are maximized, or when they are initially placed.
     Many programs reserve space automatically, but you can use this in other
     cases. -->
  <margins>
    <top>20</top>
    <bottom>20</bottom>
    <left>20</left>
    <right>20</right>
  </margins>
  <dock>
    <position>TopLeft</position>
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
    <floatingX>6</floatingX>
    <floatingY>5</floatingY>
    <noStrut>no</noStrut>
    <stacking>Above</stacking>
    <!-- 'Above', 'Normal', or 'Below' -->
    <direction>Horizontal</direction>
    <!-- 'Vertical' or 'Horizontal' -->
    <autoHide>yes</autoHide>
    <hideDelay>300</hideDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <showDelay>100</showDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- 'Left', 'Middle', 'Right' -->
  </dock>
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for desktop switching -->
    <keybind key="W-Left">
      <action name="DesktopLeft">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-Right">
      <action name="DesktopRight">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-Up">
      <action name="DesktopUp">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-Down">
      <action name="DesktopDown">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-S-Left">
      <action name="SendToDesktopLeft">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-S-Right">
      <action name="SendToDesktopRight">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-S-Up">
      <action name="SendToDesktopUp">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-S-Down">
      <action name="SendToDesktopDown">
        <dialog>no</dialog>
        <wrap>yes</wrap>
      </action>
    </keybind>
    <keybind key="W-1">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
    </keybind>
    <keybind key="W-2">
      <action name="Desktop">
        <desktop>2</desktop>
      </action>
    </keybind>
    <keybind key="W-3">
      <action name="Desktop">
        <desktop>3</desktop>
      </action>
    </keybind>
    <keybind key="W-4">
      <action name="Desktop">
        <desktop>4</desktop>
      </action>
    </keybind>
    <keybind key="W-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="W-S-c">
      <action name="Close"/>
    </keybind>
    <keybind key="W-m">
      <action name="Iconify"/>
    </keybind>
    <keybind key="A-F4">
      <action name="Close"/>
    </keybind>
    <keybind key="W-Escape">
      <action name="Lower"/>
      <action name="FocusToBottom"/>
      <action name="Unfocus"/>
    </keybind>
    <keybind key="W-F3">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </keybind>
    <!-- Keybindings for window switching -->
    <keybind key="W-Tab">
      <action name="NextWindow"/>
    </keybind>
    <keybind key="W-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="A-Tab">
      <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="W-S-Tab">
      <action name="NextWindow">
        <panels>yes</panels>
        <desktop>yes</desktop>
      </action>
    </keybind>
   <keybind key="Print">
      <action name="Execute">
        <execute>scrot %Y%m%d.png -t 280x175</execute>
      </action>
    </keybind>
    <keybind key="S-Print">
      <action name="Execute">
        <execute>scrot %Y%m%d.png -d 3 -t 280x175</execute>
      </action>
    </keybind>
    <keybind key="C-A-l">
      <action name="Execute">
        <command>xscreensaver-command --lock</command>
      </action>
    </keybind>
    <keybind key="W-f">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Thunar</name>
        </startupnotify>
        <command>thunar</command>
      </action>
    </keybind>
    <keybind key="W-w">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Firefox</name>
        </startupnotify>
        <command>firefox</command>
      </action>
    </keybind>
    <keybind key="W-e">
      <action name="Execute">
        <command>urxvt -e mutt</command>
      </action>
    </keybind>
    <keybind key="W-v">
      <action name="Execute">
        <command>urxvt -e alsamixer</command>
      </action>
    </keybind>
    <keybind key="W-S-Return">
      <action name="Execute">
        <command>urxvt</command>
      </action>
    </keybind>
    <keybind key="W-q">
      <action name="Reconfigure"/>
    </keybind>
    <keybind key="W-F1">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>
    <keybind key="W-F2">
      <action name="ShowMenu">
        <menu>client-list-combined-menu</menu>
      </action>
    </keybind>
    <keybind key="W-p">
      <action name="Execute">
        <command>/home/thayer/bin/dmenuOB</command>
      </action>
    </keybind>
    <keybind key="W-S-p">
      <action name="Execute">
        <command>gmrun</command>
      </action>
    </keybind>
    <keybind key="W-h">
      <action name="MoveRelative">
        <x>-100</x>
        <y>0</y>
      </action>
    </keybind>
    <keybind key="W-l">
      <action name="MoveRelative">
        <x>100</x>
        <y>0</y>
      </action>
    </keybind>
    <keybind key="W-j">
      <action name="MoveRelative">
        <x>0</x>
        <y>100</y>
      </action>
    </keybind>
    <keybind key="W-k">
      <action name="MoveRelative">
        <x>0</x>
        <y>-100</y>
      </action>
    </keybind>
    <keybind key="W-z">
      <action name="ToggleMaximizeFull"/>
    </keybind>
    <keybind key="W-S-z">
      <action name="ToggleFullscreen"/>
    </keybind>
    <keybind key="W-y">
      <action name="ToggleMaximizeVert"/>
    </keybind>
    <keybind key="W-x">
      <action name="ToggleMaximizeHorz"/>
    </keybind>
    <keybind key="W-c">
      <action name="ToggleDecorations"/>
    </keybind>
    <keybind key="W-t">
      <action name="ToggleAlwaysOnTop"/>
    </keybind>
    <keybind key="W-s">
      <action name="ToggleShade"/>
    </keybind>
    <keybind key="W-S-t">
      <action name="ToggleOmnipresent"/>
    </keybind>
    <keybind key="W-space">
      <action name="DesktopLast"/>
    </keybind>
    <keybind key="W-S-1">
      <action name="SendToDesktop">
        <desktop>1</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-2">
      <action name="SendToDesktop">
        <desktop>2</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-3">
      <action name="SendToDesktop">
        <desktop>3</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-4">
      <action name="SendToDesktop">
        <desktop>4</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-q">
      <action name="Exit"/>
    </keybind>
    <keybind key="W-S-Delete">
      <action name="execute">
        <execute>sudo shutdown -r now</execute>
      </action>
    </keybind>
    <keybind key="W-S-End">
      <action name="execute">
        <execute>sudo shutdown -h now</execute>
      </action>
    </keybind>
    <keybind key="W-S-k">
      <action name="execute">
        <execute>xkill</execute>
      </action>
    </keybind>
 </keyboard>
  <mouse>
    <dragThreshold>8</dragThreshold>
    <!-- number of pixels the mouse must move before a drag begins -->
    <doubleClickTime>200</doubleClickTime>
    <!-- in milliseconds (1000 = 1 second) -->
    <screenEdgeWarpTime>300</screenEdgeWarpTime>
    <!-- time before changing desktops when the pointer touches the edge of the
       screen while moving a window, in milliseconds (1000 = 1 second),
       0 disables warping -->
    <context name="Frame">
      <mousebind button="W-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="W-Left" action="Click">
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="W-Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="W-Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="W-Right" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="W-Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="W-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="W-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="C-A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-S-Up" action="Click">
        <action name="SendToDesktopPrevious"/>
      </mousebind>
      <mousebind button="A-S-Down" action="Click">
        <action name="SendToDesktopNext"/>
      </mousebind>
    </context>
    <context name="Titlebar">
      <mousebind button="C-Up" action="Click">
        <action name="Execute">
          <execute>transset-df -p --inc 0.2</execute>
        </action>
      </mousebind>
      <mousebind button="C-Down" action="Click">
        <action name="Execute">
          <execute>transset-df -p --min 0.2 --dec 0.2</execute>
        </action>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="Left" action="DoubleClick">
        <action name="ToggleMaximizeFull"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="Up" action="Click">
        <action name="Shade"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
        <action name="Lower"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="Unshade"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="Top">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>top</edge>
        </action>
      </mousebind>
    </context>
    <context name="Left">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>left</edge>
        </action>
      </mousebind>
    </context>
    <context name="Right">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>right</edge>
        </action>
      </mousebind>
    </context>
    <context name="Bottom">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>bottom</edge>
        </action>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="BLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="BRCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="TLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="TRCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="Client">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Icon">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="AllDesktops">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleOmnipresent"/>
      </mousebind>
    </context>
    <context name="Shade">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleShade"/>
      </mousebind>
    </context>
    <context name="Iconify">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Iconify"/>
      </mousebind>
    </context>
    <context name="Maximize">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleMaximizeFull"/>
      </mousebind>
      <mousebind button="Middle" action="Click">
        <action name="ToggleMaximizeVert"/>
      </mousebind>
      <mousebind button="Right" action="Click">
        <action name="ToggleMaximizeHorz"/>
      </mousebind>
    </context>
    <context name="Close">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Close"/>
      </mousebind>
    </context>
    <context name="Desktop">
      <mousebind button="Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="C-A-Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Root">
      <!-- Menus -->
      <mousebind button="Left" action="Press">
        <action name="ShowMenu">
          <menu>client-list-combined-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>root-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="MoveResize">
      <mousebind button="Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
    </context>
  </mouse>
  <menu>
    <!-- You can specify more than one menu file in here and they are all loaded,
       just don't make menu ids clash or, well, it'll be kind of pointless -->
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
    <file>menu.xml</file>
    <hideDelay>200</hideDelay>
    <middle>no</middle>
    <submenuShowDelay>100</submenuShowDelay>
    <applicationIcons>yes</applicationIcons>
  </menu>
  <applications>
    <application class="">
      <decor>no</decor>
    </application>
    <!--
  # this is an example with comments through out. use these to make your
  # own rules, but without the comments of course.

  <application name="first element of window's WM_CLASS property (see xprop)"
              class="second element of window's WM_CLASS property (see xprop)"
               role="the window's WM_WINDOW_ROLE property (see xprop)">
  # the name or the class can be set, or both. this is used to match
  # windows when they appear. role can optionally be set as well, to
  # further restrict your matches.

  # the name, class, and role use simple wildcard matching such as those
  # used by a shell. you can use * to match any characters and ? to match
  # any single character.

  # when multiple rules match a window, they will all be applied, in the
  # order that they appear in this list


    # each element can be left out or set to 'default' to specify to not
    # change that attribute of the window

    <decor>yes</decor>
    # enable or disable window decorations

    <shade>no</shade>
    # make the window shaded when it appears, or not

    <position>
      # the position is only used if both an x and y coordinate are provided
      # (and not set to 'default')
      <x>center</x>
      # a number like 50, or 'center' to center on screen. use a negative number
      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
      # right edge (or bottom).
      <y>200</y>
      <monitor>1</monitor>
      # specifies the monitor in a xinerama setup.
      # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>

    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to

    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops

    <layer>normal</layer>
    # 'above', 'normal', or 'below'

    <iconic>no</iconic>
    # make the window iconified when it appears, or not

    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers

    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows

    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears

    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
  </application>

  # end of the example
-->
  </applications>
</openbox_config>

menu.xml (a bit outdated and rarely used):

<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
    <menu id="root-menu" label="OpenBox 3">
    <separator label="Openbox" />
        <item label="gvim"> <action name="Execute"> <execute>gvim</execute> </action> </item>
        <item label="Shell"> <action name="Execute"> <execute>urxvt</execute> </action> </item>
        <item label="Thunar"> <action name="Execute"> <execute>nautilus</execute> </action> </item>
        <item label="Thunar (root)"> <action name="Execute"> <execute>gksudo nautilus</execute> </action> </item>
        <item label="Run..."> <action name="Execute"> <execute>gmrun</execute> </action> </item>
        <separator />
        <item label="Firefox"> <action name="Execute"> <execute>firefox</execute> </action> </item>
        <item label="Mutt"> <action name="Execute"> <execute>urxvt -e mutt</execute> </action> </item>
        <item label="Invitation"> <action name="Execute"> <execute>java -jar /home/thayer/media/docs/ucfv/2007\ Fall/comp125/invitation/Invitation.jar</execute> </action> </item>
        <separator />
        <menu id="2" label="Editors">
            <item label="gedit"> <action name="Execute"> <execute>gedit</execute> </action> </item>
            <item label="Gvim"> <action name="Execute"> <execute>gvim</execute> </action> </item>
            <item label="Nano"> <action name="Execute"> <execute>urxvt -e nano</execute> </action> </item>
            <item label="Vim"> <action name="Execute"> <execute>urxvt -e vim</execute> </action> </item>
        </menu>
        <menu id="18" label="Games">
            <item label="foobillard"> <action name="Execute"> <execute>foobillard</execute> </action> </item>
            <item label="frozen bubble"> <action name="Execute"> <execute>frozen-bubble</execute> </action> </item>
            <item label="half-life 2"> <action name="Execute"> <execute>/home/thayer/media/games/hl2.sh</execute> </action> </item>
            <item label="half-life 2 ep2"> <action name="Execute"> <execute>/home/thayer/media/games/hl2episode2.sh</execute> </action> </item>
            <item label="lbreakout2"> <action name="Execute"> <execute>lbreakout2</execute> </action> </item>
            <item label="neverball"> <action name="Execute"> <execute>neverball</execute> </action> </item>
            <item label="stellarium"> <action name="Execute"> <execute>stellarium</execute> </action> </item>
            <item label="trackballs"> <action name="Execute"> <execute>trackballs</execute> </action> </item>
            <item label="tuxracer"> <action name="Execute"> <execute>tuxracer</execute> </action> </item>
        </menu>
        <menu id="6" label="Graphics">
            <item label="gcolor2"> <action name="Execute"> <execute>gcolor2</execute> </action> </item>
            <item label="GIMP"> <action name="Execute"> <execute>gimp</execute> </action> </item>
            <item label="gThumb"> <action name="Execute"> <execute>gthumb</execute> </action> </item>
            <item label="Inkscape"> <action name="Execute"> <execute>inkscape</execute> </action> </item>
      <item label="Mirage"> <action name="Execute"> <execute>mirage ~/tmp</execute> </action> </item>
            <item label="Nitrogen"> <action name="Execute"> <execute>nitrogen ~/media/wallpaper</execute> </action> </item>
            <item label="xsane"> <action name="Execute"> <execute>xsane</execute> </action> </item>
        </menu>
        <menu id="7" label="Multimedia">
            <item label="ALSA mixer"> <action name="Execute"> <execute>urxvt -e alsamixer</execute> </action> </item>
            <item label="Audacity"> <action name="Execute"> <execute>audacity</execute> </action> </item>
            <item label="EasyTAG"> <action name="Execute"> <execute>easytag</execute> </action> </item>
            <item label="Grip"> <action name="Execute"> <execute>grip</execute> </action> </item>
            <item label="K3b"> <action name="Execute"> <execute>k3b</execute> </action> </item>
            <item label="K9Copy"> <action name="Execute"> <execute>k9copy</execute> </action> </item>
            <item label="MPlayer"> <action name="Execute"> <execute>gmplayer</execute> </action> </item>
            <item label="streamtuner"> <action name="Execute"> <execute>streamtuner</execute> </action> </item>
        </menu>
        <menu id="5" label="Network">
            <item label="Firefox"> <action name="Execute"> <execute>firefox</execute> </action> </item>
            <item label="Gwget"> <action name="Execute"> <execute>gwget</execute> </action> </item>
            <item label="Grsync"> <action name="Execute"> <execute>grsync</execute> </action> </item>
            <item label="Network Tools"> <action name="Execute"> <execute>gnome-nettool</execute> </action> </item>
            <item label="Opera"> <action name="Execute"> <execute>opera</execute> </action> </item>
            <item label="Pidgin IM"> <action name="Execute"> <execute>pidgin</execute> </action> </item>
            <item label="Thunderbird"> <action name="Execute"> <execute>thunderbird</execute> </action> </item>
            <item label="Transmission"> <action name="Execute"> <execute>transmission</execute> </action> </item>
            <!-- <item label="Wifi-radar"> <action name="Execute"> <execute>sudo -S wifi-radar</execute> </action> </item> -->
        </menu>
        <menu id="3" label="Office">
            <item label="Adobe Reader"> <action name="Execute"> <execute>acroread</execute> </action> </item>
            <item label="ePDFViewer"> <action name="Execute"> <execute>epdfview</execute> </action> </item>
            <item label="OpenOffice Base"> <action name="Execute"> <execute>soffice -base</execute> </action> </item>
            <item label="OpenOffice Calc"> <action name="Execute"> <execute>soffice -calc</execute> </action> </item>
            <item label="OpenOffice Draw"> <action name="Execute"> <execute>soffice -draw</execute> </action> </item>
            <item label="OpenOffice Impress"> <action name="Execute"> <execute>soffice -impress</execute> </action> </item>
            <item label="OpenOffice Math"> <action name="Execute"> <execute>soffice -math</execute> </action> </item>
            <item label="OpenOffice Printer Administration"> <action name="Execute"> <execute>spadmin</execute> </action> </item>
            <item label="OpenOffice Writer"> <action name="Execute"> <execute>soffice -writer</execute> </action> </item>
        </menu>
        <menu id="37" label="System">
            <menu id="36" label="Settings">
                <menu id="41" label="GNOME">
                    <item label="Control Center"> <action name="Execute"> <execute>gnome-control-center</execute> </action> </item>
                    <item label="Gconf Editor"> <action name="Execute"> <execute>gconf-editor</execute> </action> </item>
                </menu>
                <menu id="35" label="Xfce">
                    <item label="Xfce 4 Appfinder"> <action name="Execute"> <execute>xfce4-appfinder</execute> </action> </item>
                    <item label="Xfce 4 Panel Manager"> <action name="Execute"> <execute>xfce4-panel -c</execute> </action> </item>
                    <item label="Xfce 4 Preferred Applications"> <action name="Execute"> <execute>exo-preferred-applications</execute> </action> </item>
                </menu>
                <item label="ATI Catalyst Control Center"> <action name="Execute"> <execute>amdcccle</execute> </action> </item>
                <item label="Openbox Configuration Manager"> <action name="Execute"> <execute>obconf</execute> </action> </item>
                <item label="Xscreensaver"> <action name="Execute"> <execute>xscreensaver-demo</execute> </action> </item>
            </menu>
            <!--<item label="Bulk Rename"> <action name="Execute"> <execute>/usr/lib/xfce4/ThunarBulkRename</execute> </action> </item>-->
            <item label="Htop"> <action name="Execute"> <execute>urxvt -e htop</execute> </action> </item>
            <item label="Manage Printing"> <action name="Execute"> <execute>xdg-open http://localhost:631/</execute> </action> </item>
            <item label="New Login in a Nested Window"> <action name="Execute"> <execute>gdmflexiserver --xnest</execute> </action> </item>
            <item label="pstree"> <action name="Execute"> <execute>urxvt -e pstree.x11</execute> </action> </item>
            <item label="Top"> <action name="Execute"> <execute>urxvt -e top</execute> </action> </item>
        </menu>
        <menu id="38" label="Utilities">
            <item label="Activate ScreenSaver"> <action name="Execute"> <execute>xscreensaver-command -activate</execute> </action> </item>
            <item label="Baobab (Disk Analyzer)"> <action name="Execute"> <execute>baobab</execute> </action> </item>
            <item label="Character Map (Gucharmap)"> <action name="Execute"> <execute>gucharmap</execute> </action> </item>
            <item label="File Roller"> <action name="Execute"> <execute>file-roller</execute> </action> </item>
            <item label="Galculator"> <action name="Execute"> <execute>galculator</execute> </action> </item>
            <item label="Reinitialize XScreenSaver"> <action name="Execute"> <execute>xscreensaver-command -restart</execute> </action> </item>
            <item label="ScreenSaver Preferences"> <action name="Execute"> <execute>xscreensaver-command -prefs</execute> </action> </item>
            <item label="Take Screenshot"> <action name="Execute"> <execute>gnome-screenshot --interactive</execute> </action> </item>
            <menu id="65" label="X Legacy">
                <item label="Oclock"> <action name="Execute"> <execute>oclock</execute> </action> </item>
                <item label="Xeyes"> <action name="Execute"> <execute>xeyes</execute> </action> </item>
                <item label="Xlogo"> <action name="Execute"> <execute>xlogo</execute> </action> </item>
                <item label="Xconsole"> <action name="Execute"> <execute>xconsole</execute> </action> </item>
                <item label="Xload"> <action name="Execute"> <execute>xload</execute> </action> </item>
                <item label="Xfontsel"> <action name="Execute"> <execute>xfontsel</execute> </action> </item>
                <item label="Xvidtune"> <action name="Execute"> <execute>xvidtune</execute> </action> </item>
                <item label="Xclipboard"> <action name="Execute"> <execute>xclipboard</execute> </action> </item>
                <item label="Xclock (analog)"> <action name="Execute"> <execute>xclock -analog</execute> </action> </item>
                <item label="Xclock (digital)"> <action name="Execute"> <execute>xclock -digital -update 1</execute> </action> </item>
                <item label="Xcutsel"> <action name="Execute"> <execute>xcutsel</execute> </action> </item>
                <item label="Xedit"> <action name="Execute"> <execute>xedit</execute> </action> </item>
                <item label="Xev"> <action name="Execute"> <execute>urxvt -e xev</execute> </action> </item>
                <item label="Xkill"> <action name="Execute"> <execute>xkill</execute> </action> </item>
                <item label="Xmag"> <action name="Execute"> <execute>xmag</execute> </action> </item>
                <item label="Xman"> <action name="Execute"> <execute>xman</execute> </action> </item>
                <item label="Xrefresh"> <action name="Execute"> <execute>xrefresh</execute> </action> </item>
                <item label="Xsetroot"> <action name="Execute"> <execute>xsetroot</execute> </action> </item>
            </menu>
        </menu>
        <menu id="66" label="Virtualization">
            <item label="Fireworks"> <action name="Execute"> <execute>/home/thayer/.cxoffice/Fireworks-WinXP/desktopdata/cxmenu/StartMenu.c^5E3A^5Fwindows^5Fprofiles^5FAll^2BUsers^5FStart^2BMenu/Programs/Macromedia/Macromedia+Fireworks+MX</execute> </action> </item>
            <item label="Internet Explorer"> <action name="Execute"> <execute>/home/thayer/.cxoffice/win98/desktopdata/cxmenu/StartMenu.c^5E3A^5Fwindows^5Fprofiles^5Fcrossover^5FStart^2BMenu/Programs/Internet+Explorer</execute> </action> </item>
            <item label="VirtualBox"> <action name="Execute"> <execute>VirtualBox</execute> </action> </item>
            <item label="Visio XP"> <action name="Execute"> <execute>/home/thayer/.cxoffice/default/desktopdata/cxmenu/StartMenu.c^5E3A^5Fwindows^5Fprofiles^5Fcrossover^5FStart^2BMenu/Programs/Microsoft+Visio</execute> </action> </item>
        <separator />
            <item label="Install Windows Software"> <action name="Execute"> <execute>~/cxoffice/bin/cxinstallwizard</execute> </action> </item>
            <item label="Run a Windows Command"> <action name="Execute"> <execute>~/cxoffice/bin/cxrun</execute> </action> </item>
            <item label="Reset Windows Software"> <action name="Execute"> <execute>~/cxoffice/bin/cxreset</execute> </action> </item>
            <item label="Configure Crossover"> <action name="Execute"> <execute>~/cxoffice/bin/cxsetup</execute> </action> </item>
        </menu>
        <separator />
        <!-- <menu id="proc-menu2" label="processes2" execute="~/.config/openbox/bin/processes.py" /> -->
        <menu id="proc-menu" label="processes" execute="~/.config/openbox/bin/procinfo.pl" />
        <separator />
        <menu id="40" label="OpenBox">
            <menu id="client-list-menu"/>
                <item label="Edit autostart.sh"> <action name="Execute"> <execute>gvim ~/.config/openbox/autostart.sh</execute> </action> </item>
                <item label="Edit menu.xml"> <action name="Execute"> <execute>gvim ~/.config/openbox/menu.xml</execute> </action> </item>
                <item label="Edit rc.xml"> <action name="Execute"> <execute>gvim ~/.config/openbox/rc.xml</execute> </action> </item>
                <item label="Obconf"> <action name="Execute"> <execute>obconf</execute> </action> </item>
                <item label="Reconfigure"> <action name="Reconfigure"/> </item>
                <item label="GTK Theme"> <action name="Execute"> <execute>gtk-chtheme</execute> </action> </item>
            </menu>
        <menu id="64" label="Shutdown">
            <item label="Lock"> <action name="Execute"> <execute>xscreensaver-command --lock</execute> </action> </item>
            <item label="Logout"> <action name="Exit"/> </item>
            <item label="Reboot"> <action name="Execute"> <execute>sudo shutdown -r now</execute> </action> </item>
            <item label="Suspend"> <action name="Execute"> <execute>sudo pm-suspend</execute> </action> </item>
            <item label="Hibernate"> <action name="Execute"> <execute>sudo pm-hibernate</execute> </action> </item>
            <item label="Poweroff"> <action name="Execute"> <execute>sudo shutdown -h now</execute> </action> </item>
        </menu>
    </menu>
</openbox_menu>

conkyrc:

default_color white
default_shade_color black
default_outline_color black


# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:bold:size=12
#xftfont AvantGarde LT Medium:size=10
xftfont Arial:bold:size=10

xftalpha 1.0
# out_to_console no
# out_to_console no
#mail_spool $MAIL
update_interval 3.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_colour 111111
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1480 0
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1

#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
#alignment none

gap_x 50
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes
#max_port_monitor_connections 256
#max_specials 512
#max_user_text 16384
#music_player_interval (update_interval is default)

# stuff after 'TEXT' will be formatted on screen
# $nodename - $sysname $kernel on $machine
# $stippled_hr
# ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
# ${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
# ${color red}${cpugraph 0000ff 00ff00}
# ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}

TEXT
${time %a %b %d}   ::   CPU ${cpu cpu1}% / ${cpu cpu2}%  (${i8k_cpu_temp}c)   ${loadavg 1} ${loadavg 2 3}   ::   ${freq_g 1}/${freq_g 2} GHz   ::   $memperc% ($mem)    ::   ${if_empty ${exec awk '{print $2}' /proc/acpi/ac_adapter/AC/state | grep 'on-line'}}${else}${endif}$battery $battery_time   ::   ${if_empty ${exec ifconfig wlan0 | grep 'inet addr:'}}${downspeed eth0}K/s ${upspeed eth0}K/s${else}${exec iwconfig wlan0 | grep 'Signal level' | cut -d= -f3 | awk '{print 100+$1 "%"}'}  ${exec iwgetid | cut -d\" -f2 | awk '{print  $1}'}   ${downspeed wlan0}K/s ${upspeed wlan0}K/s${endif}   ::   $mpd_smart

conkyrc-clock:

default_color white
default_shade_color black
default_outline_color black

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
# xftfont Bitstream Vera Sans Mono:size=8
xftfont AvantGarde LT Medium:size=36
#xftfont Domestic Manners:size=64
#xftfont Impact:size=56
#xftfont AXswar:size=56

xftalpha 1.0
# out_to_console no
# out_to_console no
mail_spool $MAIL
update_interval 3.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_colour 111111
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 0 0
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_margin 0
border_width 0

alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 20
gap_y 20

uppercase no
override_utf8_locale no
use_spacer no

TEXT
${time %l:%M%P}

Last edited by thayer (2011-03-07 16:44:59)


thayer williams ~ cinderwick.ca

Offline

#33 2008-03-21 22:43:16

k.mandla
Member
From: Japan
Registered: 2006-05-16
Posts: 86
Website

Re: Share your Openbox Desktop ! :)

Mine are usually rather sparse, but change kind of frequently. Here's an okayish sample.

screenshot-2008-03-18-091250-reduced-908.jpg.xs.jpg


Linux user No. 409907

Offline

#34 2008-03-22 05:26:45

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Share your Openbox Desktop ! :)

thayer, I know it is a stupid question, but where could I download the tango icon pack? I can only find gTango on gnome-look, as well as Tango generator which I do not know how to use.

Offline

#35 2008-03-22 09:32:55

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: Share your Openbox Desktop ! :)

@hk2717

pacman -S tango-icon-theme tango-icon-theme-extras

Offline

#36 2008-03-22 12:03:48

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Share your Openbox Desktop ! :)

canistra wrote:

@hk2717

pacman -S tango-icon-theme tango-icon-theme-extras

Thank you!

Offline

#37 2008-03-22 17:55:38

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: Share your Openbox Desktop ! :)

My Updated Desktop:

200803221949491024x768sis2.th.png

My New .pypanelrc:

#------------------------------------------------------------------------------
#
#                         PyPanel v2.4 Configuration
#
# This configuration file is a Python script that will be executed when
# PyPanel is started.  In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
#------------------------------------------------------------------------------
VERSION         = 2.4           # Config file version

#------------------------------------------------------------------------------
# Colors: Format is hex triplet - 0xrrggbb
#------------------------------------------------------------------------------
BG_COLOR    = "0x333333"
TASK_COLOR      = "0xece9e2"
FOCUSED_COLOR   = "0xece9e2"
SHADED_COLOR    = "0xece9e2"
MINIMIZED_COLOR = "0xece9e2"
DESKTOP_COLOR   = "0xece9e2"
CLOCK_COLOR    = "0xece9e2"
LINE_COLOR    = "0xece9e2"

TASK_SHADOW_COLOR    = "0xFFFFFF"
FOCUSED_SHADOW_COLOR    = "0xFFFFFF"
SHADED_SHADOW_COLOR    = "0xFFFFFF"
MINIMIZED_SHADOW_COLOR    = "0xFFFFFF" 
DESKTOP_SHADOW_COLOR    = "0xFFFFFF"
CLOCK_SHADOW_COLOR    = "0xFFFFFF"

#------------------------------------------------------------------------------
# Panel Spacing and Location Options: Measured in pixels
#------------------------------------------------------------------------------
P_LOCATION      = 1             # Panel placement: 0 = top, 1 = bottom
P_WIDTH         = 0             # Panel width: 0 = Use full screen width
P_START         = 0             # Starting X coordinate of the panel
P_SPACER        = 6             # Spacing between panel objects
P_HEIGHT        = 16            # Panel height

#------------------------------------------------------------------------------
# Icon Size Options: Measured in pixels
#------------------------------------------------------------------------------
I_HEIGHT        = 16            # Panel application icon height
I_WIDTH         = 16            # Panel application icon Width 
APPL_I_HEIGHT   = 16            # Application launcher icon height
APPL_I_WIDTH    = 16            # Application launcher icon width
TRAY_I_HEIGHT   = 16            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 16            # System tray icon width  (usually 16 or 24)
                                # If TRAY_I_WIDTH is set to 0, then the
                                # width specified by the tray app will be used
                                
#------------------------------------------------------------------------------
# Panel Clock Format: 'man strftime' for detailed formatting options and help
#------------------------------------------------------------------------------
CLOCK_FORMAT    = "%d.%m.%Y // %I:%M"    # Ex: 2004-09-25 17:45 

#------------------------------------------------------------------------------
# Clock Delay: Seconds between each clock update during periods of inactivity
#------------------------------------------------------------------------------
CLOCK_DELAY     = 20

#------------------------------------------------------------------------------
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#------------------------------------------------------------------------------
HIDE_LIST       = []            
                   
#------------------------------------------------------------------------------
# Hidden Panel Size: Size of the panel when it's hidden/minimized
#------------------------------------------------------------------------------
HIDDEN_SIZE     = 2

#------------------------------------------------------------------------------
# Panel Text Font: This option takes either a traditional or Xft font string 
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
#     "aquafont-8" 
#------------------------------------------------------------------------------
#FONT            = "bitstream vera sans-8"
#FONT            = "sans-8:bold"
FONT        = "Myraid Pro:size=8"

#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above
SHADE        = 200

#------------------------------------------------------------------------------
# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled  - Show only minimized apps on the panel
#------------------------------------------------------------------------------
SHOWMINIMIZED   = 0

#------------------------------------------------------------------------------
# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
#
# The "default" entry is used for applications with no icon.  If left "",
# PyPanel will use the default icon distributed with the source.
#
# Add entries using the following format -
#     "<application name>" : "<full path to icon>",
#------------------------------------------------------------------------------
ICON_LIST       = {
                   "default" : "",
                   "example" : "/usr/share/imlib2/data/images/audio.png",
                  }
                  
#------------------------------------------------------------------------------
# Application Launch List: Ordered list of icons and applications for the
#                          application launcher.
# 
# Add entries using the following format -
#     ("<executable>", "<full path to icon>")
#------------------------------------------------------------------------------
LAUNCH_LIST     = [
                   ("/home/uzusan/firefox/firefox", "/home/uzusan/.icons/glass-icons/scalable/apps/firefox-icon.png"),
                   ("evolution", "/home/uzusan/.icons/glass-icons/scalable/apps/thunderbird.png"),
                   ("/home/uzusan/.scripts/urxvt.sh", "/home/uzusan/.icons/glass-icons/scalable/apps/gnome-terminal.png"),
                   ("thunar", "/home/uzusan/.icons/glass-icons/scalable/apps/my-computer.png"),
                   ("amarok", "/usr/share/app-install/icons/amarok.png"),

                  ]

#------------------------------------------------------------------------------
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
#------------------------------------------------------------------------------


#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
ABOVE           = 1             # Panel is always above other apps
APPICONS        = 0             # Show application icons
AUTOHIDE        = 0             # Autohide uses the CLOCK_DELAY timer above
SHADOWS         = 0             # Show text shadows
SHOWLINES       = 0             # Show object seperation lines
SHOWBORDER      = 0             # Show a border around the panel

#------------------------------------------------------------------------------
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
#------------------------------------------------------------------------------
DESKTOP_NAMES   = []

#------------------------------------------------------------------------------
# Panel Layout:       -----------------------------------
#                     [  1  ][  2  ][  3  ][  4  ][  5  ]
#                     -----------------------------------
#
# The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
# in the diagram above.  Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
#------------------------------------------------------------------------------
DESKTOP         = 0             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 0             # System tray section
CLOCK           = 4             # Clock section
LAUNCHER        = 0             # Application launcher section

#------------------------------------------------------------------------------
#                       Button Event Function Definitions
#------------------------------------------------------------------------------
# Left click   - button 1 
# Middle click - button 2
# Right click  - button 3
# Wheel up     - button 4
# Wheel down   - button 5 
#
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
# 
# toggleShade(task)
# - Shade or Unshade an application
#
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
#
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
#
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it 
#
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
#
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
#
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
#------------------------------------------------------------------------------

#----------------------------------
def desktopButtonEvent(pp, button):
#----------------------------------
    """ Button event handler for the panel's desktop object """
        
    if button == 1:
        pp.changeDesktop(-1)
    elif button == 2:
        pp.changeDesktop(2)
    elif button == 3:
        pp.changeDesktop(1)
    elif button == 4:
        pp.changeDesktop(1)
    elif button == 5:
        pp.changeDesktop(-1)
        
#--------------------------------
def clockButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel's clock object """
    
    if button == 1:
        os.system("xclock &")
    elif button == 2:
        pass
    elif button == 3:
        pp.toggleHidden()  
    elif button == 4:
        pp.showDesktop()
    elif button == 5:
        pp.showDesktop()
        
#--------------------------------
def panelButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel with no active tasks """
    
    if button == 1:
        pp.taskRaise(task, focus=1)
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------

    if button == 1:
        pp.taskFocus(task)
        pp.taskFocus(task)
    elif button == 2:
    # Destroy the application
        task.obj.destroy()
    elif button == 3:
        # Ex. - XMMS doesn't shade, so we want to minimize it instead and
        #       still use button 3 to shade other applications
        #       task.tclass is the tasks class name (WM_CLASS)
        if "xmms" in task.tclass:
            pp.toggleMinimize(task)
        else:
            pp.toggleShade(task)
    elif button == 4:
        pp.taskRaise(task, focus=1)
    elif button == 5:
        pp.taskLower(task, focus=0)

My New .conkyrc:


background no
use_xft yes
xftfont Sans:size=8

xftalpha 0.9
update_interval 3.0
total_run_times 0
double_buffer yes

own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
border_margin 1
border_width 1
default_color 0b093a
default_outline_color a6b38d

alignment top_left
#gap_x 40
#gap_y 29
gap_x 5
gap_y 5

no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no

#use_spacer no
#maximum_width 1000
#minimum_width 890

TEXT
${font Sans:bold:size=8}Up Time:$font $uptime
${font Sans:bold:size=8}Mail:$font ${execi 1800 python ~/scripts/gmail.py} 
${font Sans:bold:size=8}Updates:$font ${execi 1800 perl /home/canistra/scripts/conky-updates.pl} 
${font Sans:bold:size=8}Weather:$font ${execi 1800 weatherget -f ~/scripts/.conkyweatherrc --station-id=MDXX0001 --metric }


${font Sans:bold:size=8}Cpu: $font${cpu}% 
${font Sans:bold:size=8}Ram: $font $memperc%
${font Sans:bold:size=8}Swap: $font $swapperc%


${font Sans:bold:size=8}Down: ${font}${downspeed eth0} Kb/s
${font Sans:bold:size=8}Total:${font} ${totaldown eth0}
${font Sans:bold:size=8}Up:$font ${upspeed eth0} Kb/s
${font Sans:bold:size=8}Total:${font} ${totalup eth0}


${font Sans:bold:size=8}Root:$font ${fs_free /}
${font Sans:bold:size=8}Home$font ${fs_free /home}
${font Sans:bold:size=8}Media:$font ${fs_free /mnt/d}

My .Xdefaults:


XTerm*color0: #000000
XTerm*color1: #b21818
XTerm*color2: #18b218
XTerm*color3: #BE5F00
XTerm*color4: #6D85BA
XTerm*color5: #b218b2
XTerm*color6: #18b2b2
XTerm*color7: #b2b2b2
XTerm*color8: #686868
XTerm*color9: #FF5454
XTerm*color10: #54FF54
XTerm*color11: #FFFF54
XTerm*color12: #73A5FF
XTerm*color13: #FF54FF
XTerm*color14: #54FFFF
XTerm*color15: #FFFFFF
XTerm*background: black
XTerm*foreground: #A8A8A8 

Aterm*scrollBar: false
Aterm*loginShell: true
Aterm*transparent: true
Aterm*tintingType: true
Aterm*tinting: #a07040
#Aterm*shading: 35
Aterm*shading: 45
Aterm*title: Terminal
Aterm*iconName: Terminal
Aterm*font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso8859-15
Aterm*geometry: 100x33

Xcursor.theme:   neutral

Last edited by canistra (2008-03-22 17:56:02)

Offline

#38 2008-03-22 18:29:12

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: Share your Openbox Desktop ! :)

canistra wrote:

My Updated Desktop:

http://img218.imageshack.us/img218/3844 … is2.th.png

My New .pypanelrc:

#------------------------------------------------------------------------------
#
#                         PyPanel v2.4 Configuration
#
# This configuration file is a Python script that will be executed when
# PyPanel is started.  In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
#------------------------------------------------------------------------------
VERSION         = 2.4           # Config file version

#------------------------------------------------------------------------------
# Colors: Format is hex triplet - 0xrrggbb
#------------------------------------------------------------------------------
BG_COLOR    = "0x333333"
TASK_COLOR      = "0xece9e2"
FOCUSED_COLOR   = "0xece9e2"
SHADED_COLOR    = "0xece9e2"
MINIMIZED_COLOR = "0xece9e2"
DESKTOP_COLOR   = "0xece9e2"
CLOCK_COLOR    = "0xece9e2"
LINE_COLOR    = "0xece9e2"

TASK_SHADOW_COLOR    = "0xFFFFFF"
FOCUSED_SHADOW_COLOR    = "0xFFFFFF"
SHADED_SHADOW_COLOR    = "0xFFFFFF"
MINIMIZED_SHADOW_COLOR    = "0xFFFFFF" 
DESKTOP_SHADOW_COLOR    = "0xFFFFFF"
CLOCK_SHADOW_COLOR    = "0xFFFFFF"

#------------------------------------------------------------------------------
# Panel Spacing and Location Options: Measured in pixels
#------------------------------------------------------------------------------
P_LOCATION      = 1             # Panel placement: 0 = top, 1 = bottom
P_WIDTH         = 0             # Panel width: 0 = Use full screen width
P_START         = 0             # Starting X coordinate of the panel
P_SPACER        = 6             # Spacing between panel objects
P_HEIGHT        = 16            # Panel height

#------------------------------------------------------------------------------
# Icon Size Options: Measured in pixels
#------------------------------------------------------------------------------
I_HEIGHT        = 16            # Panel application icon height
I_WIDTH         = 16            # Panel application icon Width 
APPL_I_HEIGHT   = 16            # Application launcher icon height
APPL_I_WIDTH    = 16            # Application launcher icon width
TRAY_I_HEIGHT   = 16            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 16            # System tray icon width  (usually 16 or 24)
                                # If TRAY_I_WIDTH is set to 0, then the
                                # width specified by the tray app will be used
                                
#------------------------------------------------------------------------------
# Panel Clock Format: 'man strftime' for detailed formatting options and help
#------------------------------------------------------------------------------
CLOCK_FORMAT    = "%d.%m.%Y // %I:%M"    # Ex: 2004-09-25 17:45 

#------------------------------------------------------------------------------
# Clock Delay: Seconds between each clock update during periods of inactivity
#------------------------------------------------------------------------------
CLOCK_DELAY     = 20

#------------------------------------------------------------------------------
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#------------------------------------------------------------------------------
HIDE_LIST       = []            
                   
#------------------------------------------------------------------------------
# Hidden Panel Size: Size of the panel when it's hidden/minimized
#------------------------------------------------------------------------------
HIDDEN_SIZE     = 2

#------------------------------------------------------------------------------
# Panel Text Font: This option takes either a traditional or Xft font string 
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
#     "aquafont-8" 
#------------------------------------------------------------------------------
#FONT            = "bitstream vera sans-8"
#FONT            = "sans-8:bold"
FONT        = "Myraid Pro:size=8"

#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above
SHADE        = 200

#------------------------------------------------------------------------------
# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled  - Show only minimized apps on the panel
#------------------------------------------------------------------------------
SHOWMINIMIZED   = 0

#------------------------------------------------------------------------------
# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
#
# The "default" entry is used for applications with no icon.  If left "",
# PyPanel will use the default icon distributed with the source.
#
# Add entries using the following format -
#     "<application name>" : "<full path to icon>",
#------------------------------------------------------------------------------
ICON_LIST       = {
                   "default" : "",
                   "example" : "/usr/share/imlib2/data/images/audio.png",
                  }
                  
#------------------------------------------------------------------------------
# Application Launch List: Ordered list of icons and applications for the
#                          application launcher.
# 
# Add entries using the following format -
#     ("<executable>", "<full path to icon>")
#------------------------------------------------------------------------------
LAUNCH_LIST     = [
                   ("/home/uzusan/firefox/firefox", "/home/uzusan/.icons/glass-icons/scalable/apps/firefox-icon.png"),
                   ("evolution", "/home/uzusan/.icons/glass-icons/scalable/apps/thunderbird.png"),
                   ("/home/uzusan/.scripts/urxvt.sh", "/home/uzusan/.icons/glass-icons/scalable/apps/gnome-terminal.png"),
                   ("thunar", "/home/uzusan/.icons/glass-icons/scalable/apps/my-computer.png"),
                   ("amarok", "/usr/share/app-install/icons/amarok.png"),

                  ]

#------------------------------------------------------------------------------
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
#------------------------------------------------------------------------------


#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
ABOVE           = 1             # Panel is always above other apps
APPICONS        = 0             # Show application icons
AUTOHIDE        = 0             # Autohide uses the CLOCK_DELAY timer above
SHADOWS         = 0             # Show text shadows
SHOWLINES       = 0             # Show object seperation lines
SHOWBORDER      = 0             # Show a border around the panel

#------------------------------------------------------------------------------
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
#------------------------------------------------------------------------------
DESKTOP_NAMES   = []

#------------------------------------------------------------------------------
# Panel Layout:       -----------------------------------
#                     [  1  ][  2  ][  3  ][  4  ][  5  ]
#                     -----------------------------------
#
# The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
# in the diagram above.  Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
#------------------------------------------------------------------------------
DESKTOP         = 0             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 0             # System tray section
CLOCK           = 4             # Clock section
LAUNCHER        = 0             # Application launcher section

#------------------------------------------------------------------------------
#                       Button Event Function Definitions
#------------------------------------------------------------------------------
# Left click   - button 1 
# Middle click - button 2
# Right click  - button 3
# Wheel up     - button 4
# Wheel down   - button 5 
#
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
# 
# toggleShade(task)
# - Shade or Unshade an application
#
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
#
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
#
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it 
#
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
#
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
#
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
#------------------------------------------------------------------------------

#----------------------------------
def desktopButtonEvent(pp, button):
#----------------------------------
    """ Button event handler for the panel's desktop object """
        
    if button == 1:
        pp.changeDesktop(-1)
    elif button == 2:
        pp.changeDesktop(2)
    elif button == 3:
        pp.changeDesktop(1)
    elif button == 4:
        pp.changeDesktop(1)
    elif button == 5:
        pp.changeDesktop(-1)
        
#--------------------------------
def clockButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel's clock object """
    
    if button == 1:
        os.system("xclock &")
    elif button == 2:
        pass
    elif button == 3:
        pp.toggleHidden()  
    elif button == 4:
        pp.showDesktop()
    elif button == 5:
        pp.showDesktop()
        
#--------------------------------
def panelButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel with no active tasks """
    
    if button == 1:
        pp.taskRaise(task, focus=1)
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------

    if button == 1:
        pp.taskFocus(task)
        pp.taskFocus(task)
    elif button == 2:
    # Destroy the application
        task.obj.destroy()
    elif button == 3:
        # Ex. - XMMS doesn't shade, so we want to minimize it instead and
        #       still use button 3 to shade other applications
        #       task.tclass is the tasks class name (WM_CLASS)
        if "xmms" in task.tclass:
            pp.toggleMinimize(task)
        else:
            pp.toggleShade(task)
    elif button == 4:
        pp.taskRaise(task, focus=1)
    elif button == 5:
        pp.taskLower(task, focus=0)

My New .conkyrc:


background no
use_xft yes
xftfont Sans:size=8

xftalpha 0.9
update_interval 3.0
total_run_times 0
double_buffer yes

own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
border_margin 1
border_width 1
default_color 0b093a
default_outline_color a6b38d

alignment top_left
#gap_x 40
#gap_y 29
gap_x 5
gap_y 5

no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no

#use_spacer no
#maximum_width 1000
#minimum_width 890

TEXT
${font Sans:bold:size=8}Up Time:$font $uptime
${font Sans:bold:size=8}Mail:$font ${execi 1800 python ~/scripts/gmail.py} 
${font Sans:bold:size=8}Updates:$font ${execi 1800 perl /home/canistra/scripts/conky-updates.pl} 
${font Sans:bold:size=8}Weather:$font ${execi 1800 weatherget -f ~/scripts/.conkyweatherrc --station-id=MDXX0001 --metric }


${font Sans:bold:size=8}Cpu: $font${cpu}% 
${font Sans:bold:size=8}Ram: $font $memperc%
${font Sans:bold:size=8}Swap: $font $swapperc%


${font Sans:bold:size=8}Down: ${font}${downspeed eth0} Kb/s
${font Sans:bold:size=8}Total:${font} ${totaldown eth0}
${font Sans:bold:size=8}Up:$font ${upspeed eth0} Kb/s
${font Sans:bold:size=8}Total:${font} ${totalup eth0}


${font Sans:bold:size=8}Root:$font ${fs_free /}
${font Sans:bold:size=8}Home$font ${fs_free /home}
${font Sans:bold:size=8}Media:$font ${fs_free /mnt/d}

My .Xdefaults:


XTerm*color0: #000000
XTerm*color1: #b21818
XTerm*color2: #18b218
XTerm*color3: #BE5F00
XTerm*color4: #6D85BA
XTerm*color5: #b218b2
XTerm*color6: #18b2b2
XTerm*color7: #b2b2b2
XTerm*color8: #686868
XTerm*color9: #FF5454
XTerm*color10: #54FF54
XTerm*color11: #FFFF54
XTerm*color12: #73A5FF
XTerm*color13: #FF54FF
XTerm*color14: #54FFFF
XTerm*color15: #FFFFFF
XTerm*background: black
XTerm*foreground: #A8A8A8 

Aterm*scrollBar: false
Aterm*loginShell: true
Aterm*transparent: true
Aterm*tintingType: true
Aterm*tinting: #a07040
#Aterm*shading: 35
Aterm*shading: 45
Aterm*title: Terminal
Aterm*iconName: Terminal
Aterm*font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso8859-15
Aterm*geometry: 100x33

Xcursor.theme:   neutral

Looks nice. Do you mind posting conky-updates.pl? I've been looking for that smile Thanks

Offline

#39 2008-03-22 18:58:04

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: Share your Openbox Desktop ! :)

#! /usr/bin/perl -w
use strict;
# November 15, 2006
# Daniel Vredenburg (Vredfreak)
# This is a program that checks for package updates for Arch Linux users.

open (MYINPUTFILE, "/home/canistra/scripts/updates.log") or die "No such file or directory: $!";

my $i = 0;
while(<MYINPUTFILE>)
{
        if (/^(.*)\/(.*)(\..*\..*\.)/)  {
                #print " \n";
                $i++;
        }

}
if ($i == 0) {
        print "up to date";
} else {
        print "$i avalaible";
}
close(MYINPUTFILE);

you should create a empy updates.log file and change the path

also you need to place this file (pacsync.sh) to /etc/cron.hourly and also change the path to the updates.log file

#!/bin/bash

# This issues a command to 1. Sync the package database, 
# 2. Check for upgradable packages, 3. print the URL of any possible upgrade. 
# The output of our command gets written to updates.log, which we will use 
# conky_updates.sh to parse to see if there are any available updates.

pacman -Syup --noprogressbar > /home/canistra/scripts/updates.log

Offline

#40 2008-03-22 19:03:11

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: Share your Openbox Desktop ! :)

canistra wrote:

you should create a empy updates.log file and change the path

also you need to place this file (pacsync.sh) to /etc/cron.hourly and also change the path to the updates.log file

Thanks smile

Offline

#41 2008-03-22 22:48:34

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Share your Openbox Desktop ! :)

ep2011, when quoting another thread in your response, please trim it appropriately.  This will ensure we don't have 1200 word quotes with a 1 word response.


thayer williams ~ cinderwick.ca

Offline

#42 2008-03-22 23:07:32

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Share your Openbox Desktop ! :)

thayer wrote:

ep2011, when quoting another thread in your response, please trim it appropriately.  This will ensure we don't have 1200 word quotes with a 1 word response.

I did it for ya. wink

Offline

#43 2008-03-23 03:41:31

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: Share your Openbox Desktop ! :)

thayer wrote:

ep2011, when quoting another thread in your response, please trim it appropriately.  This will ensure we don't have 1200 word quotes with a 1 word response.

Sorry... I'll do that from now on.

Misfit138 wrote:
thayer wrote:

ep2011, when quoting another thread in your response, please trim it appropriately.  This will ensure we don't have 1200 word quotes with a 1 word response.

I did it for ya. wink

Thanks smile

(I hope these 2 quotes weren't too long wink)

Offline

#44 2008-03-24 10:29:41

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

Re: Share your Openbox Desktop ! :)

screen-11-18-37659.png.xs.jpg
Info in the screen, pcmanfm, fbpanel (think I'll switch to something else soon). I don't really have configured a lot yet, so I won't bother posting smile I also need better icons :<

Offline

#45 2008-03-24 12:30:41

okar
Member
Registered: 2008-03-01
Posts: 12

Re: Share your Openbox Desktop ! :)

can someone tell me the command for printing the Arch "A" and some system information?

Offline

#46 2008-03-24 14:00:50

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: Share your Openbox Desktop ! :)

@canistra you left handed?


Mr Green

Offline

#47 2008-03-24 14:40:39

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Share your Openbox Desktop ! :)

@okar: You may find one in this thread: http://bbs.archlinux.org/viewtopic.php?id=24208

Offline

#48 2008-03-24 16:25:54

canistra
Member
Registered: 2007-11-03
Posts: 66

Re: Share your Openbox Desktop ! :)

Mr Green wrote:

@canistra you left handed?

No ... Why do u think so ?

Offline

#49 2008-03-25 16:20:07

Bonzodog
Member
From: Leicester, UK
Registered: 2008-02-14
Posts: 106

Re: Share your Openbox Desktop ! :)

openarch988.png.xs.jpg

openarch1622.png.xs.jpg

Openbox, running undecorated. Firefox has been minimised down to one bar, have mpd extension in use, as well as 'Stylish'.
Conky is the clock.
A couple of configs:

Autostart.sh

# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

eval `cat ~/.fehbg` & 
/usr/local/bin/peksystray &
pidgin &
sleep 5
conky &

rc.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
        Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/                 file:///usr/share/openbox/rc.xsd">
  <applications><!-- match all windows, and remove their decorations --><application class="*"><decor>no</decor></application><!-- but give decorations back to Firefox -->
 # <application name="Firefox*">
 #  <decor>yes</decor>
 # </application>

</applications>
  <resistance>
    <strength>10</strength>
    <screen_edge_strength>20</screen_edge_strength>
  </resistance>
  <focus>
    <focusNew>yes</focusNew>
    <followMouse>yes</followMouse>
    <focusLast>no</focusLast>
    <focusDelay>0</focusDelay>
    <raiseOnFocus>no</raiseOnFocus>
    <underMouse>no</underMouse>
  </focus>
  <theme>
    <name>OpenRoyal</name>
    <titlelayout>LC</titlelayout>
    <keepBorder>no</keepBorder>
    <animateIconify>yes</animateIconify>
    <titleLayout>L</titleLayout>
    <font place="ActiveWindow">
      <name>Liberation Sans</name>
      <size>9</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <font place="InactiveWindow">
      <name>Liberation Sans</name>
      <size>1</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <font place="MenuHeader">
      <name>Liberation Sans</name>
      <size>9</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <font place="MenuItem">
      <name>Liberation Sans</name>
      <size>9</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <font place="OnScreenDisplay">
      <name>Liberation Sans</name>
      <size>9</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
  </theme>
  <placement>
    <policy>Smart</policy>
    <center>yes</center>
    <monitor>Any</monitor>
  </placement>
  <desktops>
    <number>4</number>
    <firstdesk>1</firstdesk>
    <names>
      <name>one</name>
      <name>two</name>
      <name>three</name>
      <name>four</name>
    </names>
    <popupTime>875</popupTime>
  </desktops>
  <resize>
    <drawContents>yes</drawContents>
    <popupShow>NonPixel</popupShow>
    <popupPosition>Center</popupPosition>
    <popupFixedPosition>
      <x>0</x>
      <y>0</y>
    </popupFixedPosition>
  </resize>
  <dock>
    <position>BottomRight</position>
    <stacking>Normal</stacking>
    <direction>Horizontal</direction>
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <autoHide>yes</autoHide>
    <hideDelay>500</hideDelay>
    <moveButton>A-Left</moveButton>
    <noStrut>no</noStrut>
    <showDelay>250</showDelay>
  </dock>
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <keybind key="A-F10">
      <action name="MaximizeFull"/>
    </keybind>
    <keybind key="A-F5">
      <action name="UnmaximizeFull"/>
    </keybind>
    <keybind key="A-F12">
      <action name="ToggleShade"/>
    </keybind>
    <keybind key="C-A-Left">
      <action name="DesktopLeft">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Right">
      <action name="DesktopRight">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Up">
      <action name="DesktopUp">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Down">
      <action name="DesktopDown">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Left">
      <action name="SendToDesktopLeft">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Right">
      <action name="SendToDesktopRight">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Up">
      <action name="SendToDesktopUp">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Down">
      <action name="SendToDesktopDown">
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <keybind key="A-F4">
      <action name="Close"/>
    </keybind>
    <keybind key="A-Tab">
      <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="A-F7">
      <action name="Move"/>
    </keybind>
    <keybind key="A-F8">
      <action name="Resize"/>
    </keybind>
    <keybind key="A-F9">
      <action name="Iconify"/>
    </keybind>
    <keybind key="A-space">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </keybind>
    <keybind key="A-F2">
      <action name="Execute">
        <startupnotify>
          <enabled>yes</enabled>
          <name>Run Dialog</name>
        </startupnotify>
        <execute>gmrun</execute>
      </action>
    </keybind>
  </keyboard>
  <mouse>
    <dragThreshold>3</dragThreshold>
    <doubleClickTime>200</doubleClickTime>
    <context name="Frame">
      <mousebind button="A-Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="A-Left" action="Click">
        <action name="Raise"/>
      </mousebind>
      <mousebind button="A-Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="A-Middle" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="A-Middle" action="Click">
        <action name="Lower"/>
      </mousebind>
      <mousebind button="A-Right" action="Press">
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="C-A-Up" action="Click">
        <action name="SendToDesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="SendToDesktopNext"/>
      </mousebind>
    </context>
    <context name="Titlebar">
      <mousebind button="Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="DoubleClick">
        <action name="ToggleShade"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
      </mousebind>
      <mousebind button="Up" action="Click">
        <action name="Shade"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="Handle">
      <mousebind button="Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
      </mousebind>
    </context>
    <context name="BLCorner">
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
    </context>
    <context name="BRCorner">
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
    </context>
    <context name="TLCorner">
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
    </context>
    <context name="TRCorner">
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
    </context>
    <context name="Client">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
      </mousebind>
    </context>
    <context name="Icon">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="AllDesktops">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleOmnipresent"/>
      </mousebind>
    </context>
    <context name="Shade">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleShade"/>
      </mousebind>
    </context>
    <context name="Iconify">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Iconify"/>
      </mousebind>
    </context>
    <context name="Maximize">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleMaximizeFull"/>
      </mousebind>
      <mousebind button="Middle" action="Click">
        <action name="ToggleMaximizeVert"/>
      </mousebind>
      <mousebind button="Right" action="Click">
        <action name="ToggleMaximizeHorz"/>
      </mousebind>
    </context>
    <context name="Close">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Close"/>
      </mousebind>
    </context>
    <context name="Desktop">
      <mousebind button="Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="ShowMenu">
          <menu>client-list-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>root-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="MoveResize">
      <mousebind button="Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Press">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Press">
        <action name="DesktopNext"/>
      </mousebind>
    </context>
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
  </mouse>
  <menu>
    <!-- You can specify more than one menu file in here and they are all loaded,
       just don't make menu ids clash or, well, it'll be kind of pointless -->
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
    <file>menu.xml</file>
  </menu>
  <margins>
    <left>0</left>
    <right>0</right>
    <top>0</top>
    <bottom>0</bottom>
  </margins>
</openbox_config>

.conkyrc

double_buffer yes
update_interval 3.0
background yes

own_window yes
own_window_colour 303030
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
own_window_type override
use_xft yes
override_utf8_locale no
xftfont Liberation Sans:size=9
xftalpha 0.8

border_margin 6
border_width 1

default_color grey57
default_outline_color grey57

alignment bottom_left
#minimum_size 1262
gap_x 9
gap_y 9

TEXT
${font Terminus:bold:size=16}${time %H:%M}

Offline

#50 2008-03-27 10:07:06

purete
Member
Registered: 2007-03-02
Posts: 19

Offline

Board footer

Powered by FluxBB