Page 1 of 1

Need help with gcalcli and conky

Posted: Sat Jan 27, 2024 2:39 am
by Logansfury
Hello all,

I am still working with calendars. I found this post from 2020 about the gcalcli and using it to access google calendar to display events on Linux desktop with conky.

https://www.linuxuprising.com/2018/11/h ... -your.html

I installed gcalcli and when I tried the

Code: Select all

gcalcli list
command in terminal it opened my browser to a google auth page and when I selected the account I wanted to associate with gcalcli I get an application blocked error page. Evidently this was common and I found a fix-it page:

https://github.com/insanum/gcalcli/issues/580

I went thru all 5 steps but now when I use the list command in terminal no webpage opens.

When I tried the

Code: Select all

gcalcli --client_id "your client ID ending in ...apps.googleusercontent.com" --client_secret "your client secret" agenda
I got a usage error message.

Can anyone help me get this working so I can try to get conky to display the information?

Re: Need help with gcalcli and conky

Posted: Wed Jun 12, 2024 1:56 pm
by oscar buzzby
Notice this post is old but may help someone.
Tried this a few years ago had to output to a file..
I decided to looking again at conky been a while.
${execpi 3600 gcalendar --output json | jq . > ~/.conky/.../file.txt}

Re: Need help with gcalcli and conky

Posted: Wed Jun 12, 2024 7:31 pm
by Logansfury
Thank you I will give this a try.