Page 2149 of 2297 FirstFirst ... 1149164920492099213921472148214921502151215921992249 ... LastLast
Results 21,481 to 21,490 of 22966

Thread: Post your .conkyrc files w/ screenshots

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by EarnestLearner View Post
    Hello all!

    I am trying to get my Google Calendar to display on my desktop using Conky, however it is only displaying my calendar partially. I am running Ubuntu 12.10 with Xfce 4.10 desktop environment.

    Here is my current conkyrc file:

    Code:
    alignment top_right
    background no
    border_width 0
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont DejaVu Sans Mono:size=10
    gap_x 5
    gap_y 60
    minimum_size 5 5
    net_avg_samples 2
    double_buffer yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_class Conky
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    text_buffer_size 8096
    
    TEXT
    ${execi 300 gcalcli --nc --cals=owner calw 4}
    Note: When I run Conky, I get the following output in my terminal:

    Code:
    Conky: desktop window (e00003) is subwindow of root window (dc)
    Conky: window type - override
    Conky: drawing to created window (0x4200001)
    Conky: drawing to double buffer
    Traceback (most recent call last):
      File "/usr/bin/gcalcli", line 1524, in <module>
        BowChickaWowWow()
      File "/usr/bin/gcalcli", line 1469, in BowChickaWowWow
        gcal.CalQuery(args[0], count=int(args[1]))
      File "/usr/bin/gcalcli", line 1011, in CalQuery
        self._GraphEvents(cmd, start, count, eventList)
      File "/usr/bin/gcalcli", line 712, in _GraphEvents
        PrintMsg(CLR_NRM(), line + "\n")
      File "/usr/bin/gcalcli", line 239, in PrintMsg
        sys.stdout.write(unicode(msg, 'UTF-8'))
    TypeError: decoding Unicode is not supported
    Here is a screenshot of my desktop: http://imgur.com/Ntiu0

    Much thanks!

    I tried to run gcalcli today and was met with the same error you had "unicode is not supported"

    I ran this in terminal

    Code:
    gcalcli --nc --user "my user name" --pw "my password" calw 2
    and got this...

    Code:
    +----------+----------+----------+----------+----------+----------+----------+
    |Sunday    |Monday    |Tuesday   |Wednesday |Thursday  |Friday    |Saturday  |
    +----------+----------+----------+----------+----------+----------+----------+
    |13 Jan    |14 Jan    |15 Jan    |16 Jan    |17 Jan    |18 Jan ** |19 Jan    |
    |          |          |          |          |          |          |          |
    Traceback (most recent call last):
      File "/usr/bin/gcalcli", line 1524, in <module>
        BowChickaWowWow()
      File "/usr/bin/gcalcli", line 1469, in BowChickaWowWow
        gcal.CalQuery(args[0], count=int(args[1]))
      File "/usr/bin/gcalcli", line 1011, in CalQuery
        self._GraphEvents(cmd, start, count, eventList)
      File "/usr/bin/gcalcli", line 712, in _GraphEvents
        PrintMsg(CLR_NRM(), line + "\n")
      File "/usr/bin/gcalcli", line 239, in PrintMsg
        sys.stdout.write(unicode(msg, 'UTF-8'))
    TypeError: decoding Unicode is not supported
    So perhaps gcalcli isn't supported anymore. It seems to be a pretty old program, most of the documentation I found for it was from 2008. I suspect google calendar has changed format too much for gcalcli to read now. Can anyone confirm if gcalcli is alive or dead?
    Who's Awesome? You're Awesome.

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by GrouchyGaijin View Post
    Cool idea. Thanks for sharing. I have a question though, does the toggle script allow you to kill the conkies one at a time or is it all or nothing?
    Scripts been around a while. Not my idea.
    All or nuttin'. Go hard or go home.

  3. #21483
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Thought I might post this for those using unity to show how to use
    Unity launcher quicklists to control and edit your conkys.
    Hey! Now that's what I call a great tip!
    Good stuff stinkeye!

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

    Re: Post your .conkyrc files w/ screenshots

    Got around to officially making my first functional calendar today.

    Code:
    #conky performance settings
      update_interval 3
      total_run_times 0
      cpu_avg_samples 4
      no_buffers yes
      double_buffer yes
      override_utf8_locale yes
    
    #overall position of conky window
      alignment bottom_right
      gap_x 1160
      gap_y 15
      minimum_size 150 0
      maximum_width 142
    
    #overall appearance of conky window
      own_window yes
      own_window_type override
      own_window_transparent yes
      own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
      draw_borders no
    
    #default text apperance
      use_xft yes
      xftalpha 0.9
      xftfont Monofonto:size=14
      default_color white
      draw_shades yes
      draw_outline yes
      default_shade_color black
      default_outline_color black
      uppercase no
    
    #colors 
      color1 orange
      color2 black
    
    TEXT
    ${color1}${font Alfios:bold:size=12}${execpi 600 date +"%B"}${alignr}${execpi 600 date +"%Y"}${color}${font}
    ${voffset -8}${color1}${hr 1}${color}
    ${execpi 600 DJS=`date +%_d`; cal -h | sed '1d' | sed s/"$DJS"'\b'/'${font Monofonto:bold:size=14}${outlinecolor orange}${color2}'"$DJS"'${outlinecolor}${font}${color}'/}$font
    ${voffset -24}${color1}${hr 1}${color}
    Attached Images Attached Images
    Who's Awesome? You're Awesome.

  5. #21485
    Join Date
    Feb 2007
    Location
    Geelong, Australia
    Beans
    184

    Re: Post your .conkyrc files w/ screenshots

    Okay, I've finally got it perfect! Until I decide to faff about with it again. Probably in a few hours...

    Now to do something about that mess down the bottom.



    Here's my conkyrc for anyone interested:
    Attached Files Attached Files
    If you can't be bothered writing coherently, I can't be bothered reading your post.

  6. #21486
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    674
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    I tried to run gcalcli today and was met with the same error you had "unicode is not supported"


    So perhaps gcalcli isn't supported anymore. It seems to be a pretty old program, most of the documentation I found for it was from 2008. I suspect google calendar has changed format too much for gcalcli to read now. Can anyone confirm if gcalcli is alive or dead?
    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,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  7. #21487
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    674
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    I think my life is complete now.
    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

  8. #21488
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    674
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Scripts been around a while. Not my idea.
    All or nuttin'. Go hard or go home.
    For what it is worth, I wrote a script that will find the PID of a particular conky, then kill it.

    I'm sure this could be done more efficiently. But this works on my system.

    Code:
    #!/bin/bash
    ##This is something like the 5th script I've ever written ##                      
    var1=$(ps xu | grep calendar-conky | grep -v grep | awk '{ print $2 }')
    echo "$var1"
    kill $var1
    Change calendar-conky to the name of your conkyrc file.
    Then, make a launcher, put it in a quick list or whatever.
    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

  9. #21489
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by GrouchyGaijin View Post
    For what it is worth, I wrote a script that will find the PID of a particular conky, then kill it.

    I'm sure this could be done more efficiently. But this works on my system.

    Code:
    #!/bin/bash
    ##This is something like the 5th script I've ever written ##                      
    var1=$(ps xu | grep calendar-conky | grep -v grep | awk '{ print $2 }')
    echo "$var1"
    kill $var1
    Change calendar-conky to the name of your conkyrc file.
    Then, make a launcher, put it in a quick list or whatever.
    DUDE!!!! Put your name on that one:

    Code:
    #!/bin/bash
    ##This is something like the 5th script I've ever written ##
    ## Written by the GrouchyGaijin - Jan 2013 ##
    var1=$(ps xu | grep calendar-conky | grep -v grep | awk '{ print $2 }')
    echo "$var1"
    kill $var1
    There has to be a way to use a variable, ie:

    Code:
    ggkfc conkyname
    maybe:
    Code:
    #!/bin/bash
    ##This is something like the 5th script I've ever written ##
    ## Written by the GrouchyGaijin - Jan 2013
    var1=$(ps xu | grep $1 | grep -v grep | awk '{ print $2 }')
    echo "$var1"
    kill $var1
    I gotta try this.
    Nice stuff GrouchyGaijin

    Awesome!!

    Using the variable $1 it works for any conky:

    Code:
    ggkfc S11_email.conky
    I call it GrouchyGaijinKentuckyFriedConky

    Awesome and I mean AWESOME!!
    Last edited by Sector11; January 19th, 2013 at 09:34 PM.

  10. #21490
    Join Date
    Aug 2011
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by GrouchyGaijin View Post
    For what it is worth, I wrote a script that will find the PID of a particular conky, then kill it.

    I'm sure this could be done more efficiently. But this works on my system.

    Code:
    #!/bin/bash
    ##This is something like the 5th script I've ever written ##                      
    var1=$(ps xu | grep calendar-conky | grep -v grep | awk '{ print $2 }')
    echo "$var1"
    kill $var1
    Change calendar-conky to the name of your conkyrc file.
    Then, make a launcher, put it in a quick list or whatever.
    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.
    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

Page 2149 of 2297 FirstFirst ... 1149164920492099213921472148214921502151215921992249 ... 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
  •