Page 2095 of 2348 FirstFirst ... 1095159519952045208520932094209520962097210521452195 ... LastLast
Results 20,941 to 20,950 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #20941
    Join Date
    Oct 2012
    Beans
    18

    Re: Post your .conkyrc files w/ screenshots

    it's still acting funny. when i click it will disappear once or twice for a split second then reappear. but when i click on the desktop and on other open windows it will act up like that.

    EDIT: Fixed it. own_window_type override did it

    Thanks for the help though sector!
    Last edited by MoralAnarchy; October 27th, 2012 at 04:37 PM.

  2. #20942
    Join Date
    Oct 2012
    Beans
    18

    Re: Post your .conkyrc files w/ screenshots

    btw here's the conky i made from sort of scratch. using a lot of the tips i get here. also a nice little screen shot of big bang theory for you all
    Attached Images Attached Images
    Last edited by MoralAnarchy; October 27th, 2012 at 04:52 PM.

  3. #20943
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    I copied you code in below the other one and changed
    Code:
    month_max="50 GB"
    to
    Code:
    month_max="30 GB"
    to see a difference, also changed ${color9} (red) to ${color3} (orange), the red was too hard on my eyes:

    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; if ($9>100) c1="${color2}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 -v month_max="30 GB" 'BEGIN{split(month_max, max); if (max[2]=="GB" || max[2]=="GiB") max[1]=max[1]*1024;} /[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; total=$9; if ($10=="GB" || $10=="GiB"); total=$9*1024; if (total>=max[1]) c1="${color2}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    What did I miss?
    Small typo: after "if (..)" clause there is a ";", meaning "end of if" where it need to do something if "if clause" is true:
    Code:
    if ($10=="GB" || $10=="GiB"); total=$9*1024;
    should be
    Code:
    if ($10=="GB" || $10=="GiB") total=$9*1024;


    To go little easy on conkyrc (to make it cleaner) make BASH script "conky-vnstat-month.sh":
    Code:
    #!/bin/bash
    
    LAST=1
    MONTH_MAX="999999999 MB"
    
    function show_help(){
    echo
    echo "Usage: conky-vnstat-month.sh [-i device] [-l number] [-m \"string\"] [-1 \"string\"] [-2 \"string\"] [-3 \"string\"] [-4 \"string\"]"
    echo -e "\tall are optional (you can give it, but it is not required)"
    echo "options:"
    echo -e "\t-i\t- pass device to get statistic for, eg. -i wlan0"
    echo -e "\t-l\t- pass number of month to display, eg. -l 12"
    echo -e "\t-m\t- pass maximum bandwidth to alarm for, eg. -m \"30 GB\""
    echo -e "\t-1\t- first color, for entire text, eg. -1 \"\\\${color blue}\""
    echo -e "\t-2\t- second color, for month names column, eg. 2 \"\\\${color orange}\""
    echo -e "\t-3\t- third color, for values below alarm value (see -m option), eg. -3 \"\\\${color green}\""
    echo -e "\t-4\t- fourth color, for values above alarm value (see 0m option), eg. -4 \"\\\${color red}\""
    echo -e "\t-h\t- this help text"
    echo
    }
    
    function conky_vnstat(){
    	vnstat -m $1 |mawk -v last=$2 -v month_max="$3"\
    		'BEGIN{split(month_max, max); if (max[2]=="GB" || max[2]=="GiB") max[1]=max[1]*1024;}\
    		/[A-Z][a-z][a-z].+12/ {test[++i]=$0}\
    		END{	i=0;\
    			while (test[++i]);\
    			if (last>i) last=i-1; else if (last<1) last=1;\
    			for (j=i-last; j<i; j++)\
    				{\
    				$0=test[j];\
    				c1="'"$6"'";\
    				total=$9;\
    				if ($10=="GB" || $10=="GiB") total=$9*1024;\
    				if (total>=max[1]) c1="'"$7"'";\
    				print "'"$4$5"'" $1, $2 ":${color}"\
    				"${goto 75}'"$4"'" $3, $4\
    				"${goto 175}" $6, $7\
    				"${goto 275}" c1 $9 "${color}'"$4"'", $10 "${color}"\
    				}\
    		}'
    }
    
    while getopts ":i:l:m:1:2:3:4:h" opt
    do
    	case $opt in
    		i)	DEVICE="-i $OPTARG";;
    		l)	LAST=$OPTARG;;
    		m)	MONTH_MAX="$OPTARG";;
    		1)	COLOR_TEXT="$OPTARG";;
    		2)	COLOR_MONTH="$OPTARG";;
    		3)	COLOR_MIN="$OPTARG";;
    		4)	COLOR_MAX="$OPTARG";;
    		h)	show_help; exit 0;;
    		*)	echo "ERROR! Bad argument!"; exit 66;;
    	esac
    done
    
    conky_vnstat "$DEVICE" $LAST "$MONTH_MAX" "$COLOR_TEXT" "$COLOR_MONTH" "$COLOR_MIN" "$COLOR_MAX"
    
    exit 0
    and use it like:
    Code:
    ${execpi 300 conky-vnstat-month.sh -l 12 -m "30 GB" -3 "\${color9}" -4 "\${color2}"
    Last edited by dk75; October 27th, 2012 at 05:44 PM.
    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

  4. #20944
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by MoralAnarchy View Post
    btw here's the conky i made from sort of scratch. using a lot of the tips i get here. also a nice little screen shot of big bang theory for you all
    Looks nice ...

    But if I may, a few suggestions as there are some things that need fixing.

    Above TEXT:
    • background yes #<<-- transparent is not an option - see own_window section
    • xftfont Neuropol:size=8 ## you use size=8 the most and NO size=12


    I suggest this for your "own_window section":
    Code:
    own_window yes
    own_window_type normal ## now you should use normal so HINTS work
    own_window_transparent yes ## this is what you declare transparency
    own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    own_window_class Conky
    Below TEXT:
    every place you have:
    Code:
    ${font Neuropol:size=8}
    You can now change to
    Code:
    ${font}
    And the same of every place you have:
    Code:
    ${font 16}
    If you use 'search/replace' for the two above you will need to:

    Search for: ${font}${font}
    Replace with: ${font}

    RE ${font 16}
    That does nothing except call up your "default" screen font since you are actually calling for a font named "16" that doesn't exist - see the bottom section of the image. My screen font is "sans"
    Code:
    ${font}This is a test:
    
    this is ${font 16}font 16${font}
    this is ${font 50}font 50${font}
    this is ${font 5}font 5${font}
    this is ${font sans}font sans${font}
    
    this is ${font sans:size=16}font sans 16${font}
    this is ${font sans:size=20}font sans 20${font}
    this is ${font sane:size=5}font sans 5${font}
    One last thing. There are time that commands like $color $mem / $memperc without the {} around them will cause problems in certain circumstances. kaivalagi, conkyForecast, showed it in a post quite a while back, whish I could remember where. So I always 'suggest' that people use the {} around all conky commands.

    ALL of the above are only SUGGESTIONS.

    Here is the code with the above suggestions and two additions:
    Code:
    gap_x 10
    gap_y 10
    and the test lines above are removed.
    Code:
    # killall conly && conky -c ~/conky/test284.MoralAnarchy.conky &
    # Conky, a system monitor, based on torsmo
    #
    
    
    alignment top_right
    background yes #transparent <<-- not an option
    background no
    border_width 0
    cpu_avg_samples 2
    default_color red
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont Neuropol:size=8  ## you use size=8 the most and NO size=12
    gap_x 10
    gap_y 10
    minimum_size 250 0
    maximum_width 250
    net_avg_samples 2
    double_buffer yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_class Conky
    
    
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    TEXT
    #
    ####Title####
    ${font OpenLogos:size=48}${color grey}SH${color red}${hr}${font}
    ${font Neuropol:size=18} ${nodename}
    ${font} ${kernel}
    ${hr}
    #
    ####Memory####
    ${color grey}${font OpenLogos:size=38}t${font}Memory ${color red}${hr}
    ${color grey}Frequency :${color} ${freq MHz}
    ${color grey}RAM Usage:${color} ${mem}/${memmax}
    ${memperc}% ${alignr}${membar 4, 200}
    ${color grey}Swap Usage:${color} ${swap}/${swapmax}
    ${swapperc}% ${alignr}${swapbar 4, 200}
    #
    #
    ####CPU####
    ${color grey}${font Illustrate IT:size=12}r${font} ${font}Robit Use ${color red}${hr}
    ${color grey}CPU1 ${color red}${cpu cpu0}% ${alignr}${cpugraph cpu0 14, 175}
    ${color grey}CPU2 ${color red}${cpu cpu1}% ${alignr}${cpugraph cpu1 14, 175}
    ${color grey}CPU3 ${color red}${cpu cpu2}% ${alignr}${cpugraph cpu2 14, 175}
    ${color grey}CPU4 ${color red}${cpu cpu3}% ${alignr}${cpugraph cpu3 14, 175}
    ${color grey}Process ${alignc}PID ${alignr}CPU%
    ${font Neuropol:size=6}${color white} ${top name 1} ${alignc}${top pid 1} ${alignr}${top cpu 1}
    ${color white} ${top name 2} ${alignc}${top pid 2} ${alignr}${top cpu 2}
    ${color white} ${top name 3} ${alignc}${top pid 3} ${alignr}${top cpu 3}
    #
    #
    ####File Systems####
    ${color grey}${font Illustrate IT:size=16}a${font}Access Granted ${color red}${hr}
    ${color grey} / $color${fs_used /}/${fs_size /} 
    ${fs_bar 6 /}
    ${color grey} HD0 $color${fs_used /media/AHD0}/${fs_size /media/AHD0} 
    ${fs_bar 6 /media/AHD0}
    ${color grey} HD1 $color${fs_used /media/AHD1}/${fs_size /media/AHD1} 
    ${fs_bar 6 /media/AHD1}
    ${color grey} Thumb $color${fs_used /media/2E48-9992}/${fs_size /media/2E48-9992} 
    ${fs_bar 6 /media/2E48-9992}
    #
    #
    ####Internet#####
    ${color gray}${font LMS Poke'mon Master Dingbat:size=48}M${font}Welcome2theInternet ${color red}${hr}
    ${color red}${font} Up: ${upspeed wlan0}${alignr}${color white}${font} Down: ${downspeed wlan0}
    ${color red}${upspeedgraph wlan0 30, 115}${alignr}${color white}${downspeedgraph wlan0 30,115}
    ${color red}Sauce! ${color white}${alignr}${addr wlan0}
    As I said: Just suggestions. It's really a nice conky, I like it.

    Finally a conky with 'digbat' style fonts I like.
    Attached Images Attached Images

  5. #20945
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    Small typo: after "if (..)" clause there is a ";", meaning "end of if" where it need to do something if "if clause" is true:
    Code:
    if ($10=="GB" || $10=="GiB"); total=$9*1024;
    should be
    Code:
    if ($10=="GB" || $10=="GiB") total=$9*1024;
    Typo? · · · What typo! · · · You don't make typos!
    You're dk75!

    Here's what happens:
    • The keys move around on your keyboard every now and then to confuse you.

    HOWEVER: fixing that 'non-typo' worked like a charm.

    And now he comes up with a bash script ...
    WOW!!! Look at that: MONTH_MAX="999999999 MB"

    A little tweaking and it looks just like the non-typo line.

    Super nice stuff dk75, just super!

    EDIT! Trust me to forget the image!
    Attached Images Attached Images

  6. #20946
    Join Date
    Oct 2012
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Sector11, looks nice. Can you kindly share the conkyrc that you edited from MoralAnarchy? along with the digbat fonts..

  7. #20947
    Join Date
    Jun 2012
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Hi all;
    I've made a conky wich it's display your personnal config of xplanet in conky.
    I'm not really good in English so :
    http://pix.toile-libre.org/upload/or...1351520713.png
    you must edit crontab to make it work correctly and the file xml:
    crontab :
    Code:
     49 2,5,8,11,14,17,20,23 * * * perl /usr/local/bin/clouds.pl
    Code:
     */10 * * * *	votre_id /usr/local/bin/xplanet-bg
    xplanet.xml
    Code:
     <background>
    while (truth) {
      <static>
        <duration>590.0</duration>
        <file>/home/your_id/.xplanet/xplanet.png</file>
      </static>
      <transition>
        <duration>10.0</duration>
        <from>/home/votre_id/.xplanet/xplanet.png</from>
        <to>/home/your_id/.xplanet/2xplanet.png</to>
      </transition>
      <static>
        <duration>590.0</duration>
        <file>/home/your_id/.xplanet/2xplanet.png</file>
      </static>
      <transition>
        <duration>10.0</duration>
        <from>/home/votre_id/.xplanet/2xplanet.png</from>
        <to>/home/your_id/.xplanet/xplanet.png</to>
      </transition>
    }
    </background>
    (in.xplanet folder)
    Then I give you a pack that you have to modify the path in...
    Conky_xplanet_pack--->
    https://dl.dropbox.com/u/63154177/co...es_scripts.zip
    May be you will have to read stuff about xplanet; sorry I only have it in french, it's quite old but it's still good for the old computers...
    French doc :
    http://doc.ubuntu-fr.org/xplanet

    You can have an eye on Sandy Hurricane...you can also modify your "longitude and latitude for your country in the xplanet-bg script...
    Last edited by ragamatrix; October 29th, 2012 at 08:14 PM.

  8. #20948
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ragamatrix View Post
    Hi all;

    Conky_xplanet_pack--->
    That looks awesome but the link is wrong. When you right click on the dropbox icon you have something like the image below.

    Please excuse Google Translate:

    Open Dropbox Folder (Ouvrir le dossier Dropbox) - Local on your HDD
    Launch Dropbox Website (Lancement Site Web Dropbox) this gives the link:

    http://dl.dropbox.com/u/16070765/Oth..._images.tar.gz

    Or use the link globe in the menu: 1_pixel_images.tar.gz

    Hope this helps
    Attached Images Attached Images
    Last edited by Sector11; October 29th, 2012 at 11:12 PM. Reason: Removed broken link

  9. #20949
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ragamatrix View Post
    Hi all;
    Is this a Conky (Est-ce un conky)?:

    If it is can you share it please.
    Si c'est le cas pouvez-vous s'il vous plaît.

  10. #20950
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by yumm91 View Post
    Sector11, looks nice. Can you kindly share the conkyrc that you edited from MoralAnarchy? along with the digbat fonts..
    The conky you're looking for is in post #20944 and the fonts are:

    Neuropol
    OpenLogos
    Illustrate IT
    LMS Poke'mon Master Dingbat

Page 2095 of 2348 FirstFirst ... 1095159519952045208520932094209520962097210521452195 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •