Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've noticed an f(x) button in calculator's (gcalctool) advanced mode. The button opens a drop-down list with some predefined functions. Is it possible to define more?

enter image description here

share|improve this question
up vote 4 down vote accepted

If you press F1 and read the help page about functions it says: “GCalctool does not support user-defined functions.”, so I guess the answer is no.

Of course you can propose additions to the program's developer(s) or write your own patch to add more functions.

share|improve this answer

I don't see an f(x) button, but in scientific mode there is a 'Fun' button with a drop down list. Initially this is empty except for an 'Edit Functions...' button. If you click this, you can edit the functions 0 to 9.

If you do something like this:

Edit Functions,

selecting F0 from the function list will add2 to your answer. For more details, see the Gcalctool help:


There doesn't seem to be a way to define a function in the traditional sense (where you define f(x) to be a transformation of x into another value)

share|improve this answer
Is this in Lucid? GCalcTool in Maverick doesn't have all this... – JanC Oct 21 '10 at 22:26
Right, seems like the Scientific Mode was removed... – JanC Oct 21 '10 at 22:28
:o I didn't know they removed the scientific mode. Oh well, this answer is still valid for <= Lucid. – dv3500ea Oct 21 '10 at 22:34
No fun in my calc :-( See screenshot I've added to illustrate the question. And there's no 'Edit Functions...' inside 'f(x)'. – Ivan Oct 24 '10 at 18:50
For some reason they removed this feature in 10.10 :( – dv3500ea Oct 24 '10 at 18:54

Nope, but you can install Qalculate, it's a nice calculator with a lot of options and functions.

Here a screencapture. alt text

share|improve this answer
However good an alternative calculator may be (I prefer ExtCalc), It does not answer the question to suggest it. – dv3500ea Oct 21 '10 at 21:22
looks at screenshot MY EYES – Alvin Row Oct 21 '10 at 22:45
The screenshot is the official screenshot, it's not my fault (I know, it's horrible). – Alfredo Hernández Oct 22 '10 at 13:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.