Name_For_RedditLinux Mint•

Well, that looks nice, and it is always good to see the rather neglected 'spices' getting attention (the metaphor doesn't really work, though - spice on spice?).

But do we need this? Doesn't Mint have a decent small calculator program built in (I don't think I installed it myself). Is the advantage that one can launch it easily from a panel? That's something I suppose - a good idea, in fact! - even though those who know what they are doing can set up a panel launcher for the aforementioned inbuilt calculator program.

2
LercOP•

I needed this. I wrote one similar many years ago for windows. That had the history, stay-on-top, and easy summoning (appearing in the systray on windows).

This one has a few more features over my old one. The History tries to work across base changes, history is always stored in decimal and converted to the current base when recalled(it's not perfect, but gets it right most of the time).

The bundled calculator is one of the better ones available. It's still a bit too large for me to use as regular part of my workflow. and doesn't appear to have history.

Extra features provided by math.js are a bonus, with user definable functions available. Being able to set definitions in the config means you can add your own functions and variables and keep them around as long as you want.

I'm not sure if the default calculator does things like complex numbers, but you get those as well if you have any idea how to use them (I have no clue whatsoever).

2
Name_For_RedditLinux Mint•

Thanks for the explanation - and indeed I discover that the page to which you link, i.e. the applet webpage, does contain much of that information.

I think your calculator looks very good - and I discovered what we might call its Easter egg (which is along these lines).

A couple of things, though. (1) It took me a while to work out how to close the calculator. (2) While it was visible, my panel, which is set to auto-hide, would not appear - this may be a Cinnamon bug.

1
cr-cr•

Hey, thanks, I like it. I suggest making it easy to change the size, it's a little too small for me but nice work

1