SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#3101 2012-09-23 22:23:44

dlharp2
Member
Registered: 2009-05-17
Posts: 14

Re: Conky v1.9 Thread

I really love this radio stream:

http://www.rfcmedia.com/thirdrockradio/

I just wonder if it's possible to run a player in Conky.  Mostly because I love the look of Conky and will like to listen to it constantly through my desktop.

Offline

Be excellent to each other!

#3102 2012-09-23 22:30:38

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

AlanD wrote:
arclance wrote:

You would start conky normally to get it to show up in your login manager.
I think you would need to add a line to start (and stop) conky to whatever script starts your login manager to use it there.

Starting it shouldnt be too hard. I'll have to research how to stop it though, after the user logs in, and before the login manager ceases.

If you can run a script to start one your can run a script to stop one.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3103 2012-09-23 22:33:38

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 987

Re: Conky v1.9 Thread

Sector11 wrote:
AlanD wrote:
arclance wrote:

You would start conky normally to get it to show up in your login manager.
I think you would need to add a line to start (and stop) conky to whatever script starts your login manager to use it there.

Starting it shouldnt be too hard. I'll have to research how to stop it though, after the user logs in, and before the login manager ceases.

If you can run a script to start one your can run a script to stop one.

It's stopping at the right time that is the hard part.
You need a way to detect when the user logs in for that.

Offline

#3104 2012-09-23 23:59:27

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

~/.xinitrc of that user? Put there:

killall $(pidof conky)

Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

#3105 2012-09-24 00:01:59

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 987

Re: Conky v1.9 Thread

dk75 wrote:

~/.xinitrc of that user? Put there:

killall $(pidof conky)

I am not sure that would work.
Don't login managers run as root?
Users would not be able to kill a root process without entering a password.
It sounds like AlanD was trying to avoid that to me.
If not

gksudo killall conky

should work.

Last edited by arclance (2012-09-24 00:05:34)

Offline

#3106 2012-09-24 07:53:32

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

OK.
Then in GDM3 there is /etc/gdm directory with Xsession and/or /etc/gdm/PostLogin directory to put customizing scripts.
But it also runs /etc/X11/xdm/Xsession

KDM uses /etc/X11/xdm/Xsessioncafter login


Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

#3107 2012-09-24 13:50:52

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

gksudo killall conky

Why gksudo? Conky isn't a GUI app - or is it.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3108 2012-09-24 20:26:10

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 987

Re: Conky v1.9 Thread

Sector11 wrote:
gksudo killall conky

Why gksudo? Conky isn't a GUI app - or is it.

To pop up a window to type in your sudo password since a login manager would run conky as root so you need to use root privileges to kill the login manager conky.
~/.xinitrc runs when you login, not in a terminal, so you would need to use "gksudo" or one of its equivalents to run a command as root from that script.

Offline

#3109 2012-09-24 21:17:08

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

arclance wrote:
Sector11 wrote:
gksudo killall conky

Why gksudo? Conky isn't a GUI app - or is it.

To pop up a window to type in your sudo password since a login manager would run conky as root so you need to use root privileges to kill the login manager conky.
~/.xinitrc runs when you login, not in a terminal, so you would need to use "gksudo" or one of its equivalents to run a command as root from that script.

Oh ... OK that makes sense.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3110 2012-09-24 22:19:54

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

@ mrpeachy - OK this is OLD but I saw it on your blog and it points to a post here on CrunchBang, I thought it looked cool so I grabbed it and tried it.

I get this error:

  24 Sep 12 | 18:55:16 ~
         $ conky -c ~/conky/test271.iso_bars.conky &
[1] 16096

  24 Sep 12 | 18:55:19 ~
         $ Conky: desktop window (260) is root window
Conky: window type - normal
Conky: drawing to created window (0x1c00002)
Conky: drawing to double buffer
Conky: llua_do_call: function conky_draw_shape execution failed: /home/sector11/Conky/LUA/isometric_bars.lua:15: attempt to perform arithmetic on local 'a_num1' (a nil value)
Conky: llua_do_call: function conky_draw_shape execution failed: /home/sector11/Conky/LUA/isometric_bars.lua:15: attempt to perform arithmetic on local 'a_num1' (a nil value)
         $ 

Seems to work though:
achWv2v0.jpg

Line 13, 14 and 15

--line 1 settings end
local a_num1=tonumber(conkyobject)
local a_num=(height/100)*a_num1

Any ideas?


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3111 2012-09-24 23:55:58

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

^ if you want to get rid of the error change those lines to this:

--line 1 settings end
local a_num1=tonumber(conkyobject) or 0
local a_num=(height/100)*a_num1

the "or 0" part means that if "tonumber(conkyobject)" is nil then a_num1=0

Offline

#3112 2012-09-25 00:47:33

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

mrpeachy wrote:

^ if you want to get rid of the error change those lines to this:

--line 1 settings end
local a_num1=tonumber(conkyobject) or 0
local a_num=(height/100)*a_num1

the "or 0" part means that if "tonumber(conkyobject)" is nil then a_num1=0

Yes, that works.  Thank you.
adf8ClbU.jpg
Nice clean terminal.

EDIT: adding everything below!

The conky:

# To use #! in a conky use: ${exec echo '#!'}
# ${font DS\-Digital:bold:size=24}
# OS: ${pre_exec lsb_release -d | cut -c 14-50}
# killall conky && conky -c ~/conky/test271.iso_bars.conky &

#conky performance settings
  use_xft yes
  xftalpha 1.0
  update_interval 1
  total_run_times 0
  cpu_avg_samples 4
  no_buffers no
  double_buffer yes
  override_utf8_locale yes

#overall position of conky window
  alignment top_left
  gap_x 10
  gap_y 10
  minimum_size 320 800
  maximum_width 320

#overall appearance of conky window
  own_window yes
  own_window_type normal
  own_window_transparent yes
  own_window_hints undecorated,below,skip_taskbar,skip_pager
  draw_borders no

#default text apperance
  xftfont DejaVu Sans Mono:bold:size=8
  draw_shades yes
  draw_outline yes
  default_shade_color white
  default_outline_color black
  uppercase no

#border around graphs
  draw_graph_borders yes

###  Color Settings  #########################################################
draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

default_color DCDCDC #220 220 220    Gainsboro
color0 8FBC8F #143 188 143    DarkSeaGreen
color1 778899 #119 136 153    LightSlateGray
color2 FF8C00 #255 140   0    DarkOrange
color3 7FFF00 #127 255   0    Chartreuse
color4 FFA07A #255 160 122    LightSalmon
color5 FFDEAD #255 222 173    NavajoWhite
color6 00BFFF #  0 191 255    DeepSkyBlueconky -c ~/conky/test267.PetroDawg_2.conky &
color7 00FFFF #  0 255 255    Cyan
color8 FFFF00 #255 255   0    Yellow
color9 B22222 #178  34  34    FireBrick
#####################################################  End Color Settings

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
 own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0

text_buffer_size 1024

###  LUA Settings  #############################################################
 lua_load ~/Conky/LUA/isometric_bars.lua
 lua_draw_hook_pre draw_shape

lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_post draw_bg 20 0 0 0 0 0x000000 0.3
#######################################################  End LUA Settings  ###


TEXT




       ${fs_free_perc /}%${goto 125}${fs_free_perc /home}%${goto 195}${fs_free_perc /media/5}%









       ${fs_used_perc /}%${goto 125}${fs_used_perc /home}%${goto 195}${fs_used_perc /media/5}%${goto 265}${memperc}%














       ${cpu cpu0}%${goto 125}${cpu cpu1}%${goto 195}${cpu cpu2}%${goto 265}${cpu cpu3}%

and the isometric_bars.lua

--[[ the post: http://crunchbanglinux.org/forums/post/55927/#p55927
this one was easy (or i thought it was going to be)
http://omploader.org/tM2x0bg
Going to be a work in progress until i set up all the variables properly... and get my titles right smile
UPDATE- now you can change line thickness without messing it up.  Getting the lines right has made things alot less easy smile
also you can set font, font size and title position
    -- end the post
isometric bars by mrpeachy (2010)
--]]

require 'cairo'
function bar3d(conkyobject, linethick, width, barheight, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)
--line 1 settings end
local a_num1=tonumber(conkyobject) or 0
local a_num=(height/100)*a_num1

if framelines == 1 then
cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
cairo_set_line_width (cr, linethick)
cairo_translate (cr, across, down)
cairo_move_to (cr, width*0.5, -width*0.5)
cairo_rel_line_to (cr, 0, -height)
cairo_stroke (cr)
cairo_translate (cr, -across, -down)
end
--line 1 indicator front face
cairo_translate (cr, across, down)
cairo_move_to (cr, 0, 0);
cairo_rectangle (cr, 0, 0, width, -a_num);
cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
cairo_fill (cr)
cairo_translate (cr, -across, -down)
--line 1 indicator side face
cairo_translate (cr, across, down)
cairo_move_to (cr, 0, (linethick*0.1));
cairo_rel_line_to (cr, 0, -a_num)
cairo_rel_line_to (cr, -1*(width*0.5), -1*(width*0.5))
cairo_rel_line_to (cr, 0, a_num)
cairo_rel_line_to (cr, (width*0.5), (width*0.5))
cairo_close_path (cr)
cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
cairo_fill (cr)
cairo_translate (cr, -across, -down)
--line 1 indicator top face
cairo_translate (cr, across, down)
cairo_move_to (cr, 0, -a_num);
cairo_rel_line_to (cr, width, 0)
cairo_rel_line_to (cr, -1*(width*0.5), -1*(width*0.5))
cairo_rel_line_to (cr, -width, 0)
cairo_rel_line_to (cr, (width*0.5), (width*0.5))
cairo_close_path (cr)
cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
cairo_fill (cr)
cairo_translate (cr, -across, -down)

--line 1 indicator lines
cairo_set_line_width (cr, linethick);
cairo_translate (cr, across, down)
cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
--vertical, middle
cairo_move_to (cr, 0, 1*(linethick*0.9));
cairo_rel_line_to (cr, 0, -a_num-(linethick*0.9))
cairo_stroke (cr)
--vertical right
cairo_move_to (cr, width, 1*(linethick*0.9));
cairo_rel_line_to (cr, 0, -a_num-(linethick*0.9))
cairo_stroke (cr)
--left line
cairo_move_to (cr, -1*(width*0.5), (-1*(width*0.5))+(linethick));
cairo_rel_line_to (cr, 0, -a_num)
cairo_stroke (cr)
--bottom line
cairo_move_to (cr, -1*(linethick*0.9), (linethick*0.9))
cairo_rel_line_to (cr, width+linethick, 0)
cairo_stroke (cr)
--top of indicator
cairo_move_to (cr, 0, -a_num+(linethick*0.9))
cairo_rel_line_to (cr, width, 0)
cairo_stroke (cr)
--bottom diagonal
cairo_move_to (cr, -1*(linethick*0.15), (linethick*0.65))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
--topline
cairo_move_to (cr, (-1*(width*0.5))-(linethick*0.9), ((-1*(width*0.5))-a_num)+(linethick*0.9))
cairo_rel_line_to (cr, width+linethick, 0)
cairo_stroke (cr)
--top left diagonal
cairo_move_to (cr, 0, -a_num+(linethick*0.9))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
--top right diagopnal
cairo_move_to (cr, width+(linethick*0.15), -a_num+(linethick*0.35))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
cairo_translate (cr, -across, -down)
--title
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fontsize);
cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
cairo_translate (cr, txtacross, txtdown)
cairo_move_to (cr, 0, 0)
cairo_show_text (cr, title)
cairo_translate (cr, -txtacross, -txtdown)

if framelines == 1 then
--frame lines
cairo_set_line_width (cr, linethick);
cairo_translate (cr, across, down)
cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
--vertical, middle
cairo_move_to (cr, 0, 1*(linethick*0.9));
cairo_rel_line_to (cr, 0, -height-(linethick*0.9))
cairo_stroke (cr)
--vertical right
cairo_move_to (cr, width, 1*(linethick*0.9));
cairo_rel_line_to (cr, 0, -height-(linethick*0.9))
cairo_stroke (cr)
--left line
cairo_move_to (cr, -1*(width*0.5), (-1*(width*0.5))+(linethick));
cairo_rel_line_to (cr, 0, -height)
cairo_stroke (cr)
--bottom line
cairo_move_to (cr, -1*(linethick*0.9), (linethick*0.9))
cairo_rel_line_to (cr, width+linethick, 0)
cairo_stroke (cr)
--top of indicator
cairo_move_to (cr, 0, -height+(linethick*0.9))
cairo_rel_line_to (cr, width, 0)
cairo_stroke (cr)
--bottom diagonal
cairo_move_to (cr, -1*(linethick*0.15), (linethick*0.65))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
--topline
cairo_move_to (cr, (-1*(width*0.5))-(linethick*0.9), ((-1*(width*0.5))-height)+(linethick*0.9))
cairo_rel_line_to (cr, width+linethick, 0)
cairo_stroke (cr)
--top left diagonal
cairo_move_to (cr, 0, -height+(linethick*0.9))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
--top right diagopnal
cairo_move_to (cr, width+(linethick*0.15), -height+(linethick*0.35))
cairo_rel_line_to (cr, (-1*(width*0.5)), (-1*(width*0.5)))
cairo_stroke (cr)
cairo_translate (cr, -across, -down)
end
end

function conky_draw_shape ()
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num > 5 then
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)

-- ROOT
conkyobject=conky_parse('${fs_used_perc /}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=50
down=200
title="Root"
font="White Rabbit"
fontsize=14
txtacross=50
txtdown=220
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- HOME
conkyobject=conky_parse('${fs_used_perc /home}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=120
down=200
title="Home"
font="White Rabbit"
fontsize=14
txtacross=120
txtdown=220
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- MEDIA/5
conkyobject=conky_parse('${fs_used_perc /media/5}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=190
down=200
title="M/5"
font="White Rabbit"
fontsize=14
txtacross=190
txtdown=220
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- MEMORY
conkyobject=conky_parse('${memperc}')
linethick=1.25 --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=260
down=200
title="Memory"
font="White Rabbit"
fontsize=14
txtacross=250
txtdown=220
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)


-- CPU O (Average of all)
conkyobject=conky_parse('${cpu cpu0}')
linethick=1.25  --1.5
width=40   --ancho de barra
height=150 --altura de barra
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=0
facealpha=1
across=50  -- barra
down=400    -- barra
title="CPU0"
font="White Rabbit"
fontsize=14
txtacross=50 -- texto
txtdown=420   -- texto
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- CPU 1
conkyobject=conky_parse('${cpu cpu1}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=120
down=400
title="CPU1"
font="White Rabbit"
fontsize=14
txtacross=120
txtdown=420
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- CPU 2
conkyobject=conky_parse('${cpu cpu2}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=190
down=400
title="CPU2"
font="White Rabbit"
fontsize=14
txtacross=190
txtdown=420
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)

-- CPU 3
conkyobject=conky_parse('${cpu cpu3}')
linethick=1.25  --1.5
width=40
height=150
linered=1
linegreen=1
lineblue=1
linealpha=1
facered=0
facegreen=0
faceblue=1
facealpha=1
across=260
down=400
title="CPU3"
font="White Rabbit"
fontsize=14
txtacross=260
txtdown=420
--1 for framelines, 0 for none
framelines=1
bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown)




end
end

Silly of me not to include it.  Thanks to mrpeachy and his original LUA script

Last edited by Sector11 (2012-09-30 01:14:43)


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3113 2012-09-26 18:52:28

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

i want to display a webcam within conky. can u help to realize something like this?

Offline

#3114 2012-09-26 23:51:04

gunt
Member
Registered: 2012-01-30
Posts: 27

Re: Conky v1.9 Thread

I left conky running overnight and it did not crash so I can't reproduce your crash.
I will walk you through making a debug build of conky and getting debugging information from your crash in this thread when you are ready.
Please post your conkyrc so I can find out what build options you need.

@arclance thanks.

I run bleachbit and did an updat and dist-upgrade. Conky is not crashing anymore.
So your lula script is running very well!

Offline

#3115 2012-09-27 00:11:55

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 987

Re: Conky v1.9 Thread

gunt wrote:
I left conky running overnight and it did not crash so I can't reproduce your crash.
I will walk you through making a debug build of conky and getting debugging information from your crash in this thread when you are ready.
Please post your conkyrc so I can find out what build options you need.

@arclance thanks.

I run bleachbit and did an updat and dist-upgrade. Conky is not crashing anymore.
So your lula script is running very well!

Okay, it's good that it is working now.
Let me know if you encounter any other problems.

Offline

#3116 2012-09-27 01:45:14

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

lionhead wrote:

i want to display a webcam within conky. can u help to realize something like this?

It's Internet web-cam or your own, connected to computer?


Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

#3117 2012-09-27 03:45:48

PirateRussell
New Member
Registered: 2012-09-27
Posts: 1

Re: Conky v1.9 Thread

Using Conky, I want to display 3 different Google calendars on one calendar grid on my desktop.  Is there a relatively easy way to do this?  Please bear in mind that I'm a tech-tard, and would need some pretty simple and detailed instructions. lol

Thanks in advance for any help,
Pirate

Offline

#3118 2012-09-27 05:10:42

sqlpython
#! Die Hard
From: New England
Registered: 2011-11-28
Posts: 931

Re: Conky v1.9 Thread

Had conky transparency problems once again with a new conky.
THis conky uses an lua script also to draw rings. Once started the conky would maintain a Grey/Slate background until I refreshed the Xfce4 desk to with a Menu or Attempt  to change Wallpaper. Where upon it would finally become transparent...
By some searching I found my adding

own_window_argb_visual yes
own_window_argb_value 200
own_window_type desktop

The problem was solved and now starts Transparent...
Here is the code and below a scrot of the Conky running on my Wheezy Xfce4 desktop.

# Conky settings #
background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
#no_buffers yes
text_buffer_size 2048

gap_x 6
gap_y 27
update_interval 1.0
minimum_size 220 400
maximum_width 220

own_window yes
#own_window_type override
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 200
own_window_type desktop

own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 D54D23

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

TEXT
${font Rational Integer:size=12 weight:bold}${color1}${voffset 100}${goto 28}${time %A}${font Rational Integer:size=20}${alignr}${color2}${time %I}:${time %M}${font Rational Integer:size=10}${color3}${time %P}
${font Rational Integer:size=20 weight:bold}${color1}${time %b}  ${font Rational Integer:size=20}${color2}${time %e}  ${color3}${time %Y}${goto 90}${voffset -12}${color1}${cpugraph 10,80 666666 666666}
${font Ubuntu:size=10}${color4}${goto 65}${voffset -89}${cpu cpu0}%  ${cpu cpu1}%

${goto 70}${font Ubuntu:size=10}${color1}${voffset 65}${top name 1}${alignr}${top cpu 1}%
${goto 70}${font Ubuntu:size=10}${color2}${voffset -5}${top name 2}${alignr}${top cpu 2}%
${goto 70}${font Ubuntu:size=10}${color3}${voffset -5}${top name 3}${alignr}${top cpu 3}%

${font Rational Integer:size=12 weight:bold}${color1}${goto 68}${voffset 38}MEM ${font Ubuntu:size=10}${goto 47}${voffset -15}${color4}${memperc}%
${goto 70}${font Ubuntu:size=10}${color1}${voffset 10}${top_mem name 1}${alignr}${top mem 1}%
${goto 70}${font Ubuntu:size=10}${color2}${voffset -5}${top_mem name 2}${alignr}${top mem 2}%
${goto 70}${font Ubuntu:size=10}${color3}${voffset -5}${top_mem name 3}${alignr}${top mem 3}%
${alignr}${voffset -70}${memgraph 20,80 666666 666666}

${font Rational Integer:size=12 weight:bold}${color1}${goto 68}${voffset 70}DISK ${font Ubuntu:size=10}${goto 47}${voffset -16}${color4}${fs_used_perc /}%
${alignr}${voffset -20}${diskiograph 20,80 666666 666666}
${goto 70}${voffset -1}${font Ubuntu:size=10}${color2}Used:${alignr}${fs_used /}
${goto 70}${voffset -3}${font Ubuntu:size=10}${color2}Free:${alignr}${fs_free /}
${font Rational Integer:size=12 weight:bold}${color1}${goto 68}${voffset 55}NET ${font Ubuntu:size=10}${goto 47}${voffset -17}${color4}${downspeed ppp0} ${alignr}${voffset 0}${downspeedgraph ppp0 20,80 666666 666666}
${voffset -7}${goto 70}${color2}${font Ubuntu:size=10}${color2}${if_up eth0}eth:${alignr}${addr eth0} ${endif}
${voffset -2}${goto 70}${if_up ppp0}3g:${alignr}${addr ppp0}${endif}
${voffset -3}${goto 70}${if_up wlan0}wlan:${alignr}${addr wlan0}${endif}

${goto 70}${voffset -3}${font Rational Integer:size=12 weight:bold}${color1}GPUtemp ${alignr}${font Ubuntu:size=12}${nvidia temp}c
${goto 70}${voffset -3}${font Ubuntu:size=10}${color2}gpuclk:${alignr}${nvidia gpufreq}mhz
${goto 70}${voffset -3}${font Ubuntu:size=10}${color3}memclk:${alignr}${nvidia memfreq}mhz

Lua Code

--[[
Clock Rings by Linux Mint (2011) reEdited by westkid

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)
   v1.1p -- Jpope edit londonali1010 (05.10.2009)
*v Mint-lua -- reEdit despot77 (18.02.2011)
   Mint-lua -- reEdit westkid (23.08.2011)
]]

settings_table = {

    {
        name='cpu',
        arg='cpu0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xd54d23,
        fg_alpha=0.6,
        x=90, y=120,
        radius=80,
        thickness=5,
        start_angle=-160,
        end_angle=90
    },
    {
        name='cpu',
        arg='cpu1',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xd54d23,
        fg_alpha=0.6,
        x=90, y=120,
        radius=74,
        thickness=5,
        start_angle=-160,
        end_angle=90
    }, 
     {
        name='memperc',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xd54d23,
        fg_alpha=0.6,
        x=60, y=245,
        radius=25,
        thickness=8,
        start_angle=-180,
        end_angle=90
    }, 
    {
        name='fs_used_perc',
        arg='/',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xed54d23,
        fg_alpha=0.6,
        x=60, y=348,
        radius=25,
        thickness=8,
        start_angle=-180,
        end_angle=90
    },
    {
        name='upspeedf',
        arg='ppp0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xed54d23,
        fg_alpha=0.6,
        x=60, y=448,
        radius=25,
        thickness=4,
        start_angle=-180,
        end_angle=90
    }, 
    {
        name='downspeedf',
        arg='ppp0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xaa0315,
        fg_alpha=0.6,
        x=60, y=448,
        radius=20,
        thickness=4,
        start_angle=-180,
        end_angle=90
    },                                      

 
      
}

-- Use these settings to define the origin and extent of your clock.

clock_r=65

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=100
clock_y=150

show_seconds=true

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 draw_clock_hands(cr,xc,yc)
    local secs,mins,hours,secs_arc,mins_arc,hours_arc
    local xh,yh,xm,ym,xs,ys
    
    secs=os.date("%S")    
    mins=os.date("%M")
    hours=os.date("%I")
        
    secs_arc=(2*math.pi/60)*secs
    mins_arc=(2*math.pi/60)*mins+secs_arc/60
    hours_arc=(2*math.pi/12)*hours+mins_arc/12
         
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>10 then
        for i in pairs(settings_table) do
            setup_rings(cr,settings_table[i])
        end
    end
    
    draw_clock_hands(cr,clock_x,clock_y)
end

   This is a Conky I grabbed from the a Web list and all the code is above..
I like the looks of it.
abohQPTb.jpg

Last edited by sqlpython (2012-09-27 16:26:19)


OHCG #!, Jessie,, Siduction-13.1Slackware 14Bridge,, Sabayon 13.4,

Offline

#3119 2012-09-27 06:57:07

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

dk75 wrote:

It's Internet web-cam or your own, connected to computer?

it's a internet webcam!

Offline

#3120 2012-09-27 09:10:13

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

lionhead wrote:
dk75 wrote:

It's Internet web-cam or your own, connected to computer?

it's a internet webcam!

If so, can you post it's address?
It's SWF stream, some video stream or JPG picture changed every 1-15 seconds?


Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

#3121 2012-09-27 10:05:06

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

live-stream from the international space station: http://www.ustream.tv/channel/live-iss-stream

and the 'jpg-version': http://www.centennialbulb.org/ctbulb.jpg 
this is a really old light bulp. on for more then 100 years!

the flash-version: http://www.almaobservatory.org/en/live- … chajnantor

Last edited by lionhead (2012-09-27 10:06:44)

Offline

#3122 2012-09-27 12:56:49

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

With NASA is no problem, since it's using uStream.

First, you must install "rtmpdump" and "xwininfo".

Then you need this Python script (found on the net):

#!/usr/bin/env python
# This script finds the rtmpdump command syntax for opening a UStream stream.
 
import sys
import urllib2
import re
 
 
def getVideoData(url):
    # Get the HTML contents
    req = urllib2.Request(url)
    response = urllib2.urlopen(req)
    html = response.read()
 
    # Extract the channel ID from the HTML
    channelId = None
    m = re.search("Channel\sID\:\s+(\d+)", html)
    if (m):
        channelId = m.group(1)
 
    # Extract the channel title from the HTML
    channelTitle = None
    m = re.search("property\=\"og\:url\"\s+content\=\"http\:\/\/www." +
            "ustream\.tv\/(?:channel\/)?([^\"]+)\"", html)
    if (m):
        channelTitle = m.group(1)
 
    amfContent = None
    if (channelId):
        amfUrl = ("http://cdngw.ustream.tv/Viewer/getStream/1/"
        + channelId + ".amf")
        response = urllib2.urlopen(amfUrl)
        amfContent = response.read()
 
        rtmpUrl = re.search("(rtmp\:\/\/[^\x00]+)", amfContent).group(1)
        f = open('tmp.txt', 'w')
        f.write(amfContent)
        streamName = re.search("streamName(?:\W+)([^\x00]+)",
                amfContent).group(1)
 
    return (channelId, channelTitle, rtmpUrl, streamName)
 
 
def getRtmpCommand(rtmpUrl, streamName):
    result = ("rtmpdump -v -r \"" + rtmpUrl + "/" + streamName + "\""
              " -W \"http://www.ustream.tv/flash/viewer.swf\" --live")
    return result
 
 
def main(argv=None):
    # Process arguments
    if argv is None:
        argv = sys.argv[1:]
 
    usage = ("Usage: ustreamRTMPDump.py <ustream channel url> [filename]\n"
            "e.g. \"ustreamRTMPDump.py 'http://www.ustream.tv/ffrc'\"")
 
    if (len(argv) < 1):
        print usage
        return
 
    # Get RTMP information and print it
    url = argv[0]
    print "Opening url: " + url + "\n"
 
    (channelId, channelTitle, rtmpUrl, streamName) = getVideoData(url)
    print "Channel ID: " + channelId
    print "Channel Title: " + channelTitle
    print "RTMP URL: " + rtmpUrl
    print "RTMP Streamname: " + streamName + "\n"
 
    rtmpCmd = getRtmpCommand(rtmpUrl, streamName)
    print "RTMP Command:\n" + rtmpCmd
 
if __name__ == "__main__":
    main()

[edit] Sorry, I've deleted Conky config from post because actually you don't need Conky window to play MPlayer anywhere (and this Conky window with MPlayer content would flash from time to time), only this little BASH script:

#!/bin/bash
eval $(ustreamRTMPDump.py "http://www.ustream.tv/channel/live-iss-stream" |mawk '/rtmpdump/ {print $0," -q -o -"}') |mplayer -geometry +400:+50 -noborder -fs - &>/dev/null

Geometry parameter is where you position your MPlayer window, and you could also scale MPlayer window, like

-geometry 160x120+400+50

which display MPlayer window 160 width, 120 height, 400px from left border and 50 px from top border of screen.


As for ALMA Observatory, I can't isolate proper SWF stream that could be played either with VLC or MPlayer or GNASH or LIVESTREAMER or RTMPDUMP.
So, if there is no JPG sequence CAM then it's no go.



As for Livermore Fire Department Edison light bulb, there (update every 60s and IMLIB cache flush every 60s):

# ~/.conkyrc-test47

#-----Conky settings
background yes
no_buffers yes
#    out_to_console yes
top_cpu_separate no
#    cpu_avg_samples 10
#    net_avg_samples 10
#    max_port_monitor_connections 10
update_interval 1
total_run_times 0

#-----Text setings
use_xft yes
xftfont Bitstream Vera Sans Mono:bold:size=10
xftalpha 0.8
#    uppercase no
#    override_utf8_locale yes
#    format_human_readable no
#    short_units
#    max_user_text 64
#    text_buffer_size 1024

#-----Window settings
own_window yes
own_window_type normal
#    own_window_argb_visual no
#    own_window_argb_value 0
own_window_transparent yes
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class ConkyBulb
own_window_title ConkyBulb

#----Layout settings
minimum_size 320 240
maximum_width 320
alignment top_left
use_spacer right
gap_x 50
gap_y 50

#-----Graphics settings
draw_shades no
draw_outline no
draw_borders yes
draw_graph_borders yes
stippled_borders 0
#    border_inner_margin 16
border_width 1
double_buffer yes
#    max_specials 64
#    imlib_cache_size 0

#-----Color settings
default_color white
default_shade_color black
default_outline_color black


TEXT
${texeci 60 curl -s -m 5 http://www.centennialbulb.org/ctbulb.jpg -o /tmp/bulb.jpg &>/dev/null}${image /tmp/bulb.jpg -p 0,0 -f 60}

Last edited by dk75 (2012-09-27 13:20:21)


Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

#3123 2012-09-27 14:38:47

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

sqlpython wrote:

Here is the code and below a scrot of the Conky running on my Wheezy Xfce4 desktop.

NICE!!!!  Please see PM.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3124 2012-09-27 14:41:35

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

dk75 wrote:

With NASA is no problem, since it's using uStream.

dk75 you never cease to amaze me.  That's a wonderful find.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Help fund CrunchBang, donate to the project!

#3125 2012-09-27 15:05:37

dk75
#! Junkie
Registered: 2012-06-14
Posts: 250

Re: Conky v1.9 Thread

And some update - MPlayer with own window is visible on task-bar and at desktop pager.

But, MPlayer inside Conky window stretch to fill it out either with image or with black borders and additionally, it flickers with COMPIZ (at least, can't test others).

But here you go, new BULB (it show only fully loaded image, not in process of loading) and Live stream from NASA inside Conky window.

Prerequisite:
- "own_window normal"
- "own_window_class ConkyMPlayer"
- Python installed
- ustreamRTMPDump.py in executable path
- xwininfo installed
- rtmpdump installed


Bulb Conky web cam (any JPG web cam):

# ~/.conkyrc-test47

#-----Conky settings
background yes
no_buffers yes
#    out_to_console yes
top_cpu_separate no
#    cpu_avg_samples 10
#    net_avg_samples 10
#    max_port_monitor_connections 10
update_interval 1
total_run_times 0

#-----Text setings
use_xft yes
xftfont Bitstream Vera Sans Mono:bold:size=10
xftalpha 0.8
#    uppercase no
#    override_utf8_locale yes
#    format_human_readable no
#    short_units
#    max_user_text 64
#    text_buffer_size 1024

#-----Window settings
own_window yes
own_window_type normal
#    own_window_argb_visual no
#    own_window_argb_value 0
own_window_transparent yes
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class ConkyBulb
own_window_title ConkyBulb

#----Layout settings
minimum_size 320 240
maximum_width 320
alignment top_left
use_spacer right
gap_x 25
gap_y 50

#-----Graphics settings
draw_shades no
draw_outline no
draw_borders yes
draw_graph_borders yes
stippled_borders 0
#    border_inner_margin 16
border_width 1
double_buffer yes
#    max_specials 64
#    imlib_cache_size 0

#-----Color settings
default_color white
default_shade_color black
default_outline_color black


TEXT
${texeci 30 curl -s -m 15 http://www.centennialbulb.org/ctbulb.jpg -o /tmp/ctbulb.tmp &>/dev/null && cp /tmp/ctbulb.tmp /tmp/ctbulb.jpg}${image /tmp/ctbulb.jpg -p 0,0 -f 30}


ISS NASA Conky:

# ~/.conkyrc-test46

#-----Conky settings
background yes
no_buffers yes
#    out_to_console yes
top_cpu_separate no
#    cpu_avg_samples 10
#    net_avg_samples 10
#    max_port_monitor_connections 10
update_interval 1
total_run_times 0

#-----Text setings
use_xft yes
xftfont Bitstream Vera Sans Mono:bold:size=10
xftalpha 0.8
#    uppercase no
#    override_utf8_locale yes
#    format_human_readable no
#    short_units
#    max_user_text 64
#    text_buffer_size 1024

#-----Window settings
own_window yes
own_window_type normal
#    own_window_argb_visual no
#    own_window_argb_value 0
own_window_transparent yes
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class ConkyMPlayer
own_window_title ConkyMPlayer

#----Layout settings
minimum_size 320 214
maximum_width 320
alignment top_left
use_spacer right
gap_x 25
gap_y 300

#-----Graphics settings
draw_shades no
draw_outline no
draw_borders yes
draw_graph_borders yes
stippled_borders 0
#    border_inner_margin 16
border_width 1
double_buffer no
#    max_specials 64
#    imlib_cache_size 0

#-----Color settings
default_color white
default_shade_color black
default_outline_color black


TEXT

Startup script (isslive.sh):

#!/bin/bash
conky -c ~/.conky/.conkyrc-test46 &
conky -c ~/.conky/.conkyrc-test47 &
sleep 1
eval $(ustreamRTMPDump.py "http://www.ustream.tv/channel/live-iss-stream" |mawk '/rtmpdump/ {print $0," -q -o -"}') |mplayer -vo gl -fs -wid $(xwininfo -name ConkyMPlayer |mawk '/ConkyMPlayer/ {print $4}') - &>/dev/null

running it:

isslive.sh & disown %1


And it looks like that
acyixXts.jpg

Last edited by dk75 (2012-09-27 15:06:56)


Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo