You are not logged in.

#326 2008-09-29 20:02:03

madhatter
Member
From: Freudenstadt, Germany
Registered: 2004-09-01
Posts: 59

Re: Share your Openbox Desktop ! :)

screenshot994.png.xs.jpg
OB Theme: modified Clearlooks-Olive
GTK-Theme: xfce-dusk
clock: conly, panel: fbpanel

Offline

#327 2008-09-29 20:20:06

m_l
Member
Registered: 2008-09-29
Posts: 16

Re: Share your Openbox Desktop ! :)

Here is my Openbox:

desktopcleant21ut0.th.png desktopdirtyt21mx0.th.png




wm: Openbox
file manager: pcmanfm
terminal: sakura
icon theme: Elementary
window theme: Onyx-black
panel: pypanel
font: Terminus
wallpaper: 86861-archbox.png
conky

Incase someone is interested here are my configs:

~/.conkyrc

### my conky setup for t21 ###

# ARCH - CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
#own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# fiddle with window
use_spacer right
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
#minimum_size 250 5

# Maximum Width
maximum_width 295

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font Terminus -1
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 5

# Default colors and also border colors, grey90 == #e5e5e5
default_color white

own_window_colour black
own_window_transparent yes

# 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
gap_x 5
gap_y -8

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color ffffff}Arch ${hr 2}$color
$nodename $sysname $kernel on $machine

${color ffffff}Uptime ${hr 2}$color 
${uptime}

${color ffffff}Intel Mobile Pentium III ${hr 2}$color
${freq}MHz $alignr ${cpu cpu1}%  Load ${loadavg}   Temp ${acpitemp}
${cpubar cpu0}
${cpugraph 000000 ffffff}
Processes $processes
Running $running_processes

NAME             PID      CPU%      MEM%
${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}

${color ffffff}Memory ${hr 2}$color
Mem $alignc $memperc%    $mem / $memmax
${membar 6}$color
Swap $alignc   $swapperc%    $swap / $swapmax  
${swapbar 6}$color

${color ffffff}Hdd ${hr 2}$color
/ $alignc ${fs_free_perc /}%    ${fs_used /}/ ${fs_size /}
${fs_bar 6 /}$color
/home $alignc ${fs_free_perc /home}%    ${fs_used /home}/ ${fs_size /home}
${fs_bar 6 /home}$color

${color ffffff}Network ${hr 2}$color
eth0's IP  ${addr eth0}$color

Public IP  ${execi 3600 wget -O - http://whatismyip.org/ | tail}$color

Down $color${downspeed eth0}k/s            Up ${upspeed eth0}k/s
${downspeedgraph eth0 25,140 000000 ffffff}$color ${alignr}${upspeedgraph eth0 
25,140 000000 ffffff}$color
Total ${totaldown eth0}          Total ${totalup eth0}
${color ffffff}${hr 2}$color

~/.config/openbox/autostart.sh:

# Run the system-wide support stuff
.GLOBALAUTOSTART

# Programs to luanch at startup
feh --bg-center /home/ml/pictures/86861-archbox.png &

#Programs that will run after Openbox has started
(sleep 2 && conky) &

~/.config/openbox/menu.xml:

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
    <menu id="system-menu" label="Openbox">
        <item label="Obmenu">
            <action name="Execute">
                <execute>
                    /usr/bin/obmenu
                </execute>
            </action>
        </item>
        <item label="Openbox Configuration Manager">
            <action name="Execute">
                <command>
                    obconf
                </command>
                <startupnotify>
                    <enabled>
                        yes
                    </enabled>
                </startupnotify>
            </action>
        </item>
        <item label="Lxappearance">
            <action name="Execute">
                <execute>
                    /usr/bin/lxappearance
                </execute>
            </action>
        </item>
        <item label="Manage Cups Printers">
            <action name="Execute">
                <command>
                    xdg-open http://localhost:631/
                </command>
                <startupnotify>
                    <enabled>
                        no
                    </enabled>
                    <icon>
                        cups
                    </icon>
                </startupnotify>
            </action>
        </item>
        <separator/>
        <item label="Reconfigure Openbox">
            <action name="Reconfigure"/>
        </item>
        <item label="Exit Openbox">
            <action name="Exit">
                <prompt>
                    yes
                </prompt>
            </action>
        </item>
    </menu>
    <menu id="root-menu" label="Openbox 3">
        <separator label="Applications"/>
        <item label="firefox">
            <action name="Execute">
                <execute>
                    /usr/bin/firefox
                </execute>
            </action>
        </item>
        <item label="gimp">
            <action name="Execute">
                <execute>
                    /usr/bin/gimp
                </execute>
            </action>
        </item>
        <item label="keepassx">
            <action name="Execute">
                <execute>
                    /usr/bin/keepassx
                </execute>
            </action>
        </item>
        <item label="pcmanfm">
            <action name="Execute">
                <execute>
                    /usr/bin/pcmanfm
                </execute>
            </action>
        </item>
        <item label="sakura">
            <action name="Execute">
                <execute>
                    /usr/bin/sakura
                </execute>
            </action>
        </item>
        <item label="vlc">
            <action name="Execute">
                <execute>
                    /usr/bin/vlc
                </execute>
            </action>
        </item>
        <item label="xterm">
            <action name="Execute">
                <execute>
                    /usr/bin/xterm
                </execute>
            </action>
        </item>
        <separator label="System"/>
        <menu id="system-menu"/>
        <separator/>
        <item label="Log Out">
            <action name="SessionLogout">
                <prompt>
                    yes
                </prompt>
            </action>
        </item>
    </menu>
    <menu execute="obm-xdg" id="xdg-menu" label="xdg"/>
</openbox_menu>

~/.pypanel:

#------------------------------------------------------------------------------
#
#                         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        = "0xd6d6d6"    # Panel background and tinting color
TASK_COLOR      = "0x000000"    # Normal task name color 
FOCUSED_COLOR   = "0xffffff"    # Focused task name color
SHADED_COLOR    = "0x808080"    # Shaded task name color 
MINIMIZED_COLOR = "0x808080"    # Minimized task name color 
DESKTOP_COLOR   = "0xffffff"    # Desktop name color
CLOCK_COLOR     = "0xffffff"    # Clock text color
LINE_COLOR      = "0x606060"    # Vertical line color

# Text Shadow Colors
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        = 24            # 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   = 24            # Application launcher icon height
APPL_I_WIDTH    = 24            # Application launcher icon width
TRAY_I_HEIGHT   = 24            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 24            # 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    = "%H:%M | %m.%d.%Y"    # Ex: 17:45 | 09-29 2008 

#------------------------------------------------------------------------------
# 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            = "Terminus-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

#------------------------------------------------------------------------------
# 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     = [
                   ("gimp-2.2", "/usr/share/imlib2/data/images/paper.png"), 
                  ]

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

#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
ABOVE           = 1             # Panel is always above other apps
APPICONS        = 1             # 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         = 1             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 3             # 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.showDesktop()
    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:
        pass
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
    """ Button event handler for the panel's tasks """
    
    if button == 1:
        pp.taskFocus(task)
    elif button == 0:
        # 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)

Last edited by m_l (2008-10-03 16:45:31)

Offline

#328 2008-09-29 20:21:47

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Share your Openbox Desktop ! :)

madhatter wrote:

http://xs431.xs.to/xs431/08401/screenshot994.png.xs.jpg
OB Theme: modified Clearlooks-Olive
GTK-Theme: xfce-dusk
clock: conly, panel: fbpanel

can you please tell me how to make urxvt look like that?

Offline

#329 2008-09-29 21:10:06

openBrandon
Member
Registered: 2008-07-24
Posts: 33

Re: Share your Openbox Desktop ! :)

@voteforpedro36

mind sharing the wallpaper?

Offline

#330 2008-09-29 21:49:55

madhatter
Member
From: Freudenstadt, Germany
Registered: 2004-09-01
Posts: 59

Re: Share your Openbox Desktop ! :)

devil_kc wrote:

can you please tell me how to make urxvt look like that?

I used the Xft rgba format for the background, i.e. rgba:0000/0000/0000/bbbb and have xcompmgr running.

Offline

#331 2008-09-29 22:17:30

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: Share your Openbox Desktop ! :)

distortion wrote:
tonyisnt wrote:

http://xs231.xs.to/xs231/08391/clean972.png.xs.jpg http://xs231.xs.to/xs231/08391/busy271.png.xs.jpg

First Openbox screens. big_smile

Firefox, PCManFM, Conky, Stalonetray.  Openbox theme is Glow Ibex (with a slight edit); GTK Theme is Candido-Calm; icons are gnome-alternative.

Mind sharing your stalonetray-config? smile

No problem.

transparent true
geometry 24x24-99-0
grow_gravity E
icon_gravity E
icon_size 24
ignore_icon_resize true
window_layer bottom
window_type dock
skip_taskbar true
sticky true

I changed it just a little because I added a pager to my setup.  To get it back to the corner just change that 99 to a 0.

Offline

#332 2008-09-29 23:06:07

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Share your Openbox Desktop ! :)

madhatter wrote:

http://xs431.xs.to/xs431/08401/screenshot994.png.xs.jpg
OB Theme: modified Clearlooks-Olive
GTK-Theme: xfce-dusk
clock: conly, panel: fbpanel

Could you post your Clearlooks-Olive theme? A quick google could not get me a clearlooks-olive openbox theme, except in rpm form.

Offline

#333 2008-09-29 23:43:29

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

Re: Share your Openbox Desktop ! :)

openBrandon wrote:

@voteforpedro36

mind sharing the wallpaper?

http://pak3man.blogspot.com/2007/08/pin … apers.html smile

Offline

#334 2008-09-30 00:31:08

openBrandon
Member
Registered: 2008-07-24
Posts: 33

Re: Share your Openbox Desktop ! :)

thanks. much appreciated smile

Offline

#335 2008-09-30 05:10:35

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Share your Openbox Desktop ! :)

Well, here's the current setup..

675bdba492d3570baec96dc5d2554a83.png

~/.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

BG_COLOR        = "0x000000"    #"0xd6d6d6"    # Panel background and tinting color
TASK_COLOR      = "0x808080"    # Normal task name color 
FOCUSED_COLOR   = "0x53aedc"    # Focused task name color
SHADED_COLOR    = "0x808080"    # Shaded task name color 
MINIMIZED_COLOR = "0x808080"    # Minimized task name color 
DESKTOP_COLOR   = "0xa8a8a8"    # Desktop name color
CLOCK_COLOR     = "0xa8a8a8"    # Clock text color
LINE_COLOR      = "0x495a74"    # Vertical line color

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

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        = 26            # Panel height

I_HEIGHT        = 16            # Panel application icon height
I_WIDTH         = 16            # Panel application icon Width 
APPL_I_HEIGHT   = 24            # Application launcher icon height
APPL_I_WIDTH    = 24            # Application launcher icon width
TRAY_I_HEIGHT   = 24            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 24            # 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

P_L_BUFF = 4
P_R_BUFF = 4
P_T_BUFF = 0
P_B_BUFF = 4 

CLOCK_FORMAT    = "%d %b %Y   %H:%M"    # Ex: 2004-09-25 17:45 

CLOCK_DELAY     = 20

HIDE_LIST       = []            
                   
HIDDEN_SIZE     = 2

FONT            = "nimbus sans l-8" # "bitstream vera sans-8"

SHOWALL         = 0             # 0, 1 or 2 - see descriptions above

SHOWMINIMIZED   = 0

ICON_LIST       = {
                   "default" : "",
                   "example" : "/usr/share/imlib2/data/images/audio.png",
                  }
                  
LAUNCH_LIST     = [
                   ("gimp-2.2", "/usr/share/imlib2/data/images/paper.png"), 
                  ]

SHADE           = 200

ABOVE           = 1             # Panel is always above other apps
APPICONS        = 1             # 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   = []

DESKTOP         = 0             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 3             # System tray section
CLOCK           = 4             # Clock section
LAUNCHER        = 0             # Application launcher section

#----------------------------------
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:
        pass #os.system("xclock &")
    elif button == 2:
        pass
    elif button == 3:
        pass 
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#--------------------------------
def panelButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel with no active tasks """
    
    if button == 1:
        pass
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
    """ Button event handler for the panel's tasks """
    
    if button == 1:
        pp.taskFocus(task)
        pp.taskFocus(task)
    elif button == 2:
        pass
    elif button == 3:
       task.obj.destroy()
    elif button == 4:
        pass
    elif button == 5:
        pass

~/.conkyrc

background no
use_xft yes
xftfont "nimbus sans l-8"
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent no
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size  1265
maximum_width 1265
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 808080
default_shade_color 101319
default_outline_color green
alignment top_left
gap_x 8
gap_y 8
no_buffers yes
uppercase yes
cpu_avg_samples 2
override_utf8_locale no

TEXT
${alignc}${color 53aedc}Kernel: ${color}$kernel   |   ${color 53aedc}Uptime: ${color}${uptime}   |   ${color 53aedc}CPU: ${color}${cpu}%   |   ${color 53aedc}RAM: ${color}$memperc%   |   ${color 53aedc}Swap: ${color}$swapperc%   |   ${color 53aedc}Disk: ${color}${fs_free /}/${fs_size /}   |   ${color 53aedc}IP: ${color}${addr ath0}   |   ${color 53aedc}Wireless: ${color}${wireless_essid ath0} @ ${wireless_link_qual_perc ath0}%   |   ${color 53aedc}Up: ${color}${upspeedf ath0}k/s   |   ${color 53aedc}Down: ${color}${downspeedf ath0}k/s

~/.conkyrc_updates

background no
use_xft yes
xftfont "nimbus sans l-9"
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size  200
maximum_width 300
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 808080
default_shade_color 101319
default_outline_color green
alignment top_left
gap_x 8
gap_y 60
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${color}ArchLinux Updates
${hr 1}
${color 53aedc}${execi 900 ~/.conkyscripts/conkyPkgListClient 64564 25 n 3}

~/.conkyscripts/conkyPkgListClient

#!/usr/bin/perl
use strict;
use warnings;
use IO::Socket;

my $port = shift;
my $message = "@ARGV\n";

my $sock = new IO::Socket::INET(PeerAddr => 'localhost',PeerPort => $port,Proto => 'tcp') || die "Error creating socket: $!";
print $sock $message;
$sock->flush;

sub receive ($)
{
    my ($client) = @_;
    my $received = '';
    READ: while(1)
    {
        my ($data, $output);
        while(sysread( $client, $data, 1 ))
        {
            $received .= $data;
            if ($received =~ m/\r\n$/)
            {
                $received =~ s/\r\n$//;
                last READ;
            }
        }
    }
    return $received;
}

print &receive($sock);
close($sock);

~/.conkyscripts/conkyPkgListServer

#!/usr/bin/perl
use strict;
use IO::Socket;

my ($port,$update_interval) = @ARGV;

my $n = 0;
my @pkgs;

my $sock = new IO::Socket::INET(
    LocalPort => $port,
    Listen => 1,
    Reuse => 1,
    Proto => 'tcp')
|| die "Error creating socket: $!";



sub receive ($)
{
    my ($client) = @_;
    my $received = '';
    READ: while(1)
    {
        my ($data, $output);
        while(sysread( $client, $data, 1 ))
        {
            $received .= $data;
            if ($received =~ m/\n$/)
            {
                chomp $received;
                last READ;
            }
        }
    }
    return $received;
}

sub send ($ $)
{
    my ($client,$data) = @_;
    print $client "$data\r\n";
    $client->flush;
    close($client);
}

sub getPkgList
{
    if (`pacman -Qu` =~ m/^[^\s]+\s\((\d+)\):\s(.+)$/m)
    {
        $n=$1;
        @pkgs=split(/\s+/,$2);
    }
}

sub getMarquee ($ $ $)
{
    my ($interval,$direction,$size) = @_;
    my $marquee = '';

    if ($direction eq 'n' or $direction eq 's')
    {
        if ($size > $n)
        {
            push @pkgs, ('') x ($size-$n);
            $n = $size;
        }

        if ($n > 0)
        {
            my $t = time;
            $t = int($t/$interval);
            my $i = $t % $n;
            for (1..$size)
            {
                $i = ($direction eq 'n' ? $i + 1 : $i - 1);
                if ($i >= $n or $i < 0)
                {
                    $i = $i % $n;
                }
                $marquee .= $pkgs[$i]."\n";
            }
        }
    }

    elsif ($direction eq 'e' or $direction eq 'w')
    {
        my $pkg_str = "@pkgs ";
        $n = length($pkg_str);
        if ($size > $n)
        {
            $pkg_str .= ' ' x ($size - $n);
            $n = $size;
        }

        if ($n > 0)
        {
            my $t = time;
            $t = int($t/$interval);
            $t = -$t if ($direction eq 'e');
            my $i = $t % $n;
            if ($i >= $n or $i < 0)
            {
                $i = $i % $n;
            }
            $marquee .= substr( substr($pkg_str,$i).substr($pkg_str,0,($i-length($pkg_str))), 0, $size);
        }
    }

    return $marquee;
}

&getPkgList;
$update_interval *= 60 if (defined($update_interval));
my $last_update = time;
while ( defined($sock) )
{
    my $client = $sock->accept();
    if (defined($update_interval) and (time-$last_update) > $update_interval)
    {
        &getPkgList;
        $last_update = time;
    }
    my $received = &receive($client);
    if ($received eq 'update')
    {
        &getPkgList;
        &send($client,$n);
    }
    if ($received =~ m/(\d+) ([nesw]) (\d+)/)
    {
        &send($client,&getMarquee($1,$2,$3));
    }
    else
    {
        &send($client,$n);
    }
}

/etc/cron.hourly/sync_pacman

#!/bin/bash
/usr/bin/pacman -Sy

Last edited by Ghost1227 (2008-10-20 22:57:39)


.:[My Blog] || [My GitHub]:.

Offline

#336 2008-09-30 15:14:04

madhatter
Member
From: Freudenstadt, Germany
Registered: 2004-09-01
Posts: 59

Re: Share your Openbox Desktop ! :)

pogeymanz wrote:

Could you post your Clearlooks-Olive theme? A quick google could not get me a clearlooks-olive openbox theme, except in rpm form.

It comes with the openbox package (in /usr/share/themes),
I uploaded my version here: http://www.box-look.org/content/show.php?content=90515

Offline

#337 2008-09-30 19:27:09

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

Re: Share your Openbox Desktop ! :)

thumb_3.png

Offline

#338 2008-10-01 19:33:20

jack.mitchell
Member
From: Ely, Cambridgeshire, UK
Registered: 2008-08-28
Posts: 156
Website

Re: Share your Openbox Desktop ! :)

2008-10-01-200714_1920x1200_scrot536.png.xs.jpg

200810012007281920x1200lm2.png
w640.png

Offline

#339 2008-10-02 02:19:25

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Share your Openbox Desktop ! :)

That's a really nice design, I'm half tempted to steal the layout. tongue

Last edited by Ghost1227 (2008-10-02 02:19:52)


.:[My Blog] || [My GitHub]:.

Offline

#340 2008-10-02 09:18:32

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: Share your Openbox Desktop ! :)

msdark wrote:

You can see conky, bmpanel with transpy theme (modificated), wbar in the top with Elegant Icons.
ncmpc and mutt in the Dirty screenshot
Openbox Theme and GTK2 Theme: Elegant Brit

I like the wallpaper - mind telling me where you got it?

Offline

#341 2008-10-03 23:06:26

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: Share your Openbox Desktop ! :)

Bert, how about that .conkrc?

Offline

#342 2008-10-03 23:50:54

msdark
Member
From: Chile
Registered: 2008-08-17
Posts: 49
Website

Re: Share your Openbox Desktop ! :)

i found the wallpaper in this thread...
Sorry but i don't remember where i downloaded
(Sorry for my poor english)


www.msdarkici.wordpress.com (Spanish) All what i Do in the linux world!!!
Arch User... Feel Free... Feel Speed....

Offline

#343 2008-10-04 10:50:09

Bert
Member
From: Zwolle
Registered: 2006-04-10
Posts: 14

Re: Share your Openbox Desktop ! :)

bb_1280x1024946.png.xs.jpg

use_xft yes
xftfont verdana:size=8
alignment top_left
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
override_utf8_locale yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

TEXT
${color 6694B2}${font OpenLogos:size=45} B
${color BADCDD}${font weather:size=82}${execi 600 ~/scripts/conditions.sh}${color}${font}${voffset -25}${execi 1200 ~/scripts/pogodynka.sh} 

${font weather:size=28}x ${font} HDD ${execi 1 ~/scripts/hddmonit.sh} C
    
${font PizzaDude Bullets:size=16}v${font}   Up: ${upspeed eth0} Kb/s 
${font PizzaDude Bullets:size=16}r${font}   Down: ${downspeed eth0} Kb/s 

${font PizzaDude Bullets:size=16}M${font}   Upload: ${totalup eth0}
${font PizzaDude Bullets:size=16}S${font}   Download: ${totaldown eth0}

${font StyleBats:size=16}A${font}    CPU0: ${cpu cpu0}% @ ${freq cpu0}
   
${font StyleBats:size=16}A${font}    CPU1: ${cpu cpu1}% @ ${freq cpu1}

${font PizzaDude Bullets:size=16}J${font}   $mem / $memmax

${font StyleBats:size=18}P${font}   Uptime:  ${uptime_short}
   
${font StyleBats:size=18}S ${font} Processes Running: ${running_processes}
   
${font StyleBats:size=18}S ${font} Processes Sleeping: ${processes}
   
${font StyleBats:size=16}J ${font} Home:  ${fs_used /home} / ${fs_size /home}
      
   
${color C2E078}${font Radio Space:size=14}Arch
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://www.archlinux.org/feeds/news/ 5 2}
 
${font Radio Space:size=14}Zwolle
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://www.weblogzwolle.nl/index2.php?option=com_rss 7 2}
   
${font Radio Space:size=14}Telegraaf
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://rss.feedsportal.com/c/585/fe.ed/www.telegraaf.nl/rss/index.xml 7 2}
   
${color BADCDD}${font Radio Space:size=14}${time %A %d %m %Y}
${font Radio Space:size=45}${time %H:%M}

scripts and fonts
http://www.box.net/shared/hro4coulo5


Bert

Offline

#344 2008-10-04 20:43:47

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: Share your Openbox Desktop ! :)

awesome - thanks bert!

Bert wrote:

http://xs231.xs.to/xs231/08390/bb_1280x … png.xs.jpg

use_xft yes
xftfont verdana:size=8
alignment top_left
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
override_utf8_locale yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

TEXT
${color 6694B2}${font OpenLogos:size=45} B
${color BADCDD}${font weather:size=82}${execi 600 ~/scripts/conditions.sh}${color}${font}${voffset -25}${execi 1200 ~/scripts/pogodynka.sh} 

${font weather:size=28}x ${font} HDD ${execi 1 ~/scripts/hddmonit.sh} C
    
${font PizzaDude Bullets:size=16}v${font}   Up: ${upspeed eth0} Kb/s 
${font PizzaDude Bullets:size=16}r${font}   Down: ${downspeed eth0} Kb/s 

${font PizzaDude Bullets:size=16}M${font}   Upload: ${totalup eth0}
${font PizzaDude Bullets:size=16}S${font}   Download: ${totaldown eth0}

${font StyleBats:size=16}A${font}    CPU0: ${cpu cpu0}% @ ${freq cpu0}
   
${font StyleBats:size=16}A${font}    CPU1: ${cpu cpu1}% @ ${freq cpu1}

${font PizzaDude Bullets:size=16}J${font}   $mem / $memmax

${font StyleBats:size=18}P${font}   Uptime:  ${uptime_short}
   
${font StyleBats:size=18}S ${font} Processes Running: ${running_processes}
   
${font StyleBats:size=18}S ${font} Processes Sleeping: ${processes}
   
${font StyleBats:size=16}J ${font} Home:  ${fs_used /home} / ${fs_size /home}
      
   
${color C2E078}${font Radio Space:size=14}Arch
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://www.archlinux.org/feeds/news/ 5 2}
 
${font Radio Space:size=14}Zwolle
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://www.weblogzwolle.nl/index2.php?option=com_rss 7 2}
   
${font Radio Space:size=14}Telegraaf
${font}${execi 300 /home/bert/scripts/conky-rss.sh http://rss.feedsportal.com/c/585/fe.ed/www.telegraaf.nl/rss/index.xml 7 2}
   
${color BADCDD}${font Radio Space:size=14}${time %A %d %m %Y}
${font Radio Space:size=45}${time %H:%M}

scripts and fonts
http://www.box.net/shared/hro4coulo5


Bert

Offline

#345 2008-10-04 20:50:25

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

Re: Share your Openbox Desktop ! :)

That is insane!!


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

Offline

#346 2008-10-04 21:06:33

Stoffi
Member
Registered: 2007-03-15
Posts: 107

Re: Share your Openbox Desktop ! :)

Maybe, but it is really clean!
Actually, I like it wink

Clean and simple, just as Arch wink

Offline

#347 2008-10-04 22:15:35

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: Share your Openbox Desktop ! :)

pypanel, thunar, opera, urxvt. lime versions of elegant-brit for both gtk and ob. royal-preview icons. the wallpaper is a detail from a david hockney painting.

hockscr.jpg hockscr2.jpg

Last edited by fuscia (2008-10-04 22:16:08)

Offline

#348 2008-10-05 21:41:15

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

Re: Share your Openbox Desktop ! :)

thumb_5.png

Offline

#349 2008-10-06 09:49:43

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Share your Openbox Desktop ! :)

penguindesktopje3.th.pngthpix.gif

Last edited by iphitus (2008-10-06 09:50:15)

Offline

#350 2008-10-06 10:18:15

babypuncher
Member
From: .au
Registered: 2007-03-12
Posts: 114
Website

Re: Share your Openbox Desktop ! :)

New for this month,

babypuncher wrote:

sstva1.png

Details on DA.

Offline

Board footer

Powered by FluxBB