You are not logged in.

#1576 2011-02-23 12:48:07

gregory.kovalev
Member
Registered: 2011-01-13
Posts: 11

Re: Share your Openbox Desktop ! :)

arch+tint2+openbox+conky+mpd/sonata+sakura

vN2l6ZQ

Offline

#1577 2011-02-23 13:42:25

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Share your Openbox Desktop ! :)

sead wrote:

Can you please explain me (or a good link) to get only the icons in your tint2.

Thank you in advance.

You might look into Tintwizard, a gui for configuring tint2. Works pretty well for me.

http://aur.archlinux.org/packages.php?ID=29696

Offline

#1578 2011-02-23 19:59:39

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: Share your Openbox Desktop ! :)

SimpleKiwi wrote:

@Pyntux wow I like the widgets on the desktop. What program and theme is it?

That's only conky with lua script for rings...

Look here:

http://www.milax.org/?p=287

I think you will need conky-lua from AUR.

This is new setup of my Openbox:

2011-02-2312984914071366.jpg

Last edited by Pyntux (2011-02-23 20:04:00)


I do not speak English, but I understand...

Offline

#1579 2011-02-23 21:13:30

twix
Member
Registered: 2010-10-07
Posts: 63

Re: Share your Openbox Desktop ! :)

@Pyntux : Do you mind sharing your conky and lua setup of rings please ? I'd tried to do such as your desktop  but failed nicely smile.

Offline

#1580 2011-02-24 09:15:01

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: Share your Openbox Desktop ! :)

@twix

Sure... wink

First, I think you will need to install conky-lua from AUR because with conky from extra I also failed to setup this... smile


This is .conkyrc:

# — Conky settings — #
#background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 1024
imlib_cache_size 0

# — Window specifications — #

own_window yes
#own_window_type override#
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 800 800
maximum_width 800

alignment top_middle
gap_x 1
gap_y 30

# — Graphics settings — #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# — Text settings — #
use_xft yes
xftfont Neuropolitical:size=10
xftalpha 0.5

uppercase no

default_color 3E3E3E
color1 D23000

# — Lua Load — #
lua_load ~/.scripts/big_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${voffset 8}${color 3399FF}${font Droid Sans:size=16}${time %A}${font}${voffset -12}${color FFFFFF}${font Droid Sans:size=32}${time %e}${font}
${color FFFFFF}${voffset -10}${color 3399FF}${font Droid Sans:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font Droid Sans:size=20}${time %Y}${font}${color 3399FF}${hr}
${voffset 5}${font Zarautz:size=16}${time %H:%M:%S}${voffset 5}${font Droid Sans:size=10}${alignr}${font}
#${font Droid Sans:size=12}${color FFFFFF}${alignr}${acpitemp}°C${font}
${color 3399FF}${voffset 6}${alignr}${sysname} ${kernel} ${machine}
${alignr}Uptime:${color FFFFFF}$uptime_short
${color FFFFFF}${goto 235}${voffset 135}${cpu cpu0}%
${color 3399FF}${goto 232}CPU
${color FFFFFF}${goto 540}${voffset -30}${memperc}%
${color 3399FF}${goto 540}RAM
${color FFFFFF}${goto 255}${voffset -230}${swapperc}%
${color 3399FF}${goto 245}SWAP
${color FFFFFF}${goto 390}${voffset 50}${fs_used_perc /}%
${color 3399FF}${goto 388}Root
${color FFFFFF}${goto 305}${voffset 355}${upspeed wlan0}
${color 3399FF}${goto 305}Up
${color FFFFFF}${goto 510}${voffset 75}${downspeed wlan0}
${color 3399FF}${goto 503}Down
${color FFFFFF}${goto 50}${voffset -170}${fs_used_perc /home}%
${color 3399FF}${goto 43}Home
${color FFFFFF}${goto 720}${voffset -33}${fs_used_perc /fajlovi}%
${color 3399FF}${goto 712}Fajlovi

  #     ${voffset 5}${color}${font Droid Sans:size=17}&${font}${color slate grey} Muzika:
  #     ${color e0e0e0}${font Droid Sans:size=9}${exec rhythmbox-client --no-start --print-playing-format %tt} -
  #     ${exec rhythmbox-client --no-start --print-playing-format %aa}  ${color adadad}#${font Droid Sans:size=8}

Ofcourse, you will need to change some thinks, like hdd partitions which will conky show...Also, you will need to change that in lua script to work good. Here's lua script:

--[[
Clock Rings by londonali1010 (2009) , mod by arpinux

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.

IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.

To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
   lua_load ~/scripts/clock_rings.lua
   lua_draw_hook_pre clock_rings
   
Changelog:
+ v1.0 -- Original release (30.09.2009)
]]

settings_table = {
   
   {
           name='cpu',
           arg='cpu0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xffff00,
           fg_alpha=0.4,
           x=350, y=400,
           radius=200,
           thickness=50,
           start_angle=220,
           end_angle=320
   },
   {
           name='memperc',
           arg='',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x33ccff,
           fg_alpha=0.8,
           x=450, y=400,
           radius=200,
           thickness=50,
           start_angle=40,
           end_angle=140
   },
   {
           name='swapperc',
           arg='',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x33ccff,
           fg_alpha=0.8,
           x=400, y=305,
           radius=200,
           thickness=20,
           start_angle=-40,
           end_angle=40
   },
   {
           name='fs_used_perc',
           arg='/',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x3399cc,
           fg_alpha=0.3,
           x=400, y=350,
           radius=200,
           thickness=30,
           start_angle=-40,
           end_angle=40
   },
   {
           name='upspeedf',
           arg='wlan0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xffff33,
           fg_alpha=0.3,
           x=400, y=440,
           radius=200,
           thickness=20,
           start_angle=140,
           end_angle=220
   },
   {
           name='downspeedf',
           arg='wlan0',
           max=480,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xccff33,
           fg_alpha=0.3,
           x=400, y=470,
           radius=210,
           thickness=20,
           start_angle=140,
           end_angle=220
   },
   {
           name='fs_used_perc',
           arg='/home',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x3399cc,
           fg_alpha=0.8,
           x=380, y=400,
           radius=300,
           thickness=50,
           start_angle=220,
           end_angle=320
   },
   {
           name='fs_used_perc',
           arg='/fajlovi',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xff4444,
           fg_alpha=0.8,
           x=420, y=400,
           radius=300,
           thickness=50,
           start_angle=40,
           end_angle=140
   },
}


require 'cairo'

function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr,t,pt)
    local w,h=conky_window.width,conky_window.height
   
    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

    local angle_0=sa*(2*math.pi/360)-math.pi/2
    local angle_f=ea*(2*math.pi/360)-math.pi/2
    local t_arc=t*(angle_f-angle_0)

    -- Draw background ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
    cairo_set_line_width(cr,ring_w)
    cairo_stroke(cr)
   
    -- Draw indicator ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
    cairo_stroke(cr)       
end

function conky_clock_rings()
    local function setup_rings(cr,pt)
        local str=''
        local value=0
       
        str=string.format('${%s %s}',pt['name'],pt['arg'])
        str=conky_parse(str)
       
        value=tonumber(str)
        pct=value/pt['max']
       
        draw_ring(cr,pct,pt)
    end
   
    -- Check that Conky has been running for at least 5s

    if conky_window==nil then return end
    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
   
    local cr=cairo_create(cs)   
   
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
   
    if update_num>5 then
        for i in pairs(settings_table) do
            setup_rings(cr,settings_table[i])
        end
    end
end

I save scripts in ~/.scripts/, but you can put where you want, but change path in .conkyrc.

Font which conky use i Neuropolitical: http://www.dafont.com/neuropolitical.font.

Here's another lua script, with clock inside the big ring:

--[[
Clock Rings by londonali1010 (2009) , mod by arpinux

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.

IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.

To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
   lua_load ~/scripts/clock_rings.lua
   lua_draw_hook_pre clock_rings
   
Changelog:
+ v1.0 -- Original release (30.09.2009)
]]

settings_table = {
   {
           name='time',
           arg='%M.%S',
           max=60,
           bg_colour=0xffffff,
           bg_alpha=0.1,
           fg_colour=0x3399cc,
           fg_alpha=0.4,
           x=400, y=400,
           radius=56,
           thickness=5,
           start_angle=0,
           end_angle=360
       },
       {
           name='time',
           arg='%S',
           max=60,
           bg_colour=0xffffff,
           bg_alpha=0.1,
           fg_colour=0x3399cc,
           fg_alpha=0.6,
           x=400, y=400,
           radius=62,
           thickness=5,
           start_angle=0,
           end_angle=360
       },
       {
           name='time',
           arg='%d',
           max=31,
           bg_colour=0xffffff,
           bg_alpha=0.1,
           fg_colour=0x3399cc,
           fg_alpha=0.8,
           x=400, y=400,
           radius=70,
           thickness=5,
           start_angle=-90,
           end_angle=90
   },
       {
           name='time',
           arg='%m',
           max=12,
           bg_colour=0xffffff,
           bg_alpha=0.1,
           fg_colour=0x3399cc,
           fg_alpha=1,
           x=400, y=400,
           radius=76,
           thickness=5,
           start_angle=-90,
           end_angle=90
       },
   {
           name='cpu',
           arg='cpu0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xffff00,
           fg_alpha=0.4,
           x=350, y=400,
           radius=200,
           thickness=50,
           start_angle=220,
           end_angle=320
   },
   {
           name='memperc',
           arg='',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x33ccff,
           fg_alpha=0.8,
           x=450, y=400,
           radius=200,
           thickness=50,
           start_angle=40,
           end_angle=140
   },
   {
           name='swapperc',
           arg='',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x33ccff,
           fg_alpha=0.8,
           x=400, y=305,
           radius=200,
           thickness=20,
           start_angle=-40,
           end_angle=40
   },
   {
           name='fs_used_perc',
           arg='/',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x3399cc,
           fg_alpha=0.3,
           x=400, y=350,
           radius=200,
           thickness=30,
           start_angle=-40,
           end_angle=40
   },
   {
           name='upspeedf',
           arg='ppp0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xffff33,
           fg_alpha=0.3,
           x=400, y=440,
           radius=200,
           thickness=20,
           start_angle=140,
           end_angle=220
   },
   {
           name='downspeedf',
           arg='ppp0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xccff33,
           fg_alpha=0.3,
           x=400, y=470,
           radius=210,
           thickness=20,
           start_angle=140,
           end_angle=220
   },
   {
           name='fs_used_perc',
           arg='/media/DATA01',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x3399cc,
           fg_alpha=0.8,
           x=380, y=400,
           radius=300,
           thickness=50,
           start_angle=220,
           end_angle=320
   },
   {
           name='fs_used_perc',
           arg='/media/DATA02',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xff4444,
           fg_alpha=0.8,
           x=420, y=400,
           radius=300,
           thickness=50,
           start_angle=40,
           end_angle=140
   },
}



require 'cairo'

function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr,t,pt)
    local w,h=conky_window.width,conky_window.height
   
    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

    local angle_0=sa*(2*math.pi/360)-math.pi/2
    local angle_f=ea*(2*math.pi/360)-math.pi/2
    local t_arc=t*(angle_f-angle_0)

    -- Draw background ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
    cairo_set_line_width(cr,ring_w)
    cairo_stroke(cr)
   
    -- Draw indicator ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
    cairo_stroke(cr)       
end

function conky_clock_rings()
    local function setup_rings(cr,pt)
        local str=''
        local value=0
       
        str=string.format('${%s %s}',pt['name'],pt['arg'])
        str=conky_parse(str)
       
        value=tonumber(str)
        pct=value/pt['max']
       
        draw_ring(cr,pct,pt)
    end
   
    -- Check that Conky has been running for at least 5s

    if conky_window==nil then return end
    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
   
    local cr=cairo_create(cs)   
   
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
   
    if update_num>5 then
        for i in pairs(settings_table) do
            setup_rings(cr,settings_table[i])
        end
    end
end

If you get stuck, ask for help, we will make it work!


I do not speak English, but I understand...

Offline

#1581 2011-02-24 10:32:08

twix
Member
Registered: 2010-10-07
Posts: 63

Re: Share your Openbox Desktop ! :)

Thanks you so much Pyntux, so much explanation !
We will see more conky rings setups now wink

Offline

#1582 2011-02-24 11:07:12

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: Share your Openbox Desktop ! :)

twix wrote:

Thanks you so much Pyntux, so much explanation !
We will see more conky rings setups now wink

You're welcome! wink

Last edited by Pyntux (2011-02-24 11:08:25)


I do not speak English, but I understand...

Offline

#1583 2011-02-25 01:16:00

lsathler
Member
Registered: 2010-05-15
Posts: 16

Re: Share your Openbox Desktop ! :)

Here's my desktop. After using openbox i can't get rid of it.

tN2p1bg

Openbox, tint2, conky, wbar

Offline

#1584 2011-02-25 13:28:57

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Share your Openbox Desktop ! :)

Could we see that conky scripts for the weather?
Thx!

Offline

#1585 2011-02-25 13:30:58

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Share your Openbox Desktop ! :)

ktt73 wrote:

Could we see you conky scripts?
Thx!

Sven

Offline

#1586 2011-02-26 03:35:36

KenH79
Member
From: California, USA
Registered: 2010-10-30
Posts: 20

Re: Share your Openbox Desktop ! :)

Some sexy *box shots there everyone, well here is mine. The tint and conky aren't very original, actually they were taken from corenominal over at the crunchbang forums,

Screenshot:

boxshote.th.png


Running Programs = Exaile, Deluge, Tint2, Conky, Network-Manager-Applet, Midori, volwheel

Openbox theme is mire v2 blue
GTK Theme is clearlooks brave dark
Icon theme is Faenza

Tint2 Config = http://pastebin.com/2nugvK74
Conky Config = http://pastebin.com/D7N5t1pq
Autostart.sh = http://pastebin.com/68SHKQug
Menu.xml = http://pastebin.com/WTby5R5N

Any other questions?


My System:
IBM T41 laptop ~ Pentium M 1.6Ghz ~ 1gb RAM ~ Mobility Radeon 7500
ArchLinux Kernel 2.6.37

Offline

#1587 2011-02-27 01:10:44

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

Re: Share your Openbox Desktop ! :)

tN2t0dg

The openbox theme is a personal modification of Elegant Brit (WIP), GTK theme I'm using is Atolm.

The wallpaper is a quick modification I did of Ultra 2.

Visible apps are tint2, conky, gvolwheel and wicd.

If anyone wants anything from it, just reply and I'll post the config.

Last edited by neurolysis (2011-02-27 01:12:41)

Offline

#1588 2011-02-27 08:17:35

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Share your Openbox Desktop ! :)

gregory.kovalev wrote:

arch+tint2+openbox+conky+mpd/sonata+sakura

http://ompldr.org/vN2l6ZQ

Which terminal is that, and how did you loose the borders?

Thx.
Sven

Offline

#1589 2011-02-27 09:26:29

Ca5bah
Member
From: Michigan
Registered: 2010-05-09
Posts: 51

Re: Share your Openbox Desktop ! :)

lFPnts.jpg


| CM690 | Intel i5 4690 | Gigabyte Windforce 1060 6GB | Assorted 2TB Hitachi Deskstars/128GB SSDs |

Offline

#1590 2011-02-27 17:55:00

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: Share your Openbox Desktop ! :)

killerturtle wrote:
gregory.kovalev wrote:

arch+tint2+openbox+conky+mpd/sonata+sakura

http://ompldr.org/vN2l6ZQ

Which terminal is that, and how did you loose the borders?

Thx.
Sven

It's sakura, also you can see it from the screenshot "...greg@myhost~ - sakura". You can disable window decorations from "~/.config/openbox/rc.xml" file, if you want to remove borders install and launch "obconf" and untick "Windows retain a border when undecorated" box.

Offline

#1591 2011-02-28 17:51:12

MW
Member
Registered: 2007-07-27
Posts: 127

Re: Share your Openbox Desktop ! :)

killerturtle wrote:

Could we see that conky scripts for the weather?
Thx!

Sorry for the late reply, I just got back from a trip.

The script is too long to post on the board, I'll just show the conkyrc and link to the script download, very simple to use:
.conkyrc

background        yes
use_xft            yes
xftalpha        0.8
update_interval        60
double_buffer        yes
draw_shades        yes
draw_outline        no
draw_borders        no
own_window        yes
own_window_transparent    yes
own_window_argb_visual    yes
own_window_type        normal
own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size         350 300
alignment        bottom_right
maximum_width        350
gap_x            10
gap_y            40
#uppercase        no
text_buffer_size    2048

TEXT
${color #93AAA9}${font Santana:style=Bold:size=11}Potchefstroom${font} ${hr 2}$color${execi 600 sh /home/xxxx/.scripts/conky_weather/weather_script.sh}
${font conkyweather:size=35}${execi 600  sed -n '4p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '1p' /home/xxxx/.scripts/conky_weather/weather1}


${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=AFR|ZA|SF007|POTCHEFSTROOM 10 item_title 1}
${font conkyweather:size=35}${execi 600  sed -n '5p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '2p' /home/xxxx/.scripts/conky_weather/weather1}


${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=AFR|ZA|SF007|POTCHEFSTROOM 10 item_title 2}
${font conkyweather:size=35}${execi 600  sed -n '6p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '3p' /home/xxxx/.scripts/conky_weather/weather1}


${color #93AAA9}${font Santana:style=Bold:size=14}@ ${font Santana:style=Bold:size=11}EMail${font} ${hr 2}$color
${font Terminus}${execpi 600 conkyEmail --template=/home/xxxx/.scripts/conkyEmail.template}${font}

http://ubuntu-virginia.ubuntuforums.org … ?t=1156383

Offline

#1592 2011-02-28 17:54:03

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Share your Openbox Desktop ! :)

MW wrote:
killerturtle wrote:

Could we see that conky scripts for the weather?
Thx!

Sorry for the late reply, I just got back from a trip.

The script is too long to post on the board, I'll just show the conkyrc and link to the script download, very simple to use:
.conkyrc

background        yes
use_xft            yes
xftalpha        0.8
update_interval        60
double_buffer        yes
draw_shades        yes
draw_outline        no
draw_borders        no
own_window        yes
own_window_transparent    yes
own_window_argb_visual    yes
own_window_type        normal
own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size         350 300
alignment        bottom_right
maximum_width        350
gap_x            10
gap_y            40
#uppercase        no
text_buffer_size    2048

TEXT
${color #93AAA9}${font Santana:style=Bold:size=11}Potchefstroom${font} ${hr 2}$color${execi 600 sh /home/xxxx/.scripts/conky_weather/weather_script.sh}
${font conkyweather:size=35}${execi 600  sed -n '4p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '1p' /home/xxxx/.scripts/conky_weather/weather1}


${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=AFR|ZA|SF007|POTCHEFSTROOM 10 item_title 1}
${font conkyweather:size=35}${execi 600  sed -n '5p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '2p' /home/xxxx/.scripts/conky_weather/weather1}


${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=AFR|ZA|SF007|POTCHEFSTROOM 10 item_title 2}
${font conkyweather:size=35}${execi 600  sed -n '6p' /home/xxxx/.scripts/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '3p' /home/xxxx/.scripts/conky_weather/weather1}


${color #93AAA9}${font Santana:style=Bold:size=14}@ ${font Santana:style=Bold:size=11}EMail${font} ${hr 2}$color
${font Terminus}${execpi 600 conkyEmail --template=/home/xxxx/.scripts/conkyEmail.template}${font}

http://ubuntu-virginia.ubuntuforums.org … ?t=1156383

Yo, Thanks! Uhm... while we're at it....how do I get those really nice icons?
Thx again!

Sven

Last edited by killerturtle (2011-02-28 17:57:43)

Offline

#1593 2011-02-28 18:15:10

MW
Member
Registered: 2007-07-27
Posts: 127

Re: Share your Openbox Desktop ! :)

Which ones are you referring to? The ones in the Cairo Dock?

http://gnome-look.org/content/show.php/ … ent=126344

Offline

#1594 2011-02-28 18:26:16

killerturtle
Member
Registered: 2010-11-12
Posts: 111

Re: Share your Openbox Desktop ! :)

yep, the ones in the left middle and right bottom smile

Offline

#1595 2011-03-01 22:05:21

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: Share your Openbox Desktop ! :)

tN21jZA

Offline

#1596 2011-03-01 23:29:16

SimpleKiwi
Member
From: Ashburton, New Zealand
Registered: 2010-10-11
Posts: 20

Re: Share your Openbox Desktop ! :)

@andrews where did you get that wallpaper from big_smile

Offline

#1597 2011-03-02 00:59:24

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: Share your Openbox Desktop ! :)

tN21lbQ

->OpenBox Theme: mookid
http://bl1nks.deviantart.com/art/mookid … enbox&qo=0

->GTK2 Theme: elementary
http://danrabbit.deviantart.com/art/ele … xutil&qo=0

->Icons: elementary Icons
http://browse.deviantart.com/customizat … /#/d12yjq7

Apps: Sonata,Thunar,OpenBox menu,Conky,tint2

Last edited by AurosGamma (2011-03-02 01:03:21)

Offline

#1598 2011-03-02 03:26:22

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: Share your Openbox Desktop ! :)

Offline

#1599 2011-03-02 19:53:54

urukrama
Member
Registered: 2008-04-28
Posts: 11
Website

Re: Share your Openbox Desktop ! :)

Shinryuu wrote:

if you want to remove borders install and launch "obconf" and untick "Windows retain a border when undecorated" box.

You could do that also by editing the rc.xml file. There is a <keepBorder>no</keepBorder> setting (in the default configuration file somewhere at the beginning, just after the theme and button settings).

Offline

#1600 2011-03-04 22:39:23

jtkiv
Member
Registered: 2011-02-07
Posts: 37

Re: Share your Openbox Desktop ! :)

Offline

Board footer

Powered by FluxBB