Comments (7)
Thanks for the details @cjthompson . In this case the issue is that recent changes source app dirs from dconf
rather than $XDG_DATA_DIRS
, but this flatpack directory is not in the list I specify as default. I'll have to think about it a bit but leaning towards sourcing dirs from the set of the two.
from ilia.
In this case the issue is that recent changes source app dirs from
dconf
rather than$XDG_DATA_DIRS
,
If that's the case, then I should be able to just update the configuration to fix it? Is this just a documentation problem then rather than a technical one?
edit: I used dconf-editor
to change the value of app-search-paths
and that fixed my issue.
from ilia.
Well ideally things should "just work" if possible. To reproduce this issue I installed a flatpack app for testing. The dependencies to flatpack causes a change to XDG_DATA_DIRS
to include the desktop file path you mention above. It would be best if ilia
can use that. The reason I switched away was that, as a DE, it seems possibly out of scope to mutate XDG_DATA_DIRS
. But more seriously, I found that doing that on Debian Bullseye totally bricked X11 and I was unable to troubleshoot why. So, I was left feeling uneasy about anything that involved making changes there, as bricking someone's desktop is to be avoided at all costs.
from ilia.
Related PR: regolith-linux/regolith-session#5
from ilia.
The logic to determine the desktop app paths is on the critical path of dialog bring up. As such, I prefer not to introduce more things to be done if it's avoidable. Looks like I will need to read and dedupe from both lists, use a fancier datatype, or leave it to the user to ensure their paths are correct. I also want to avoid fancy cache logic. I'm thinking the best option may be just to append the flatpack path to the search paths in dconf
.. I've already got one for snap desktop files 🤷
from ilia.
After digging some more into the glib docs, I found it's possible to delegate entirely to glib for desktop apps. The performance of this feels faster and in some simple testing the performance variance is much lower. I'm going w/ this new approach and will remove app-search-paths
altogether unless there is some reason to revert.
from ilia.
In Regolith 2.2 ilia
calls a GLIB API for getting desktop apps rather than manually sourcing from the filesystem. Please re-open this issue of app desktop file sourcing is not working as expected in 2.2.
from ilia.
Related Issues (20)
- ilia -p tracker unable to properly handle unicode filenames HOT 2
- Performance issue with icons HOT 1
- Slow loading of apps page on fast PC (~500ms) HOT 15
- Feedback from reddit user HOT 2
- Settings schema 'org.regolith-linux.ilia' is not installed HOT 2
- Festure Request: add calculator function HOT 2
- Custom pages HOT 3
- Ilia does not show keybindings from custom config
- Cut/Copy/Paste shortcuts don't work. HOT 1
- Using the terminal page, without launching a terminal?
- Trying to catch up on the Arch Linux Port, Ilia is Incompatible With Tracker3 3.5.2 (tracker-sparql-3.0) HOT 25
- illia doesn't display `.desktop` symlinks from Home Manager
- textlist doesn't accept arbitrary input.
- Select by multiple words
- Memory leak "Accessing a sequence while it is being sorted or searched is not allowed" HOT 5
- Selecting program with arrow keys does not open the correct program HOT 2
- Error : Not able to position it on screen.
- `ilia -p windows' not show window in scratch for wayland HOT 1
- Build Dependencies HOT 4
- Tracker version update HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ilia.