Page 2223 of 2348 FirstFirst ... 1223172321232173221322212222222322242225223322732323 ... LastLast
Results 22,221 to 22,230 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #22221
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stefano-1 View Post

    And here is line 21:
    Code:
    own_window_type conky
    That is part of your problem conky is not an option for own_window_type.

    own_window_type
    if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
    Try:
    Code:
    own_window_type normal

  2. #22222
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stefano-1 View Post
    Thank you very much, I will further experiment with this, thank you for assisting me with this
    Do you know if a way exisit to know how much bandwidth is being used by a specific process / connection?
    That's a neat idea ... I'll have to look into that.

  3. #22223
    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 stefano-1 View Post
    OK, I went back and did some more testing as before taking the screenshot, I was totally missing something!
    If I had text it does appear perfectly well. no problem.
    I think I almost got it to work.

    It seems there is something funny about empty lines.
    The following seems to work however only the first outbound is printed

    Code:
    ${color #0077ff}Inbound: ${color lightgrey}${tcp_portmon 1 32767 count}  ${color #0077ff}Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}
    ${alignr}${color #0077ff}Total: ${color lightgrey}${tcp_portmon 1 65535 count}
    ${color #0077ff}Inbound Connection ${alignr} Local Service/Port${color lightgrey}
     ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
     ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
     ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
     ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
     ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
     ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
     ${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
     ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
     ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
     ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
    I thought about it for a bit and I think a workable way to hide the lines you don't need could be done as follows...

    Code:
    ${color #0077ff}Inbound: ${color lightgrey}${tcp_portmon 1 32767 count}  ${color #0077ff}Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count} ${alignr}${color #0077ff}Total: ${color lightgrey}${tcp_portmon 1 65535 count}
    ${color #0077ff}Inbound Connection ${alignr} Local Service/Port${color lightgrey}${if_empty ${tcp_portmon 1 32767 rhost 0}}${else}
    ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}${endif}${if_empty ${tcp_portmon 1 32767 rhost 1}}${else}
    ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}${endif}${if_empty ${tcp_portmon 1 32767 rhost 2}}${else}
    ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}${endif}${if_empty ${tcp_portmon 1 32767 rhost 3}}${else}
    ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}${endif}${if_empty ${tcp_portmon 1 32767 rhost 4}}${else}
    ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}${endif}${if_empty ${tcp_portmon 1 32767 rhost 5}}${else}
    ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}${endif}${if_empty ${tcp_portmon 1 32767 rhost 6}}${else}
    ${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}${endif}
    ${color #0077ff}Outbound ${color lightgrey}${if_empty ${tcp_portmon 32768 61000 rhost 0}}${else}
    ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 1}}${else}
    ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 2}}${else}
    ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 3}}${else}
    ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 4}}${else}
    ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 5}}${else}
    ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}${endif}${if_empty ${tcp_portmon 32768 61000 rhost 6}}${else}
    ${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}${endif}
    Seems to work OK on my system so far.
    Last edited by Petro Dawg; August 20th, 2013 at 01:13 AM.
    Who's Awesome? You're Awesome.

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

    Re: Post your .conkyrc files w/ screenshots

    Did a bit of remodeling to my Conky over the weekend and this evening. Here's my new design...


    <-with most items off. <- with most items active.


    I decided to keep my Conky fixed in length (which will make Sector11 proud I'm sure); unused items are now just greyed out.


    I also did some behind the scenes updates such as adding an "Edit Conky Files" entry to the launcher which runs a script opening up all the current Conky configuration files in "gedit" (I got tired of having to navigate to them all).

    Edit-Conky.png

    No FF girls and no Tux, but I still really like the look of this one.
    Last edited by Petro Dawg; August 20th, 2013 at 01:52 AM.
    Who's Awesome? You're Awesome.

  5. #22225
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    That is part of your problem conky is not an option for own_window_type.

    Try:
    Code:
    own_window_type normal
    Yes I did spot that, thank you
    I also experimented with the different "own_window_type"
    Thanks!

  6. #22226
    Join Date
    Aug 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    That's a neat idea ... I'll have to look into that.
    This would be fantastic! Thank you

    One other question: How would you make conky invisible and have it appear when you invoke it? I tried using "widgets" in ccsm but wasn't successful with that, I will experiment more, and thank you for any input!

  7. #22227
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stefano-1 View Post
    This would be fantastic! Thank you

    One other question: How would you make conky invisible and have it appear when you invoke it? I tried using "widgets" in ccsm but wasn't successful with that, I will experiment more, and thank you for any input!
    Use a "ssc" script assigned to an icon:
    Code:
    #!/bin/sh
    # click to start, click to stop
        
    if pidof conky | grep [0-9] > /dev/null
       then
          exec killall conky
       else
        
    sleep 30  # sleep not required for xfce on startup - 30 or more for others
       conky -c ~/Conky/conkymain &
       conky -c ~/Conky/conkytext &
       conky -c ~/Conky/conkyemail &
       conky -c ~/Conky/conkyforecast &
        
       exit
    fi
    StartStopConky or SuNjACk's version

  8. #22228
    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 Sector11 View Post
    Use a "ssc" script assigned to an icon:
    Code:
    #!/bin/sh
    # click to start, click to stop
        
    if pidof conky | grep [0-9] > /dev/null
       then
          exec killall conky
       else
        
    sleep 30  # sleep not required for xfce on startup - 30 or more for others
       conky -c ~/Conky/conkymain &
       conky -c ~/Conky/conkytext &
       conky -c ~/Conky/conkyemail &
       conky -c ~/Conky/conkyforecast &
        
       exit
    fi
    StartStopConky or SuNjACk's version
    I understand using a sleep function in an auto startup script, but why use the sleep command in an icon linked manual "click to start/stop" script? (unless you want the script to double as both manual and auto)

    When I click the icon, I want my conky NOW
    Who's Awesome? You're Awesome.

  9. #22229
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    I understand using a sleep function in an auto startup script, but why use the sleep command in an icon linked manual "click to start/stop" script? (unless you want the script to double as both manual and auto)

    When I click the icon, I want my conky NOW
    Hahahahaha comment it out. Yes, it was/is designed for both a long time ago. I now use it with NO sleep at all. But starting it with a sleep in your autostart script work

    Code:
    ## Start conkys
    (sleep 2s && /media/5/Conky/OBMenuS/S11_Current.sh) &
    and my menu entry in OpenBox:
    Code:
    /media/5/Conky/OBMenuS/S11_Current.sh
    Mine is actually a bit more complicated, and it isn't a true Stop / Start double click script:

    click on it and:
    1. if conkys are running it kills them and restarts them
    2. if no conkys are running it starts them


    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
    I still have kfc.sh (Kentucky Fried Conky) to kill my conkys, it's just so easy:
    Code:
    #!/bin/bash
    
       exec killall conky &
    
    exit 0
    but I don't use it anymore, my OB menu has:
    Code:
    			<item label="KFC">
    				<action name="Execute">
    					<execute>killall conky</execute>
    				</action>
    			</item>
    and if I am in a terminal I use the bash alias:
    Code:
    ## Kentucky Fried Conky
    alias kfc='killall conky'
    I have everything covered three ways to Sunday!
    Last edited by Sector11; August 20th, 2013 at 08:14 PM.

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

    Re: Post your .conkyrc files w/ screenshots

    [QUOTE=Sector11;12763298]
    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.
    Last edited by Petro Dawg; August 21st, 2013 at 03:11 AM.
    Who's Awesome? You're Awesome.

Page 2223 of 2348 FirstFirst ... 1223172321232173221322212222222322242225223322732323 ... 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
  •