if you have a fully transparent conky with ARGB, let me tell you that with a Lua background, it looks very very nice and you can move it around your desktop very smoothly.
Laptop: i7 4930MX @3.9GHz undervolted; 32GB 4x8GB Kingston HyperX Impact 1600MHz; Nvidia 780M 4GB; Samsung 840 EVO mSATA 250GB; Ubuntu 16.04 and Windows 10 Pro.
Ubuntu #8076 / Linux #429448
HP Elitebook 8530p | C2D T9400 - 4GB DDR2 800 - ATI mobility radeon 3650 - Intel x25m 160GB G2A monkey hitting random keys on a computer keyboard for an infinite amount of time will almost surely create fglrx drivers...
Hi!!
ive just moved to ubuntu from windows, and was told conky would be perfect to show my system stats
i was wondering if i could get some help, i have no idea how the scripting works yet
just looking for someothing basic to show my cpu usage mem, gpu temps etc
Well happy1234, I would encourage you to go back ~200-300 pages and look for pictures of conkies you like and when you find one grab the files for it! (we usually post them together) it's much easier to fine tune a conky than it is to completely write one for you from scratch without knowing what you want/like.
When you have some ideas on what you want displayed on the screen we can help to get you up and runnning.
|| Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
|| Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
|| Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
Conky: ... no such configuration: 'normal'
Hi all.
I upgraded to conky 1.8.0 yesterday and I have an issue.
My conky got... fatter by 5 pixels on every side, as shown in the pics.
The difference is more noticeable if you take a look at the small gap between the panel (fbpanel, with the time display).
On the second pic I had to reduce the panel's size for more than 10 pixels in order to make conky place itself on the bottom right corner. The panel is 33 pixels tall and 1110 wide now (from 1120+).
My .conkyrc is this, and it has been the same in its main settings since 2007 that I started with conky 1.3 or so. I only change the layout.
Code:background yes use_xft yes xftfont Verdana:bold:size=9 xftalpha 1.0 update_interval 5.0 total_run_times 0 color1 firebrick own_window yes own_window_type normal own_window_colour ededed #own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager border_margin 0 double_buffer yes draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color black default_shade_color black default_outline_color black alignment bottom_right cpu_avg_samples 5 override_utf8_locale yes use_spacer none gap_y 0 gap_x 0 #text_buffer_size 512 maximum_width 150 minimum_size 150 32 # Internet ip check # ${execi 1800 curl -s http://whatismyip.org/} # Weather forecast # ${execi 900 pymetar LGBL | grep Weather:} # Calendar (USE ONLY MONOTYPE FONTS) # ${font DejaVu Sans Mono:size=10}${pre_exec cal} # Cpu sensors readout script # {execi sensors | grep "Core 0" | cut -c15-16}C # Eortologio rss feed # ${rss http://www.eortologio.gr/rss/si_el.xml 300 item_titles 1} # Accuweather rss feed # ${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|GR|GR038|VOLOS 300 item_titles 1} TEXT sda $color1${hddtemp /dev/sda}C$color $alignr core0 $color1${execi 5 sensors | grep "Core 0" | cut -c15-16}C $color $color1$uptime_short$color $alignr core1 $color1${execi 5 sensors | grep "Core 1" | cut -c15-16}C $color
With 1.8 border_margin is no longer working.
You must use
Code:border_inner_margin 0 border_outer_margin 0
Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | My Conky Pitstop corner | One4All project
Hi!
I was searching the web for solution of displaying mounted removable drives in Conky dynamically and found nothing. I mean you connect unknown drive to the system and Conky displays drive info when it's mounted. When you disconnect or unmount the drive, info disappears. So i wrote little bash script for Conky myself.
It's based on reading of /media directory, where Ubuntu makes mount points of connected file systems. First line of script reads list of mounted file systems from /media and you can exclude those permanently mounted, if you want - that's the sed command. Volume name is cutted down to 7 chars (name="${line:0:7}"). In addition i draw diskiograph over fsbar, so you have info about disk activity too. The script contains also formating for conky, change it to fit your Conky.
removable-drives.sh
Code for Conky:Code:#!/bin/bash list=`ls -1 /media/|sed -e 's/cdrom0//' -e 's/sda4//' -e 's/cdrom//' -e 's/H160//' -e 's/S80//' -e 's/home//' -e 's/H500//'|sed '/^$/d'` if [ "$list" ]; then { echo "$list" | while read line do name="${line:0:7}" device=`mount|grep "$line"|awk '{print $1}'` echo '${color 030}${fs_bar 14,309 /media/'$line'} ${voffset -27}${diskiograph '$device' 14,309 000000 00dd00}${color} ${goto 5}${voffset -21}$font' $name '${goto 70}${fs_type /media/'$line'}${goto 119}${fs_size /media/'$line'}${goto 184}${fs_free_perc /media/'$line'}%${goto 224}${fs_free /media/'$line'}${voffset 1}' done } else { echo '${voffset -3}' exit } fi echo '${voffset -5}'
My Conky screenshotsCode:${execp /path/to/the/script}
Last edited by George dH; April 19th, 2010 at 11:34 AM.
Nice, at 1st sight it looks more usable then ${if_mounted ...} because you need to know the mountpoint's name in advance and automatically mounted stuff changes it's name often (after re-formating my camera's SD card for example).
Bookmarks