Aid Learning桌面图标误删如何恢复

第一步:使用Document,进入/root/User/demo/.desktop目录,找到shortcuts.json文件。如果该文件被误删了,直接新建一个shortcuts.json同名的文件。

Aid Learning桌面图标误删如何恢复_第1张图片

第二步:打开该文件,删除里面的所有内容。

Aid Learning桌面图标误删如何恢复_第2张图片

第三步:复制下面的shortcuts.json原始内容,粘贴到第二步打开的文件中。

[{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/Finder.png","size":280,"path":"home:/Computer.htm","filename":"Documents","label":null,"stat":{"dev":2057,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":268986,"size":280,"blocks":1,"atimeMs":1573388535160.5425,"mtimeMs":1573388591620.5425,"ctimeMs":1573388591620.5425,"birthtimeMs":1573388591620.5425,"atime":"2019-11-10T12:22:15.161Z","mtime":"2019-11-10T12:23:11.621Z","ctime":"2019-11-10T12:23:11.621Z","birthtime":"2019-11-10T12:23:11.621Z"},"id":null,"parent_id":null,"humanSize":"280 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/xcode.png","size":323,"path":"home:/AidCode.htm","filename":"AidCode","label":null,"stat":{"dev":2057,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":278084,"size":323,"blocks":1,"atimeMs":1573387359030.543,"mtimeMs":1573387815120.5427,"ctimeMs":1573388003040.5427,"birthtimeMs":1573388003040.5427,"atime":"2019-11-10T12:02:39.031Z","mtime":"2019-11-10T12:10:15.121Z","ctime":"2019-11-10T12:13:23.041Z","birthtime":"2019-11-10T12:13:23.041Z"},"id":null,"parent_id":null,"humanSize":"323 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/terminal.png","size":304,"path":"home:/Terminal.htm","filename":"Terminal","label":null,"stat":{"dev":2057,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":1057183,"size":304,"blocks":1,"atimeMs":1573390577020.5417,"mtimeMs":1573390660010.5417,"ctimeMs":1573390660010.5417,"birthtimeMs":1573390660010.5417,"atime":"2019-11-10T12:56:17.021Z","mtime":"2019-11-10T12:57:40.011Z","ctime":"2019-11-10T12:57:40.011Z","birthtime":"2019-11-10T12:57:40.011Z"},"id":null,"parent_id":null,"humanSize":"304 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/Weather.png","size":323,"path":"home:/ip.htm","filename":"Cloud_IP","label":null,"stat":{"dev":2057,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":278084,"size":323,"blocks":1,"atimeMs":1573387359030.543,"mtimeMs":1573387815120.5427,"ctimeMs":1573388003040.5427,"birthtimeMs":1573388003040.5427,"atime":"2019-11-10T12:02:39.031Z","mtime":"2019-11-10T12:10:15.121Z","ctime":"2019-11-10T12:13:23.041Z","birthtime":"2019-11-10T12:13:23.041Z"},"id":null,"parent_id":null,"humanSize":"323 B"},{"isDirectory":false,"isFile":true,"mime":"osjs/application","icon":"/apps/Xterm/logo.svg","size":0,"path":"apps:/Xterm","filename":"Xterm","label":null,"stat":{},"id":null,"parent_id":null,"humanSize":"0 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/appstore.png","size":427661,"path":"home:/Example.html","filename":"Examples","label":null,"stat":{"dev":66362,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":733861,"size":427661,"blocks":840,"atimeMs":1576336360470,"mtimeMs":1576336747570,"ctimeMs":1576336747570,"birthtimeMs":1576336747570,"atime":"2019-12-14T15:12:40.470Z","mtime":"2019-12-14T15:19:07.570Z","ctime":"2019-12-14T15:19:07.570Z","birthtime":"2019-12-14T15:19:07.570Z"},"id":null,"parent_id":null,"humanSize":"417.6 KiB"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/jupyter.png","size":236,"path":"home:/Jupyter.htm","filename":"Jupyter","label":null,"stat":{"dev":66362,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":418817,"size":236,"blocks":8,"atimeMs":1576635899050,"mtimeMs":1576635899050,"ctimeMs":1576635922750,"birthtimeMs":1576635922750,"atime":"2019-12-18T02:24:59.050Z","mtime":"2019-12-18T02:24:59.050Z","ctime":"2019-12-18T02:25:22.750Z","birthtime":"2019-12-18T02:25:22.750Z"},"id":null,"parent_id":null,"humanSize":"236 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/ai.png","size":236,"path":"home:/ApkBuild.htm","filename":"ApkBuild","label":null,"stat":{"dev":66362,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":726517,"size":236,"blocks":8,"atimeMs":1576421889850,"mtimeMs":1576421889850,"ctimeMs":1576421889850,"birthtimeMs":1576421889850,"atime":"2019-12-15T14:58:09.850Z","mtime":"2019-12-15T14:58:09.850Z","ctime":"2019-12-15T14:58:09.850Z","birthtime":"2019-12-15T14:58:09.850Z"},"id":null,"parent_id":null,"humanSize":"236 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/safari.png","size":7455,"path":"home:/explore/browser.htm","filename":"Safari","label":null,"stat":{"dev":66362,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":599052,"size":7455,"blocks":16,"atimeMs":1578233390260,"mtimeMs":1578233390260,"ctimeMs":1578233390260,"birthtimeMs":1578233390260,"atime":"2020-01-05T14:09:50.260Z","mtime":"2020-01-05T14:09:50.260Z","ctime":"2020-01-05T14:09:50.260Z","birthtime":"2020-01-05T14:09:50.260Z"},"id":null,"parent_id":null,"humanSize":"7.3 KiB"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/vscode.png","size":236,"path":"home:/VSCode.htm","filename":"VSCode","label":null,"stat":{"dev":66362,"mode":33216,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":521857,"size":236,"blocks":8,"atimeMs":1582117306410,"mtimeMs":1582117351450,"ctimeMs":1582117351450,"birthtimeMs":1582117351450,"atime":"2020-02-19T13:01:46.410Z","mtime":"2020-02-19T13:02:31.450Z","ctime":"2020-02-19T13:02:31.450Z","birthtime":"2020-02-19T13:02:31.450Z"},"id":null,"parent_id":null,"humanSize":"236 B"},{"isDirectory":false,"isFile":true,"mime":"osjs/application","icon":null,"size":0,"path":"apps:/Settings","filename":"Settings","label":null,"stat":{},"id":null,"parent_id":null,"humanSize":"0 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/HTMLViewer/ios/GameCenter.png","size":220,"path":"home:/game.htm","filename":"GameCenter","label":null,"stat":{"dev":66362,"mode":33152,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":647253,"size":220,"blocks":8,"atimeMs":1583079344090,"mtimeMs":1583079485190,"ctimeMs":1583079485190,"birthtimeMs":1583079485190,"atime":"2020-03-01T16:15:44.090Z","mtime":"2020-03-01T16:18:05.190Z","ctime":"2020-03-01T16:18:05.190Z","birthtime":"2020-03-01T16:18:05.190Z"},"id":null,"parent_id":null,"humanSize":"220 B"},{"isDirectory":false,"isFile":true,"mime":"osjs/application","icon":"/apps/MusicPlayer/icon.png","size":0,"path":"apps:/MusicPlayer","filename":"MusicPlayer","label":null,"stat":{},"id":null,"parent_id":null,"humanSize":"0 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/noVNC/logo.png","size":408,"path":"home:/novnc.htm","filename":"LFCE4","label":null,"stat":{"dev":66362,"mode":33152,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":674389,"size":408,"blocks":8,"atimeMs":1583249260090,"mtimeMs":1583249506270,"ctimeMs":1583249506270,"birthtimeMs":1583249506270,"atime":"2020-03-03T15:27:40.090Z","mtime":"2020-03-03T15:31:46.270Z","ctime":"2020-03-03T15:31:46.270Z","birthtime":"2020-03-03T15:31:46.270Z"},"id":null,"parent_id":null,"humanSize":"408 B"},{"isDirectory":false,"isFile":true,"mime":"text/html","icon":"/apps/noVNC/service.png","size":293,"path":"home:/Service.htm","filename":"Service","label":null,"stat":{"dev":66362,"mode":33152,"nlink":1,"uid":0,"gid":0,"rdev":0,"blksize":4096,"ino":674389,"size":293,"blocks":8,"atimeMs":1583249260090,"mtimeMs":1583677731750,"ctimeMs":1583678769060,"birthtimeMs":1583678769060,"atime":"2020-03-03T15:27:40.090Z","mtime":"2020-03-08T14:28:51.750Z","ctime":"2020-03-08T14:46:09.060Z","birthtime":"2020-03-08T14:46:09.060Z"},"id":null,"parent_id":null,"humanSize":"293 B"}]

第四部:保存shortcuts.json文件。

Aid Learning桌面图标误删如何恢复_第3张图片

提示:你也可以到进入到下面下载该文件。如果不小心全部删除了桌面图标可以通过,ip地址:8080端口访问文件管理器

Aid Learning桌面图标误删如何恢复_第4张图片

你可能感兴趣的:(Aid,Learning)