Looks like I need little help. I tried following this
https://help.ubuntu.com/community/SettingUpConky
Now I can see this
Screenshot from 2014-06-03 16:36:01.jpg
My .conkyrc
I tried copy pasting one or two files from here and saved in my home in place of the above to see what happens, it doesn't change anything. What do I do now? How do I change/use this simple conky to some of the cool ones here?Code:# Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license # # All code written since the fork of torsmo is licensed under the GPL # # Please see COPYING for details # # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # alignment top_left background no border_width 1 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no use_xft yes xftfont DejaVu Sans Mono:size=12 gap_x 5 gap_y 60 minimum_size 5 5 net_avg_samples 2 no_buffers yes out_to_console no out_to_stderr no extra_newline no own_window yes own_window_class Conky own_window_type desktop stippled_borders 0 update_interval 1.0 uppercase no use_spacer none show_graph_scale no show_graph_range no TEXT ${scroll 16 $nodename - $sysname $kernel on $machine | } $hr ${color grey}Uptime:$color $uptime ${color grey}Frequency (in MHz):$color $freq ${color grey}Frequency (in GHz):$color $freq_g ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes $hr ${color grey}File systems: / $color${fs_used /}/${fs_size /} ${fs_bar 6 /} ${color grey}Networking: Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0} $hr ${color grey}Name PID CPU% MEM% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
I'm using 14.04 Gnome.
Is there anything I'm missing?
.............
Apparently not, I was sure it would be detected as it was being detected with default.
I only ran with
You hit the nail on its headCode:conky &
Also, since you're here, is there any quick guide to ''how to modify conky for dummies'' somewhere? Looks like I'm gonna need one hahaha
Everything I learned about manipulating conky, I learned in this thread and the man page, and docs.
http://conky.pitstop.free.fr/wiki/in...itle=Main_Page is an excellent resource also.
I just took other people's RCs and bent them to my will by way of example, as I consider helper apps (conky Manager) cheating.
It all depends on what you want to "do" with it.
Windows assumes the user is an idiot.
Linux demands proof.
This community is awesome
Screenshot from 2014-06-03 22:50:53.jpg
I got exactly what I was looking for (with little tinkering) just few pages back.
http://ubuntuforums.org/showthread.p...4#post13001484
Thanks Ricardo15!!!
Now I want to know how I can add an Live RSS feed or news loop to this as well and if possible add icon in there just like how Ricardo had in his original work, any ideas?
Last edited by LastDino; June 3rd, 2014 at 06:29 PM.
conky-rss.sh
Call it in the existing (or a new conkyrc even) withCode:#!/bin/bash # RSS Display Script by Bill Woodford (admin@sdesign.us) v1.0 # #RSS Setup - Don't change unless you want these values hard-coded! uri=$1 #URI of RSS Feed lines=$2 #Number of headlines titlenum=$3 #Number of extra titles #Script start #Require a uri, as a minimum if [[ "$uri" == "" ]]; then echo "No URI specified, cannot continue!" >&2 echo "Please read script for more information" >&2 else #Set defaults if none specified if [[ $lines == "" ]]; then lines=25 ; fi if [[ $titlenum == "" ]]; then titlenum=2 ; fi #The actual work curl -s --connect-timeout 30 $uri |\ sed -e 's/<\/title>/\n/g' |\ grep -o '<title>.*' |\ sed -e 's/<title>//' |\ head -n $(($lines + $titlenum)) |\ tail -n $(($lines)) fi
I'd use a new conkrc so you have better control over the placement of the rss feed. You can even stack it over|under|next to your existing conkyrc, using controls like the one you have now:Code:TEXT ${execi 300 /path/to/conky-rss.sh }
ie:
Setup a .sh script to start both with:Code:# Screen size = 1440x900 own_window yes own_window_colour brown own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes text_buffer_size 2048 #1024 use_xft yes alignment tl gap_x 5 gap_y 44
Hope that helps.Code:conky -c /path/to/conkyrc0 & conky -c /path/to/conkyrc1 &
I'll be peeking in on ya.
Windows assumes the user is an idiot.
Linux demands proof.
Thank you
I followed your instructions to create one more conkyrc and that rss.sh file and copy pasted what you've wrote as it is.
Screenshot from 2014-06-04 06:48:26.jpg
But when I run the commands below to see what will happen if I ran script with it;
I get errors like this;Code:Code:conky -c /path/to/conkyrc0 & conky -c /path/to/conkyrc1 &
I think I'm doing something wrong, what is it? >.>Code:glen@maxwell:~$ own_window yes own_window: command not found glen@maxwell:~$ own_window_colour brown own_window_colour: command not found glen@maxwell:~$ own_window_transparent yes own_window_transparent: command not found glen@maxwell:~$ own_window_type desktop own_window_type: command not found glen@maxwell:~$ own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_hints: command not found glen@maxwell:~$ double_buffer yes double_buffer: command not found glen@maxwell:~$ text_buffer_size 2048 #1024 text_buffer_size: command not found glen@maxwell:~$ use_xft yes use_xft: command not found glen@maxwell:~$ alignment tl alignment: command not found glen@maxwell:~$ gap_x 5 gap_x: command not found glen@maxwell:~$ gap_y 44 gap_y: command not found glen@maxwell:~$
Assuming that the new rss feed is in /path/to/conkyrc1
post contents of that file or whichever file you put the code in please.
Windows assumes the user is an idiot.
Linux demands proof.
LastDino:
Here's what I just did.
Edit conky-rss.sh
change file permissions:Code:#!/bin/bash # RSS Display Script by Bill Woodford (admin@sdesign.us) v1.0 # #RSS Setup - Don't change unless you want these values hard-coded! uri=http://www.redmine.org/plugins.atom #URI of RSS Feed lines=5 #Number of headlines titlenum=$3 #Number of extra titles #Script start #Require a uri, as a minimum if [[ "$uri" == "" ]]; then echo "No URI specified, cannot continue!" >&2 echo "Please read script for more information" >&2 else #Set defaults if none specified if [[ $lines == "" ]]; then lines=25 ; fi if [[ $titlenum == "" ]]; then titlenum=2 ; fi #The actual work curl -s --connect-timeout 30 $uri |\ sed -e 's/<\/title>/\n/g' |\ grep -o '<title>.*' |\ sed -e 's/<title>//' |\ head -n $(($lines + $titlenum)) |\ tail -n $(($lines)) fi
edit conkyrss:Code:chmod 700 conky-rss.sh
and ran it with:Code:# Screen size = 1440x900 own_window yes own_window_colour brown own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes text_buffer_size 2048 #1024 use_xft yes alignment tr gap_x 5 gap_y 44 TEXT ${execi 300 /home/jj/conky-rss.sh }
output:Code:conky -c conkyrss
rss.png
Last edited by Habitual; June 9th, 2014 at 11:37 PM.
Windows assumes the user is an idiot.
Linux demands proof.
Bookmarks