Comments (7)
However done of these are picked up by Junction.
Are the picked up by other applications / your DE?
Notice in the log below that XDG_DATA_DIRS does not contain $HOME/.local/share/applications
Doesn't look like a problem with Junction then - is it a problem with Silverblue or your modifications? Either way - I can't help.
Not sure what you expect me to solve
from junction.
Are the picked up by other applications / your DE?
Yes they are, they work fine.
Doesn't look like a problem with Junction then - is it a problem with Silverblue or your modifications? Either way - I can't help.
It seems like a problem related to the flatpak. echo $XDG_DATA_DIRS
from my shell shows the proper dirs. But if I flatpak enter <appid> bash
any flatpak appplication (including Junction) and check for $XDG_DATA_DIRS, it is not set.
If I attempt to override the var with:
flatpak override --user --env=XDG_DATA_DIRS=/var/home/ramblurr/.local/share:/usr/local/share:/usr/share re.sonny.Junction
then running Junction errors with:
$ flatpak run re.sonny.Junction
F: Can't find a11y bus: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer.
(gjs:3): Gjs-CRITICAL **: 15:21:54.720: JS ERROR: Error: GSettings schema re.sonny.Junction not found
_init@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:551:23
@file:///app/share/re.sonny.Junction/common.js:3:25
(gjs:3): Gjs-CRITICAL **: 15:21:54.720: Module file:///app/bin/re.sonny.Junction threw an exception
from junction.
echo $XDG_DATA_DIRS from my shell shows the proper dirs.
Can you share the output ?
And echo $XDG_DATA_HOME
from junction.
On a Fresh Silverblue 35 VM
[sonny@fedora ~]$ echo $XDG_DATA_DIRS
/var/home/sonny/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
from junction.
Ha - got confused. $XDG_DATA_DIRS
shouldn't contain ~/.local/share
anyway.
https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html
$XDG_DATA_DIRS defines the preference-ordered set of base directories to search for data files in addition to the $XDG_DATA_HOME base directory. The directories in $XDG_DATA_DIRS should be seperated with a colon ':'.
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
from junction.
Everything looks good here on Silverblue 35 and I'm able to use custom desktop files
[sonny@fedora ~]$ cp /usr/share/applications/firefox.desktop ~/.local/share/applications/firefox2.desktop
[sonny@fedora ~]$ update-desktop-database ~/.local/share/applications/
[sonny@fedora ~]$ flatpak run --command=sh re.sonny.Junction
[📦 re.sonny.Junction ~]$ echo $XDG_DATA_HOME
/var/home/sonny/.var/app/re.sonny.Junction/data
[📦 re.sonny.Junction ~]$ ls /var/home/sonny/.var/app/re.sonny.Junction/data/applications/
firefox2.desktop mimeinfo.cache
[📦 re.sonny.Junction ~]$ ls ~/.local/share/applications/
firefox2.desktop mimeinfo.cache
[📦 re.sonny.Junction ~]$ exit
[sonny@fedora ~]$ flatpak run re.sonny.Junction https://gnome.org
Could it be that your desktop
file is named like an other one? The name preceeding .desktop
must be unique.
from junction.
Did you solve your problem ?
from junction.
Related Issues (20)
- Junction failing to start due to Gio.js error HOT 3
- junction fails to recognize local desktop file HOT 1
- Horizontal spacing between icons is too large
- Custom firefox .desktop file in ~/.local/share/applications launching a separate Firefox profile not detected HOT 10
- Set as default for images and video HOT 10
- Feature Request: Copy Link HOT 7
- Use system title-bar. HOT 1
- Vertical list (rather than current horizontal). HOT 2
- Feature Request: Keyboard Shortcuts for Desktop Actions HOT 2
- Build failure HOT 7
- Junction doesn't remember it's previous window size HOT 4
- Junction switched to alphabetical listing no longer ordered by most recently used
- Feature Request: Reorder List and Change Icon size
- Feature request: Close main windows if clicked outside HOT 1
- Feature request: Allow Chrome/Brave shortcuts as browsers HOT 1
- Please tag releases for packagers? HOT 5
- "Info: runtime org.gtk.Gtk3theme.Breeze-Dark branch 3.22 is end-of-life" HOT 1
- Weblate sync
- Mangles spotify login link HOT 1
- Crash on startup 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 junction.