You are not logged in.
This started happening after I used them to open some xls files with libreoffice.
Both of them never finish execution but in different ways, I ran `strace` to verify this:
- `xdg-open` tries to `lstat` every file in the directory it's in.
- `xdg-mime` blocks on a read from a pipe.
From what I understand of the code in `xdg-open` (it's a shell script) it's recursively trying to find a something.desktop file. But I've never had this problem.
If anyone knows how to fix this I'd be much a appreciated as it's probably something that I need to configure.
EDIT: I found that if I run `xdg-open` from `/` it works fine because it (I assume) finds the `/usr/share/applications/` directory where the *.desktop files are located. I don't know why it stopped looking at that folder.
Last edited by Mendess (2019-08-07 18:16:09)
Offline
This started happening on my system today after upgrade ![]()
example: xdg-open <url>
I'm using google-chrome.desktop for urls...
EDIT: And yes... when I'm in root / it's working...
EDIT2: When I copy google-chrome.desktop from /usr/share/applications to my /home/scippio/.local/share/applications ... it works with urls ...
Last edited by scippio (2020-02-19 13:29:47)
Sorry for my English...
Offline
https://wiki.archlinux.org/index.php/XD … eapps.list
Check mimeapps.list and somedesktopenvironment-mimeapps.list files in those locations.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
This was happening to me too.
With no output from `xdg-open`, I decided to give `strace xdg-open https://google.com` a try. Turns out xdg-open recursively searches `~/.local/share/applications` for `firefox.desktop`, following symlinks and expanding them to the current search directory. But there was a huge directory structure there! Turns out it was troving through all of the files I had installed for League of Legends through Lutris. Since I don't use a desktop environment, and I don't need desktop entries for League of Legends or my steam games, I simply deleted the extraneous stuff, and `xdg-open` began working again.
I hope this helps.
Offline