Eu também tenho problemas com uma biblioteca que está desaparecendo. O mais provável é que esteja relacionado ao arquivo ~ / .local / share / recently-used.xbel que contém uma lista de arquivos usados recentemente.
henning@henning-T60:~/.local/share$ ls -la recently-used.xbel
-rw------- 1 henning henning 1385 mars 23 09:27 recently-used.xbel
Algumas vezes (e eu não faço exatamente o porquê) o proprietário e o grupo do arquivo muda de henning para root. Iniciando manualmente
vmplayer
irá reclamar sobre falha no acesso ao arquivo recentemente usado.xbel.
Supondo que a referência à vm ainda esteja no arquivo recent.used.xbel, deve funcionar para recuperar o próprio acesso ao arquivo com
sudo chown henning: recently-used.xbel
Eu tentei usar o acesso inotify-watch watch ao arquivo com
inotifywait -m ~/.local/share/recently-used.xbel
que normalmente dá na inicialização:
henning@henning-T60:~/.local/share$ inotifywait -m recently-used.xbel
Setting up watches.
Watches established.
recently-used.xbel OPEN
recently-used.xbel ACCESS
recently-used.xbel CLOSE_NOWRITE,CLOSE
e no final do vmplayer dá:
recently-used.xbel ATTRIB
recently-used.xbel DELETE_SELF
Assim, os atributos do arquivo são alterados e o arquivo é excluído, mas de alguma forma recriado novamente porque ainda está no diretório.
Usando strace no início do vmplayer para test.log
henning@henning-T60:~/.local/share$ sudo strace -e trace=file -o test.log vmplayer
e depois
henning@henning-T60:~/.local/share$ more test.log | grep 'recently-used'
access("/home/henning/.recently-used.xbel", F_OK) = -1 ENOENT (No such file or directory)
open("/home/henning/.local/share/recently-used.xbel", O_RDONLY|O_LARGEFILE) = 7
open("/home/henning/.local/share/recently-used.xbel.XVW5CX", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 23
lstat64("/home/henning/.local/share/recently-used.xbel", {st_mode=S_IFREG|0600, st_size=218, ...}) = 0
rename("/home/henning/.local/share/recently-used.xbel.XVW5CX", "/home/henning/.local/share/recently-used.xbel") = 0
chmod("/home/henning/.local/share/recently-used.xbel", 0600) = 0
Portanto, um novo arquivo recém-usado.xbel.XVW5CX é criado e depois renomeado como recentemente usado.xbel