Page 2150 of 2293 FirstFirst ... 1150165020502100214021482149215021512152216022002250 ... LastLast
Results 21,491 to 21,500 of 22921

Thread: Post your .conkyrc files w/ screenshots

  1. #21491
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arclance View Post
    Why not use?
    Code:
    pkill -f "conky.*-c.*calendar-conky"
    That will kill conky process running with the "calendar-conky" .conkyrc.
    It should also not kill certain text editors if you have your .conkyrc open in them.
    Another one .... arkfc works with $1 as well.

    Nice arclance. Thanks.
    Two in one day

    Hey stinkeye you can retire the "All or nuttin'. Go hard or go home." now.

    KFC has a couple of cousins!

  2. #21492
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    672
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arclance View Post
    Why not use?
    Code:
    pkill -f "conky.*-c.*calendar-conky"
    That will kill conky process running with the "calendar-conky" .conkyrc.
    It should also not kill certain text editors if you have your .conkyrc open in them.
    Sounds good to me. I knew that there was a more efficient way to do it.
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  3. #21493
    Join Date
    Aug 2010
    Location
    Detachment 7
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Another great looking desktop thanks to everyone else! I just copy/paste! The Conky on the left is courtesy of falldown! The awesome weather script at top right is the great work of arclance! (this weather script will also display live sat and radar images if you like) The cool wallpaper is courtesy of Sector11 and jst_joe over at the VSIDO Community!

    Last edited by Jedcurtis; January 21st, 2013 at 11:43 AM.
    | [I]Running 'VSIDO' | My blog |

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

    Re: Post your .conkyrc files w/ screenshots

    Keeping with what appears to be my current trend of "Those things which = 0, or are not applicable, should remain unseen", I updated my weather Conky to only display precip. chances when they do not equal 0% to make it easier to spot when rain/snow may occur. I mean, my precious time can't be wasted actually reading an entire line of numbers, right?

    I'm still not settled on my "Astro" Conky yet, but it's getting closer to what I want.
    Attached Images Attached Images
    Who's Awesome? You're Awesome.

  5. #21495
    Join Date
    Feb 2007
    Location
    Canada
    Beans
    42
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Lightbulb Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by GrouchyGaijin View Post
    I ran into SSL issues with version 2.1 which is in the repository. I looked about and found that people were having multiple issues with 2.1 so I downloaded 2.2 from the gcalcli site (https://github.com/insanum/gcalcli) and the SSL works now. That may solve the Unicode issue as well.

    Personally though, I prefer Kaivalagi's Conky Google Calendar script.
    Thank you for this suggestion. The current version according to the gcalcli site is v2.3. My gcalcli is v2.1. How can I update to the latest version? I've tried moving the updated gcalcli into my bin directory, but even after rebooting, the version still shows v2.1.

    Best,
    I'm screwed but I'm still laughing! o_0

  6. #21496
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arclance View Post
    Why not use?
    Code:
    pkill -f "conky.*-c.*calendar-conky"
    That will kill conky process running with the "calendar-conky" .conkyrc.
    It should also not kill certain text editors if you have your .conkyrc open in them.
    Hi arclance,
    Can you explain how the syntax works eg the ".*"
    Does getting the command line from system monitor do the same?
    Makes it easier for me as I can just copy and paste without having to use my old brain.
    eg
    Code:
    pkill -f "conky -c /home/glen/conky/configs/demo-conkyrc"
    Last edited by stinkeye; January 20th, 2013 at 03:14 AM.

  7. #21497
    Join Date
    Aug 2011
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Hi arclance,
    Can you explain how the syntax works eg the ".*"
    Does getting the command line from system monitor do the same?
    Makes it easier for me as I can just copy and paste without having to use my old brain.
    eg
    Code:
    pkill -f "conky -c /home/glen/conky/configs/demo-conkyrc"
    The ".*" is a multi-character wildcard.
    pkill accepts "Extended Regular Expression" format arguments that is why you use ".*" as a wildcard.
    The reason to use it in this case is so that the kill command will work if you have passed other command line options to conky along with "-c" and no mater what type of path you specify for the .conyrc.

    The "-f" option specifies to match the full command used to start the process and not just the executable name.

    You command would work fine.
    Using the wildcards is easier when you don't have the command prepared already or want to script something.
    Building Conky | iCalendar Conky | Weather Script | Background List
    Intel Core i7-2600K - 3.40GHz | Asus P8Z68-V LE | 8GB RAM - 1866 MHz | Nvidia GeForce GTX 560 Ti

  8. #21498
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by arclance View Post
    The ".*" is a multi-character wildcard.
    pkill accepts "Extended Regular Expression" format arguments that is why you use ".*" as a wildcard.
    The reason to use it in this case is so that the kill command will work if you have passed other command line options to conky along with "-c" and no mater what type of path you specify for the .conyrc.

    The "-f" option specifies to match the full command used to start the process and not just the executable name.

    You command would work fine.
    Using the wildcards is easier when you don't have the command prepared already or want to script something.
    Thanks for that. Been looking for a way to kill an individual conky process.
    Now I can add a toggle just for my demo conky to run in terminal.
    eg
    Code:
    #!/bin/bash
    
    ## click to start, click to stop
    
    if pgrep -f "conky -c /home/glen/conky/configs/demo-conkyrc"
    then
    	pkill -xf "conky -c /home/glen/conky/configs/demo-conkyrc" 
    else
    	gnome-terminal -e "conky -c /home/glen/conky/configs/demo-conkyrc"
    fi
    I found that when running conky in terminal pgrep -f "conky -c /home/glen/conky/configs/demo-conkyrc"
    returned a PID for the both the terminal and conky and the pkill -f command would sometimes kill the terminal and the conky would still run.
    Using pkill -xf for an exact match, killed conky.
    Last edited by stinkeye; January 20th, 2013 at 07:53 AM.

  9. #21499
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    672
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by EarnestLearner View Post
    Thank you for this suggestion. The current version according to the gcalcli site is v2.3. My gcalcli is v2.1. How can I update to the latest version? I've tried moving the updated gcalcli into my bin directory, but even after rebooting, the version still shows v2.1.

    Best,
    Hmmmm, I don't really know. I added my scripts folder to path using:
    Code:
    export PATH=/home/grouchygaijin/scripts:$PATH
    (I put this at the very end of my ~/.bashrc file)

    Now when I run gcalcli --version in the terminal I get:
    Code:
    ~$ gcalcli --version
    gcalcli v2.3 (Eric Davis)
    Last edited by GrouchyGaijin; January 20th, 2013 at 11:30 AM. Reason: clarified path
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  10. #21500
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Thanks for that. Been looking for a way to kill an individual conky process.
    I can't get this to work with a variable for the life of me - unless it is "hardcoded" that works just fine

    Code:
    #!/bin/bash
    
    ## click to start, click to stop
    
    ##if pgrep -f "conky -c /home/glen/conky/configs/demo-conkyrc"
    ##then
    ##	pkill -xf "conky -c /home/glen/conky/configs/demo-conkyrc"
    ##else
    ##	gnome-terminal -e "conky -c /home/glen/conky/configs/demo-conkyrc"
    ##fi
    
    ## click to start, click to stop
    
    #if pgrep -f "conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky"
    #then
    #	pkill -xf "conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky"
    #else
    #	conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky
    #fi
    
    if pgrep -f "conky.*-c.*$1"
    then
    	pkill -xf "conky.*-c.*$1"
    else
    	"conky.*-c.*$1"
    fi
    It kills it ... if it is running, but will not start it.

    Code:
     20 Jan 13 | 11:16:34 ~
             $ stinkeye /media/5/Conky/TeoWeatherClock/Teo_Clock.conky
    /home/sector11/bin/stinkeye: line 25: conky.*-c.*/media/5/Conky/TeoWeatherClock/Teo_Clock.conky: No such file or directory
     sector11 @ sector11
     20 Jan 13 | 11:16:40 ~
             $ conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky &
    [1] 29272
     sector11 @ sector11
     20 Jan 13 | 11:17:19 ~
             $ Conky: forked to background, pid is 29277
    -----------------------------------------------------------
     sector11 @ sector11
     20 Jan 13 | 11:18:47 ~
             $ stinkeye /media/5/Conky/TeoWeatherClock/Teo_Clock.conky
    30055
    Conky: received SIGINT or SIGTERM to terminate. bye!
     sector11 @ sector11
     20 Jan 13 | 11:18:50 ~
             $ stinkeye /media/5/Conky/TeoWeatherClock/Teo_Clock.conky
    /home/sector11/bin/stinkeye: line 25: conky.*-c.*/media/5/Conky/TeoWeatherClock/Teo_Clock.conky: No such file or directory
     sector11 @ sector11
     20 Jan 13 | 11:18:56 ~
             $
    It really is there:
    Code:
     sector11 @ sector11
     20 Jan 13 | 11:25:18 ~
             $ conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky &
    [1] 926
     sector11 @ sector11
     20 Jan 13 | 11:25:21 ~
             $ Conky: forked to background, pid is 931
    EDIT: Tried this:
    Code:
    if pgrep -f "conky -c $1"
    then
    	pkill -xf "conky -c $1"
    else
    	"conky -c $1"
    fi
    Code:
     sector11 @ sector11
     20 Jan 13 | 11:30:48 ~
             $ stinkeye /media/5/Conky/TeoWeatherClock/Teo_Clock.conky
    /home/sector11/bin/stinkeye: line 25: conky -c /media/5/Conky/TeoWeatherClock/Teo_Clock.conky: No such file or directory
     sector11 @ sector11
     20 Jan 13 | 11:31:27 ~
             $

    Can you help?
    Last edited by Sector11; January 20th, 2013 at 03:34 PM.

Page 2150 of 2293 FirstFirst ... 1150165020502100214021482149215021512152216022002250 ... 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
  •