antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Conky configuration
Goto page 1, 2  Next
 
Post new topic   Reply to topic    antiX-forum Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1015
Location: Greece

PostPosted: Mon Nov 26, 2007 1:03 am    Post subject: Conky configuration Reply with quote

antiX comes with the fantastic conky app to monitor various processes etc. Not only is this useful, but it is so cooool Cool
Share your (or ones you have found) .conkyrc files here and post a screenshot.
_________________
Philosophers have interpreted the world in many ways; the point is to change it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1015
Location: Greece

PostPosted: Mon Nov 26, 2007 1:16 am    Post subject: Reply with quote

I'll begin.
Here is my .conkyrc
http://www.mediafire.com/?11dgz91nxed

and here is a snapshot.


_________________
Philosophers have interpreted the world in many ways; the point is to change it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
UnicornRider



Joined: 24 Oct 2007
Posts: 40

PostPosted: Mon Nov 26, 2007 9:11 pm    Post subject: Reply with quote

Snapshot



~/.conkyrc

Code:
${color gold}CPU:  ${cpubar 4}
${color gold}RAM:  ${membar 4}
${color gold}HDA:  ${fs_bar 4 /}
${color gold}HDB:  ${fs_bar 4 /home}
${color darkred}SETI:  ${execibar 180 ~/.conky_seti.sh}


~/.conky_seti.sh

Code:
#!/bin/bash
STATUS=$( more /var/lib/boinc-client/client_state.xml | \
          grep fraction_done | cut -d '.' -f 2 | cut -c 1-2 )
echo "$STATUS"


(Remark: the SETI stuff provided by Conky default is worthless ...)
_________________
The limits of my code are the limits of my system.
Back to top
View user's profile Send private message Visit poster's website
xToeCutter



Joined: 04 Dec 2007
Posts: 130
Location: Humble, Texas

PostPosted: Sun Dec 09, 2007 2:55 am    Post subject: Reply with quote

Can conky be run on KDE? If I start it.. its default location kills the icons on my desktop. Can it be made to start in a different location?
_________________
-MADNESS COMES FROM FAIRYTALES-
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
xToeCutter



Joined: 04 Dec 2007
Posts: 130
Location: Humble, Texas

PostPosted: Sun Dec 09, 2007 7:31 pm    Post subject: Reply with quote

I did get conky to run on my KDE desktop without killing the icons by changing

# Create own window instead of using desktop (required in nautilus)
own_window no
to
own_window yes

It now runs in a small window, just need to figure out how to make it transparent as these comments don't have any effect on the window.

own_window_transparent yes
own_window_colour hotpink

Wink
_________________
-MADNESS COMES FROM FAIRYTALES-
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1015
Location: Greece

PostPosted: Wed Dec 12, 2007 8:02 pm    Post subject: Reply with quote

I found these posts.

http://briancarper.net/2006/08/05/transparent-conky-in-kde/
http://briancarper.net/2006/08/25/transparent-conky-in-kde-part-2/
_________________
Philosophers have interpreted the world in many ways; the point is to change it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Sun Apr 27, 2008 8:41 pm    Post subject: Reply with quote

As i have recently got into conky in a big way, i thought i'd update this thread with a screenshot, the code, and a cool link that i found for getting some great colour codes. Smile



Now the code:
Code:

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont undotum:size=9

# Text alpha when using Xft
xftalpha 0.7

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
out_to_console no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

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

# Create own window instead of using desktop (requiwhite in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 220 5

# Maximum width of window
maximum_width 220

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
#stippled_borders 8

# border margins
border_margin 4

# border width
border_width 0

# Default colors and also border colors
default_color #cccccc
default_shade_color #575757
default_outline_color #575757

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 60

# Subtract file system buffers from used memory?
no_buffers yes

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

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support requiwhite XFT
override_utf8_locale no

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen
#
#
#
#
#
#
#

TEXT
${color #dddf00}${font MgOpen Modata:size=9}SYSTEM $stippled_hr ${font}
  ${color cyan}${font undotum:size=14}${time %e %B %G %H:%M:%S}${font}
${color #FF3030}${hr 2}$color
  ${color #575757}${alignc}$nodename - ${color white}$sysname $kernel
  ${alignc}on ${color white}$machine
  ${color #575757}Uptime:${color white} $uptime - ${color #575757}Load:${color white} $loadavg
  ${color #575757}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color white}${alignr}${freq_dyn}Mhz
  ${color #575757}CPU        ${color white} $cpu% ${color #7F00FF}${alignr}${cpubar 6,135}
  ${color #cccccc}${cpugraph 15,213 FF0066 2E0854}
  ${color #575757}RAM       ${color white} $memperc% ${color #5DFC0A}${alignr}${membar 6,135}
  ${color #5DFC0A}${alignr}$mem/$memmax
  ${color #575757}Swap       ${color white} $swapperc% ${color #1464F4}${alignr}${swapbar 6,135}
  ${color #1464F4}${ALIGNr}$swap/$swapmax
  ${color #575757}Processes: ${color white}$processes  ${color #575757}Running: ${color white}$running_processes
${color #dddf00}${font MgOpen Modata:size=10}NETWORK $stippled_hr ${font}
  ${color #575757}NAT IP ${alignc}${color }${addr eth0}
  ${color #575757}Down:${color magenta} ${downspeed eth0} k/s ${color #33ff33} ${offset 40}${color #575757}Up:${color magenta} ${upspeed eth0} k/s
  ${color #cc9900}${downspeedgraph eth0 15,100 ff3333 00ff99}   ${color #cc9900}${upspeedgraph eth0 15,100 ff3333 00ff99}
${color #dddf00}${font MgOpen Modata:size=10}DRIVES $stippled_hr ${font}
  ${color #575757}/      ${offset 10}${color white}${fs_used /}/${fs_size /}    ${color #cccccc}${fs_bar /}
  ${color #575757}ZeN ${offset 10}${color white}${fs_used /mnt/ZeN}/${fs_size /mnt/ZeN}  ${color #cccccc}${fs_bar //mnt/ZeN}
  ${color #575757}TiNY ${offset 10}${color white}${fs_used /mnt/TiNY}/${fs_size /mnt/TiNY}  ${color #cccccc}${fs_bar /mnt/TiNY}
  ${color #575757}T-FluX ${offset 10}${color white}${fs_used /mnt/TiNYFLUX}/${fs_size /mnt/TiNYFLUX}  ${color #cccccc}${fs_bar /mnt/TiNYFLUX}
  ${color #575757}LiNGO ${offset 10}${color white}${fs_used /mnt/sda5}/${fs_size /mnt/sda5}  ${color #cccccc}${fs_bar /mnt/sda5}
  ${color #575757}USB ${offset 10}${if_mounted /media/DISK-ON-KEY__} ${color white}${fs_used /media/DISK-ON-KEY__}/${fs_size /media/DISK-ON-KEY__}      ${color #cccccc}${fs_bar /media/DISK-ON-KEY__} $else ${color white}Not mounted${color} $endif
  ${color #575757}CD  ${offset 10}${if_mounted /media/cdrom0}  ${color white}${fs_used /media/cdrom0}/${fs_size /media/cdrom0}       ${color #cccccc}${fs_bar /media/cdrom0}$else ${color white} Not mounted${color} $endif
${color #dddf00}${font MgOpen Modata:size=10}MONITORING $stippled_hr ${font}
  ${color #575757}NAME -                          PID      CPU%   MEM%
  ${color white}${top name 1}    ${alignr 10}${top pid 1} ${top cpu 1} ${top mem 1}
  ${color white}${top name 2}    ${alignr 10}${top pid 2} ${top cpu 2} ${top mem 2}
  ${color white}${top name 3}    ${alignr 10}${top pid 3} ${top cpu 3} ${top mem 3}
  ${color white}${top name 4}    ${alignr 10}${top pid 4} ${top cpu 4} ${top mem 4}
  ${color}MEMORY -
  ${color white}${top_mem name 1}    ${alignr 10}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  ${color white}${top_mem name 2}    ${alignr 10}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  ${color white}${top_mem name 3}    ${alignr 10}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #dddf00}${font MgOpen Modata:size=10}MUSIC $stippled_hr ${font}
  ${if_running xmmsapp}${color #575757}Artist: ${color white}  ${execi 10 ~/.conky/xmms artist}
  ${color #575757}Title:    ${color white}${execi 10 ~/.conky/xmms title}
  ${color #cccccc}${execibar 1 ~/.conky/xmms progress}
  ${color #575757}Album:  ${color white}${execi 10 ~/.conky/xmms album}
  ${color #575757}Year:    ${color white}${execi 10 ~/.conky/xmms year}$else${color #cccccc}${alignc}NOT ACTIVE$endif
${color #dddf00}$stippled_hr



And finally the link to that great colour chart!

I've had enough for today, but i'm sure that i'll be tweaking it again soon! Smile
Back to top
View user's profile Send private message
xToeCutter



Joined: 04 Dec 2007
Posts: 130
Location: Humble, Texas

PostPosted: Sun Apr 27, 2008 9:32 pm    Post subject: Reply with quote

That looks great. Thanks for the color guide. Do you know how to set the music player to Amarok?
_________________
-MADNESS COMES FROM FAIRYTALES-
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Sun Apr 27, 2008 10:01 pm    Post subject: Reply with quote

xToeCutter wrote:
That looks great. Thanks for the color guide. Do you know how to set the music player to Amarok?


Thanks, glad you like. I really love conky and i can spend hours just messing about with it, and learning a lot in the process. Smile

Re: Amarok, put the following at the end of your .conkyrc and see if it works. You may have to tweak it a bit. Smile

Code:

${color #dddf00}${font MgOpen Modata:size=10}MUSIC $stippled_hr ${font}
  ${if_running amarokapp}${color #ffffff}Artist: ${color #999999}  ${execi 10 ~/.conky/amarok artist}
  ${color #ffffff}Title:    ${color #999999}${execi 10 ~/.conky/amarok title}
  ${color #cccccc}${execibar 1 ~/.conky/amarok progress}
  ${color #ffffff}Album:  ${color #999999}${execi 10 ~/.conky/amarok album}
  ${color #ffffff}Year:    ${color #999999}${execi 10 ~/.conky/amarok year}$else${color #cccccc}${alignc}NOT ACTIVE$endif
${color #dddf00}$stippled_hr


Let me know how you get on, i'd be interested to know if it works. Smile
Back to top
View user's profile Send private message
eriefisher



Joined: 07 Oct 2007
Posts: 676
Location: Canada's South Coast

PostPosted: Sun Apr 27, 2008 10:36 pm    Post subject: Reply with quote

Here are some ideas and scripts.

http://conky.sourceforge.net/screenshots.html

eriefisher
Back to top
View user's profile Send private message Send e-mail
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Sun Apr 27, 2008 11:05 pm    Post subject: Reply with quote

Excellent link eriefisher, much appreciated. Looks like i'll be going to bed late tonight! Smile
Back to top
View user's profile Send private message
eriefisher



Joined: 07 Oct 2007
Posts: 676
Location: Canada's South Coast

PostPosted: Tue Apr 29, 2008 11:11 pm    Post subject: Reply with quote

Did you get any sleep yet? What were the final results?

eriefisher
Back to top
View user's profile Send private message Send e-mail
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Wed Apr 30, 2008 1:46 am    Post subject: Reply with quote

LOL!! Yep, got some sleep eventually, but had a blast with Conky before doing so. I learnt quite a lot in the process (Although i've still much to learn of course) and i did get my Temperature settings (CPU & HDD) working on my core 2 lappie, so that was a real boon! Also found out how to make the bars look a lot sweeter, how to change the size of them and that kind of thing. Mainly cosmetic, but it's all good stuff.

I'll post a screenie of the latest incarnation soon as i get a chance. Smile
Back to top
View user's profile Send private message
harii



Joined: 14 Nov 2007
Posts: 55
Location: waterloo,ia

PostPosted: Tue May 27, 2008 5:43 am    Post subject: AntiX Conky Reply with quote

Quote:
Share your (or ones you have found) .conkyrc files here and post a screenshot.



Quote:
# ----------------------------------------------------------------------
# file: ~/.conkyrc
# author: Harii for AntiX
# modified: May 26, 2008
#
# ----------------------------------------------------------------------


alignment bottom_left
background no
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
double_buffer yes
draw_outline yes
draw_shades no
gap_y 0
net_avg_samples 2
override_utf8_locale no
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_type override
total_run_times 0
update_interval 5.0
uppercase no
use_spacer no
use_xft yes
xftalpha 0.8
xftfont DejaVu Sans:size=8
#${font Ranger:size=7}$sysname $kernel on ${freq_g}GHz $machine ${pre_exec uname -p | sed -e 's/(R)//g'} $color$stippled_hr
#$color$stippled_hr
# output ---------------------------------------------------------------

TEXT

${color white}${font Ranger:bold:size=26}AntiX ${color orange}${time %H:%M}${font}${voffset -17} ${color grey}${time %A %d %b %Y} ${color grey}CPU: ${color orange}${cpugraph 7,40}${color grey} ( ${cpu}%) ${color}Proc: ${color grey}$processes ${color}Run: ${color grey}$running_processes sda1:${color orange} ${fs_bar 7,40 /}${color grey} (${fs_free_perc /}%) ${color grey}essid: ${wireless_essid wlan0} ${color grey}IP:${color grey} ${addr wlan0}
${font DejaVu Sans:size=8}${offset 245} ${color grey}Uptime: $uptime ${offset 12} ${color grey}MEM: ${color orange}${membar 7,40} ${color grey}($memperc%)${color grey} ${color}Swap: ${color orange}${swapbar 7,40}${color grey} ($swapperc%) ${color}sda3: ${color orange}${fs_bar 7,40 /home} ${color grey}(${fs_free_perc /home}%) ${color grey}Wi-Fi STR: ${color orange}${wireless_link_bar 7,40 wlan0} ${color grey}speed: ${color grey} ${wireless_bitrate wlan0}


The text is just two lines? But i think people can get it working?
Back to top
View user's profile Send private message Send e-mail
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Tue May 27, 2008 2:52 pm    Post subject: Reply with quote

harii - that conky looks great! Nice one! Smile I've been looking for a decent two line conky for a while now, and this fits the bill perfectly!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> Tips and Tricks All times are GMT + 3 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org