Page 2046 of 2328 FirstFirst ... 1046154619461996203620442045204620472048205620962146 ... LastLast
Results 20,451 to 20,460 of 23277

Thread: Post your .conkyrc files w/ screenshots

  1. #20451
    Join Date
    Aug 2010
    Location
    Earth, usually...
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    @sector11, what are you using for the bottom of your screen? Instead of a solid panel, you've got it broken into 4 or 5 separate panels. I like the looks of that, and would like to use the same thing on my sys.
    Jed

    Never mind @sector11. I found it myself...
    Last edited by Jedcurtis; August 31st, 2012 at 08:02 AM. Reason: DUH! Figured out by myself after getting over my brain fart!

  2. #20452
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    I don't really consider it work as I really like what I do. I run my own tile installation business with one employee... Me.



    I just tried removing sticky from own_window_hints and changing the gap_x on a conky and it went off the right edge of the screen, but did not wrap or move to the next workspace. However, that was a lua conky, I will try with a regular rc and post back with the results.
    Changing the "x" value in the conky config(using lua background) works here in compiz.
    Removing the "sticky" from own_window_hints and making sure to use
    Code:
    alignment top_left
    own_window_type normal
    own_window_type override ignores own_window_hints

    Also conky reads the workspace your using when conky is launched as the first.
    Last edited by stinkeye; August 31st, 2012 at 07:06 AM.

  3. #20453
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Interesting I had 'mawk' installed with 'gawk' and 'original-awk' ... took 'mawk' out and BINGO!

    Code:
      30 Aug 12 | 21:13:27 ~
             $ sensors |gawk '/temp1:/ {gsub(/+|\../,"",$2); print $2; exit}'
    30°C
    
      30 Aug 12 | 21:15:34 ~
             $ sensors |awk '/temp1:/ {gsub(/+|\../,"",$2); print $2; exit}'
    30°C
    
      30 Aug 12 | 21:15:44 ~
             $
    #! is Debian - so it was me - somewhere along the line I must have installed mawk. Gone now.
    Yes, and so Ubuntu is Debian too. And as well as #!, Ubuntu also have both MAWK and GAWK installed, and SID which I have, have them both installed, but distribution managers decided that in Ubuntu and in #! MAWK should be as default AWK, and in SID they decided that GAWK should be AWK.
    Check:
    Code:
    sudo update-alternatives --config awk
    I have GAWK in "auto" mode as default AWK. But I could force MAWK in "manual" mode to be AWK.
    At Ubuntu I've done it to force GAWK in to AWK "manual" mode.
    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. #20454
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Jedcurtis View Post
    @sector11, what are you using for the bottom of your screen? Instead of a solid panel, you've got it broken into 4 or 5 separate panels. I like the looks of that, and would like to use the same thing on my sys.
    Jed

    Never mind @sector11. I found it myself...
    Love the edit ... but in case others want to know: tint2

    Off topic just for fun:

    One day I had to be the bearer of bad news when I told a wife that her husband had died of a massive myocardial infarct.

    Not more than five minutes later, I heard her reporting to the rest of the family that he had died of "a massive internal fart."
    Submitted by Dr. Susan Steinberg

  5. #20455
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    Yes, and so Ubuntu is Debian too. And as well as #!, Ubuntu also have both MAWK and GAWK installed, and SID which I have, have them both installed, but distribution managers decided that in Ubuntu and in #! MAWK should be as default AWK, and in SID they decided that GAWK should be AWK.
    Check:
    Code:
    sudo update-alternatives --config awk
    I have GAWK in "auto" mode as default AWK. But I could force MAWK in "manual" mode to be AWK.
    At Ubuntu I've done it to force GAWK in to AWK "manual" mode.
    Yes, Ubuntu is Debian but it makes changes and people use the Ubuntu repos. #! uses the Debian Repos.

    I was fairly certain that I had installed mawk myself. Oh well, now I use gawk:

    Code:
      31 Aug 12 | 07:20:28 ~
             $ sudo update-alternatives --config awk
    [sudo] password for sector11: 
    There are 2 choices for the alternative awk (providing /usr/bin/awk).
    
      Selection    Path                   Priority   Status
    ------------------------------------------------------------
    * 0            /usr/bin/gawk           10        auto mode
      1            /usr/bin/gawk           10        manual mode
      2            /usr/bin/original-awk   0         manual mode
    
    Press enter to keep the current choice[*], or type selection number:
    Thank you.

  6. #20456
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Changing the "x" value in the conky config(using lua background) works here in compiz.
    Removing the "sticky" from own_window_hints and making sure to use
    Code:
    alignment top_left
    own_window_type normal
    own_window_type override ignores own_window_hints

    Also conky reads the workspace your using when conky is launched as the first.
    Thank you stinkeye - totally forgot about
    Code:
    own_window_type normal
    Duuuuuh!

    So
    Code:
    wmctrl -d
    saying everything is Desktop 1 (on compiz) removing "sticky" from window hints allows gap_x, gap_y and alignment tweaking to place the conky on various "windows" (read: desktops)?

    If so that should eliminate the need for an if_match and exec(i) command which is always good news.
    Last edited by Sector11; August 31st, 2012 at 11:39 AM.

  7. #20457
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    I decided to do some more simplifying to make my conky display a little more concise while still keeping the same functionality.

    I think I'm getting to like the minimalist approach more and more.


  8. #20458
    Join Date
    Dec 2006
    Location
    Vietnam (U.S. expat)
    Beans
    134
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Close - sticky makes conky stick to every desktop.
    Remove sticky makes conky stay on the desktop it was started on:
    Code:
    own_window yes
    own_window_type normal
    own_window_hints undecorated,below,skip_taskbar,skip_pager
    I use this in OpenBox and the conky in question is on Desktop 1 only.
    Thanks for the reply. This was exactly what was needed. I really need to figure out how I missed this ...
    Sorry for taking so long to say thanks, but I am stuck hunting down solutions to a much larger (actual work) related problem.

  9. #20459
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Harpoon View Post
    Thanks for the reply. This was exactly what was needed. I really need to figure out how I missed this ...
    Sorry for taking so long to say thanks, but I am stuck hunting down solutions to a much larger (actual work) related problem.
    Your welcome and not a problem. Life is like that.
    It's another one of those, "Oh, I knew that!" moments, don't sweat it.

  10. #20460
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    A couple of things...

    First, I did some improving in how the USB drives are detected and displayed. My conky will now display the name of any USB drive I plug in (upto 10 char) and display the memory info about each (up to the first 3 drives). I only have 3 USB ports on my laptop, so 3's enough for me.

    However, I couldn't get an accurate bar graph to work for these drives anymore (since I no longer specify code for each individual preassigned drive name as I did before). Its not a big deal, but it would be nice if I had that option.

    Second, while my conky output is "perfect" in Ubuntu-2D-12.04, I noticed in normal Ubuntu-12.04 the conky display will disappear for a second each time I click the desktop or open/close programs. I typically use 2D on my laptop so its not an issue for me, but I would like to have my code usable for people who use standard Ubuntu.

    So let me know if you have any suggestions on how to fix my conky issues.

    My current screen shot and conky code are as follows...


    Code:
    ############################################################################################
    #                                                                                          #
    #  .conkyrc (version 1.03)                                                                 #
    #  A clean, simple, yet useful configuration code for conky                                #
    #                                                                                          #
    #  Written by Petro Dawg (aka Greg):                                                       #
    #  Last updated on 9/1/12 (version 1.03)                                                   #
    #    > Made USB file system output read any USB drive reguardless of name.  Supports up to #
    #      three USB drives.  Displays names of each USB drive and memory_used/memory_total    #
    #    > Added more color control                                                            # 
    #  Updated on 8/31/12 (version 1.02)                                                       #
    #    > Deleted redundant outputs and adjusted format to make the display more concise.     # 
    #  Updated on 8/26/12  (version 1.01)                                                      #
    #    > Based on source code from http://lonelymachines.org/2012/08/16/simple-conky-config/ #
    #    > This version has been significately modified to meet my needs and reorganized to    #
    #      add clarity for anyone wanting to modify the code further to meet their own needs.  # 
    #                                                                                          #
    #  Displays the following PC information on the Desktop within an embedded window:         #
    #    > CPU temp                                                                            #
    #    > CPU operating speed                                                                 #
    #    > Individual core usage                                                               #
    #    > Top 3 processes using CPU resources                                                 #
    #    > Total RAM                                                                           #
    #    > Active RAM amount                                                                   #
    #    > Top 3 processes using RAM resources                                                 #
    #    > Root folder size and memory used                                                    #
    #    > Home folder size and memory used                                                    #
    #    > USB drive size and memory used                                                      #
    #    > IP Address                                                                          #
    #    > Download speed and data Received                                                    #
    #    > Upload speed and data Sent                                                          #
    #                                                                                          #
    #  Requires installation of:                                                               #
    #    > conky (available in software center)                                                #
    #    > lm-sensors (available in software center)                                           #
    #                                                                                          #
    #  Additional information and resources:                                                   #
    #    > To run conky at startup, create an empty file in your home folder, name it          #
    #      ".conky-startup.sh" and copy the following 2 lines in it:                           #
    #           !/bin/bash                                                                     #
    #           sleep 15 && conky ;                                                            #
    #      Add the path to the .conky-startup.sh file within Startup Applications.             #
    #    > http://conky.sourceforge.net/                                                       #
    #    > http://www.graphviz.org/doc/info/colors.html                                        #
    #    > http://www.december.com/html/spec/colorhex.html                                     #
    #                                                                                          #
    #  Upate Log:                                                                              #
    #    > Version 1.01 (8/26/12)                                                              #
    #      - USB output will disappear from Conky when USB drive is ejected                    #
    ############################################################################################ 
    
    #conky performance settings
      use_xft yes
      xftalpha 0.9
      update_interval 3.0
      total_run_times 0
      cpu_avg_samples 4
      no_buffers no
      double_buffer yes
      override_utf8_locale no
    
    #overall position of conky window
      alignment bottom_right
      gap_x 12
      gap_y 35
      minimum_size 180 5
      maximum_width 180
    
    #overall appearance of conky window
      own_window yes
      own_window_type normal
      own_window_transparent yes
      own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
      draw_borders no
    
    #default text apperance
      font Ubuntu:bold:size=11
      default_color khaki1
      draw_shades yes
      draw_outline yes
      default_shade_color white
      default_outline_color black
      uppercase no
    
    #border around graphs
      draw_graph_borders yes
    
    #color assigned to bars/graphs
      color2 grey90 
    
    #colors assigned to items in top processes display
      color3 orangered
      color4 orange
      color5 yellow
    
    #color assigned to USB (removable) drive names
      color6 skyblue
    
    #color assigned to labels:
      color7 khaki1
    
    #color assigned to numerical outputs:
      color8 khaki1
    
    #color assigned to upload and download arrows
      color9 green
    
    
    ############################################################################################
    #                                                                                          #
    #  The code below 'TEXT' will control what is displayed by conky:                          #
    #   -> In the interest of clarity, the system outputs are divided into four related groups #
    #      (i.e. all code related to the CPU is in one grouping of adjacent lines while code   #
    #      related to RAM is in another grouping of adjacent lines).  Each group is hereafter  #
    #      refered to as a 'TEXT code block'.                                                  #
    #   -> To best fit your screen, adjust the overall vertical length of the display by       #
    #      adding or deleting empty lines either before or after the TEXT code blocks below.   #
    #                                                                                          #
    ############################################################################################ 
    TEXT
    
    # TEXT code block 1: START 
    ############################################################################################
    #                                                                                          #
    #  The first TEXT code block displays CPU information                                      #
    #   -> Temperature displayed is the PCI Adapter temp1 output on same line as 'high' output #
    #   -> Requires the installation of lm-sensors to work:  sudo apt-get lm-sensors           #
    #   -> After installation run:  sensors-detect      (answer yes to all)                    #
    #   -> Run 'sensors' in terminal to determine which line needs grep & which columns        #
    #      needs to be cut.                                                                    #
    #   -> Replace:  ${cpubar cpu1 10} with ${cpugraph cpu1 FFFF00 FF0000} to change to graph  #
    #      output of CPU1 usage.                                                               #
    #   -> 'FFFF00' and 'FF0000' are HEX color codes and can be replaced with whatever colors  #
    #      you like.  Goto www.graphviz.org/doc/info/colors.html for color information (hold   #
    #      mouse over color to see HEX code for that color).                                   #
    #   -> Add outputs for more cores by adding the following lines below the 'cpu2' lines:    #
    #           Core '#': ${alignr}${cpu cpu'#'}%                                              #
    #           ${color2}${cpubar cpu'#' 10}${color}                                           #
    #      (repeat for each additional core up to the total number of cores in the system)     #      
    #      (replace each '#' with the number of the core (i.e. 3 or 4))                        #
    #   -> If you have a single core simply delete the 2 lines containing 'cpu2'               #
    #                                                                                          #
    ############################################################################################
    ${color7}Core Temp${color}: ${color8}$alignr${exec sensors | grep 'high' | cut -c16-19}C${color}
    ${color7}CPU Speed${color}: ${color8}${alignr}${freq}MHz
    ${color2}${cpubar cpu1 10}${color}
    ${color2}${cpubar cpu2 10}${color}
    ${font Ubuntu:size=10}${color3}${top name 1}$alignr${top cpu 1}
    ${color4}${top name 2}$alignr${top cpu 2}
    ${color5}${top name 3}$alignr${top cpu 3}${color}${font}
    # TEXT code block 1: END
       
    # TEXT code block 2: START
    ############################################################################################
    #                                                                                          #
    #  Second TEXT code block displays RAM information:                                        #
    #   -> Replace ${membar 10} with ${memgraph FFFF00 FF0000} to change to graph output of    #
    #      RAM usage. (I did not find this very useful as RAM usage is usually fairly steady   #
    #      on my sytem.)                                                                       #
    #                                                                                          #
    ############################################################################################
    ${color7}RAM Total${color}: ${color8}${alignr}$memmax
    ${color2}${membar 10}${color}
    ${font Ubuntu:size=10}${color3}${top_mem name 1}$alignr${top_mem mem 1}
    ${color4}${top_mem name 2}$alignr${top_mem mem 2}
    ${color5}${top_mem name 3}$alignr${top_mem mem 3}${font}${color}
    # TEXT code block 2: END
    
    # TEXT code block 3: START
    ############################################################################################
    #                                                                                          #
    #  Third TEXT code block displays Filesystem information:                                  #
    #   -> The USB information is specific to the USB drive settings on my computer (i.e. my   #
    #      1st USB mounts at /dev/sdb1). Run 'df' in terminal to determine location of drives. #
    #                                                                                          #
    ############################################################################################
    ${color7}Root${color}: ${alignr}${color8}${fs_used /}${color} / ${color8}${fs_size /}
    ${color2}${fs_bar 10 /}${color}
    ${color7}Home${color}: ${alignr}${color8}${fs_used /home}${color} / ${color8}${fs_size /home}
    ${color2}${fs_bar 10 /home}${color}${if_existing  /dev/sdb1}
    ${color6}${exec df -h | grep 'sdb1' | cut -c46-55}${color}:${color8}${alignr}${exec df -H | grep 'sdb1' | cut -c23-27}${color} / ${color8}${exec df -h | grep 'sdb1' | cut -c17-20}${else}${endif}${if_existing  /dev/sdc1}
    ${color6}${exec df -h | grep 'sdc1' | cut -c46-55}${color}:${color8}${alignr}${exec df -H | grep 'sdc1' | cut -c23-27}${color} / ${color8}${exec df -h | grep 'sdc1' | cut -c17-20}${else}${endif}${if_existing  /dev/sdd1}
    ${color6}${exec df -h | grep 'sdd1' | cut -c46-55}${color}:${color8}${alignr}${exec df -H | grep 'sdd1' | cut -c23-27}${color} / ${color8}${exec df -h | grep 'sdd1' | cut -c17-20}${else}${endif}${color}
    # TEXT code block 3: END
    
    # TEXT code block 4: START
    ############################################################################################
    #                                                                                          #
    #  Fourth TEXT code block displays Network information:                                    #
    #   -> A graphical output of download information can be displayed by adding the following #
    #      line of code between the line starting with 'Down' and the line begining with       #
    #      'Up':                                                                               #
    #      ${color2}${downspeedgraph wlan0 FFFF00 FF0000}${color}                              #
    #   -> A graphical output of upload information can be displayed by adding the following   #
    #      line of code between after the line begining with 'Up':                             #
    #      ${color2}${upspeedgraph wlan0 FFFF00 FF0000}${color}                                #
    #   -> 'FFFF00' and 'FF0000' are HEX color codes and can be replaced with whatever colors  #
    #      you like.  Goto www.graphviz.org/doc/info/colors.html for color information (hold   #
    #      mouse over color to see HEX code for that color).                                   # 
    #                                                                                          #
    ############################################################################################
    ${color7}IP Address${color}: ${color8}${alignr}${addr wlan0}
    ${color9}${font webdings:size=16}6${font}${color} ${color8}${downspeed wlan0}/s${alignr}${totaldown wlan0}
    ${color9}${font webdings:size=16}5${font}${color} ${color8}${upspeed wlan0}/s${alignr}${totalup wlan0}
    # TEXT code block 4: END
    Last edited by Petro Dawg; September 1st, 2012 at 05:59 PM.

Page 2046 of 2328 FirstFirst ... 1046154619461996203620442045204620472048205620962146 ... 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
  •