Omni Linux

The graphically pleasing alternative to the default Linux calculator

  • (2 Pages)
  • +
  • 1
  • 2

21 Replies - 1463 Views - Last Post: 25 October 2008 - 01:13 AM

#1 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Omni Linux

Posted 26 August 2008 - 09:30 PM

Since every computer that I run a GUI has Linux, I find myself using the default Calculator when figuring sales tax, or any other time I need a quit calculation. The problem is, the default calculator that comes with Xorg looks like it came right out of the early 80's. With that in mind, the aim of this project is to make a much more graphically pleasing calculator as an alternative for the Linux environment.

Omni Linux

Currently on the source forge page, there is at least one open position, & there will be more as the project matures.

Thank you for your interest. :^:

Is This A Good Question/Topic? 0
  • +

Replies To: Omni Linux

#2 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: Omni Linux

Posted 27 August 2008 - 03:58 AM

Do you have any screen shots? I don't have Linux, so I can't test it~ I'd love to see it though :)
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 27 August 2008 - 04:33 AM

No screen shots yet. I'm still working on the engine. I've got the four main math functions down, add, subtract, multiply, & divide. Now I need to get decimals working. Once it's usable, then I'll work on the GUI.
Was This Post Helpful? 0
  • +
  • -

#4 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 02 September 2008 - 01:38 AM

While it isn't set in stone as the graphical library, I have started working with OpenGL, & have released a graphical version (with a lone screenshot). While the functionality is there, I have no image of a calculator, so you'll have to pretend for now (lame I know!)

You can use F3 for addition, F4 for subtraction, F5 for multiplication, & F6 for Division. Again, once there is an image, this will all be easier. Lastly, you use enter to get the result.

If anyone thinks they can offer some graphics, please do so. I would like to eventually make this project skinable, so it'll be community friendly as well as customizable.
Was This Post Helpful? 0
  • +
  • -

#5 GWatt  Icon User is offline

  • member icon

Reputation: 264
  • View blog
  • Posts: 3,059
  • Joined: 01-December 05

Re: Omni Linux

Posted 07 September 2008 - 11:37 PM

I think this project would be fun and would like to help, although my opengl experience is nonexistent. I am also curious as to why you are using ints instead of doubles or using asm for the calculations instead of simple c operators.

This post has been edited by GWatt: 07 September 2008 - 11:41 PM

Was This Post Helpful? 0
  • +
  • -

#6 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 08 September 2008 - 12:00 AM

No specific reason, just to get started.

I like passing between assembler & C, but nothing is set in stone.
Was This Post Helpful? 0
  • +
  • -

#7 GWatt  Icon User is offline

  • member icon

Reputation: 264
  • View blog
  • Posts: 3,059
  • Joined: 01-December 05

Re: Omni Linux

Posted 08 September 2008 - 05:17 AM

Would you be interested in an equation parser? And if so, is C++ ok?
Was This Post Helpful? 0
  • +
  • -

#8 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 725
  • View blog
  • Posts: 8,638
  • Joined: 14-September 07

Re: Omni Linux

Posted 08 September 2008 - 06:51 AM

No2 - What are your feelings on GTK
Was This Post Helpful? 0
  • +
  • -

#9 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 08 September 2008 - 12:41 PM

I never really cared much for projects made with GTK. Since I don't run Gnome I'm always on the wild goose chase for the latest GTK libraries & toolkit which almost always requires older dependencies or for some other reason won't run on my system. I spend hours downloading & installing packages which I either end up removing or they don't boot well with my existing libraries.
Was This Post Helpful? 0
  • +
  • -

#10 GWatt  Icon User is offline

  • member icon

Reputation: 264
  • View blog
  • Posts: 3,059
  • Joined: 01-December 05

Re: Omni Linux

Posted 12 September 2008 - 11:01 PM

I'm pretty sure the answer is no, but is the omnicalc really supposed to look like this?
Posted Image
Was This Post Helpful? 0
  • +
  • -

#11 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 29 September 2008 - 10:54 AM

...that's as far as I've gotten with it.

I don't do graphics :P & by don't I mean can't!

So I have the graphical mapping done (so the program is functional), & it can be altered to.. well I guess any image that someone would like to present, & then I can load.
Was This Post Helpful? 0
  • +
  • -

#12 GWatt  Icon User is offline

  • member icon

Reputation: 264
  • View blog
  • Posts: 3,059
  • Joined: 01-December 05

Re: Omni Linux

Posted 29 September 2008 - 12:01 PM

You wouldn't happen to like QT any better than GTK, would you? and my offer for a parser still stands. It's mostly complete, too. Just some parenthesis stuff to work out.

P.S.
The reason I'm offering a parser is that it's much easier to see what's going on if you have a multi-step equation. You can also get rid of the mess of buttons that many software calculators have.

This post has been edited by GWatt: 29 September 2008 - 12:05 PM

Was This Post Helpful? 0
  • +
  • -

#13 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,767
  • Joined: 10-May 07

Re: Omni Linux

Posted 29 September 2008 - 01:13 PM

I would be extremely interested in any contributions that you decide to make!

I apologize for not seeing it before, in your previous post.

While I've never heard of QT, I am open to any graphical means of this project. It is my preference not to make it in GTK, since I don't use Gnome, however if it must be done that way, eh, fine.
Was This Post Helpful? 0
  • +
  • -

#14 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 725
  • View blog
  • Posts: 8,638
  • Joined: 14-September 07

Re: Omni Linux

Posted 29 September 2008 - 01:18 PM

NO it don't need GTK I was just looking for some graphical libraries. QT would probably be the better choice anyways.
Was This Post Helpful? 0
  • +
  • -

#15 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

Re: Omni Linux

Posted 29 September 2008 - 01:42 PM

OpenGL isn't really the right library for what you're trying to do. There is a C++ library called GLUI that has some of the UI components you would end up recreating in OpenGL. I've never used it though, and for something like a calculator I'm not sure I would want to. :)

GTK, Qt, or FLTK are probably your best choices. As long as you stay away from Gnome/KDE features, GTK/Qt should be pretty lightweight. I've never used FLTK, but I've read a little about it and it sounded nice.

The reason that xcalc looks "old" is because it is old, and because it uses whatever toolkit that Xorg comes with so it really doesn't have many dependencies.

--------------------------------------

My input: Make it easy to enter equations in with the keyboard. I hate applications like the Gnome calculator that try to make you learn shortcut keys for different functions. I would like to be able to type something like sqrt(100)+log(100) and get an answer.

You might want to consider writing a graphical frontend to GNU Octave (which is what I currently use as a calculator). It's essentially a OSS Matlab clone [not that I have ever used Matlab :P].

This post has been edited by Tom9729: 29 September 2008 - 01:42 PM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2