You are not logged in.

#226 2008-09-08 14:03:19

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

Re: Share your Openbox Desktop ! :)

rangalo wrote:

Generally, most of the panels display the current workspace name (or have ability to do so). Can tint display this ? If yes how ? And if it can't is there any separate program that does this ?

Unfortunately, no tint provides only a task manager and a clock currently. I don't think there's any software that displays only the desktop name, but there are pager applications, such as ipager which will display workspace areas including open windows, etc.


thayer williams ~ cinderwick.ca

Offline

#227 2008-09-08 15:44:31

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: Share your Openbox Desktop ! :)

visibility shows workspace name, ipager too.

Offline

#228 2008-09-08 15:53:07

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Share your Openbox Desktop ! :)

---------------thumb.png

Offline

#229 2008-09-08 18:20:11

rangalo
Member
Registered: 2008-06-25
Posts: 108
Website

Re: Share your Openbox Desktop ! :)

Thanks thayer, cinan. 

I will give visibility a try.

regards,
Rangalo

Offline

#230 2008-09-08 21:02:32

Varreon
Member
Registered: 2008-07-03
Posts: 95

Re: Share your Openbox Desktop ! :)

dmz whats your setup there? I've never seen tabs like that with any pager/tiling wm before.

Offline

#231 2008-09-08 22:35:31

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Share your Openbox Desktop ! :)

Varreon wrote:

dmz whats your setup there? I've never seen tabs like that with any pager/tiling wm before.

I'm going to guess it's openbox or he's posting in the wrong thread tongue

Are you talking about tags, or the panel at the bottom. I believe that's bmpanel

Offline

#232 2008-09-08 23:12:59

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Share your Openbox Desktop ! :)

heleos wrote:
Varreon wrote:

dmz whats your setup there? I've never seen tabs like that with any pager/tiling wm before.

I'm going to guess it's openbox or he's posting in the wrong thread tongue

Are you talking about tags, or the panel at the bottom. I believe that's bmpanel

That's correct, bmpanel.

Offline

#233 2008-09-10 03:49:49

Hydraulix
Member
Registered: 2007-08-22
Posts: 21

Re: Share your Openbox Desktop ! :)

Here's mine. Still trying to configure a couple more things, but I'm off to a good start.

screen-23-34-56.png

screen-23-39-17.png

menu.xml

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu>
    <menu id="root-menu" label="OpenBox 3">
        <menu execute="python ~/.config/openbox/scripts/gweather.py Baltimore" id="pipe-weather" label="Weather"/>
        <menu id="proc-menu" label="Processes" execute="~/.config/openbox/scripts/procinfo.pl" />
        <separator/>
        <menu id="1" label="Development">
            <item label="Fluid">
                <action name="Execute">
                    <execute>
                        fluid
                    </execute>
                </action>
            </item>
            <item label="IDLE">
                <action name="Execute">
                    <execute>
                        idle
                    </execute>
                </action>
            </item>
            <item label="Python">
                <action name="Execute">
                    <execute>
                        aterm -e python
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="2" label="Editors">
            <item label="AA Fire">
                <action name="Execute">
                    <execute>
                        aterm -e aafire -driver slang
                    </execute>
                </action>
            </item>
            <item label="Mousepad">
                <action name="Execute">
                    <execute>
                        mousepad
                    </execute>
                </action>
            </item>
            <item label="Nano">
                <action name="Execute">
                    <execute>
                        aterm -e nano
                    </execute>
                </action>
            </item>
            <item label="Vi">
                <action name="Execute">
                    <execute>
                        aterm -e vi
                    </execute>
                </action>
            </item>
            <item label="Vim">
                <action name="Execute">
                    <execute>
                        aterm -e vim
                    </execute>
                </action>
            </item>
            <item label="Xedit">
                <action name="Execute">
                    <execute>
                        xedit
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="18" label="Games">
            <menu id="17" label="Amusement">
                <item label="Xeyes">
                    <action name="Execute">
                        <execute>
                            xeyes
                        </execute>
                    </action>
                </item>
            </menu>
            <menu id="10" label="Arcade">
                <item label="PacMan">
                    <action name="Execute">
                        <execute>
                            pacman
                        </execute>
                    </action>
                </item>
            </menu>
            <menu id="11" label="Board">
                <item label="Monopoly">
                    <action name="Execute">
                        <execute>
                            aterm -e monop
                        </execute>
                    </action>
                </item>
            </menu>
        </menu>
        <menu id="6" label="Graphics">
            <item label="F-Spot Photo Manager">
                <action name="Execute">
                    <execute>
                        f-spot
                    </execute>
                </action>
            </item>
            <item label="Image Viewer">
                <action name="Execute">
                    <execute>
                        eog
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="7" label="Multimedia">
            <item label="ALSA mixer">
                <action name="Execute">
                    <execute>
                        aterm -e alsamixer
                    </execute>
                </action>
            </item>
            <item label="Amarok">
                <action name="Execute">
                    <execute>
                        amarok
                    </execute>
                </action>
            </item>
            <item label="Gmplayer">
                <action name="Execute">
                    <execute>
                        gmplayer
                    </execute>
                </action>
            </item>
            <item label="K3b">
                <action name="Execute">
                    <execute>
                        k3b
                    </execute>
                </action>
            </item>
            <item label="Sonata">
                <action name="Execute">
                    <execute>
                        sonata
                    </execute>
                </action>
            </item>
            <item label="VLC media player">
                <action name="Execute">
                    <execute>
                        vlc
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="5" label="Network">
            <item label="FireFox">
                <action name="Execute">
                    <execute>
                        firefox
                    </execute>
                </action>
            </item>
            <item label="Irssi">
                <action name="Execute">
                    <execute>
                        aterm -e irssi
                    </execute>
                </action>
            </item>
            <item label="Mail">
                <action name="Execute">
                    <execute>
                        aterm -e mail
                    </execute>
                </action>
            </item>
            <item label="Mutt">
                <action name="Execute">
                    <execute>
                        aterm -e mutt
                    </execute>
                </action>
            </item>
            <item label="Pidgin Internet Messenger">
                <action name="Execute">
                    <execute>
                        pidgin
                    </execute>
                </action>
            </item>
            <item label="Skype">
                <action name="Execute">
                    <execute>
                        skype
                    </execute>
                </action>
            </item>
            <item label="TkVNC">
                <action name="Execute">
                    <execute>
                        xterm -e tkvnc
                    </execute>
                </action>
            </item>
            <item label="Xbiff">
                <action name="Execute">
                    <execute>
                        xbiff
                    </execute>
                </action>
            </item>
            <item label="Xmh">
                <action name="Execute">
                    <execute>
                        xmh
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="39" label="Other">
            <item label="About GNOME">
                <action name="Execute">
                    <execute>
                        gnome-about
                    </execute>
                </action>
            </item>
            <item label="Help">
                <action name="Execute">
                    <execute>
                        khelpcenter
                    </execute>
                </action>
            </item>
            <item label="Nexuiz (GLX)">
                <action name="Execute">
                    <execute>
                        nexuiz-glx
                    </execute>
                </action>
            </item>
            <item label="Nexuiz (SDL)">
                <action name="Execute">
                    <execute>
                        nexuiz-sdl
                    </execute>
                </action>
            </item>
            <item label="TeamSpeak">
                <action name="Execute">
                    <execute>
                        TeamSpeak
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="4" label="Science">
            <item label="Xcalc">
                <action name="Execute">
                    <execute>
                        xcalc
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="19" label="Shells">
            <item label="Aterm">
                <action name="Execute">
                    <execute>
                        aterm
                    </execute>
                </action>
            </item>
            <item label="Dash">
                <action name="Execute">
                    <execute>
                        aterm -e dash -i
                    </execute>
                </action>
            </item>
            <item label="MC">
                <action name="Execute">
                    <execute>
                        aterm -e mc
                    </execute>
                </action>
            </item>
            <item label="Root Terminal">
                <action name="Execute">
                    <execute>
                        gksu gnome-terminal
                    </execute>
                </action>
            </item>
            <item label="rxvt-unicode">
                <action name="Execute">
                    <execute>
                        urxvt
                    </execute>
                </action>
            </item>
            <item label="VMWare">
                <action name="Execute">
                    <execute>
                        vmware
                    </execute>
                </action>
            </item>
            <item label="Xterm">
                <action name="Execute">
                    <execute>
                        xterm
                    </execute>
                </action>
            </item>
            <item label="XTerm (Unicode)">
                <action name="Execute">
                    <execute>
                        uxterm
                    </execute>
                </action>
            </item>
        </menu>
        <menu id="37" label="System">
            <menu id="36" label="Settings">
                <menu id="21" label="GNOME">
                    <item label="Privilege granting">
                        <action name="Execute">
                            <execute>
                                gksu-properties
                            </execute>
                        </action>
                    </item>
                </menu>
                <menu id="34" label="KDE">
                    <menu id="26" label="Components">
                        <item label="KDE Resources">
                            <action name="Execute">
                                <execute>
                                    kcmshell kresources
                                </execute>
                            </action>
                        </item>
                    </menu>
                </menu>
                <item label="Appearance">
                    <action name="Execute">
                        <execute>
                            lxappearance
                        </execute>
                    </action>
                </item>
                <item label="Openbox Configuration Manager">
                    <action name="Execute">
                        <execute>
                            obconf
                        </execute>
                    </action>
                </item>
                <item label="Power Management">
                    <action name="Execute">
                        <execute>
                            gnome-power-preferences
                        </execute>
                    </action>
                </item>
                <item label="Screensaver">
                    <action name="Execute">
                        <execute>
                            xscreensaver-demo
                        </execute>
                    </action>
                </item>
                <item label="Xvidtune">
                    <action name="Execute">
                        <execute>
                            xvidtune
                        </execute>
                    </action>
                </item>
            </menu>
            <item label="Avahi Zeroconf Browser">
                <action name="Execute">
                    <execute>
                        avahi-discover
                    </execute>
                </action>
            </item>
            <item label="Configuration Editor">
                <action name="Execute">
                    <execute>
                        gconf-editor
                    </execute>
                </action>
            </item>
            <item label="GDM flexiserver">
                <action name="Execute">
                    <execute>
                        gdmflexiserver
                    </execute>
                </action>
            </item>
            <item label="GDM flexiserver in Xnest">
                <action name="Execute">
                    <execute>
                        gdmflexiserver -n
                    </execute>
                </action>
            </item>
            <item label="GDM Photo Setup">
                <action name="Execute">
                    <execute>
                        gdmphotosetup
                    </execute>
                </action>
            </item>
            <item label="GDM Setup">
                <action name="Execute">
                    <execute>
                        gksu gdmsetup
                    </execute>
                </action>
            </item>
            <item label="KRandRTray">
                <action name="Execute">
                    <execute>
                        krandrtray
                    </execute>
                </action>
            </item>
            <item label="NVIDIA X Server Settings">
                <action name="Execute">
                    <execute>
                        nvidia-settings
                    </execute>
                </action>
            </item>
            <item label="OpenVPN Administrator">
                <action name="Execute">
                    <execute>
                        gksu /usr/sbin/openvpn-admin
                    </execute>
                </action>
            </item>
            <item label="Power Statistics">
                <action name="Execute">
                    <execute>
                        gnome-power-statistics
                    </execute>
                </action>
            </item>
            <item label="pstree">
                <action name="Execute">
                    <execute>
                        xterm -e /usr/bin/pstree.x11
                    </execute>
                </action>
            </item>
            <item label="pstree">
                <action name="Execute">
                    <execute>
                        aterm -e pstree
                    </execute>
                </action>
            </item>
            <item label="pstree">
                <action name="Execute">
                    <execute>
                        aterm -e pstree.x11
                    </execute>
                </action>
            </item>
            <item label="System Monitor">
                <action name="Execute">
                    <execute>
                        ksysguard
                    </execute>
                </action>
            </item>
            <item label="System Settings">
                <action name="Execute">
                    <execute>
                        systemsettings
                    </execute>
                </action>
            </item>
            <item label="Top">
                <action name="Execute">
                    <execute>
                        aterm -e top
                    </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>
        </menu>
        <menu id="38" label="Utilities">
            <item label="Activate ScreenSaver (Next)">
                <action name="Execute">
                    <execute>
                        xscreensaver-command -next
                    </execute>
                </action>
            </item>
            <item label="Activate ScreenSaver (Previous)">
                <action name="Execute">
                    <execute>
                        xscreensaver-command -prev
                    </execute>
                </action>
            </item>
            <item label="Activate ScreenSaver (Random)">
                <action name="Execute">
                    <execute>
                        xscreensaver-command -activate
                    </execute>
                </action>
            </item>
            <item label="Calculator">
                <action name="Execute">
                    <execute>
                        gcalctool
                    </execute>
                </action>
            </item>
            <item label="Demo Screen Hacks">
                <action name="Execute">
                    <execute>
                        xscreensaver-command -demo
                    </execute>
                </action>
            </item>
            <item label="Disable XScreenSaver">
                <action name="Execute">
                    <execute>
                        xscreensaver-command -exit
                    </execute>
                </action>
            </item>
            <item label="Editres">
                <action name="Execute">
                    <execute>
                        editres
                    </execute>
                </action>
            </item>
            <item label="Enable XScreenSaver">
                <action name="Execute">
                    <execute>
                        xscreensaver
                    </execute>
                </action>
            </item>
            <item label="Info">
                <action name="Execute">
                    <execute>
                        aterm -e info
                    </execute>
                </action>
            </item>
            <item label="Klipper">
                <action name="Execute">
                    <execute>
                        klipper
                    </execute>
                </action>
            </item>
            <item label="Oclock">
                <action name="Execute">
                    <execute>
                        oclock
                    </execute>
                </action>
            </item>
            <item label="Parcellite">
                <action name="Execute">
                    <execute>
                        parcellite
                    </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="Viewres">
                <action name="Execute">
                    <execute>
                        viewres
                    </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
                    </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="Xev">
                <action name="Execute">
                    <execute>
                        aterm -e xev
                    </execute>
                </action>
            </item>
            <item label="XFontSel">
                <action name="Execute">
                    <execute>
                        xfontsel
                    </execute>
                </action>
            </item>
            <item label="Xkill">
                <action name="Execute">
                    <execute>
                        xkill
                    </execute>
                </action>
            </item>
            <item label="Xlogo">
                <action name="Execute">
                    <execute>
                        xlogo
                    </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>
        <separator/>
        <menu id="40" label="OpenBox">
            <menu id="client-list-menu"/>
            <item label="Reconfigure">
                <action name="Reconfigure"/>
            </item>
            <separator/>
            <item label="Reboot">
                <action name="Execute">
                    <execute>
                        sudo shutdown -r now
                    </execute>
                </action>
            </item>
            <item label="Shutdown">
                <action name="Execute">
                    <execute>
                        sudo shutdown -h now
                    </execute>
                </action>
            </item>
            <item label="Exit">
                <action name="Exit"/>
            </item>
        </menu>
    </menu>
</openbox_menu>

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/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>200</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>no</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>
    <!-- with Smart placement on a multi-monitor system, try to place new windows
       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
       the active window is -->
  </placement>
  <theme>
    <name>Airborne</name>
    <titleLayout>NLIMC</titleLayout>
    <!--
      available 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>Andale Mono</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>Andale Mono</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>Andale Mono</name>
      <size>9</size>
      <!-- font size in points -->
      <weight>Normal</weight>
      <!-- 'bold' or 'normal' -->
      <slant>Normal</slant>
      <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuItem">
      <name>Andale Mono</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>Andale Mono</name>
      <size>9</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>desktop 1</name>
    <name>desktop 2</name>
    -->
    </names>
    <popupTime>875</popupTime>
    <!-- The number of milliseconds to show the popup for when switching
       desktops.  Set this to 0 to disable the popup. -->
  </desktops>
  <resize>
    <drawContents>yes</drawContents>
    <popupShow>Nonpixel</popupShow>
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
    <popupPosition>Center</popupPosition>
    <!-- 'Center', 'Top', or 'Fixed' -->
    <popupFixedPosition>
      <!-- these are used if popupPosition is set to 'Fixed' -->
      <x>10</x>
      <!-- positive number for distance from left edge, negative number for
         distance from right edge, or 'Center' -->
      <y>10</y>
      <!-- positive number for distance from top edge, negative number for
         distance from bottom edge, or 'Center' -->
    </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>0</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
  </margins>
  <dock>
    <position>TopLeft</position>
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <noStrut>no</noStrut>
    <stacking>Above</stacking>
    <!-- 'Above', 'Normal', or 'Below' -->
    <direction>Vertical</direction>
    <!-- 'Vertical' or 'Horizontal' -->
    <autoHide>no</autoHide>
    <hideDelay>300</hideDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <showDelay>300</showDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- 'Left', 'Middle', 'Right' -->
  </dock>
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for desktop switching -->
    <keybind key="C-A-Left">
      <action name="DesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Right">
      <action name="DesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Up">
      <action name="DesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Down">
      <action name="DesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Left">
      <action name="SendToDesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Right">
      <action name="SendToDesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Up">
      <action name="SendToDesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Down">
      <action name="SendToDesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="W-F1">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
    </keybind>
    <keybind key="W-F2">
      <action name="Desktop">
        <desktop>2</desktop>
      </action>
    </keybind>
    <keybind key="W-F3">
      <action name="Desktop">
        <desktop>3</desktop>
      </action>
    </keybind>
    <keybind key="W-F4">
      <action name="Desktop">
        <desktop>4</desktop>
      </action>
    </keybind>
    <keybind key="W-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="A-F4">
      <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
      <action name="Lower"/>
      <action name="FocusToBottom"/>
      <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </keybind>
    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
      <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-A-Tab">
      <action name="NextWindow">
        <panels>yes</panels>
        <desktop>yes</desktop>
      </action>
    </keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F2">
        <action name="execute"><execute>gmrun</execute></action>
        </keybind>
    <keybind key="W-e">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Konqueror</name>
        </startupnotify>
        <command>kfmclient openProfile filemanagement</command>
      </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>400</screenEdgeWarpTime>
    <!-- Time before changing desktops when the pointer touches the edge of the
       screen while moving a window, in milliseconds (1000 = 1 second).
       Set this to 0 to disable warping -->
    <context name="Frame">
      <mousebind button="A-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="A-Left" action="Click">
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="A-Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="A-Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="A-Right" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="A-Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </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="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="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="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="DesktopNext"/>
      </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="DesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Root">
      <!-- Menus -->
      <mousebind button="Middle" 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="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <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>
    <!-- if a press-release lasts longer than this setting (in milliseconds), the
       menu is hidden again -->
    <middle>no</middle>
    <!-- center submenus vertically about the parent entry -->
    <submenuShowDelay>100</submenuShowDelay>
    <!-- this one is easy, time to delay before showing a submenu after hovering
       over the parent entry -->
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
  </menu>
  <applications>
    <!--
  # 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)"
               type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then
                       it is dialog for child windows)">
  # 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.

  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  #    or desktop

  # 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 force="no">
      # the position is only used if both an x and y coordinate are provided
      # (and not set to 'default')
      # when force is "yes", then the window will be placed here even if it
      # says you want it placed elsewhere.  this is to override buggy
      # applications who refuse to behave
      <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>

autostart.sh

# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.

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

       # Make GTK apps look and behave how they were set up in the gnome config tools
       #if which gnome-settings-daemon >/dev/null; then
       #  gnome-settings-daemon &
       #fi


       urxvtd -q -f -o &
       nitrogen --restore &
       conky &
       bmpanel transpy &
       xscreensaver -no-splash &
       nm-applet --sm-disable &
       gnome-power-manager &
       parcellite &
       xbindkeys &

.conkyrc

# conky configuration

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

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Liberation Mono:pixelsize=11
#xftfont terminus:pixelsize=8
xftfont standard 07_56:size=6

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?

# out_to_console no

# Update interval in seconds
update_interval 3.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)

own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints below,undecorated,sticky,skip_taskbar
#own_window_colour 222222

#own_window_type desktop

#own_window_hints below

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 1276
maximum_width 1276

# Draw shades?
draw_shades no 

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
#stippled_borders 0

# border margins
#border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color dddddd
#default_border_color white
default_shade_color black
default_outline_color black


# Text alignment, other possible values are commented

alignment top_left

#alignment top_right

#alignment bottom_left

#alignment bottom_right

# Gap between borders of screen and text

# same thing as passing -x at command line
gap_x 0
gap_y 2

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average

# set to 1 to disable averaging
cpu_avg_samples 2

# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT

override_utf8_locale yes

use_spacer yes
TEXT
${color #979797}RAM: ${color }$mem / $memmax   ::   ${color #979797}ROOT: ${color }${fs_free /} free   ::   ${color #979797}TEMP: ${color }${execi 5 cat /proc/acpi/thermal_zone/THM0/temperature | awk {'print $2 "°C"'}}   ::   ${color #979797}CPU: ${color }$cpu% / ${freq_g}GHz / ${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}   ::   ${color #979797}BAT: ${color }${battery BAT0}   ::   ${color #979797}eth0: ${color }${addr eth0}   ::   ${color #979797}wlan0: ${color }${addr wlan0}  ::   ${color #979797}SSID ${color }${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}  ::  ${color #979797} ${color }${color}${time %A}, ${time %e %B} ${color #979797}${font standard 07_63:size=6}${time %H:%M}

Background

http://interfacelift.com/wallpaper_beta … plets.html

procinfo.pl

#!/usr/bin/perl -w

#
# procinfo.pl script from waimea ( http://www.waimea.org/ ) ported to output
#             pekwm syntax by Claes Nasten ( http://pekdon.net/ )
#
# REPORTED to openbox3 pipe menu syntax by Dave Foster (daf@minuslab.net)
# some functions with no path to execute were removed, otherwise, no 
# logic was changed in this script at all.

# install instructions:
# 1) Put script somewhere (~/.config/openbox/scripts/ works well)
# 2) Make script executable (chmod +x procinfo.pl)
# 3) Edit openbox menu file:
#    a) Add <menu id="proc-menu" label="Processes" execute="pathto/procinfo.pl" />
#    b) Add <menu id="proc-menu" somewhere on your root menu or wherever you want it.

use POSIX;

my $script_location = $0;
my $offset = 0;
my $proc_dir = "/proc";
my $pid = 0;
my $host = "";
my $user = "";
$user = $ENV{USER};
chomp(my $hostname = qx(hostname));
my $forcepid = 0;
my $file = 0;
my $list_length = 20;

get_opt();

print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
print "<openbox_pipe_menu>\n";

if ($forcepid) {
    if ($hostname eq $host && $pid) {
        pid_info();
    } else {
       print "Name = \"process info\"\n";
       print "Entry = \"process info for this window could not be retrived\" { }\n";
    }
} else {
   if ($pid) {
       pid_info();     
   } else {
       list_proc();
   }
}

print "</openbox_pipe_menu>\n";

sub list_proc {
#    my $cmdline = 0;
    my $proc_name = 0;
    my $i = $offset;
    my $owner = "";
    my $printed = 0;
    my @output;

    opendir(DIR, $proc_dir) || die "can't opendir $proc_dir: $!";
    @proc_list = grep { (/^[^\.].*/ || /^\.\..*/) && /^\d+$/} readdir(DIR);
    closedir DIR;

#    print "$_\n" foreach @proc_list;


    while (($pid = $proc_list[$i]) && $printed <= $list_length) {
    open(FILE, "$proc_dir\/$pid\/status") || die "can't opendir $proc_dir: $!";
    ($proc_name = (split(':', <FILE>))[1]) =~ s/^\s*(.*)\n/$1/;
#    if ($user eq 
    while ($_ = <FILE>) {
        if (/^Uid\:\s*(\d+)\s+/) {
        $owner = getpwuid $1;
        }
    }
    close FILE;
    
    if (($user && ($user eq 'all' || $user eq 'ALL')) ||
        ($owner && $user && ($owner eq $user))) {
        if ($printed < $list_length) {
#        push @output, "Submenu = \"$pid - $proc_name\" { Entry {  Actions = \"Dynamic $script_location -pid $proc_list[$i]\" } }\n";
        
        push @output, "<menu id=\"menu-proc-$pid\" label=\"$pid - $proc_name\" execute=\"$script_location -pid $proc_list[$i]\" />\n";
        }
        else {
        $i--;
        }
        $printed++;
    }
    $i++;
    }

    if ($proc_list[$i]) {
    $_ = $i;
    print "Submenu = \"more...\" { Entry { Actions = \"Dynamic $script_location -offset $_ -user $user\" } }\n";
    }

    print @output;
}

sub pid_info {
    my $name = "";
    my @procinfo;
    my $cmdline = "";
    my $priority = "";
    my $msize = "";
    my $mlck = "";
    my $mrss = "";
    my $mdata = "";
    my $mstk = "";
    my $mexe = "";
    my $mlib = "";
    my $pid_err = 0;
    
    open(FILE, "$proc_dir\/$pid\/stat") || pid_err();
    $_ = <FILE>;
    @procinfo = split(/ /,$_);
    close FILE;
    $procinfo[1] =~ m/^\((.*)\)/;
    $name = $1;
    $priority = $procinfo[18];

    open(FILE, "$proc_dir\/$pid\/status") || die "can't opendir $proc_dir: $!";
    while ($_ = <FILE>) {
       if ($_ =~ m/^State.*\((\w*)\)$/) {
          $state = $1;
          $state =~ s/\(/\\\(/;
          $state =~ s/\)/\\\)/;
          $state =~ s/\t/ /;
          $state =~ s/\s+/ /;
       }
       if ($_ =~ m/^VmSize/) {          
          $_ =~ m/.*:\t*\s*(.*)$/;          
          $msize = $1;
       }
       if ($_ =~ m/^VmLck/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mlck = $1;
       }
       if ($_ =~ m/^VmRSS/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mrss = $1; 
       }
       if ($_ =~ m/^VmData/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mdata = $1;
       }
       if ($_ =~ m/^VmStk/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mstk = $1;
       }
       if ($_ =~ m/^VmExe/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mexe = $1;
       }
       if ($_ =~ m/^VmLib/) {
          $_ =~ m/.*:\t*\s*(.*)$/;
          $mlib = $1;
       }
    }        

    if (open(FILE, "$proc_dir\/$pid\/cmdline")) {
        $_ = <FILE>;        
        while ($_ =~ m/\0/) {
            $_ =~ s/\0/\\\" \\\"/;
        }
        $_ =~ m/(.*).{3}$/;
        $cmdline = "\\\"$1";
        close FILE;
    }

    print "\t<menu id=\"menu-proc-$pid-state\" label=\"state ($state)\">\n";
    print "\t\t<item label=\"stop\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>kill -SIGSTOP $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"continue\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>kill -SIGCONT $pid</execute></action>\n";
    print "\t\t</item>\n";    
    print "\t</menu\n>";

    print "\t<menu id=\"menu-proc-$pid-memory\" label=\"memory ($msize)\">\n";
    print "\t\t<item label=\"size: $msize\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"lck: $mlck\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"rss: $msize\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"data: $mdata\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"stk: $mstk\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"exe: $mexe\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"lib: $mlib\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>true</execute></action>\n";
    print "\t\t</item>\n";
    print "\t</menu>\n";
          
    print "\t<menu id=\"menu-proc-$pid-priority\" label=\"priority ($priority)\">\n";
    print "\t\t<item label=\"increase by 1\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice +1 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"0 (base)\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice 0 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"5\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice 5 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"10\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice 10 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"15\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice 15 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"20 (idle)\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>renice 20 $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t</menu>\n";

    print "\t<menu id=\"menu-proc-$pid-signal\" label=\"send signal\">\n";
    print "\t\t<item label=\"sighup\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>kill -HUP $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"sigint\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>kill -INT $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t\t<item label=\"sigkill\">\n";
    print "\t\t\t<action name=\"Execute\"><execute>kill -KILL $pid</execute></action>\n";
    print "\t\t</item>\n";
    print "\t</menu>\n";

    if ($cmdline ne "") {
        print "\t<item label=\"restart\">\n";
        print "\t\t<action name=\"Execute\"><execute>kill $pid && $cmdline</execute></action>\n";
        print "\t</item>\n";
        print "\t<item label=\"spawn new\">\n";
        print "\t\t<action name=\"Execute\"><execute>$cmdline</execute></action>\n";
        print "\t</item>\n";

    }
}

sub get_opt {
    my $i = 0;
    while ($ARGV[$i+1] && ($_ = $ARGV[$i])) {
    if (/\-offset/) {
        $offset = $ARGV[$i+1];
    }
    if (/\-pid/) {
        $pid = $ARGV[$i+1];
    }
    if (/\-proc_dir/) {
        $proc_dir = $ARGV[$i+1];
    }
    if (/\-user/) {
        $user = $ARGV[$i+1];
    }
   if (/\-host/) {
      $host = $ARGV[$i+1];
   }
    $i++;
    }
    $i = 0;
    while ($_ = $ARGV[$i]) {
        $i++;
        if (/\-host/) {
            $forcepid = 1;
        }
    }
}

sub pid_err {
    print "<item label=\"??? ($pid)\">\n";
    print "<action name=\"Execute\"><execute>true</execute></action>\n";
    print "</item>\n";
    exit;
}

gweather.py

#!/usr/bin/python

import sys
import urllib
from string import maketrans
#from xml.sax import make_parser, handler
from xml.sax import handler, parseString
class ElementProcesser(handler.ContentHandler):
    
    def startElement(self, name, attrs):
        
        if name == "city":
            print "<separator label='" + attrs["data"] + "' />"
        elif name == "current_conditions":
            print "<separator label='Current condidtions' />"
        elif name == "condition":
            print "<item label='Weather: " + attrs["data"] + "' />"
        elif name == "humidity":
            print "<item label='" + attrs["data"] + "' />"
        elif name == "wind_condition":
            print "<item label='" + attrs["data"] + "' />"
        elif name == "day_of_week":
            print "<separator label='" + self.getDayOfWeek(attrs["data"]) + "' />"
            
        #Celsius
        #elif name == "temp_c":
            #print "<item label='Temperature " + attrs["data"] + " C' />"
        #elif name == "low":
            #print "<item label='Minimum " + attrs["data"] + " C' />"
        #elif name == "high":
            #print "<item label='Maximum " + attrs["data"] + " C' />"
        
        #Fahrenheit
        elif name == "temp_f":
            print "<item label='Temperature " + attrs["data"] + " F' />"
        elif name == "low":
            print "<item label='Minimum " + attrs["data"] + " F' />"
        elif name == "high":
            print "<item label='Maximum " + attrs["data"] + " F' />"
        
        
    def endElement(self, name):
        
        if name == "current_conditions":
            print "<separator label='Forecast' />"
        
    
    def startDocument(self):
        print '<openbox_pipe_menu>'
    
    def endDocument(self):
        print '</openbox_pipe_menu>'
    
    def getDayOfWeek(self,day):
        
        #English
        if day == "Mon":
            return "Monday"
        elif day == "Tue":
            return "Tuesday"
        elif day == "Wed":
            return "Wednesday"
        elif day == "Thu":
            return "Thursday"
        elif day == "Sat":
            return "Saturday"
        elif day == "Sun":
            return "Sunday"
        
        else:
            return day

# You should use your local version of google to have the messages in your language and metric system
f = urllib.urlopen("http://www.google.com/ig/api?weather="+sys.argv[1])
xml = f.read()
f.close()

#Avoid problems with non english characters
trans=maketrans("\xe1\xe9\xed\xf3\xfa","aeiou")
xml = xml.translate(trans)

#parser.parse("http://www.google.es/ig/api?weather="+sys.argv[1])
parseString(xml,ElementProcesser())

Last edited by Hydraulix (2008-09-13 22:30:47)

Offline

#234 2008-09-10 15:49:26

antis
Member
From: sweden
Registered: 2007-05-18
Posts: 108

Re: Share your Openbox Desktop ! :)

Hydraulix wrote:

Here's mine. Still trying to configure a couple more things, but I'm off to a good start.

Is that bmpanel you are using? If so, what theme are you using?

Offline

#235 2008-09-10 22:40:21

Varreon
Member
Registered: 2008-07-03
Posts: 95

Re: Share your Openbox Desktop ! :)

antis wrote:
Hydraulix wrote:

Here's mine. Still trying to configure a couple more things, but I'm off to a good start.

Is that bmpanel you are using? If so, what theme are you using?

Looks like tint to me.

Offline

#236 2008-09-10 22:49:52

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Share your Openbox Desktop ! :)

@ Varreon. I do not think so. I don't think tint has task support or desktop tab support.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#237 2008-09-10 23:19:21

Varreon
Member
Registered: 2008-07-03
Posts: 95

Re: Share your Openbox Desktop ! :)

I did not know that. I just recognized the default tint look.

Offline

#238 2008-09-11 09:01:57

anespo
Member
From: Europe
Registered: 2007-07-17
Posts: 39

Re: Share your Openbox Desktop ! :)

jxb wrote:

Openbox with Tint, Stalonetray, Conky, URxvt
http://i33.tinypic.com/rvcc3n.png

Openbox Theme: Onyx
GTK Theme: MurrineAquaish

Can you share Tint an stalonetray config ?

Offline

#239 2008-09-11 10:59:26

jxb
Member
Registered: 2008-08-22
Posts: 9

Re: Share your Openbox Desktop ! :)

tintrc is unchanged

stalonetrayrc:

# background <color>         # color can be specified as an HTML hex triplet or
                             # as a name from rgb.txt, note that '#' must be quoted
background "#777777"

# decorations <decspec>      # set trays window decorations; possible values for
                             # decspec are: all, title, border, none
decorations none

# display <display name>     # as usual

# dbg_level <int>            # controls the amount of debug info (for this setting to
                             # have effect, stalonetray sources must have been
                             # configured and compiled with --enable-debug)
# dbg_level 0

# fuzzy_edges [<level>]      # enable fuzzy edges and set fuzziness level. level
                             # can be from 0 (disabled) to 3; this setting works
                             # with tinting and/or transparent and/or pixmap
                             # backgrounds (NEW in 0.7)
fuzzy_edges 0

# geometry <geometry>        # tray's geometry in standard X notation
geometry 120x30-0-0

# grow_gravity <gravity>     # one of N, S, E, W, NW, NE, SW, SE; tray will grow
                             # in the direction opposite to one specified by
                             # grow_gravity; if horizontal or vertical
                             # direction is not specified, tray will not grow in
                             # that direction
grow_gravity SE

# icon_gravity <gravity>     # icon placement gravity, one of NW, NE, SW, SE
icon_gravity SE

# icon_size <int>            # specifies dimensions of typical icon slot
icon_size 30

# ignore_icon_resize [<bool>] # ignore icon attempts to resize their windows
                             # (NEW in 0.7)
ignore_icon_resize true

# max_width <int>            # specifies maximal tray's width (0 = no limit)
max_width 0

# max_height <int>           # specifies maximal tray's height (0 = no limit)
max_height 0

# no_shrink [<bool>]         # disables shrink-back mode (NEW in 0.7)
no_shrink false

# parent_bg [<bool>]         # whether to use pseudo-transparency 
                             # (looks better when reparented into smth like FvwmButtons)
parent_bg false

# pixmap_bg <path_to_xpm>    # use pixmap from specified xpm file for (tiled) background
# pixmap_bg /home/user/.stalonetraybg.xpm

# respect_icon_hints [<bool>] # try to respect icon hints (NEW in 0.7)
respect_icon_hints false

# skip_taskbar [<bool>]      # hide tray`s window from the taskbar
skip_taskbar true

# sticky [<bool>]            # make a tray`s window sticky across the
                             # desktops/pages
sticky true

# tint_color <color>         # set tinting color (NEW in 0.7)
tint_color white

# tint_level <level>         # set tinting level; level ranges from 0 (disabled)
                             # to 255 (NEW in 0.7)
tint_level 0

# transparent [<bool>]       # whether to use root-transparency (background
                             # image must be set with Esetroot or compatible utility)
transparent true

# vertical [<bool>]          # whether to use vertical layout (horisontal layout
                             # is used by default)
vertical false

# window_layer <layer>       # set the EWMH-compatible window layer; one of:
                             # bootom, normal, top
window_layer normal

# window_type <type>         # set the EWMH-compatible window type; one of:
                             # dock, normal, toolbar, utility
window_type dock

# withdrawn [<bool>]         # start withdrawn (NEW in 0.7, prior to that
                             # withdrawn mode was default!)
withdrawn false

# xsync [<bool>]             # whether to operate on X server synchronously (SLOOOOW)
xsync false

plus in the openbox config (rc.xml):

    <application name="stalonetray">
      <decor>no</decor>
      <desktop>all</desktop>
      <skip_pager>yes</skip_pager>
      <skip_taskbar>yes</skip_taskbar>
    </application>

Offline

#240 2008-09-11 15:14:07

Hydraulix
Member
Registered: 2007-08-22
Posts: 21

Re: Share your Openbox Desktop ! :)

antis wrote:
Hydraulix wrote:

Here's mine. Still trying to configure a couple more things, but I'm off to a good start.

Is that bmpanel you are using? If so, what theme are you using?

Yes it is and I'm using the transpy theme. I'll post up my configs in a second.

Offline

#241 2008-09-11 16:13:28

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Re: Share your Openbox Desktop ! :)

200809111303541024x768sch2.th.png

Arch
Openbox
Wbar
Bmpanel
volwheel (look for alternative. volwheel have lot depps).

Bmpanel theme: http://bbs.archlinux.org/viewtopic.php?id=43750&p=9

Offline

#242 2008-09-12 13:11:51

anespo
Member
From: Europe
Registered: 2007-07-17
Posts: 39

Re: Share your Openbox Desktop ! :)

Seirei no Moribito theme

thumb-2008-09-12-2_scrot.png

Openbox, conky, bmpanel

Openbox theme: Murrina-Tangoesque
GTK Theme: MurrinaGilouche
Icons Theme: Eikon
.conkyrc

Last edited by anespo (2008-09-12 13:16:18)

Offline

#243 2008-09-13 15:52:04

scooterpd
Member
Registered: 2008-09-01
Posts: 29

Re: Share your Openbox Desktop ! :)

Hydraulix wrote:

Here's mine. Still trying to configure a couple more things, but I'm off to a good start.
http://erraticschematic.com/images/screen-23-34-56.png
http://erraticschematic.com/images/screen-23-39-17.png

menu.xml

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu>
    <menu id="root-menu" label="OpenBox 3">
        <menu execute="python ~/.config/openbox/scripts/gweather.py Baltimore" id="pipe-weather" label="Weather"/>
        <menu id="proc-menu" label="Processes" execute="~/.config/openbox/scripts/procinfo.pl" />
        <separator/>

Might i ask how your procinfo.pl script looks.  thank you.

Offline

#244 2008-09-13 22:31:43

Hydraulix
Member
Registered: 2007-08-22
Posts: 21

Re: Share your Openbox Desktop ! :)

Just edited my post with the two scripts I used. Hope you like it. big_smile

Offline

#245 2008-09-14 01:20:51

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: Share your Openbox Desktop ! :)

th_9-13-08-bare.png

th_9-13-08-media.png

Offline

#246 2008-09-14 13:41:44

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

Re: Share your Openbox Desktop ! :)

Love what you did with the MPD commands voteforpedro36, there's lots of people hacking scripts together to control MPD from within the Openbox menu, but this is so simple... And say I had mpc installed all the time and never thought about doing it that way :-/

Do you have a link to your wallpaper in hi-res by any chance (1280x800 or more)?


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

Offline

#247 2008-09-14 13:46:37

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: Share your Openbox Desktop ! :)

B wrote:

Love what you did with the MPD commands voteforpedro36, there's lots of people hacking scripts together to control MPD from within the Openbox menu, but this is so simple... And say I had mpc installed all the time and never thought about doing it that way :-/

Do you have a link to your wallpaper in hi-res by any chance (1280x800 or more)?

Thanks a lot, I usually have Sonata open on another workspace, so those are really the only things I need on the menu. The wall in 1280x800 and higher is found at http://gangsterserver.com/?p=238.

Offline

#248 2008-09-14 15:24:28

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: Share your Openbox Desktop ! :)

just little changes... Now I'm searching simple wallpaper. 5373266-163.png

Offline

#249 2008-09-14 15:36:45

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Share your Openbox Desktop ! :)

voteforpedro36 wrote:
B wrote:

Love what you did with the MPD commands voteforpedro36, there's lots of people hacking scripts together to control MPD from within the Openbox menu, but this is so simple... And say I had mpc installed all the time and never thought about doing it that way :-/

Do you have a link to your wallpaper in hi-res by any chance (1280x800 or more)?

Thanks a lot, I usually have Sonata open on another workspace, so those are really the only things I need on the menu. The wall in 1280x800 and higher is found at http://gangsterserver.com/?p=238.

Awesome wallpaper!


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#250 2008-09-14 16:41:06

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Share your Openbox Desktop ! :)

-----------------thumb.png

Offline

Board footer

Powered by FluxBB