Page 1716 of 2348 FirstFirst ... 7161216161616661706171417151716171717181726176618162216 ... LastLast
Results 17,151 to 17,160 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #17151
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    i see no reason why this shouldnt work

    however, before you go and put 4 fully featured conkies to be run on each of your desktops, watch out for your cpu usage

    im pretty sure that conky runs everything you put in the conkyrc, the if's only hide or show the results... not stop the code from being executed

    Oh, agreed. However, we won't know that for certain until someone tries this code out. If this solution causes major problems, no feelings of mine will be hurt if someone deems it to be terribly unwise to use.

    And if someone else out there has a better solution than this, I'm happy to endorse it. When push comes to shove, this if statement method only came to me when someone had an issue with Compiz. This method comes from the dark recesses of my mind, but it's little more than an idea. I'm the one who came up with it, so I should be the one to go through the trials of talking someone through it. I'm just taking responsibility for releasing it into the wild, so to speak. It's nowhere near as precious to me as your scripts are to you. Those actually have some real content to them. This thing of mine is little more than an experiment.

  2. #17152
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    well i just tried it to test my idea with this code
    Code:
    TEXT
    ${cpu cpu1} ${cpu cpu2} ${cpu cpu3} 
    ${if_match ${time %S} > 30 }
    yes
    ${else}
    ${exec pstree }
    ${endif}
    and i can say that, at least as far as if_match is concerned, it does stop the code from being run unless the conditions are met

    watching my cup numbers they were much higher when pstree was being displayed when seconds < 30

    edit - the reason i thought the if's didn't was that i remember some time back when somone was using an if but they were getting an error in the terminal (was something about some device being inaccessible) even when the if condition should have been masking the error by not running the command in the first place

    i havnt tried the desktop switching yet

    well ,again speaking only for mint 10, using gnome 2.32 and switching "workspaces" via the workspace switcher, the output from ${desktop} doesn't change, so i would assume i would have to use the "width of the screen" method ... well i remember that i have compiz running so that isnt much of a surprise

    by the way, if your an openbox user there is an easy way to do it
    http://crunchbanglinux.org/forums/post/89653/#p89653
    Last edited by mrpeachy; April 19th, 2011 at 11:51 PM.

  3. #17153
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Well, I appreciate your assistance on this! It's nice to know I'm not completely insane.

    Of course... This statement is nullified considering I WAS awakened from dead sleep by Conky Inspiration a few months back...

    But Thank You! We'll see how it works for elendilnl, and go from there. There may also be unforseen consequences to leaving a blank Conky window on a desktop.

    *EDIT* There are three variables, remember? ${desktop}, ${desktop_name}, and ${desktop_number}... so one of those may be necessary as a variation specifically for gnome, or XFCE4, or KDE, or any number of others. It may well be that the desktop in question goes by another identifier that Conky can read.

    *EDIT 2* I just did a simple test on my own configuration. Nothing pretty. The ${desktop} method works on XFCE4. Since it was only a test of whether or not what I put would show up on the desktops without code in them, I used the same code for two of four workspaces (I went in and temporarily added 3 more to my setup, since it was a test.) and what I didn't want shown wasn't. So, that works. I didn't see any difference in the CPU and RAM usage, but all I did was make my clock disappear. So, I didn't do anything that would've made a difference. Other testers and users of this code might have different results. When elendilnl gets back to us with his results, we'll see how it goes.
    Last edited by 42dorian; April 20th, 2011 at 12:01 AM.

  4. #17154
    Join Date
    Apr 2011
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VinDSL View Post
    I likey! A near-perfect laptop rendition.

    I need to get snapping on my portable desktops...

    Post the particulars, so we can beat it around.
    oh my praises from VinDSL =) i did a bit more changing with background and coloring.

    I was going to use your conkyrc script but i didn't feel like looking for the fonts because i did try to look LOL so i just pieced together my own little setup..

    .Conkyrc
    Code:
    use_xft yes
    xftfont verdana:size=8
    #position
    gap_x 10
    gap_y 50
    alignment top_right
    xftalpha 0.8
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 10
    border_margin 4
    border_width 1
    default_shade_color grey
    default_outline_color black
    default_color BADCDD
    use_spacer none
    no_buffers yes
    uppercase no
    color1 4D6844
    
    
    TEXT
    ${color slate grey}Load: ${color white}$loadavg
    ${color slate grey}Processes: ${color white}$processes  
    ${color slate grey}Running: ${color white}$running_processes
    ${color slate grey}Kernal: ${color white}$kernel
    
    ${color 014A7F}${font StyleBats:size=16} 8${font}${color white}  Battery: ${battery_percent}%
    ${color 014A7F}${font StyleBats:size=18} P${font}${color white} Uptime: ${uptime_short}
    
    ${color white}SYSTEM: ${hr 2}
    
    ${color slate grey}CPU:${color white} $cpu% ${acpitemp}F
    ${alignc}${cpugraph 20,130 000000 ffffff}
    ${color ffffff}${font StyleBats:size=16}A ${font}${color slate grey}CPU0: ${color white}${cpu cpu0}% ${cpubar cpu0}
    ${font StyleBats:size=16}A ${font}${color slate grey}CPU1: ${color white}${cpu cpu1}% ${cpubar cpu1}
    
    ${color slate grey}Highest CPU:
    
    ${color #ddaa00}${top name 1}${top_mem cpu 1}
    ${color lightgrey}${top name 2}${top cpu 2}
    ${color lightgrey}${top name 3}${top cpu 3}
    ${color lightgrey}${top name 4}${top cpu 4}
    
    ${color slate grey}Highest MEM:
    
    ${color #ddaa00}${top_mem name 1}${top_mem mem 1}
    ${color lightgrey}${top_mem name 2}${top_mem mem 2}
    ${color lightgrey}${top_mem name 3}${top_mem mem 3}
    ${color lightgrey}${top_mem name 4}${top_mem mem 4}
    
    ${color slate grey}ROOT:    $alignr${color white}${fs_free /}/${fs_size /}
    ${fs_bar 4,000 /}
    
    ${color slate grey}Home:    $alignr${color white}${fs_free /home}/${fs_size /home}
    ${fs_bar 4,000 /home}
    
       ${color 014A7F}${font PizzaDude Bullets:size=16}J${font}${color white} $mem / $memmax
    
    NETWORK: ${hr 2}
    
    ${color slate grey}Wifi:${alignr}${color white}(${color}${addr wlan0}${color #9fb6cd})
    
    ${color}Up: ${color white}${upspeed wlan0} k/s
    ${alignc}${upspeedgraph wlan0 20,130 000000 ffffff}
    ${color}Down: ${color white}${downspeed wlan0}k/s${color white}
    ${alignc}${downspeedgraph wlan0 20,130 000000 ffffff}
    
       ${color 014A7F}${font PizzaDude Bullets:size=16}M${font} ${color white} Upload:${totalup wlan0}
       ${color 014A7F}${font PizzaDude Bullets:size=16}S${font}  ${color white}Download:${totaldown wlan0}
    
    ${color white}${font Radio Space:size=14}${alignc}${time %A %d %Y}
    ${color sky blue}${font Radio Space:size=35}${alignc}${time %H:%M}
    .gmail.py
    Code:
    import os
    import string
    
    #Enter your username and password below within double quotes
    # eg. username="username" and password="password"
    username="username"
    password="password"
    
    com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"
    
    temp=os.popen(com)
    msg=temp.read()
    index=string.find(msg,"<fullcount>")
    index2=string.find(msg,"</fullcount>")
    fc=int(msg[index+11:index2])
    
    if fc==0:
       print "No new messages"
    else:
       print str(fc)+" New"
    .conkyForecast.template
    Code:
    ${voffset 5}${goto 10}${color slate grey}${font ConkyWeather:style=Bold:size=40}[--datatype=WF]${font}
    ${voffset 5}${goto 20}${color white}[--datatype=HT --hideunits --imperial --centeredwidth=3]/[--datatype=LT --hideunits --imperial --centeredwidth=3]
    ${voffset 10}${goto 10}${color slate grey}${font ConkyWindNESW:size=40}[--datatype=BS]${font}
    ${voffset 5}${goto 10}${color white}[--datatype=WS --imperial] - [--datatype=WD]
    ${voffset -145}${goto 100}${color white}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT]${font}
    ${voffset 10}${goto 100}${color light blue}Station: ${color1}[--datatype=OB]
    ${goto 100}${color light blue}Rain: ${color1}[--datatype=PC]
    ${goto 100}${color light blue}UV: ${color1}[--datatype=UI] - [--datatype=UT]
    ${goto 100}${color light blue}Humidity: ${color1}[--datatype=HM]
    ${goto 100}${color light blue}Dew Point: ${color1}[--datatype=DP --imperial]
    ${goto 100}${color light blue}Sunrise/Set: ${color1}[--datatype=SR] / [--datatype=SS]
    ${goto 100}${color light blue}Bar: ${color1}[--datatype=BR] - [--datatype=BD]
    ${goto 100}${color light blue}Moon: ${color1}[--datatype=MP]
    ${voffset 25}${color slate grey}${goto 25}[--datatype=DW --startday=1 --shortweekday]${goto 100}[--datatype=DW --startday=2 --shortweekday]${goto 175}[--datatype=DW --startday=3 --shortweekday]${goto 250}[--datatype=DW --startday=4 --shortweekday]
    ${voffset 10}${goto 10}${font ConkyWeather:size=32}[--datatype=WF --startday=1 --endday=4 --spaces=3]${font}
    ${voffset 15}${goto 15}${color white}[--datatype=HT --hideunits --imperial --startday=1 --centeredwidth=3]/[--datatype=LT --hideunits --imperial --startday=1 --centeredwidth=3]${goto 90}[--datatype=HT --hideunits --imperial --startday=2 --centeredwidth=3]/[--datatype=LT --hideunits --imperial --startday=2 --centeredwidth=3]${goto 170}[--datatype=HT --hideunits --imperial --startday=3 --centeredwidth=3]/[--datatype=LT --hideunits --imperial --startday=3 --centeredwidth=3]${goto 245}[--datatype=HT --hideunits --imperial --startday=4 --centeredwidth=3]/[--datatype=LT --hideunits --imperial --startday=4 --centeredwidth=3]
    .conkyrc2
    Code:
    # conky configuration
    
    # set to yes if you want Conky to be forked in the background
    background yes
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    #xftfont Bitstream Vera Sans Mono:size=8
    #xftfont Terminus:size=8
    xftfont Sans:size=8
    
    # Text alpha when using Xft
    xftalpha 0.2
    
    # Print everything to console?
    # out_to_console no
    
    # mail spool
    #mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 0.5
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar,sticky
    #own_window_hints undecorated,below,sticky
    background yes
    own_window_colour blue
    own_window_transparent yes
    #own_window_type desktop
    
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 50 5
    
    # Draw shades?
    draw_shades yes
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 3
    
    # border margins
    border_margin 9
    
    # border width
    border_width 10
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white
    
    # Text alignment, other possible values are commented
    #alignment bottom_left
    alignment bottom_left
    #alignment bottom_left
    #alignment bottom_left
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 327
    gap_y 842
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no
    
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer yes
    #Note: doesn't work in conky 1.2 =(
    
    #   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
    #   mldonkey_port         Mldonkey port, 4001 default
    #   mldonkey_login        Mldonkey login, default none
    #   mldonkey_password     Mldonkey password, default none
    
    
    # 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@hoome 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
    ${offset -5}${color lime green}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Emails${font}  ${hr}${color1}
    
    ${color}SamonnSom@Gmail.com
    ${color 95956B}${color slate grey}${execi 300 python ~/.conky/gmail.py} 
    
    ${offset -5}${color lime green}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Muzik${font}  ${hr}${color1}
    
    ${color slate grey}Status: ${color1}${font}${exec conkyRhythmbox --datatype=ST}
    ${color slate grey}Artist: ${color1}${font}${exec conkyRhythmbox --datatype=AR}
    ${color slate grey}Title: ${color1}${font}${exec conkyRhythmbox --datatype=TI} 
    ${color slate grey}Position: ${color1}${font}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE}
    ${color slate grey}Rating: ${color1}${font}${exec conkyRhythmbox --datatype=RT}
    ${color slate grey}Volume: ${color1}${font}${exec conkyRhythmbox --datatype=VO}
    .conkyrc3
    Code:
     conky configuration
    # edited by Mark Buck (Kaivalagi) <m_buck@hotmail.com>
    
    # set to yes if you want Conky to be forked in the background
    background no
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=9
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Update interval in seconds
    update_interval 1.0
    
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 300 0
    maximum_width 300
    
    # Draw shades?
    draw_shades yes
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    draw_graph_borders yes
    
    # Stippled borders?
    stippled_borders 8
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white
    
    # own window options
    own_window		yes
    own_window_transparent	yes
    own_window_type		override
    own_window_hints	undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Text alignment, other possible values are commented
    #alignment bottom_left
    alignment bottom_left
    #alignment bottom_left
    #alignment bottom_left
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 10
    gap_y 385
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer right
    
    # colours
    color1 white
    # light blue
    color2 6892C6
    # orange
    #E77320
    color3 FC8820
    # green
    color4 78BF39
    # red
    color5 CC0000
    
    text_buffer_size 2048
    
    # 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
    ${offset -5}${color lime green}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font}  ${hr}${color1}
    ${color3}${color1}
    ${execpi 1800 conkyForecast --location=USMA0223 --template=/home/samonn/.conky/.conkyForecast.template}
    ${color white}${alignc}${color light blue}${exec conkyForecast-SunsetSunriseCountdown --location=USMA0223 -t}: ${exec conkyForecast-SunsetSunriseCountdown --location=USMA0223 -L}
    .conkyrc4
    Code:
    #avoid flicker                                                
    double_buffer yes                                             
    
    #own window to run simultanious 2 or more conkys
    own_window  yes                                 
    own_window_transparent yes
    own_window_type normal                          
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
    #borders
    draw_borders no
    border_margin 1
    
    #shades
    draw_shades yes
    
    #position
    gap_x 10
    gap_y 200
    alignment bottom_left
    
    #behaviour
    update_interval 1
    
    #colour
    default_color  ffffff
    default_shade_color 000000
    own_window_colour 555555
    default_outline_color 01040d
    draw_outline no
    
    #font
    use_xft yes
    xftfont DejaVu Sans:pixelsize=10
    
    #to prevent window from moving
    #use_spacer no               
    minimum_size  300 250
    #mpd
    mpd_host localhost
    mpd_port 6600     
    
    # Possible variables to be used:
    #                               
    #      Variable         Arguments                  Description                
    #  acpiacadapter                     ACPI ac adapter state.                   
    #  acpifan                           ACPI fan state                           
    #  acpitemp                          ACPI temperature.                        
    #  adt746xcpu     
                       CPU temperature from therm_adt746x       
    #  adt746xfan                        Fan speed from therm_adt746x             
    #  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                   
    #  downspeed         net             Download speed in kilobytes              
    #  downspeedf        net             Download speed in kilobytes with one     
    #                                    decimal                                  
    #  exec              shell command   Executes a shell command and displays    
    #                                    the output in torsmo. warning: this      
    #                                    takes a lot more resources than other    
    #                                    variables. I'd recommend coding wanted   
    #                                    behaviour in C and posting a patch :-).  
    #  execi             interval, shell Same as exec but with specific interval. 
    #                    command         Interval can't be less than              
    #                                    update_interval in configuration.        
    #  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 
    #                                    meaning temperature. n is number of the  
    #                                    sensor. See /sys/bus/i2c/devices/ on     
    #                                    your local computer.                     
    #  kernel                            Kernel version                           
    #  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              
    #  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 
    #                                    torsmo 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           
    #  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 torsmo   
    #                                    has started.                             
    #  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                                  
    #  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@hoome 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
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}
    #$alignc center text
    text_buffer_size 6076
    
    TEXT
    ${offset -5}${Color lime green}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}FaceBook Notifications${font}  ${hr}${color1}
    
    ${rss http://www.facebook.com/feeds/notifications.php?id=758358899&viewer=758358899&key=AQBS8A2gJPbbv2Vb&format=rss20 1 item_titles 10 }
    
    ${offset -5}${Color lime green}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Photos${font}  ${hr}${color1}
    Attached Images Attached Images
    Last edited by mugenfanatic; April 20th, 2011 at 01:34 AM.

  5. #17155
    Join Date
    Feb 2009
    Beans
    433

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    just tried this out and all you have to do is remove the " around the 0

    if you ever get something that you think should work but doesn't try launching conky via the terminal, thats what gave me the solution this time

    Code:
    Conky: trying to compare args '15 ' and ' "0"' of different type
    Conky: compare failed for expression '15 == "0"'
    thanks, that worked perfectly, yes I need to remember to run them in terminal.

  6. #17156
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mugenfanatic View Post
    I did a bit more changing with background and coloring.

    I was going to use your conkyrc script but i didn't feel like looking for the fonts [...]
    Good job! Really! I'm glad you went in your own direction.

    Portables (laptops, netbooks, tablets, smart phones, etc) ARE different than desktop machines. It's a real estate thing...

    When I'm using a desktop PC, I want my launcher on the left side, my Conky on the right side, and the proggies in the middle, e.g. I want to see the launcher, Conky, and the programs, all at the same time.

    You don't have that luxury with portables, so why even try?!?!?

    Conversely, that's what I don't like about some Conky setups on desktop machines. You cannot see Conky, because it's spread out all over the desktop, and program/app covers it up.

    Many ppl have taken my desktop Conky, divided it up, and used it on their portables. While this is flattering, in a sense, to my way of thinking, it doesn't look right.

    Your Conky setup has given me some ideas. Thanks!

    Natty Final will be released soon, and I can quit obsessing on it.

    There will be a honeymoon period between Natty and Oneiric, while the devs catch their breath, and I'll use that time to come up with a Conky setup for my portables.

    Thanks for posting your code, and keep us updated, when you make changes...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  7. #17157
    Join Date
    Aug 2007
    Location
    Belgium
    Beans
    176
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by djyoung4 View Post
    Ok heres what I got so far El_Belgicano. The if statement is most likely wrong for printing them in red but I think I got the structure right. any bash experts care to lend a helping hand
    nevermind that would be wrong with the if statement because then it would mean it would print color red whenever there was and encryption key: off
    Code:
    #!/bin/bash
    
    #Version=0.1(20110419)
    #conkyESSID
    #A simple ESSID reader that will display in conky
    #In order to make this script work add this line: %admin ALL=(ALL)NOPASSWD:/sbin/iwlist to sudo visudo
    sudo iwlist eth1 scan | grep "ESSID" | sed s/ESSID://
    if sudo iwlist eth1 scan | grep "Ecryption key:off"
    then $print color red
    fi
    exit
    I guess this is a lot like the command we're looking for:
    Code:
    sudo iwlist wlan0 scan | awk -F '[ :=]+' '/ESS/{ printf $3" " } /Encr/{ printf "-"$4"- " } /Qual/{ print $3 }' | sed "s/\"//g;s/-on-/S/;s/-off-/O/;s/\/100/%/" | awk -F '[ :=]+' '/%/{ print "-"$2"- "$3" "$1 }' | sed "s/-O- /\${color red}/;s/-S- //"
    Of course the specifics of your needs may change...
    El Belgicano
    -----------------
    Laptop: 5 years old Asus M6N (ATI9600/9700 graphics, 512Mb RAM, Intel Mobile 1.66GHz, 60Gb HDD) running 10.04-Lucid Lynx pretty nicely.

  8. #17158
    Join Date
    Apr 2011
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    I have a problem with Conky. After the upgrade to 11.04, the calendar function, that highlight the day, in the middle of the calendar, do not work anymore, showing me a bogus square pair, around the current day.

  9. #17159
    Join Date
    Apr 2011
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    The script is this:

    Code:
    ${voffset -4}${color0}${font Poky:size=16}D${font}${voffset -8}${font Droid Sans:style=Bold:size=7}${offset -17}${voffset 4}${time %d}${font}${color}${voffset -1}${font Droid Sans Mono:size=7}${execpi 300 DJS=`date +%_d`; cal | sed '2,7!d' | sed '/./!d' | sed 's/^/${goto 32} /' | sed 's/$/ /' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "' ${font Droid Sans:style=Bold:size=8}${color1}'"$DJS"'${color}${font Droid Sans Mono:size=7}'" "/}${voffset -1}

  10. #17160
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Muleo10 View Post
    The script is this:

    Code:
    ${voffset -4}${color0}${font Poky:size=16}D${font}${voffset -8}${font Droid Sans:style=Bold:size=7}${offset -17}${voffset 4}${time %d}${font}${color}${voffset -1}${font Droid Sans Mono:size=7}${execpi 300 DJS=`date +%_d`; cal | sed '2,7!d' | sed '/./!d' | sed 's/^/${goto 32} /' | sed 's/$/ /' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "' ${font Droid Sans:style=Bold:size=8}${color1}'"$DJS"'${color}${font Droid Sans Mono:size=7}'" "/}${voffset -1}
    Yes. VinDSL's Calendar section from his Natty 11.04 test setup should solve that for you.

    He's been working on how to set the differences for a while now. Just don't copy the entire script, you need his calendar section. Specifically his 11.04 version. Check back a few pages (maybe closer to 10 pages at this point.) for his last data dump.

    *EDIT* Sorry, it took me a while to go find it for you. Here it is here. Nab from it the parts you need.

    Code:
    ##################################
    ##           CALENDAR           ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 16}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %A}${font}
    ${voffset -4}${if_match ${time %e}<=9}${font DroidSansFallback:bold:size=18}${color5}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${font DroidSansFallback:bold:size=18}${color5}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color3}${alignc 60}${time %Y}${font}
    ####
    ## Uncomment for Conky 1.8.0
    ${voffset -75}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_8"'\>/${color4}&${color3}/'}${font}
    ####
    ## Uncomment for Conky 1.8.1
    #  ${voffset -75}${offset 100}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e 's/\<'"$VinDSL_Cal_8"'\>/${color4}&${color3}/'}${font}
    ${voffset -99}${font CutOutsFor3DFX:size=67}${color8}${alignc 99}2${font}
    Last edited by 42dorian; April 20th, 2011 at 07:54 PM.

Page 1716 of 2348 FirstFirst ... 7161216161616661706171417151716171717181726176618162216 ... 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
  •