trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2019

Re: running mathpix via snap

From: Uwe Brauer <oub@...>
Date: Wed, 24 Apr 2019 22:24:46 +0200
   > On Wednesday 24 April 2019 12:29:21 pm Uwe Brauer wrote:

Hi Michael
   > Hi Uwe,

   > Not a solution, but a starting point for getting it to work...

   > Go into the ubuntu vanilla desktop and copy all the settings and switches from 
   > wherever it's starting properly (menu item I'd guess?).  Also, while in 
   > Ubuntu, start mathpix from the command line, using the command you copied, so 
   > you can see what is 'normal.'  If it doesn't run, check/use the other menu 
   > item's setting/switches until it runs the same on the command line as the 
   > menu item.

   > Then, go into TDE and again start mathpix from the command line.  If it works 
   > the same, then you can most likely manually create a menu item with all the 
   > copied information.

Thanks.


I had partial success. I copied the start icon

from
/var/lib/snapd/desktop/applications
,----
| 
| [Desktop Entry]
| X-SnapInstanceName=mathpix-snipping-tool
| Name=Mathpix Snipping Tool
| Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mathpix-snipping-tool_mathpix-snipping-tool.desktop /snap/bin/mathpix-snipping-tool/var/lib/snapd/desktop/applications
| Type=Application
| Icon=/snap/mathpix-snipping-tool/36/meta/gui/icon.svg
| Version=01.02.0031
`----

To my desktop and clicked on it (the message mathpix started appeared,
and indeed ps aux |grep math
confirm this, 

However now an icon should appear in the system tray (as it does in
Ubuntu, say next to the network-icon, but it does *not*.

In Ubuntu that icon contains the interface, but trinity seems not to
display it.

Last thing:

In /snap/mathpix-snipping-tool/36
I found  command-mathpix-snipping-tool.wrapper

Which contains 

,----
| [Desktop Entry]
| X-SnapInstanceName=mathpix-snipping-tool
| Name=Mathpix Snipping Tool
| Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mathpix-snipping-tool_mathpix-snipping-tool.desktop /snap/bin/mathpix-snipping-tool
| Type=Application
| Icon=/snap/mathpix-snipping-tool/36/meta/gui/icon.svg
| Version=01.02.0031
`----

Not sure what do  with it.

So it seems that mathpix is not compatible with TDE, is this possible?

Regards

Uwe 

Attachments: