我想在Ubuntu上用Mathpix Snipping Tool
,官网上提示在Ubuntu中用以下命令安装.
sudo snap install mathpix-snipping-tool
但是一直卡在如下命令.
Download snap "core" (6673) from channel "stable"
于是去这个第三方平台下了mathpix-snipping-tool
的.snap
文件,想直接安装.snap文件.又报错.
snap install mathpix-snipping-tool.snap
error: cannot find signatures with metadata for snap "mathpix-snipping-tool.snap"
在这个论坛中,说是要
snap ack snipping-tool.assert
但是我在第三方平台中只能下.snap包,没有.assert文件.
If you don’t care about the assertion, you can run
snap install --dangerous <the darktable snap you downloaded>
, but then you won’t receive updates.
但是可以用 --dangerous
参数.不管更新.
snap install --dangerous mathpix-snipping-tool.snap
半小时后,终于安装好了(泪).
常用命令
snap changes
查看正在进行的changesudo snap abort ID
杀死某个进程
效果
我一般在Ubuntu下写代码,所以想在Ubuntu下写笔记,同时用公式来解释代码非常直观.这是我在Ubuntu下安装Mathpix Snipping Tool
的初衷.下面的公式就是用 ctr+alt+M
组合键得到的公式.
R i = ( cos ( θ i ) − sin ( θ i ) sin ( θ i ) cos ( θ i ) ) \mathbf{R}_{i}=\left( \begin{array}{cc}{\cos \left(\theta_{i}\right)} & {-\sin \left(\theta_{i}\right)} \\ {\sin \left(\theta_{i}\right)} & {\cos \left(\theta_{i}\right)}\end{array}\right) Ri=(cos(θi)sin(θi