Feature Request: Support for calculations in dash

Bug #1254465 reported by Ruchir on 2013-11-24
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity Calculator Scope
Undecided
Unassigned

Bug Description

It would be nice to have calculations support in dash so along with searching files and applications, we can also do quick mathematical calculations in dash itself instead of opening calculator.

Stephen M. Webb (bregma) wrote :

This functionality seems to lack any discoverability -- I have it installed and type "2 + 2" into the dash and only get results like Wikipedia links for various petrochemicals and pictures of Victorian steam locomotives.

affects: unity → unity-scope-calculator
David Callé (davidc3) wrote :

It does lack discoverability (which is something to address more generally for scopes), but the calculator should work OOTB.

Stephen, after typing a calculation, do you see that process running ?
/usr/bin/python3 /usr/share/unity-scopes/scope-runner-dbus.py -s info/calculator.scope

It is very annoying to have to adjust constantly Unity lens filters - the Calculator filter is very often disabled.

Mahdi Dibaiee (mahdidibaie) wrote :

I agree, the detection is weak.
Actually it works by typing 'calculator: 2*3', but not using just 2*3.

There are some cases which it works with expression alone, not sure why and how. It's not about the expression, trying the same expression another time, it doesn't work.

Gao Shichao (xgdgsc) wrote :

Here if I disable "include online search results" in "security&privacy-> search", directly input 2*3 won' t work. While if I enable that option, it work. It is insane that calculator seen as online result.

Stephan Henningsen (zta77) wrote :

Instead of typing the cumbersome "calculator:" prefix, how about just making the scope listen for the speadsheet-like "=" syntax? E:g. "=2+2"

Shane Smith (m00plex) wrote :

This seems to be because the Home lens doesn't search the "info" group of scopes by default, which include the calculator scope.

To enable follow the steps linked below and add 'info.scope' to the always-search list.

http://askubuntu.com/questions/385452/how-to-change-default-categories-and-sources-in-unity-dash

I have included both 'info.scope' and 'info-calculator.scope', but the automatic search still isn't enabled.

Julien (julienmbpe) wrote :

Still no fix to this problem ?

Changed in unity-scope-calculator:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers