Yahoo Finance Quotes

UUID: yfquotes@thegli
Last edited:
2 months ago 2023-03-31, 04:27
Last commit: [32554c07] Adds new Italian translations to various desklets

Displays financial market information such as stock quotes and commodity prices from Yahoo Finance



Cinnamon Desklet for Yahoo Finance quotes


This repository contains a desklet for the Cinnamon desktop environment that displays financial market information provided by Yahoo Finance.


This desklet is based on the desklet from fthuin. The data retrieval part is adopted to an alternative service url, after the Yahoo Finance community table got retired in May 2017.

Tested with

  • Linux Mint Cinnamon 17 up to 21
  • Debian 9 with Cinnamon 3.2
  • Manjaro with Cinnamon 3.8


Either follow the installation instructions on Cinnamon spices, or manually download the folder yfquotes@thegli (below "files") and copy the folder and its content to ~/.local/share/cinnamon/desklets/


Check out the desklet configuration settings, and choose the data refresh period, the list of quotes to show (see also Known Limitations), and quote details to display. The default list contains the Dow 30 companies.

Release Notes

0.8.2 - June 8, 2022


  • check timer reference before calling Mainloop.source_remove()

0.8.1 - May 16, 2022


  • update Brasilian and German translations
  • fetch finance data asynchronously to improve responsiveness


  • do not color percentage change value when corresponding setting is not selected
  • increase default desklet width
  • update screenshot image
  • fix syntax errors in

0.8.0 - January 12, 2022


  • add Russian translation

0.7.0 - January 10, 2022


  • add symbolic trend change icons instead of .svg
  • add configurable trend change colors instead of hardcoded colors
  • add configurable strict rounding
  • add UAH and RUB currency symbols
  • change table items view (text align to the left, numbers/dates align to the right)

0.6.0 - June 18, 2021


  • change layout of settings dialog to tabbed views
  • new setting to use alternative colors (use blue instead of green)
  • add Hungarian translation (courtesy of KAMI911)

0.5.2 - February 7, 2021


  • add Italian translation (courtesy of Dragone2)
  • add Korean translation (courtesy of chaeya)
  • optimize png files (courtesy of NikoKrause)


  • correct a msgid in translation files

0.5.1 - December 20, 2020


  • incorporate Danish translation (courtesy of Alan01)


  • update DOW 30 component symbols
  • resolve various issues reported by Codacy

0.5.0 - October 4, 2020


  • new setting to color percentage change according to trend. Enabled by default if percentage change is displayed. Courtesy of plaihonen.
  • new setting to add Yahoo Finance hyperlink to symbol/quote. Enabled by default if symbol is displayed. Proposed by ngaro.
  • new setting to use long version for verbose quote name. Enabled by default if verbose name is displayed. Courtesy of ngaro.

0.4.2 - September 20, 2020


  • update translation files with new setting
  • extend desklet description for better searchability

0.4.1 - August 18, 2020


  • add setting to disable quote name hyperlink


  • remove invalid quote symbol from default list

0.4.0 - July 17, 2020


  • allow multiple desklet instances
  • add German translation

0.3.0 - June 29, 2020


  • add setting to sort quotes list
  • update DOW 30 component symbols


  • auto-retry in case of connection problem (e.g. TLS handshake)

0.2.0 - May 23, 2018


  • show absolute price change amount
  • show last trade time/date
  • show timestamp of latest data refresh
  • add setting to configure rounding rule
  • make background transparency configurable
  • quote name links to Yahoo Finance details page
  • display severe errors such as network failure


  • improve error handling

0.1.0 - May 6, 2018


  • minor description adjustments in configuration settings


  • fix "value "nan" of type 'gfloat' is invalid or out of range for property" errors logged in .xsession-errors
  • works (again) with Cinnamon 3.2

0.0.1 - May 4, 2018


  • setting to show/hide the currency symbol


  • change data retrieval to alternative url from Yahoo Finance

Known Limitations

  • The quotes list might not be editable using the desklet's configuration dialog (encountered in Cinnamon 3.6 and earlier 3.x versions). As a workaround, export the configuration using the standard desklet settings menu to a (json) file, then edit the file with your favorite text editor, and finally import the configuration file again.


Based on the desklet source code from fthuin.


GNU General Public License v3.0

Log In To Comment!


Thomas Egli
Thomas Egli-1 week ago
FYI: I prepared a new PR that should/will fix the recent issues with V7. Stay tuned...
asp1-3 weeks ago
Hi Thomas, Thanks a lot for your nice desklet and its quick fix! Great job!
Gerald Drißner
Gerald Drißner-3 weeks ago
Great applet - however, since 7th of May 2023, there is a connection error to yahoo on my system. Does anyone else have this problem?
David-1 week ago
Sorry to report that the problem has returned - May 24 05:20 GMT
David-1 week ago
On a whim - using "sed" as I reset to V7 - it didn't work so I went back to V6 - still no luck.
Thomas Egli
Thomas Egli-1 week ago
You are correct, the V6 no longer works right now (returns a 404). As always, it is unclear whether this is a temporary outage, or the V6 endpoint got retired. Since the V7 endpoint now requires authentication, I cannot provide any quick fix this time.
Thomas Egli
Thomas Egli-3 weeks ago
Something changed on the Yahoo API, and a 401 error is currently returned for each request. I don't know if and when it will be fixed - a similar problem occurred a few weeks ago. As a quick workaround, we can fallback to an older endpoint of the API. We just need to change the URL in the desklet: 1. Open a terminal. 2. Execute the following sed command: sed -i 's/v7/v6/g' ~/.local/share/cinnamon/desklets/yfquotes@thegli/desklet.js 3. Restart Cinnamon, e.g. with the shortcut Ctrl+Alt+Esc, or by log out and in again. Hope this helps.
Shimon Rura
Shimon Rura-1 week ago
Thanks, this worked for me too!
wp-dave-2 weeks ago
Thanks Thomas, that fix worked for me. Appreciate the fast response!
David-3 weeks ago
Thanks Thomas! I did as you suggested and it worked. I wonder if we may lose some functionality in the future by using the older Yahoo API. But that is for another day - for now, I'm happy, thanks to you!
Stephen Merrony
Stephen Merrony-3 weeks ago
Worked for me, thanks.
Gerald Drißner
Gerald Drißner-3 weeks ago
Hi, thank you for your quick reply and help! I tried it, but unfortunately, it didn't work. I did not get the exchange rates/prices. I only got the "symbols" replicated, e.g., EURUSD=X - but no result. I hope that yahoo won't shut down the access. Thanks for your work!
Thomas Egli
Thomas Egli-3 weeks ago
Too bad that it doesn't work for you, as this did the trick on my machine. But at least no more error message ;-) Maybe it helps if you reset the desklet (via context menu "Configure...", then menu entry "Reset to default"). Note that your current list will be replaced with this.
Gerald Drißner
Gerald Drißner-2 weeks ago
Now, it also works with your fix!!! Thanks a lot (don't ask me why it suddenly worked...)
sbadux-1 year ago
Thank you very much for this applet. Super-useful and customizable. I love it.
michaeltjester-1 year ago
Is it currently possible to add a memo to the line items? My goal is to input my cost for each of the stocks that I am tracking so that I can keep track of where I am at and whether I should sell easily.
Thomas Egli
Thomas Egli-1 year ago
Sorry but no, that is not possible. This desklet is not intended for portfolio management.
Goodolandy-2 years ago
Hello, great desklet. I was wondering, is it possible to add an option to input number stocks owned next to each stock and the total value being displayed?
rijabo-2 years ago
one of a kind and very useful and working. Would love to have the possebility to change border/no border and change the font color white to some other color. But like i said. Great desklet
Thomas Egli
Thomas Egli-2 years ago
Thank you for your interest. The styles are defined in a CSS file, found at ~/.local/share/cinnamon/desklets/yfquotes@thegli/stylesheet.css. Feel free to change them to your liking. You might want to make a backup of your modifications, as the file will get overwritten on the next desklet update.
Foxbille-2 years ago
Hello, Thanks for this very useful desklet, but is it possible make a small modification of the code to grab data from EuroNext ? (and get French quotations values) Eric
Thomas Egli
Thomas Egli-2 years ago
I have no plans to integrate other financial information provider; the desklet is called Yahoo Finance Quotes for a reason :-) Out of curiosity, for which French quotes are you looking for?
Foxbille-2 years ago
Thomas Egli
Thomas Egli-2 years ago
I haven't tested all of them, but the ones I picked were all available. Just append .PA to your symbol, and you get ALBLU.PA, CLA.PA, NEX.PA etc. You can look them up on to find out what Yahoo Finance Quotes uses. French stocks usually have a "PA" (for Paris) suffix. Try it out :-)
Foxbille-2 years ago
Works fine !!! Thanx a lot ;-)
plaihonen-2 years ago
Hi, quite useful desklet. I have some suggestions though. * Title on top of the desklet. This would be useful if more than one instance. The "updated" info could be moved from the bottom to the top with the title. * Option to add divider. This could be something like "---" in the quote symbols list. I have no clue how challenging this would be to program with the existing sorting functionality. * Option to align left. This would improve readability. At least with the longer "Verbose name" the impact would be significant.
Thomas Egli
Thomas Egli-2 years ago
I remember that I tried left alignment once. If the listed quote names have more or less the same length, then it looks better than centered, but if you have a mix of very short and very long names, then I felt that there is too much space to the next column. So I kept the center alignment, as I couldn't come up with something better, and in the meantime I got used to it. Regarding title and divider/spacer: I never thought about that but the sorting would definitely be a bit of a challenge.
jupiterjosh-2 years ago
Excellent desklet! May I make a suggestion that you include words like "stock" or "ticker" in your desklet description? You may find more people downloading the desklet if you add those words. I only found the spice by googling it, but since I was using the words "stock", "price", "ticker" etc, this desklet didn't come up in the desklet search bar.
Thomas Egli
Thomas Egli-2 years ago
Happy you like it. And thanks for your suggestion. I will improve the description in a future update.
newlinuxuser-2 years ago
Hi. how to add currency pairs?
Thomas Egli
Thomas Egli-2 years ago
Currency pair symbols follow the pattern "[Target Currency][Base Currency]=X", for instance "EURUSD=X". You can look them up on
Xcelerate11-3 years ago
This desklet is amazing! Does anyone know how I can create multiple instances of this desklet?
Thomas Egli
Thomas Egli-2 years ago
With the latest version, you can now create up to 10 instances.