You are not logged in.
Did not work:
21:37 ~
$ hddt_conky.sh
/home/sector11/bin/hddt_conky.sh: line 2: ’: command not found
cut: the delimiter must be a single character
Try `cut --help' for more information.
localhost [127.0.0.1] 7634 (?) : Connection refused
“”
21:37 ~
$ hddtemp /dev/sda
/dev/sda: WDC WD2500AAJS-00VWA0: 42°C
21:38 ~
$ conky displays:
SDA: '' "Online
@Sector11 - I don't know if you already tried this but what happens if you use this in conky:
${execi 3600 hddtemp /dev/sda}Offline
@Sector11 - I don't know if you already tried this but what happens if you use this in conky:
${execi 3600 hddtemp /dev/sda}
Interesting - I get the result but with errors!
22:45 ~
$ conky -c ~/conky/hddt
Conky: desktop window (1ad) is root window
Conky: window type - override
Conky: drawing to created window (0x2e00001)
Conky: drawing to double buffer
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: '/home/sector11/conky/hddt' modified, reloading...
Conky: desktop window (1ad) is root window
Conky: window type - override
Conky: drawing to created window (0x2e00001)
Conky: drawing to double buffer
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp host
Conky: could not connect to hddtemp hostTEXT
Temps:
Core: ${execpi 5 sensors | grep 'Core0' | cut --characters 15-16}°
GPU: ${execpi 5 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22"}°
SDA: ${hddtemp /dev/sda | cut --characters 34-37}
------------------------
SDA: ${execpi 30 hddtemp /dev/sda}
-------------------------
SDA: ${execpi 30 hddtemp /dev/sda | cut --characters 34-37}
------------------------
SDA: ${execi 30 hddtemp /dev/sda}
-------------------------
SDA: ${execi 30 hddtemp /dev/sda | cut --characters 34-37}Don't know if it's good running conky when somewhere in the background there is that error!
BUT we're getting there!
Online
anonymous if you were within reach I'd give you a BEAR HUG!
That created errors but this didn't:
TEXT
Temps:
Core: ${execpi 5 sensors | grep 'Core0' | cut --characters 15-16}°
GPU: ${execpi 5 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22"}°
# SDA: ${hddtemp /dev/sda | cut --characters 34-37}
------------------------
# SDA: ${execpi 30 hddtemp /dev/sda}
------------------------
# SDA: ${execpi 30 hddtemp /dev/sda | cut --characters 34-37}
------------------------
# SDA: ${execi 30 hddtemp /dev/sda}
------------------------
# SDA: ${execi 30 hddtemp /dev/sda | cut --characters 34-37}
------------------------
SDA: ${exec hddtemp /dev/sda | cut --characters 34-37} 22:54 ~
$ kfc
22:54 ~
$ conky -c ~/conky/hddt
Conky: desktop window (1ad) is root window
Conky: window type - override
Conky: drawing to created window (0x1400001)
Conky: drawing to double bufferOnline
I bet you're glad to finally have hddtemp in your conky 
Offline
I bet you're glad to finally have hddtemp in your conky
Try and imagine you hear this:
Ooooohhhh Yeeeeeaaaaaa!! :lol
5 stars for you!
{no stars} - Do you accept smilies?
Online
Hello!, i need some help here....
Conky displays fine the Artist-Song in both Rhytmbox and Audacious... my problem is this; if audacious is not playing it says that... but if I run rhythmbox it shows: Artist - Song No Song Playing..... cuz Audacious is not playing anything...
Is there a way to fix this or should I stick with just one mediaplayer?
My conky line for music displaying:
MUSIC: ${if_running rhythmbox}${exec conkyRhythmbox --datatype=AR} - ${exec conkyRhythmbox --datatype=TI}${endif}${if_running audacious}${exec audtool --current-song}${endif} Offline
Hello!, i need some help here....
Conky displays fine the Artist-Song in both Rhytmbox and Audacious... my problem is this; if audacious is not playing it says that... but if I run rhythmbox it shows: Artist - Song No Song Playing..... cuz Audacious is not playing anything...Is there a way to fix this or should I stick with just one mediaplayer?
My conky line for music displaying:
MUSIC: ${if_running rhythmbox}${exec conkyRhythmbox --datatype=AR} - ${exec conkyRhythmbox --datatype=TI}${endif}${if_running audacious}${exec audtool --current-song}${endif}
I don't use either and see no reason for that NOT working but lets try a variation:
MUSIC: ${if_running rhythmbox}${exec conkyRhythmbox --datatype=AR} - ${exec conkyRhythmbox --datatype=TI}${else}${if_running audacious}${exec audtool --current-song}${else}Nothing playing!${endif}${endif}Online
I don't use either and see no reason for that NOT working but lets try a variation:
MUSIC: ${if_running rhythmbox}${exec conkyRhythmbox --datatype=AR} - ${exec conkyRhythmbox --datatype=TI}${else}${if_running audacious}${exec audtool --current-song}${else}Nothing playing!${endif}${endif}
thank you, that worked great...
Im comparing both "codes" to see my mistake... 
Offline
Sector11 wrote:I don't use either and see no reason for that NOT working but lets try a variation:
MUSIC: ${if_running rhythmbox}${exec conkyRhythmbox --datatype=AR} - ${exec conkyRhythmbox --datatype=TI}${else}${if_running audacious}${exec audtool --current-song}${else}Nothing playing!${endif}${endif}thank you, that worked great...
Im comparing both "codes" to see my mistake...
You're welcome!
1. if rhythmbox running do things - endif
2. if rhythmbox NOT running "else" if audacious running do things - endif
3. if rhythmbox NOT running "else" if audacious NOT running - display: "Nothing running!" endif
Simple!
Last edited by Sector11 (2011-01-18 22:19:03)
Online
Having trouble getting my wireless signal quality to display. I was able to get the ESSID by rebuilding from source using --enable-wlan so that shouldn't be an issue...
.conkyrc
# note that the $xmms2_* and $mpd_* stuff will only work if you have support for them built into conky
double_buffer no
own_window no
own_window_type desktop
outlinecolor (black)
alignment tr
TEXT
$nodename - $sysname $kernel on $machine
$hr
RAM Usage: $mem/$memmax - $memperc%
${memgraph 20,200 0000CC FF0000 -l}
Swap Usage:
$swap/$swapmax - $swapperc%
${swapbar 20,200}
$hr
Uptime: $uptime
Frequency (in MHz): $freq
Frequency (in GHz): $freq_g
CPU Usage: $cpu%
${cpugraph cpu0 20,200 0000CC FF0000 -l}
Processes: $processes Running: $running_processes
Name PID CPU% MEM%
${color red}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color orange}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color yellow}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color green}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color blue}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color}
$hr
File systems:
${fs_used /}/${fs_size /}
${fs_bar 20,200 /}
$hr
Networking:
Ethernet: Up: ${upspeed eth0} kb/s - Down: ${downspeed eth0} kb/s
${downspeedgraph eth0}
IP Address: ${addr eth0}
Wireless: Up: ${upspeed wlan0} kb/s Down: ${downspeed wlan0} kb/s
${upspeedgraph wlan0}
IP Address: ${addr wlan0}
ESSID: ${wireless_essid wlan0} Quality: ${wireless_link_qual_perc}%
$hr
#MPD: $mpd_status $mpd_artist - $mpd_title from $mpd_album at $mpd_vol
#Bitrate: $mpd_bitrate\n" "Progress: $mpd_bar
#XMMS2: $xmms2_status $xmms2_artist - $xmms2_title from $xmms2_album
#Progress: $xmms2_bar
${tail /var/log/Xorg.0.log 3}";conky -v
Conky 1.8.1 compiled Thu Jan 27 16:01:15 CST 2011 for Linux 2.6.32-5-686 (i686)
Compiled in features:
System config file: /usr/local/etc/conky/conky.conf
Package library path: /usr/local/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* wireless
* config-output
* apcupsd
* iostats
* ncurses
* Lua
Lua bindings:iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"ihcc"
Mode:Managed Frequency:2.462 GHz Access Point: 00:25:84:03:DB:72
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=45/70 Signal level=-65 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pan0 no wireless extensions.Last edited by spoonman184 (2011-01-27 22:22:44)
Offline
I want to output information such as song id, artist, album from the pandora client pithos to conky. How do I accomplish this? I've been wanting to do it for a while, but I just couldn't find out, no matter how hard I tryed.
Last edited by AwesomeFist (2011-02-02 03:05:48)
Hello, I go by Plio most internet places now, if you are seeing this it means that you are seeing one of my elusive "older internet accounts" (ooh, how exciting) Yeah...
My Tumblr (it's kind of dumb. Expect lots of webcomics, videogames, and anime)
Offline
It looks like pithos doesn't offer any command-line info, but if you have pianobar installed, that probably will give you the info in a format Conky can use.
Online
i get a error in conky
Conky: Bad arguments: 'a' and '"a"'
Conky: compare failed for expression 'a=="a"'on line
${if_match ${exec sed -n "6 p" /home/ali/tmp/crap}=="a"}UPDATE:
solved with
${if_match "${exec sed -n "6 p" /home/ali/tmp/crap}" == "a"}Last edited by ali (2011-02-02 10:37:34)
Offline
i get a error in conky
Conky: Bad arguments: 'a' and '"a"' Conky: compare failed for expression 'a=="a"'on line
${if_match ${exec sed -n "6 p" /home/ali/tmp/crap}=="a"}UPDATE:
solved with${if_match "${exec sed -n "6 p" /home/ali/tmp/crap}" == "a"}
I still find it weird you can nest " like that
oh yeah? well, your momma dresses you funny and you need a mouse to delete files
Offline
I still find it weird you can nest " like that
But, so handy.
Online
Hi, I use this perl script to keep my productivity under control.... :-) it tells how many minutes you spend on each program.
I would like to embed the output in conky (a pie graph, or simply a list of the most used programs), can you suggest me a way to do this?
Thanks
Please note that in order to use this, you need to edit the about:config file of firefox, to have the word "firefox" appear on the window title. If you are interested I can explain how to do it.
use IPC::System::Simple qw(system systemx capture capturex);
while ( 1 )
{
$comando=q(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| cut -d ' ' -f 5);
$output = capture("$comando");
chomp $output;
$titolo=q(xwininfo -id ).$output.q( |awk 'BEGIN {FS="\""}/xwininfo: Window id/{print $2}' | sed 's/-[^-]*$//g');
$outTitolo = capture("$titolo");
chomp $outTitolo;
print "\n risultato $outTitolo\n";
sleep 60;
if ($outTitolo =~ /firefox/gsi)
{
$outTitolo= 'firefox';
}
push(@myNames, $outTitolo);
count_unique (@myNames);
}
sub count_unique {
my @array = @_;
my %count;
map { $count{$_}++ } @array;
#print them out:
map {print "$_ = ${count{$_}}\n"} sort keys(%count);
#or just return the hash:
return %count;
}Last edited by gianni (2011-02-03 14:49:04)
Offline
Hi all. Getting my hands dirty with Conky. I only have a few questions.
1. How exactly can I get conky to a specific spot on my desktop?
2. Is it possible to "tilt" or angle the text in a conky so that it goes in a specific direction, and, if so, how?
3. If I want to have multiple outputs on my desktop (a bar in one part, for example, and a bar in another) do I need to run multiple conky's?
Thanks in advance.
A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.
Offline
Hi all. Getting my hands dirty with Conky. I only have a few questions.
Now you have a few - later you'll have more. 
1. How exactly can I get conky to a specific spot on my desktop?
Some good reading:
Above TEXT
Below TEXT
alignment
Aligned position on screen, may be top_left, top_right, top_middle, bottom_left, bottom_right, bottom_middle, middle_left, middle_middle, middle_right, or none (also can be abreviated as tl, tr, tm, bl, br, bm, ml, mm, mr). See also gap_x and gap_y.
Example:
alignment tl ### Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mrgap_x
Gap, in pixels, between right or left border of screen, same as passing -x at command line, e.g. gap_x 10. For other position related stuff, see 'alignment'.gap_y
Gap, in pixels, between top or bottom border of screen, same as passing -y at command line, e.g. gap_y 10. For other position related stuff, see 'alignment'.
gap_x or gay_y as a positive number moves the conky towards the centre of the screen, a negative number off the screen.
Example:
gap_x 5 ### left &right
gap_y 30 ### up & down2. Is it possible to "tilt" or angle the text in a conky so that it goes in a specific direction, and, if so, how?
Not with pure conky commands. But our friend wlourf has a LUA/Cairo script that does that.
3. If I want to have multiple outputs on my desktop (a bar in one part, for example, and a bar in another) do I need to run multiple conky's?
No, if you make the conky big enough, but it is better if you do create multiple conkys.
For example, depending on how you configure the conky "above" TEXT you may not be able to "right click" on your conky.
Thanks in advance.
Your welcome
Last edited by Sector11 (2011-02-05 02:39:56)
Online
Him wrote:2. Is it possible to "tilt" or angle the text in a conky so that it goes in a specific direction, and, if so, how?
Not with pure conky commands. But our friend wlourf has a LUA/Cairo script that does that.
Am I able to create bar graphs that do this as well?
Also, would any of you know how to input text in the same line after an object (for example, a bar and then text after it)? If so, how can I get this to do such?
EDIT: Currently trying to get conky to be transparent, but without a comp. manager. I think I did this once, by faking it or some such way. Do any of you guys know?
Also, is it possible to remove the border of a bar graph?
Thanks, yet again.
Last edited by Him (2011-02-05 05:08:08)
A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.
Offline
Sector11 wrote:Him wrote:2. Is it possible to "tilt" or angle the text in a conky so that it goes in a specific direction, and, if so, how?
Not with pure conky commands. But our friend wlourf has a LUA/Cairo script that does that.
Am I able to create bar graphs that do this as well?
Yup - you can get bar graphs that go sideways (like a normal Conky bar), vertically, angled, backwards, and in arcs. I think I've even seen trapezoidal graphs generated with Lua scripts.
Online
Yup - you can get bar graphs that go sideways (like a normal Conky bar), vertically, angled, backwards, and in arcs. I think I've even seen trapezoidal graphs generated with Lua scripts.
Yep, an example of bars with text can be found here : http://wlourf.deviantart.com/#/d349j2l.
or in arcs , here :
http://wlourf.deviantart.com/gallery/25879046#/d2ssg2t
for this one, only cpu and memory are "bargraph", others are "pie-chart"
Offline
@ wlourf - you beat me by seconds.
Last edited by Sector11 (2011-02-05 11:32:19)
Online
^ Maybe I was thinking of a 2.5D effect...
Online
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.