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

Linux

47389 readers
579 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 8 comments
sorted by: hot top controversial new old
[–] thingsiplay@beehaw.org 6 points 3 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@lemmy.zip 1 points 3 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

[–] thingsiplay@beehaw.org 3 points 3 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@lemmy.zip 2 points 3 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

[–] boredsquirrel@slrpnk.net 4 points 3 months ago

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

[–] Johnny123123@lemmy.ml 1 points 2 months ago* (last edited 2 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

[–] lurch@sh.itjust.works 1 points 3 months ago

on a totally different system and different app i had similar issues after an update. my solution was to run the app with a java version closer to what it was compiled for, which is not helpful for you. however, i think it was related to gtk/gnome libs having been updated (the app was using the file picker with gtk "look and feel")