Page 2224 of 2348 FirstFirst ... 1224172421242174221422222223222422252226223422742324 ... LastLast
Results 22,231 to 22,240 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #22231
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Hey Petro Dawg,
    Can you show the script your using for the Exec command and how it works.

    Code:
    [Desktop Action Main]
    Exec=/home/greg/.conky/Main/ConkyMain.command --main
    Name=Main

  2. #22232
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Hey Petro Dawg,
    Can you show the script your using for the Exec command and how it works.

    Code:
    [Desktop Action Main]
    Exec=/home/greg/.conky/Main/ConkyMain.command --main
    Name=Main
    I did in the previous post, however I mistakenly called it Conkymain.command instead of ConkyMain.command, its fixed now in the original post.
    Who's Awesome? You're Awesome.

  3. #22233
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    I did in the previous post, however I mistakenly called it Conkymain.command instead of ConkyMain.command, its fixed now in the original post.
    Ahh it's ok.
    i thought "--main" was part of the command but it's just a comment.

  4. #22234
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    WOW, there be a lot of Conkys in that script.
    And it has been cutback - a LOT!

    Here's an old backup and it's not as busy as when I had conkys running on 5 desktops:
    Code:
    #!/bin/bash
    # click to start, click to stop
    
    if pidof conky | grep [0-9] > /dev/null
      then
    	exec killall conky
      else
    
    # on all desktops
    #	conky -c /media/5/conky/test274.johnraff.conky &
    #	conky -c /media/5/conky/test275.johnraff.conky &
    #	conky -c /media/5/conky/test287.memory.conky &
    #	conky -c /media/5/Conky/S11_email.conky &
    	conky -c /media/5/Conky/S11_Email_1.conky &
    
    # Start with low sleep and build up per desktop.
    
    # on desktop 4 only
    	(sleep 2s && wmctrl -s 3 && conky -c /media/5/Conky/S11_Disk_Activity.conky) &
    #	(sleep 1s && wmctrl -s 3 && conky -c /media/5/Conky/mrp/conky3/conky3.conky) &
    #	(sleep 1s && wmctrl -s 3 && conky -c /media/5/conky/Didier-T/conkyrc_meteo_graph_baro) &
    #	(sleep 1s && wmctrl -s 3 && conky -c /media/5/conky/Didier-T/conkyrc_meteo_lua) &
    
    # on desktop 3 only
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock_2.conky) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/jed_greyclock_conkyrc) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/Chronograph_mrpeachy.conky) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/conky/Didier-T/conkyrc_meteo_graph_baro) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/conky/Didier-T/conkyrc_meteo_lua) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/S11_CRT.conkyrc) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/S11_CRT_v9.conkyrc) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/Chronograph_mrpeachy.conky) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/PetroDawg/PetroDawg.conky) &
    #	(sleep 2s && wmctrl -s 2 && conky -c /media/5/Conky/PetroDawg/PetroDawg2.conky) &
    #	(sleep 6s && wmctrl -s 2 && conky -c ~/.conkyrc.CRT) &
    #####	(sleep 6s && wmctrl -s 2 && conky -c /media/5/Conky/S11_HUD3.conky) &
    
    # on desktop 2 only (change to 5s if using desktop 3)
    	#(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Dates.conky) &
    	#(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Rem_Cal.conky) &
    #	(sleep 2s && wmctrl -s 1 && conky -c /media/5/Conky/S11_VNS.conky) &
    #	(sleep 2s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Disk_Activity.conky) &
    #	(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_NOAA.conky) & ## CHEWS UP MEMORY!
    #	(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_v9_SM.conky) &
    #	(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_mrp_FSYS.conky) &
    #	(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_v9_H.conky) &
    #	(sleep 4s && wmctrl -s 1 && conky -c /media/5/Conky/S11_v9_R.conky) &
    
    # on desktop 1 only (change to 10s if using desktop 3)
    	#(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Top_Right.conky) &
    	#(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_v9_Vert.conky) &
    	#(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_VRX.conky) &
    #	(sleep 4s && wmctrl -s 0 && conky -c /media/5/Conky/S11_CRT_v9.conkyrc) &
    #	(sleep 2s && wmctrl -s 0 && conky -c /media/5/conky/S11_Conky/conkymain) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_VRX.conky) &
    #	(sleep 10s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Cal_br.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_ConkyForecast_2013) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/Chronograph_mrpeachy.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/Radiotray.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Chronograph_Full_2.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock_2.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Chronograph.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Chronograph_2.conky) &
    #	(sleep 6s && wmctrl -s 0 && conky -c /media/5/Conky/S11_coin.conky) &
    
    fi
    exit
    But in all fairness, I test conkys

    Quote Originally Posted by Petro Dawg View Post
    I went with a simple start/kill script like this for each of my three (yes... 3) Conkys...

    ConkyMain.command
    Code:
    #!/bin/bash
    if pgrep -f "conky -c /home/greg/.conky/Main/conkyrc"
    then
        pkill -xf "conky -c /home/greg/.conky/Main/conkyrc"
    else
        conky -c ~/.conky/Main/conkyrc
    fi
    Just in case anyone out there wants to know how it's done.
    OH, I'm going to look at that desktop idea. Thank you!

    I also use that script above, I have almost 30 of them ... sample:
    Code:
    #!/bin/bash
    ## click to start, click to stop
    ## Original script by: GrouchyGaijin
    ##    to start stop a specific conky
    ## This idea by: Stinkeye - Jan 2013
    ## With another tweak by: arclance
    ## Final tweak by: Sector11 - added wmctrl - DUH!
    #if pgrep -f "conky -c /media/5/Conky/S11_all-text.conky"
    #then
    #	pkill -xf "conky -c /media/5/Conky/S11_all-text.conky"
    #else
    #	wmctrl -s 5 && conky -c "/media/5/Conky/S11_all-text.conky"
    #fi
    
    if pgrep -f "conky -c /media/5/Conky/CM/CM_Main.conky"
    then
    	pkill -xf "conky -c /media/5/Conky/CM/CM_Main.conky"
    else
    	conky -c /media/5/Conky/CM/CM_Main.conky
    fi

  5. #22235
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    [QUOTE=Petro Dawg;12763605]
    Quote Originally Posted by Sector11 View Post
    S11_Current.sh
    Code:
    #!/bin/bash
    
    if pidof conky | grep [0-9] > /dev/null
      then
        killall conky &
    
    # Start with low sleep on highest desktop
    # Increase sleep as desktop lowers to insure the conky is running before changing desktops.
    # on desktop 4 only | no sticky
        (sleep 1s && wmctrl -s 3) &
    # on desktop 3 only | no sticky
        (sleep 2s && wmctrl -s 2) &
    # on desktop 2 only | no sticky
        (sleep 3s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Dates.conky) &
        (sleep 3s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Rem_Cal.conky) &
    
    # on desktop 1 only | no sticky
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_VRX.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Arg-blue.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Email_1.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_all-text.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/conkybarre_v9000) &
    
    # on all desktops | sticky
        (sleep 1s && conky -c /media/5/Conky/DiceClock/Dice-Clock.conky) &
        (sleep 1s && conky -c /media/5/Conky/DiceClock/Dice-Date.conky) &
      exit
    
    else
    # Start with low sleep on highest desktop
    # Increase sleep as desktop lowers to insure the conky is running before changing desktops.
    # on desktop 4 only | no sticky
        (sleep 1s && wmctrl -s 3) &
    # on desktop 3 only | no sticky
        (sleep 2s && wmctrl -s 2) &
    # on desktop 2 only | no sticky
        (sleep 3s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Dates.conky) &
        (sleep 3s && wmctrl -s 1 && conky -c /media/5/Conky/S11_Rem_Cal.conky) &
    
    # on desktop 1 only | no sticky
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_VRX.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Arg-blue.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_Email_1.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/S11_all-text.conky) &
        (sleep 5s && wmctrl -s 0 && conky -c /media/5/Conky/conkybarre_v9000) &
    
    # on all desktops | sticky
        (sleep 1s && conky -c /media/5/Conky/DiceClock/Dice-Clock.conky) &
        (sleep 1s && conky -c /media/5/Conky/DiceClock/Dice-Date.conky) &
      exit
    fi
    WOW, there be a lot of Conkys in that script.

    I went with a simple start/kill script like this for each of my three (yes... 3) Conkys...

    ConkyMain.command
    Code:
    #!/bin/bash
    if pgrep -f "conky -c /home/greg/.conky/Main/conkyrc"
    then
        pkill -xf "conky -c /home/greg/.conky/Main/conkyrc"
    else
        conky -c ~/.conky/Main/conkyrc
    fi
    as well as a script to start them all...

    Conky.command
    Code:
    #!/bin/bash
    conky -c ~/.conky/Main/conkyrc &
    conky -c ~/.conky/Main/conkyemailrc &
    conky -c ~/.conky/Main/conkycalrc &
    and a script to kill them all...

    ConkyKill.command
    Code:
    #!/bin/bash
    killall conky
    and a script to open my Conky config files...

    ConkyEdit.command
    Code:
    #!/bin/bash
    gedit ~/.conky/Main/conkyrc &
    gedit ~/.conky/Main/conkycalrc &
    gedit ~/.conky/Main/conkyemailrc &
    All these scripts are pulled together using a desktop file saved in my ~/.local/share/applications folder like so...

    Conky.desktop
    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Exec=/home/greg/.conky/Main/Conky.command
    Icon=conky
    Type=Application
    Terminal=false
    Name=Conky
    GenericName=Conky
    StartupNotify=false
    Categories=system
    Actions=Main;E-Mail;Calendar;Edit;KillAll;
    
    
    [Desktop Action Main]
    Exec=/home/greg/.conky/Main/ConkyMain.command --main
    Name=Main
    
    
    [Desktop Action E-Mail]
    Exec=/home/greg/.conky/Main/ConkyMail.command --e-mail
    Name=E-Mail
    
    
    [Desktop Action Calendar]
    Exec=/home/greg/.conky/Main/ConkyCalendar.command --calendar
    Name=Calendar
    
    
    [Desktop Action Edit]
    Exec=/home/greg/.conky/Main/ConkyEdit.command --edit
    Name=Edit Conky Files
    
    
    [Desktop Action KillAll]
    Exec=/home/greg/.conky/Main/ConkyKill.command --killall
    Name=Killall

    Just in case anyone out there wants to know how it's done.
    Thank you very much Petro Dawg, this is awesome
    I have been playing a bit more with conky, it's really wonderful

  6. #22236
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Ok, I have one other question if it's not too much to ask

    I now have 2 isntances of conky, a small one that autostarts and another one that I start when I need with more info.
    Here is a screenshot: http://i.imgur.com/ROJCrNw.png

    Issues / questions:
    1. The text keeps going down from left to right, I am not sure what is pushing text down as it goes
    2. conky reserves some space below the menu panel making it impossible to pull windows up to the unity menu panel as usual (see space between panel and sublime editor)
    3. can I make the down / up speed graph into one single graph with 2 colors? I looked for this but could not find any useful examples



    I include my connkyrc here
    Code:
    ##################################################################################
    ## Conky by http://jameshardy88.deviantart.com/art/Conky-JamesHardy88-122466724 ##
    ##            Modified by Umair - http://www.NoobsLab.com            ##
    ##################################################################################
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=11
    xftalpha 0.8
    text_buffer_size 2048
    
    # Update interval in seconds
    update_interval 1
    
    # 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_transparent yes
    own_window_type panel
    own_window_argb_visual yes
    own_window_hints undecorated,sticky,above
    
    
    # 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 no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 0
    
    # border margins
    border_inner_margin 0
    border_outer_margin 0
    
    # border width
    #border_width 1
    
    # Default colors and also border colors
    default_color FFFFFF
    #default_shade_color black
    #default_outline_color white
    own_window_colour white
    
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 615
    gap_y -15
    
    # 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 1
    
    # 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 none
    
    TEXT
    ${if_running rhythmbox}
    ${font j.d.:size=10}${color3}${execi 5 lyricsdownloader -t 35 | fold -sw25}
    ${else}
    ${font PizzaDude Bullets:size=14}\${font} ${cpu}% ${if_existing /proc/net/route wlan0} ${color 00FF00}${downspeedgraph wlan0 12,30}${color FF0000}${upspeedgraph wlan0 12,30}  ${color FFFFFF}${font PizzaDude Bullets:size=14}O${font} ${upspeed wlan0} ${alignr}${font PizzaDude Bullets:size=14}U${font}  ${downspeed wlan0}${endif}
    ${if_existing /proc/net/route eth0}
    ${endif}
    ${endif}
    Thank you very much for your help, I so appreciate this!

  7. #22237
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    I would recommend something like...

    Code:
    ${voffset -2}
    before the text you wish to move up a bit. You may need to play with the value to get it right, and may need to place several in the code to get everything aligned.

    The code above will vertically offset any following text by 2 pixels upward (a positive value will move text downward). Its handy when mixing fonts or having graphs inline with text.

    The reserved space issue is due to your own_window_type = panel, you might try setting this to normal or override to get rid of the reserved space. Otherwise you might just place a large voffset variable (like -25 or so) at the end of the code to pull up any empty space that follows.

    Let us know it any of that works for you or not.
    Last edited by Petro Dawg; August 21st, 2013 at 09:25 PM.
    Who's Awesome? You're Awesome.

  8. #22238
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    I would recommend something like...

    Code:
    ${voffset -2}
    before the text you wish to move up a bit. You may need to play with the value to get it right, and may need to place several in the code to get everything aligned.

    The code above will vertically offset any following text by 2 pixels upward (a positive value will move text downward). Its handy when mixing fonts of having graphs inline with text.

    The reserved space issue is due to your own_window_type = panel, you might try setting this to normal or override to get rid of the reserved space. Otherwise you might just place a large voffset variable (like -25 or so) at the end of the code to pull up any empty space that follows.

    Let us know it any of that works for you or not.
    Thank you very much!
    I had to place various voffset, it didn't occur to me that I could use many inline just before and after depending where it was needed, thank you!

    As for the reserved space underneath I had to use voffset again. Any window_type other than panel would not allow conky to sit on top of unity menu panel.

    OOOPPS one more issue!
    the hot corners on top don't work anymore.

    arg
    Last edited by stefano-1; August 21st, 2013 at 09:09 PM. Reason: Actually

  9. #22239
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Post your .conkyrc files w/ screenshots

    Don't know much about "hot corners" and this may not have any impact, but try aligning your Conky to top_middle instead of top_right. You'll also have to adjust your gap_x value to get the Conky repositioned correctly.
    Last edited by Petro Dawg; August 21st, 2013 at 09:37 PM.
    Who's Awesome? You're Awesome.

  10. #22240
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    Don't know much about "hot corners" and this may not have any impact, but try aligning your Conky to top_middle instead of top_right. You'll also have to adjust your gap_x value to get the Conky repositioned correctly.
    You are a legend!
    Thank you Petro Dawg, can I invite you for something? a drink? Tea? Coffee? Beer? if you have a donate button somewhere, let me know!

    All working great for now, I will consider further refinements in the future!

Page 2224 of 2348 FirstFirst ... 1224172421242174221422222223222422252226223422742324 ... 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
  •