Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux下配置文件无法持久化 #2979

Closed
HinataKato opened this issue Jun 14, 2024 · 7 comments
Closed

Arch Linux下配置文件无法持久化 #2979

HinataKato opened this issue Jun 14, 2024 · 7 comments

Comments

@HinataKato
Copy link

联系方式

No response

发生了什么?

配置选项后 退出并重新启动应用/使用重新启动选项 后会导致config.ini被 恢复默认配置/被清除

运行平台

Linux

软件版本

2.9-Beta2

@SakuraPuare
Copy link

same issue

发现是软件每次打开在读取完配置文件后,会直接清空 config.ini。但是每次配置更新是增量更新

不知道代码怎么写的

@FranklinCao
Copy link

一样的问题,只能先禁用 config.ini 的写权限

@SakuraPuare
Copy link

一样的问题,只能先禁用 config.ini 的写权限

禁用 config.ini 的写权限 会导致无法截图

看了下 log 好像是剪贴板的mime类型有问题

@jesHrz
Copy link

jesHrz commented Sep 24, 2024

我禁用config.ini的写权限后,只是在snipaste启动的时候报一下错,但是不影响正常使用(截图+贴图)

@yueziii
Copy link

yueziii commented Oct 22, 2024

一样的问题,我禁用config.ini的写权限后,截图无法复制到剪贴板。

后来我把配置单独写到了一个文件里面(setting.ini),又弄了一个bash脚本,脚本里面先复制setting.ini到config.ini再启动Snipaste,最后修改了/usr/share/applications/Snipaste.desktop 里面的 Exec指向bash脚本。

暂时能实现配置持久化,先这么用着吧

@Bryan2333
Copy link

2.10.2仍然存在这个问题

@liulex
Copy link
Member

liulex commented Nov 21, 2024

#3129 ,会在下周发新版修复,谢谢各位反馈!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants