Conky Showoff thread

Forum rules
Before you post please read this

Re: Conky Showoff thread

Postby Finwe on Sat Jun 22, 2013 12:42 pm

samriggs wrote:add conky to your start up programs that should do it and you wont have to use the terminal to open it

I did that, but as soon as I open a window and close it again conky goes away. And I don't know why!
Finwe
Level 1
Level 1
 
Posts: 7
Joined: Mon Mar 11, 2013 2:22 am

Linux Mint is funded by ads and donations.
 

Re: Conky Showoff thread

Postby DragonDon on Thu Jul 25, 2013 8:01 am

Greetings all,

I'm new to Conky and now addicted to getting a decent setup happening.

As for why Conky dissapears when he closes a window, I really can't say but I saw an option for running Conky in a window ("own_window_transparent") mine is set to no and doesn't have that issue. Maybe this might help? Just tossing a random idea out there from utterly basic experience :)

I really need Conky to display a Korean font and I can't get it to do it. Any suggestions would be great.
User avatar
DragonDon
Level 1
Level 1
 
Posts: 7
Joined: Wed Jul 24, 2013 11:31 pm
Location: Samcheonpo, South Korea

Re: Conky Showoff thread

Postby uzername on Thu Jul 25, 2013 9:29 am

Finwe wrote:Ta-da! Now if only I could get it to keep running...

The problem is that as soon as I minimize the terminal window (or any window that is open on the desktop, or that I open and then close), conky disappears. Any ideas?


If you haven't fixed it already, comment out "own_window_type desktop." That should do it.

Code: Select all
#own_window_type desktop
Linux counter #317716
User avatar
uzername
Level 3
Level 3
 
Posts: 117
Joined: Mon Feb 25, 2013 4:41 pm

Re: Conky Showoff thread

Postby Finwe on Sat Jul 27, 2013 11:16 am

Perfect! After commenting out, conky stays put. Thanks!
Now for a totally different issue: I have a monitor that I intermittently connect to my laptop. I got conky to stay on the right side by adjusting gap_x, but when I disconnect the monitor, conky goes to the left side of the laptop screen (because gap_x stays the same, I presume). Is there a solution to this?
Finwe
Level 1
Level 1
 
Posts: 7
Joined: Mon Mar 11, 2013 2:22 am

Re: Conky Showoff thread

Postby n1ghtnite on Tue Aug 13, 2013 4:13 am

Hello,

i just installed ConkyInfinitySVG-master
it is shown nicely, but i can't click on any icons on my desktop, when i run conky.
Code: Select all
###############################################################################
#   Conky Theme   : InfinitySVG
#
#   Updates and SVG by:            Eric Weik
#   Original Infinity theme by:      stuff Yadav
#   Includes lua code:            Clock Rings by londonali1010 (2009)
#   Feel Free to distribute
#   For Installation Instructions see README
#
#   Colors from haunted.lua and .conkyrc:
#   b7b7b7 (light grey)
#   6f6f6f (medium grey)
#   2c2c2c (dark grey)
#
#   4a89a7 (blue)      hardware / memory / root
#   468626 (blue alt)   
#   e83737 (red)      swap
#   46a646 (green)      user / cpu / home
#   f4732d (orange)      network
#   ebff46 (yellow)      network
#   FFA300 (br. orange)   text highlights
#
#   Changelog:
#    + v1.0.1:   Initial version by stuff Yadav
#    + [All further changes tracked in the git repository.]
###############################################################################



## Conky settings
background yes
update_interval 5.0

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048

#imlib_cache_size 0

default_color b7b7b7



## Window specifications

# Allow conky to handle transparency -- all or nothing
#own_window yes
#own_window_type conky
#own_window_transparent yes

# Allow compiz to handle transparency manually (you will need to add Conky to compiz)
#own_window yes
#own_window_type normal
#own_window_transparent no
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# Allow conky to handle transparency (with percentages) with a compositor
# From http://blog.mmassonnet.info/2011/08/xfce-48-with-conky.html)
own_window yes
window_own_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager   # make it behave like it belongs to the desktop
own_window_argb_visual yes   # true transparency, a compositor has to be active
own_window_argb_value 70   # make the background semi-transparent



## This Resolution is set according to the screen resolution of 1920 1080
## Adjust According to yours

#minimum_size 800 560
#maximum_width 1366

minimum_size 1920 1080

#alignment top_left
alignment top_right
gap_x 0
gap_y 0



## Graphics settings
border_inner_margin 0
border_outer_margin 0

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes



## Text settings
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

#temperature_unit fahrenheit
temperature_unit celsius



## Lua: load clock rings.
lua_load ~/.conky/scripts/haunted.lua
lua_draw_hook_pre clock_rings



## Possible variables to be used:
#
#    Variable          Arguments     Description

#    addr              (interface)   IP address for an interface
#    acpiacadapter                   ACPI ac adapter state.                   
#    acpifan                         ACPI fan state                           
#    acpitemp                        ACPI temperature.                       
#    adt746xcpu                      CPU temperature from therm_adt746x       
#    adt746xfan                      Fan speed from therm_adt746x             
#    alignr            (num)         Right-justify text, with space of N
#    alignc                          Align text to centre
#    battery           (num)         Remaining capasity in ACPI or APM       
#                battery. ACPI battery number can be     
#                given as argument (default is BAT0).     
#    buffers                         Amount of memory buffered               
#    cached                          Amount of memory cached                 
#    color             (color)       Change drawing color to color           
#    cpu                             CPU usage in percents                   
#    cpubar            (height)      Bar that shows CPU usage, height is     
#                bar's height in pixels                 
#    cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
#                CPU usage graph, with optional colours in hex,
#                minus the #.
#    downspeed         net           Download speed in kilobytes             
#    downspeedf        net           Download speed in kilobytes with one     
#                decimal                                 
#    downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
#                Download speed graph, colours defined in
#                hex, minus the #.
#    exec              shell command Executes a shell command and displays   
#                the output in conky. warning: this     
#                takes a lot more resources than other   
#                variables. I'd recommend coding wanted   
#                behaviour in C and posting a patch :-). 
#    execbar           shell command Same as exec, except if the first value
#                return is a value between 0-100, it
#                will use that number for a bar.
#                The size for the bar is currently fixed,
#                but that may change in the future.
#    execgraph         shell command Same as execbar, but graphs values
#    execi             interval, shell command
#                 Same as exec but with specific interval.
#                Interval can't be less than             
#                update_interval in configuration.       
#   font        font      Specify a different font.  Only applies
#               to one line.
#    fs_bar            (height), (fs)Bar that shows how much space is used on
#                a file system. height is the height in   
#                pixels. fs is any file on that file     
#                system.                                 
#    fs_free           (fs)          Free space on a file system available   
#                for users.                               
#    fs_free_perc      (fs)          Free percentage of space on a file       
#                system available for users.             
#    fs_size           (fs)          File system size                         
#    fs_used           (fs)          File system used space                   
#    hr                (height)      Horizontal line, height is the height in
#                pixels                                   
#    i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                may be omitted if you have only one I2C 
#                device. type is either in (or vol)       
#                meaning voltage, fan meaning fan or
#                temp/tempf (first in C, second in F)
#                meaning temperature. n is number of the 
#                sensor. See /sys/bus/i2c/devices/ on     
#                your local computer.                     
#    if_running        (process)     if PROCESS is running, display
#                everything if_running and the matching $endif
#    if_existing       (file)        if FILE exists, display everything between
#                if_existing and the matching $endif
#    if_mounted        (mountpoint)  if MOUNTPOINT is mounted, display everything between
#                if_mounted and the matching $endif
#    else                            Text to show if any of the above are not true
#    kernel                          Kernel version                         
#    linkstatus        (interface)   Get the link status for wireless connections
#    loadavg           (1), (2), (3) System load average, 1 is for past 1     
#                minute, 2 for past 5 minutes and 3 for   
#                past 15 minutes.                         
#    machine                         Machine, i686 for example               
#    mails                           Mail count in mail spool. You can use   
#                program like fetchmail to get mails from
#                some server using your favourite         
#                protocol. See also new_mails.           
#    mem                             Amount of memory in use                 
#    membar            (height)      Bar that shows amount of memory in use   
#    memmax                          Total amount of memory                   
#    memperc                         Percentage of memory in use
#    
#    metar_ob_time
#    metar_temp
#    metar_tempf                     Temp in F
#    metar_windchill
#    metar_dew_point                 There are a bunch of these
#    metar_rh                        and they are self-explanatory
#    metar_windspeed
#    metar_winddir
#    metar_swinddir
#    metar_cloud
#    metar_u2d_time
#    
#    ml_upload_counter               total session upload in mb
#    ml_download_counter             total session download in mb
#    ml_nshared_files                number of shared files
#    ml_shared_counter               total session shared in mb, buggy
#                in some mldonkey versions
#    ml_tcp_upload_rate              tcp upload rate in kb/s
#    ml_tcp_download_rate            tcp download rate in kb/s
#    ml_udp_upload_rate              udp upload rate in kb/s
#    ml_udp_download_rate            udp download rate in kb/s
#    ml_ndownloaded_files            number of completed files
#    ml_ndownloading_files           number of downloading files
#    
#    mpd_artist         Artist in current MPD song
#                (must be enabled at compile)
#    mpd_album         Album in current MPD song
#    mpd_bar           (height)      Bar of mpd's progress
#    mpd_bitrate                     Bitrate of current song
#    mpd_status                      Playing, stopped, et cetera.
#    mpd_title         Title of current MPD song
#    mpd_vol            MPD's volume
#    mpd_elapsed                     Song's elapsed time
#    mpd_length                      Song's length
#    mpd_percent                     Percent of song's progress
#    new_mails                       Unread mail count in mail spool.         
#    nodename                        Hostname                                 
#    outlinecolor      (color)       Change outline color                     
#    pre_exec          shell command Executes a shell command one time before
#                conky displays anything and puts output
#                as text.                                 
#    processes                       Total processes (sleeping and running)   
#    running_processes               Running processes (not sleeping),       
#                requires Linux 2.6                       
#    shadecolor        (color)       Change shading color                     
#    stippled_hr       (space),      Stippled (dashed) horizontal line       
#          (height)       
#    swapbar           (height)      Bar that shows amount of swap in use     
#    swap                            Amount of swap in use                   
#    swapmax                         Total amount of swap                     
#    swapperc                        Percentage of swap in use               
#    sysname                         System name, Linux for example           
#    offset            pixels        Move text over by N pixels
#    tail              logfile, lines (interval)
#                Displays last N lines of supplied text
#                text file.  If interval is not supplied,
#                Conky assumes 2x Conky's interval.
#                Max of 30 lines.
#                Max of 30 lines can be displayed.
#    time              (format)      Local time, see man strftime to get more
#                information about format                 
#    totaldown         net           Total download, overflows at 4 GB on     
#                Linux with 32-bit arch and there doesn't
#                seem to be a way to know how many times 
#                it has already done that before conky   
#                has started.                           
#    top               type, num     This takes arguments in the form:
#                top <name> <number>
#                Basically, processes are ranked from
#                highest to lowest in terms of cpu
#                usage, which is what <num> represents.
#                The types are: "name", "pid", "cpu", and
#                "mem".
#                There can be a max of 10 processes listed.
#    top_mem           type, num     Same as top, except sorted by mem usage
#                instead of cpu
#    totalup           net           Total upload, this one too, may overflow
#    updates                         Number of updates (for debugging)       
#    upspeed           net           Upload speed in kilobytes               
#    upspeedf          net           Upload speed in kilobytes with one       
#                decimal                                 
#    upspeedgraph      net (height),(width)  (gradient colour 1) (gradient colour 2)
#                Upload speed graph, colours defined in
#                hex, minus the #.
#    uptime                          Uptime                                   
#    uptime_short                    Uptime in a shorter format               
#    
#    seti_prog                       Seti@home current progress
#    seti_progbar      (height)      Seti@home current progress bar
#    seti_credit                     Seti@home total user credit
#
# 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
# Clock and header
 ${offset 700}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %H:%M}${font}${voffset -84}${voffset 10}${color FFA300}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 124}${font GE Inspira:pixelsize=58}${offset -547}${time %A}${font}
${offset 720}${voffset -100}${font Ubuntu:pixelsize=10}${color FFA300}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color FFA300}RAM ${offset 9}$color$mem / $memmax${offset 30}${color FFA300}CPU ${offset 9}$color${cpu cpu0}%
${voffset 10}${offset 295}${color 2c2c2c}${hr 4}
${image ~/.conky/background.png}


# Disk usage node
${offset 120}${voffset 223}${color 4a89a7}${font Santana:size=8:style=Bold}root$color${font Santana:size=8} : ${offset 16}${fs_used /}/${fs_size /}
${offset 120}${voffset 12}${color 46a646}${font Santana:size=8:style=Bold}home$color${font Santana:size=8} : ${offset 7}${fs_used /home}/${fs_size /home}$font
${offset 120}${voffset 12}${color e83737}${font Santana:size=8:style=Bold}swap$color${font Santana:size=8} : ${offset 10}${swap} / ${swapfree}$font
# "Home" node (kernel, etc.)
${offset 583}${voffset -108}$color${font Santana:size=9:style=Bold}Linux ${kernel} kernel
${offset 585}${voffset 0}${color 4a89a7}${font Santana:size=8}Uptime : ${offset 9}$color${uptime}
# "User" node (whoami, top process, etc.)
${offset 833}${voffset -78}$color${font Santana:size=9:style=Bold}${exec whoami}@${nodename}
${offset 835}${voffset 0}$color${font Santana:size=8}${color 46a646}Top (cpu) :  ${offset 9}$color${top name 5} ${top cpu 5}
${offset 835}${voffset 0}$color${font Santana:size=8}${color 46a646}Top (RAM) : ${offset 9}$color${top_mem name 5} ${top_mem mem 5}
${offset 835}${voffset 0}${color 6f6f6f}CPU Usage (${cpu}%) :
${offset 835}${voffset -2}$color${font Santana:size=8}${color 2c2c2c}${cpugraph 32,200 2c2c2c 46a646}
# "Network" node (IP, connections, etc.)
${offset 713}${voffset 88}$color${font Santana:size=9:style=Bold}IP Address : ${addr eth0}
${offset 715}${voffset 0}$color${font Santana:size=8}TCP Connections : ${tcp_portmon 1 65535 count}
${offset 715}${voffset 0}${font Santana:size=8}${color f4732d}Down : ${offset 9}$color${downspeed eth0}/s ${offset 8}${color ebff46}Up : ${offset 9}$color${upspeed eth0} /s
${offset 715}${voffset 0}${color 6f6f6f}${font Santana:size=8}Interface eth0 Usage :
${offset 715}${voffset -2}$color${font Santana:size=8}${color 2c2c2c}${downspeedgraph eth0 32,200 b7b7b7 f4732d}
${offset 715}${voffset -5}${color 2c2c2c}${upspeedgraph eth0 32,200 b7b7b7 ebff46}
# Positioning eset for static text examples below
${voffset -158}
# Static text example: Logo
${offset 120}${color EAEAEA}${font Ubuntu:pixelsize=20}${color f4732d}Ubuntu$color 12.10
# Static text example: Multi-line
#${offset 120}$font${color 6f6f6f}random text can go here
#${offset 120}and here...
#${offset 120}and here...
n1ghtnite
Level 1
Level 1
 
Posts: 16
Joined: Thu Aug 08, 2013 3:19 pm

Re: Conky Showoff thread

Postby NM5TF on Mon Sep 23, 2013 5:27 pm

have you tried changing own_window_type from desktop to normal ???

just a guess, but I had to do it in LM 14

Tommy
Linux Mint 16 Development Branch, Ubuntu 12.04.4 LTS, Ubuntu 14.04 Development Branch
Registered Linux User # 529389
User avatar
NM5TF
Level 1
Level 1
 
Posts: 33
Joined: Sat Feb 16, 2013 10:10 pm
Location: Magdalena, New Mexico

Re: Conky Showoff thread

Postby ninomrki on Fri Sep 27, 2013 2:42 pm

I gave it a go. This is my first one:

Image
Some men aren't looking for anything logical, like money. They can't be bought, bullied, reasoned, or negotiated with. Some men just want to watch the world burn.

Registered Linux user #562302
User avatar
ninomrki
Level 2
Level 2
 
Posts: 64
Joined: Wed Jan 16, 2013 7:49 pm
Location: Zagreb, Croatia

Re: Conky Showoff thread

Postby Sector11 on Thu Nov 07, 2013 4:54 pm

New one on the right ----->>> Image

conky:
Code: Select all
## killall conky && conky -c /media/5/Conky/S11_Vert.conky &

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title S11

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### 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 #255

minimum_size 120 0  ##820 260   ## width, height
maximum_width 120     ##820       ## width, usually a good idea to equal minimum width

#gap_x 0 # left-right
#gap_y 0 # up-down
gap_x 10 # left-right
gap_y 10 # up-down


alignment tr
##################################left#################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Liberation Sans:size=15
xftfont monofur:bold:size=11

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

### WARNING ### These do NOT play well with /media/5/Conky/LUA/draw-bg.lua ###
draw_shades yes #### <<<--- yes --- To see it easier on light screens.
default_shade_color 000000
draw_outline no #### <<<--- yes --- Amplifies text if yes OJO with changing fonts
default_outline_color 000000
uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
#default_shade_color black
#default_outline_color black

#default_color DCDCDC #220 220 220   Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143   DarkSeaGreen
color1 778899 #119 136 153   LightSlateGray
color2 D8BFD8 #216 191 216   Thistle
color3 9ACD32 #154 205  50   YellowGreen
color4 48D1CC # 72 209 204 MediumTurquoise
color5 FFDEAD #255 222 173   NavajoWhite
color6 00BFFF #  0 191 255   DeepSkyBlue
color7 5F9EA0 # 95 158 160   CadetBlue
color8 BDB76B #189 183 107   DarkKhaki
color9 CD5C5C #205  92  92   IndianRed  #FF0000 #255   0   0   Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes
#default_graph_size 15 40

#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
 text_buffer_size 1536

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

## Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value
## if you use $image lots.      Set to 0 to disable the image cache.
imlib_cache_size 0

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or it blinks.
##
# lua_load ~/wea_conky/draw_bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
##
## OR Both above TEXT (No composite manager required - no blinking!)
##
 lua_load /media/5/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg 10 0 0 0 0 0xffffff 0.3
# TEXT

update_interval 1
TEXT
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.3}${goto 45}${font monofur:bold:size=16}${color5}${time %b}${color}${font}
${execpi 7200 ncal -h | /media/5/Conky/scripts/ncal.awk}
${goto 40}${font monofur:bold:size=16}${color5}${time %Y}${color}${font}
${voffset -170}${color5}${goto 90}${font LED_mono:size=20}${time %H}

${goto 90}${time %M}

${goto 90}${time %S}${font}${color}${voffset 70}
${alignc}${uptime_short}
${alignc}${membar 0,110}
${alignc}${execi 86400 lsb_release -is} ${execi 86400 lsb_release -rs}
${alignc}${color5}${kernel}${color}

${alignc}CPU Info
${color5}${alignc}${membar 0,60}${color}
${alignc}CPU μm ${color5}${freq_g}${color}
${alignc}Avg ${if_match ${cpu cpu0}<10}${color1}00${color5}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}${color5}0${color7}${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color5} %${color}
${alignc}${color5}1  ${color}|  ${color5}2  ${color}|  ${color5}3${color}
${alignc}${if_match ${cpu cpu1}<10}${color1}00${color5}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color1}0${color7}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}\
 | ${if_match ${cpu cpu2}<10}${color1}00${color5}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color1}0${color7}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}\
 | ${if_match ${cpu cpu3}<10}${color1}00${color5}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color1}0${color7}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}

${alignc}Sensors
${color5}${alignc}${membar 0,50}${color}
CPU ${color5}${platform f71882fg.2560 temp 1}${color}°\
${alignr}MB ${color5}${platform f71882fg.2560 temp 2}${color}°
GPU ${color5}${nvidia temp}${color}°\
${alignr}HD ${color5}${hddtemp /dev/sda}${color}°
${alignc}Fan ${color5}${platform f71882fg.2560 fan 1} ${color}RPM

${alignc}NVIDIA Freq
${alignc}GPU ${color5}${nvidia gpufreq} ${color}MHz
${alignc}MEM ${color5}${nvidia memfreq} ${color}MHz

${alignc}Disk Activity
${color5}${alignc}${membar 0,90}${color}
Read   ${color5}${diskio_read /dev/sda}${color}
Write  ${color5}${diskio_write /dev/sda}${color}

/Root ${color5}${fs_size /}${color}
   Free  ${color5}${fs_free /}${color}
   Used  ${color5}${fs_used_perc /} %${color}
/Home ${color5}${fs_size /home}${color}
   Free  ${color5}${fs_free /home}${color}
   Used  ${color5}${fs_used_perc /home} %${color}
/M/5  ${color5}${fs_size /media/5}${color}
   Free  ${color5}${fs_free /media/5}${color}
   Used  ${color5}${fs_used_perc /media/5} %${color}

${alignc}Network Totals
${alignc}${color5}${membar 0,100}${color}
tx ↑ ${upspeed eth0}
${color0}rx ↓ ${downspeed eth0}${color}
${color5}${exec date --date="0 day" | awk '{print $3" "$2}'}${alignr}${execpi 300 vnstat | grep "today" | awk '{print $8" "$9}'}${color}
tx ↑${alignr}${execpi 300 vnstat | grep "today" | awk '{print $5" "$6}'}
${color0}rx ↓${alignr}${execpi 300 vnstat | grep "today" | awk '{print $2" "$3}'}${color}
${color5}${execpi 3600 date --date="-1 day" | awk '{print $3" "$2}'}${alignr}${execpi 300 vnstat | grep "yesterday" | awk '{print $8" "$9}'}${color}
tx ↑${alignr}${execpi 300 vnstat | grep "yesterday" | awk '{print $5" "$6}'}
${color0}rx ↓${alignr}${execpi 300 vnstat | grep "yesterday" | awk '{print $2" "$3}'}${color}
${color5}Curr Wk${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $9" "$10}'}${color}
tx ↑${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $6" "$7}'}
${color0}rx ↓${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $3" "$4}'}${color}
${color5}${time %b %Y}${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $9" "$10}'}${color}
tx ↑${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $6" "$7}'}
${color0}rx ↓${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $3" "$4}'}${voffset -170}


ncal.awk
Code: Select all
#!/usr/bin/gawk -f
# based on: cal.C512.sh
# a bash script by Crinos512
#####################################################################
#                                                                   #
# ncal.awk script by dk75                                           #
#                                                                   #
# usage:                                                            #
# ncal -h | ncal.awk             - if Sunday is a first day of      #
#                                  the week                         #
# ncal -h | ncal.awk monday=TRUE - if Monday is a first day of      #
#                                  the week                         #
#                                                                   #
#####################################################################

BEGIN   \
{
   weekend[1]=7
   weekend[2]=1

   if ( ARGV[1]=="monday=TRUE" )
   {
      weekend[1]=6
      weekend[2]=7
   }

   today=strftime("%02d")
}

NR==1   \
{
   month=$1
   year=$2
}

NR>1   \
{
   gsub(/ {4}/," 0 ", $0)
   days[NR-1,1]=$1
   days[NR-1,2]=$2
   days[NR-1,3]=$3
   days[NR-1,4]=$4
   days[NR-1,5]=$5
   days[NR-1,6]=$6
   days[NR-1,7]=$7
}

END   \
{
   #############################################################
   # preparing and formatting data                              #
   #############################################################
   for ( i=1; i<=7; i++ )
   {
      for ( j=2; j<=7; j++ )
      {
         days[i,j]=sprintf("%02d", days[i,j])

         if ( days[i,j]=="00" )
            days[i,j]="··"

         if ( days[i,j]==today )
            days[i,j]="${color5}"days[i,j]"${color}"
         else
            days[i,j]="${color}"days[i,j]"${color}"
      }

      if ( i==weekend[1] )
         days[i,1]="${color5}"days[i,1]"${color}"
      else if ( i==weekend[2] )
         days[i,1]="${color5}"days[i,1]"${color}"
      else
         days[i,1]="${color1}"days[i,1]"${color}"
   }
   # ###########################################################

   #############################################################
   # displaying data                                           #
   #############################################################
   #print "${alignc}${color6}"month"${color}"

   for ( j=0; j<=1; j++ )
   {
      for ( i=1; i<=7; i++ )
      {
         printf "%s %s %s %s\n", days[i,1], days[i,2+j], days[i,4+j], days[i,6+j]
      }
   }

   #print "${alignc}${color6}"year"${color}"
}
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby DragonDon on Tue Nov 26, 2013 5:07 am

User avatar
DragonDon
Level 1
Level 1
 
Posts: 7
Joined: Wed Jul 24, 2013 11:31 pm
Location: Samcheonpo, South Korea

Re: Conky Showoff thread

Postby ACa3fXh0bxMu5w3 on Sat Jan 11, 2014 1:02 pm

Simple green: http://i.imgur.com/1eRRzON.png Wallpaper: http://i.imgur.com/KkTJoZp.png
Simple blue: http://i.imgur.com/mKOjfFq.png

Simple green code:
Code: Select all
alignment middle_right
background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 25
gap_y 15
maximum_width 225
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
minimum_size 330 10
net_avg_samples 2
no_buffers yes
out_to_console no
#wm_class_name Conky
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont arial:size=9

TEXT
${color #ffffff}${font impact:size=12}$sysname $kernel ${alignr}
${color #ffffff}$nodename
${font arial:size=5}
${color #ffffff}${font arial:bold:size=12}System:
${color #ffffff}${font arial:size=9}Uptime:$color $uptime ${color #ffffff} Load:$color $loadavg
${color #ffffff}CPU 0(${freq}mhz):${alignr}$color ${cpu cpu1}%
${color #198e27}${cpubar cpu1}
${color #ffffff}CPU 1(${freq}mhz):${alignr}$color ${cpu cpu2}%
${color #10771c}${cpubar cpu2}
${color lightgrey}Core0:$color ${platform coretemp.0 temp 1} °C${color white} @$color ${cpu cpu1}%
${color lightgrey}Core1:$color ${platform coretemp.1 temp 1} °C${color white} @$color ${cpu cpu2}%
${color #ffffff}RAM Usage:${alignr}$color $mem${color #ffffff}/${color}$memmax - $memperc%
${color #198e27}$membar
${color #ffffff}Swap Usage:${alignr}$color $swap${color #ffffff}/${color}$swapmax - $swapperc%
${color #198e27}${swapbar}

${color #ffffff}${font arial:bold:size=12}Disk:
${color #ffffff}${font arial:size=9}/ ${alignr}$color${fs_used /}${color #ffffff} / ${color}${fs_size /}
${color #198e27}${fs_bar /}
${color #ffffff}/home ${alignr}$color${fs_used /home}${color #ffffff} / ${color}${fs_size /home}
${color #198e27}${fs_bar /home}

${color #ffffff}${font arial:bold:size=12}Processes:
${color #ffffff}${font arial:size=9}Top CPU ${alignr}CPU% MEM%
$color ${top name 1} ${alignr}${top cpu 1} ${top mem 1}
$color ${top name 2} ${alignr}${top cpu 2} ${top mem 2}
$color ${top name 3} ${alignr}${top cpu 3} ${top mem 3}
${color #ffffff}Total Processes:$color ${processes}

${color #ffffff}${font arial:bold:size=12}Battery:
${color #ffffff}${font arial:size=9}Status:${alignr}$color ${battery BAT1}${color #ffffff} / ${color}${battery_time BAT1}
${color #198e27}${battery_bar BAT1}


Simple blue code:
Code: Select all
alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color cornflowerblue
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 25
gap_y 15
maximum_width 225
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
minimum_size 330 10
net_avg_samples 2
no_buffers yes
out_to_console no
#wm_class_name Conky
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont arial:size=9

TEXT
${color #9DCAFF}${font impact:size=12}$sysname $kernel ${alignr}
${color #9DCAFF}$nodename
${font arial:size=5}
${color #0077ff}${font arial:bold:size=12}System:
${color #0077ff}${font arial:size=9}Uptime:$color $uptime ${color #0077ff} Load:$color $loadavg
${color #0077ff}CPU 0(${freq}mhz):${alignr}$color ${cpu cpu1}%
${color #0077ff}${cpubar cpu1}
${color #0077ff}CPU 1(${freq}mhz):${alignr}$color ${cpu cpu2}%
${color #0077ff}${cpubar cpu2}
${color lightgrey}Core0:$color ${platform coretemp.0 temp 1} °C${color grey} @$color ${cpu cpu1}%
${color lightgrey}Core1:$color ${platform coretemp.1 temp 1} °C${color grey} @$color ${cpu cpu2}%
${color #0077ff}RAM Usage:${alignr}$color $mem${color #0077ff}/${color}$memmax - $memperc%
${color #0077ff}$membar
${color #0077ff}Swap Usage:${alignr}$color $swap${color #0077ff}/${color}$swapmax - $swapperc%
${color #0077ff}${swapbar}

${color #0077ff}${font arial:bold:size=12}Disk:
${color #0077ff}${font arial:size=9}/ ${alignr}$color${fs_used /}${color #0077ff} / ${color}${fs_size /}
${color #0077ff}${fs_bar /}
${color #0077ff}/home ${alignr}$color${fs_used /home}${color #0077ff} / ${color}${fs_size /home}
${color #0077ff}${fs_bar /home}

${color #0077ff}${font arial:bold:size=12}Processes:
${color #0077ff}${font arial:size=9}Top CPU ${alignr}CPU% MEM%
$color ${top name 1} ${alignr}${top cpu 1} ${top mem 1}
$color ${top name 2} ${alignr}${top cpu 2} ${top mem 2}
$color ${top name 3} ${alignr}${top cpu 3} ${top mem 3}
${color #0077ff}Total Processes:$color ${processes}

${color #0077ff}${font arial:bold:size=12}Battery:
${color #0077ff}${font arial:size=9}Status:${alignr}$color ${battery BAT1}${color #0077ff} / ${color}${battery_time BAT1}
${color #0077ff}${battery_bar BAT1}
ACa3fXh0bxMu5w3
Level 1
Level 1
 
Posts: 3
Joined: Sat Jan 11, 2014 9:39 am

Re: Conky Showoff thread

Postby TrueBlue on Thu Jan 16, 2014 6:56 pm

Here is my conky mod based on despot77 's scripts.
Screengrab1.png

Kind of went Steampunk on it, but I was wondering if there is a way to alter the settings on the thermometer/weather line :
${font caviar dreams:size=10}${color 000000}${alignr 175}${weather http://weather.noaa.gov/pub/data/observ ... /stations/ LQBK temperature temperature 30} °F${font}
I am 100% new to this, and only got Linux Mint what, four days ago, then modded this script and image files.
Anyway, what I was hoping one of you could tell me is
Setting aside making a thermometer (which I would like to figure out how to do at some point) is there a way to set the font color so that anything <= 32 degrees is displayed in blue text, >32<80 in yellow and =>80 in red?

Thanks.
TrueBlue
Level 1
Level 1
 
Posts: 1
Joined: Thu Jan 16, 2014 6:31 pm

Re: Conky Showoff thread

Postby NM5TF on Thu Feb 13, 2014 5:44 pm

my latest version using VinDSL's conky template & Paramvir's conkywx weather template


tommy
Attachments
Mint16-screen.png
Linux Mint 16 Development Branch, Ubuntu 12.04.4 LTS, Ubuntu 14.04 Development Branch
Registered Linux User # 529389
User avatar
NM5TF
Level 1
Level 1
 
Posts: 33
Joined: Sat Feb 16, 2013 10:10 pm
Location: Magdalena, New Mexico

Re: Conky Showoff thread

Postby EmpireITtech on Fri Mar 07, 2014 11:06 am

http://imageshack.com/a/img21/5310/lisf.png

My very VERY basic Conky...slightly tweaked from a one I found here. I'm new to the Conky World - time to see how far the rabbit hole goes :mrgreen:
Linux: Mint 16 Petra Cinnamon
Box: Intel Core 2 Quad | 8gb RAM | 500 gb WD 7200rpm | nVidia Geforce GTS250
Pants: 32x30
User avatar
EmpireITtech
Level 4
Level 4
 
Posts: 217
Joined: Fri Oct 12, 2012 8:45 am

Linux Mint is funded by ads and donations.
 
Previous

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 1 guest