News for hackers. Stuff that matters.
Re:Ask HN: Ubuntu Desktop Default Apps by haspok on Friday July 21, 2017 @11:57AM (#14821518)
I have but one humble wish: when I want to start the calculator app I open the Dash and type "calc". However for some reason LibreOffice Calc has higher priority than the Calculator app, so I always have to select it specifically (instead of just pressing Enter) - even though I might have never used the LibreOffice Calc on this computer. Can you make the LibreOffice Calc app lower priority in the Dash please. Thank you.
Re:Ask HN: Ubuntu Desktop Default Apps by pksadiq on Friday July 21, 2017 @12:20PM (#14821713)
In case you don't know: You can simply type the expressions in gnome-shell search to get results.

eg.: if you type "3+5" (without quotes), the result 8 will be shown. You can also have complex expressions like "3kg in lb", "sin (90)" etc.

Once the result is shown, you can simply press the Enter key to open the result in gnome-calculator.

Re:Ask HN: Ubuntu Desktop Default Apps by Queue29 on Friday July 21, 2017 @02:08PM (#14822595)
I'm in the same boat as OP. When I type "calc", I want the calculator. LibreOffice Calc is on my list of things to immediately remove on every reformat.
Re:Ask HN: Ubuntu Desktop Default Apps by ccrush on Friday July 21, 2017 @06:54PM (#14824332)
Why don't you rename the shortcut to LibreOffice Excel?
Re:Ask HN: Ubuntu Desktop Default Apps by jerknextdoor on Friday July 21, 2017 @12:26PM (#14821762)
I am so glad that I am not the only person that has this frustration. I wish I could remove other apps or give them lower priority in the dash, but this is absolutely the worst.
Re:Ask HN: Ubuntu Desktop Default Apps by TheHippo on Friday July 21, 2017 @02:26PM (#14822731)
Add calc to your favourites (programs on the left bar). Now it comes before Libre Office Calc when you enter "calc".
Re:Ask HN: Ubuntu Desktop Default Apps by vetinari on Friday July 21, 2017 @12:24PM (#14821748)
Now that Gnome Shell replaced unity, you can use the search box itself as a simple calculator. No need to run an extra app.
Re:Ask HN: Ubuntu Desktop Default Apps by frik on Saturday July 22, 2017 @02:09AM (#14825684)
Same for me, rename the link to "LibreOffice Spreadsheet" please.

And beautify the Gnome3 UI, add the menu bar back or fork an older Gnome which had still the more normal UI elements like system wide menu bar, etc or revert back to the older Unity shell (not the failed new Unity). Ubuntu 12 LTS was perfect, it all went downhill after that, with awkward decisions, and Gnome3 was never good by default.

Re:Ask HN: Ubuntu Desktop Default Apps by mod on Friday July 21, 2017 @12:38PM (#14821858)
This plagued me for a couple of years! Yes!

Either make it higher or learn which ones we actually click.

Re:Ask HN: Ubuntu Desktop Default Apps by Rusky on Friday July 21, 2017 @12:42PM (#14821887)
Gnome Shell seems to remember the last opened one. That doesn't really help when you actually do use Calc occasionally, though.
Re:Ask HN: Ubuntu Desktop Default Apps by ColanR on Friday July 21, 2017 @01:45PM (#14822404)
I've never known it to exhibit that kind of memory - and if it does, it needs to be smarter about keeping the much more frequently used calculator above the spreadsheet program.
Re:Ask HN: Ubuntu Desktop Default Apps by mattl on Friday July 21, 2017 @01:29PM (#14822290)
Doesn't seem to remember at all for me.
Re:Ask HN: Ubuntu Desktop Default Apps by dannysu on Friday July 21, 2017 @01:04PM (#14822075)
I think in GNOME it learns which one you use more frequently and have that first instead.
Re:Ask HN: Ubuntu Desktop Default Apps by mattl on Friday July 21, 2017 @01:28PM (#14822285)
You'd think so, but no.
Re:Ask HN: Ubuntu Desktop Default Apps by dannysu on Friday July 21, 2017 @02:06PM (#14822576)
When I type 'calc' I get the calculator as the first entry in GNOME.

Even after I move over and opened LibreOffice Calc, subsequent searches still gave me the calculator as the first entry.

I'm not exactly sure how it works, but I don't seem to have the same issue that's being mentioned.

Re:Ask HN: Ubuntu Desktop Default Apps by fpgaminer on Friday July 21, 2017 @01:40PM (#14822367)
It does, but it has a short memory. If you select Office by accident, it'll then start showing that first again for awhile.
Re:Ask HN: Ubuntu Desktop Default Apps by mattl on Friday July 21, 2017 @01:48PM (#14822426)
It wasn't doing it before, but I have a new System76 machine with a fresh GNOME install, so let's see if it works here.
Re:Ask HN: Ubuntu Desktop Default Apps by AsyncAwait on Sunday July 23, 2017 @05:10AM (#14831492)
It does, it can just be overridden easily.
Re:Ask HN: Ubuntu Desktop Default Apps by 43224gg252 on Friday July 21, 2017 @02:17PM (#14822665)
It does for me.
Re:Ask HN: Ubuntu Desktop Default Apps by halflings on Saturday July 22, 2017 @03:01AM (#14825803)
To be fair, it definitely makes sense that "Calc" would show "Libre Office Calc" first, since it's an exact match. Why not simply type "Calcu"?
Re:Ask HN: Ubuntu Desktop Default Apps by vegbrasil on Friday July 21, 2017 @12:45PM (#14821911)
I have the same issue. I do use Calc but the Calculator is waaaaaaay more used.
Re:Ask HN: Ubuntu Desktop Default Apps by FractalNerve on Saturday July 22, 2017 @08:14PM (#14830166)
Wouldn't some simple search heuristics solve this?

EDIT: there surely is a library with good search algortihms to utilize for the search-box, please share =)

Re:Ask HN: Ubuntu Desktop Default Apps by baguzzzaji on Tuesday July 25, 2017 @12:55AM (#14845204)
In my GNOME, Calculator app is the first option and the LibreOffice Calc come second. I use Fedora btw.
Re:Ask HN: Ubuntu Desktop Default Apps by dd9990 on Friday July 21, 2017 @02:27PM (#14822741)
Appears to be fixed in Gnome under Arch for me. It picks Calculator as I use it more often.
Re:Ask HN: Ubuntu Desktop Default Apps by saint_fiasco on Friday July 21, 2017 @03:03PM (#14823018)
I just type "calcu" instead. It's only one extra letter.