snipaste picgo ubuntu
Snipaste
[Snipaste客户端]https://www.snipaste.com/download.html
启动APP后可以从/tmp/.mount_SnipasXXXXX中找到png图标
下载 AppImage 格式, 添加到 Applications
vim /usr/share/applications/picgo.desktop
1
2
3
4
5
6[Desktop Entry]
Type=Application
Name=picGo
Exec=/path/to/snipaste/Snipaste-2.3.1.AppImage
Icon=/path/to/snipaste/Snipaste.png
Terminal=false
flameshot ubuntu 截图工具
sudo apt install flameshot
Picgo
- PicGo客户端
- 下载 AppImage 格式
- 添加到 Applications
vim /usr/share/applications/picgo.desktop
1
2
3
4
5[Desktop Entry]
Type=Application
Name=picGo
Exec=/path/to/picgo/PicGo-2.3.1.AppImage
Terminal=false
- chmod 777: 添加权限
启动picgo时报错sandbox相关
The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /tmp/.mount_PicGo-r9KnKV/chrome-sandbox is owned by root and has mode 4755.
- 运行时添加免沙箱命令
--no-sandbox
- 启用非特权用户命名空间克隆
1
2
3
4
5
6# 临时设置
sudo sysctl kernel.unprivileged_userns_clone=1
# 永久设置
echo 'kernel.unprivileged_userns_clone=1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
AppImage 缺少依赖
sudo apt install libfuse2 xclip
snipaste picgo ubuntu
https://gjorn4389.github.io/2023/12/22/os_ops/snipaste-picgo-ubuntu/