Results 1 to 9 of 9

Thread: Calculator with conversion

  1. #1
    Join Date
    Dec 2010
    Beans
    106
    Distro
    Ubuntu 22.10 Kinetic Kudu

    Calculator with conversion

    There was nice gnome calculator in prev distros.
    Now i cannot find any with hex<->dec convert support in 12.04.
    What can you suggest?

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Calculator with conversion

    You have to set the Mode to Programming.

  3. #3
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Calculator with conversion

    Quote Originally Posted by icegood View Post
    There was nice gnome calculator in prev distros.
    Now i cannot find any with hex<->dec convert support in 12.04.
    What can you suggest?
    I use qalculate and <3 it. (I'm on debian right now, but last time I checked it's in the ubuntu repo's too.)
    Code:
    sudo apt-get install qalculate

  4. #4
    Join Date
    Dec 2010
    Beans
    106
    Distro
    Ubuntu 22.10 Kinetic Kudu

    Re: Calculator with conversion

    Quote Originally Posted by sisco311 View Post
    You have to set the Mode to Programming.
    In 12.04 i'm not able to do so.

    Quote Originally Posted by miegiel View Post
    I use qalculate and <3 it.
    Yeah, nice one. That what i need. Other question - how to create gnome binding for it to replace default one?

    https://answers.launchpad.net/ubuntu...uestion/195942
    - has no deal anymore. Gnome lost somewhere own key bindings

  5. #5
    Join Date
    Dec 2010
    Beans
    106
    Distro
    Ubuntu 22.10 Kinetic Kudu

    Re: Calculator with conversion

    In 12.04 i'm not able to do so.
    It sucks! The reason probably is that main menu of window is available only on top of whole desktop, not in calc window itself. Damn interface! Whom idea it was?

  6. #6
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Calculator with conversion


  7. #7
    Join Date
    Dec 2010
    Beans
    106
    Distro
    Ubuntu 22.10 Kinetic Kudu

    Re: Calculator with conversion

    Quote Originally Posted by Vaphell View Post
    lol
    apple's
    Worse! Windows!
    OK, so what about key bindings?

  8. #8
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Calculator with conversion

    aren't they in System settings > keyboard?

    i have to say that doing it right (changing the default app) in case of calculator category is not trivial in gnome. Did they hardcode the damn thing? Disabling built-in 'calculator' and creating a custom shortcut may be the only way to achieve that.

    I also thought about replacing gnome-calculator (symlink to gcalctool) with a symlink to qalculate - it would work if the system runs 'abstract' gnome-calculator and not the specific binary.
    i have a multimedia key for calc but unfortunately it doesn't work inside VM so i can't test it (and i can't be bothered to reboot to another system).
    edit: changed the combo to something that is captured in VM and it doesn't work, so somewhere gcalctool is explicitly assigned to 'calculator' category.
    Last edited by Vaphell; July 12th, 2012 at 10:49 AM.

  9. #9
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Calculator with conversion

    You can always use dpkg-divert to override a package's version of a file.

    Code:
    sudo dpkg-divert --local --rename --add /usr/bin/gcalctool
    sudo ln -s /path/to/qualculate/or/any/other/app /usr/bin/gcalctool
    You can remove the diversion with:
    Code:
    sudo dpkg-divert --local --rename --remove /usr/bin/gcalctool

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •