this post was submitted on 15 Jun 2024
21 points (100.0% liked)

Linux

48315 readers
740 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi, I’m having issues with the file picker on my arch system. Sometimes it doesn’t work at all. If I press “Upload file” in a browser, nothing happens, no window pops up. It doesn’t work in other apps either when that happens. It sometimes starts working after a restart. Does anyone have any ideas? Let me know if you need any logs and how to get them please :)

I’m on arch, hyprland, both xdg-hyprland and xdg-gtk are installed.

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 5 months ago (2 children)

My first guess might be you are using a Flatpak app, and the application does not have any rights to do this?

[–] jaykay 1 points 5 months ago (1 children)

The browser is on flatpak but I tried the same thing on steam which isn’t and it still doesn’t work

[–] [email protected] 3 points 5 months ago (1 children)

Look if you have xdg-desktop-portal-gtk and xdg-desktop-portal are installed. I can't say if this solves your problem. You can see each portal to be an API that an application must support to use the functionality which the portal does. But you also need to have the portal installed. I know it's a mess, but its how it is.

For a totally different application, I could not save files until I installed these portals (if I remember right). The problem with Steam might be a different one, if its not a Flatpak.

[–] jaykay 2 points 5 months ago

The thing is, it only breaks sometimes (usually when I need it the most lol). Both are installed and I don’t think it would only not work sometimes if they were missing. I’m thinking of hopping to another distro haha I know it’s not arch’s fault, but this excuse is as good as any lmao

[–] [email protected] 4 points 5 months ago

If this is firefox specific, in about:config set the value of something portal to 1.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Have you checked the logs? I guess a simple journalctl —user -f would tell you what went wrong. Just run the command on a terminal and click the file picker button couple times and see what pops up