! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cache for .desktop files
Status:
RESOLVED: WONTFIX

Comments

Description adisk 2014-01-07 12:59:22 CET
Add cache for .desktop files.

How?

Few steps:
1. Store descriptions in one .dat file
2. Folder ~/.cache/xfce/applications.dat
3. Read all .desktop files (at X Desktop folders specification)
4. Parse
5. On next start compare timestamp of "applications.dat" and timestamp of X Desktop folders.

It fast
It speedup load.
It more responsive.


Idea redirected from https://github.com/gottcode/xfce4-whiskermenu-plugin/issues/60#issuecomment-31726600
Comment 1 Nick Schermer editbugs 2014-07-29 08:18:32 CEST
Its a bit more complicated than that:

1) It requires a daemon to watch the .desktop files and folders to update the cache.
2) A tool to manually update the cache (ie trigger the daemon).
3) Drop stuff in garcon that reads the individual files and uses the cache.

Now technically its nice to do this per-user, but like the gtk-icon-cache it should technically be handled on a system level. That said, loading the files takes time (obviously), but less than loading the icons with an out-of-date icon cache.
Comment 2 Skunnyk editbugs 2018-10-08 23:17:27 CEST
Closing old garcon bugreport.
Please reopen if needed.

Bug #10607

Reported by:
adisk
Reported on: 2014-01-07
Last modified on: 2018-10-08

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information