# in-focus **Repository Path**: your-own-os/in-focus ## Basic Information - **Project Name**: in-focus - **Description**: Define and access the "in focus" database. - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-10 - **Last Updated**: 2026-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # in-focus 1. allow duplicate items remove_item will remove all duplicate items add_item will do nothing if item already exist you can manually add duplicate item, for example, you have multiple sub-category in a database file, and item belongs to two sub-categories simultaneously 2. for system-database, remove_item() may add "-XXX" into etc-file, or delete item in etc-file. usr-file must not be modified 3. system-database is for system admin and system service to "give green light" to the items in database user-database can be as a backend for "cross-application my-favourite" function system-database and user-database are totally seperate, system admin should not read or test items in user-adatbase user can read system-database, but he should not depend on it. user can copy items in system-database to his own user-database. 4. has lock function, can have notify using inotify, so that it can be cross-application application should read whole content into memory, to keep lock time small user should create lock when he does manual edit 5. root and system services should be able to access user's data, so that they can do some optimization for the in-focus items. (it is not common, but it is a special value of this project) So we can't use dconf, settings in it need be accessed through user's session dbus.