Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
54 views
Why doesn't pkcon update the flathub repositories when I run it?
When I run `pkcon refresh && pkcon update` it doesn't update my flathub repositories. It does update `apt` and `snaps` but I still have to run `flatpak update` when I want to update my system. It doesn't give any errors. I'm running KDE Neon 6.2 with Plasma 6.2.5.
When I run pkcon refresh && pkcon update it doesn't update my flathub repositories. It does update apt and snaps but I still have to run flatpak update when I want to update my system. It doesn't give any errors. I'm running KDE Neon 6.2 with Plasma 6.2.5.
Cody (101 rep)
Jan 13, 2025, 06:47 AM • Last activity: Jul 30, 2025, 08:51 PM
9 votes
1 answers
15458 views
'/var/lib/flatpak/exports/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS
Weird one, when I update flatpaks I get the following message in terminal: ``` Note that '/var/lib/flatpak/exports/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS environment variables, so applications may not be able to find it until you set them. The directories current...
Weird one, when I update flatpaks I get the following message in terminal:
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
However, if I run echo $XDG_DATA_DIRS I get the following:
/home/myname/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
Sort of new to linux, so am I missing something? For context, I am using Fedora 37
Geoff (113 rep)
Apr 28, 2023, 01:26 PM • Last activity: Jul 12, 2025, 04:04 AM
9 votes
1 answers
836 views
What does @@u and @@ mean in the a desktop entry
The default Firefox flatpak defines the following exec lines: ``` ~ cat /var/lib/flatpak/exports/share/applications/org.mozilla.firefox.desktop | grep ^Exec Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@ Exec=/usr/bin/flatpak...
The default Firefox flatpak defines the following exec lines:
~ cat /var/lib/flatpak/exports/share/applications/org.mozilla.firefox.desktop | grep ^Exec
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox --new-window @@u %u @@
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox --private-window @@u %u @@
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --ProfileManager
I can't find the meaning of @@u and @@ in either the [Exec Key Spec](https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html) or the [Firefox Command line args](https://wiki.mozilla.org/Firefox/CommandLineOptions) . What is the meaning of these arguments?
Alexandros (378 rep)
Jun 14, 2025, 11:31 AM • Last activity: Jun 14, 2025, 12:13 PM
2 votes
1 answers
2529 views
Exporting $PULSE_SERVER at start up
In order to run flatpak applications (like Discord or Spotify) I currently have to export the `$PUSLE_SERVER` in my `~/.zshrc` or `~/.bashrc` like so: export PULSE_SERVER=unix:/tmp/pulse-PKdhtXMmr18n/native After reading this [part][1] of the pulse audio FAQ I believe I can get this working by using...
In order to run flatpak applications (like Discord or Spotify) I currently have to export the $PUSLE_SERVER in my ~/.zshrc or ~/.bashrc like so: export PULSE_SERVER=unix:/tmp/pulse-PKdhtXMmr18n/native After reading this part of the pulse audio FAQ I believe I can get this working by using ~/.config/pulse/client.conf. I have tried adding either of the following two lines to my ~/.config/pulse/client.conf: default-server = unix:/tmp/pulse-PKdhtXMmr18n/native And: auto-connect-display = yes NOTE: I tried the second because someone on the IRC suggested that flatpak may be looking at something related to X11 for the $PULSE_SERVER. After trying an env | grep PULSE the $PULSE_SERVER does not appear to be being set. Furthermore neither of these approaches seem to have any effect (in saying that the first seemed to interfere with the session start as it stopped my polybar from starting, I have no idea why or how to debug this). The main reason for wanting to define the $PULSE_SERVER elsewhere is I don't want to have to declare it in each shell and I would like to keep all the pulse config in one place. I originally tried adding the above export to my ~/.xprofile (I use SDDM to start my session) however this stopped the pulse folder from being created in /tmp/. Additional Info: I am running void linux with the bspwm window manager.
Otis Wright (121 rep)
Jan 2, 2019, 08:14 AM • Last activity: May 24, 2025, 07:02 AM
3 votes
2 answers
1163 views
Unable to run flatpak independent of the script that started it
I've always successfuly used an ampersand to start an application in the background from within a script. Such background applications seem to be detached from the script that started it, meaning that when I terminate the script, the applications keep running. I now have a script that first starts a...
I've always successfuly used an ampersand to start an application in the background from within a script. Such background applications seem to be detached from the script that started it, meaning that when I terminate the script, the applications keep running. I now have a script that first starts a number of applications, some of them flatpaks, and then starts an endless while loop to monitor my ip address to check that the vpn is still working.
#!/bin/bash
start application 1 &
start application 2 &
start flatpak application 1 &
start flatpak application 2 &

while true
do
   check ip address
   sleep 180
done
When I terminate the script with ctrl-C, the non-flatpak applications keep running (as expected), but the flatpaks are terminated. This, however, only happens if the script has this while loop: if I remove the while loop, then all applications keep running when I terminate the script, including the flatpaks. So far, I've tried: - calling the applications with the ampersand:
/usr/bin/flatpak run --command=de.manuel_kehl.go-for-it de.manuel_kehl.go-for-it &
- calling the applications with nohup:
nohup /usr/bin/flatpak run --command=de.manuel_kehl.go-for-it de.manuel_kehl.go-for-it &
- calling disown after starting the application
/usr/bin/flatpak run --command=de.manuel_kehl.go-for-it de.manuel_kehl.go-for-it &
disown
None of these approaches help. Can someone explain why this happens? And is there a solution? I would like to keep all applications, including the flatpaks, running when I terminate the script. tnx (using bash on Linux Mint 19.3 MATE)
wayan (101 rep)
Sep 11, 2022, 09:57 AM • Last activity: May 15, 2025, 07:17 AM
0 votes
1 answers
82 views
flatpak "download only" update location
In APT, we can do `apt upgrade --download-only` so we download locally without installing. In flatpak, according to their help, we may use `flatpak update --no-deploy` to achieve the same behavior: "Don't deploy, only download to local cache" The problem is I can't find it. I used verbose during `fl...
In APT, we can do apt upgrade --download-only so we download locally without installing. In flatpak, according to their help, we may use flatpak update --no-deploy to achieve the same behavior: "Don't deploy, only download to local cache" The problem is I can't find it. I used verbose during flatpak update --no-deploy command, and it shows: flatpak_dir_pull: Using commit [...] for pull of ref app/[xxx]/x86_64/stable from remote flathub Tried to find and grep this [...] commit, could not find anything (grep is still running). Does anyone know where is this "local cache" ?
Bob Mauranne (13 rep)
May 5, 2025, 12:56 PM • Last activity: May 5, 2025, 02:48 PM
0 votes
0 answers
44 views
What do I have to do to allow Adobe Reader to see all my files and folders in Fedora 41 KDE spin?
I'm running Fedora 41 KDE spin. I used Discover to install the Flatpak distribution of Adobe Reader. When I try to right-click `Open With > Adobe Reader 9` on a file in Dolphin, it silently fails. When I launch Adobe Reader and select `File > Open...`, the dialog displays only the Documents folder i...
I'm running Fedora 41 KDE spin. I used Discover to install the Flatpak distribution of Adobe Reader. When I try to right-click Open With > Adobe Reader 9 on a file in Dolphin, it silently fails. When I launch Adobe Reader and select File > Open..., the dialog displays only the Documents folder in my home directory and does not show /run/media under the File System location. Update #1: Per ChanganAuto's suggested link to AskUbuntu, I installed FlatSeal and set some filesystem permissions for Adobe. Now I can browse to my mounted drive and see the file I want to open, but when I try to open it, Adobe terminates. When I run flatpak run com.adobe.Reader in a terminal window, I see lots of "CRITICAL" lines having to do with Gdk and GdkPixbuf and GLib-GIO but nothing that gives me an idea as to why the open fails and why the app is terminated. Update #2: I posted this question on fedoraforums.org and was advised to install a few supporting packages and then the rpm from the Adobe site. The installations went smoothly, and now Reader opens the file, but unfortunately it is too old to understand the new format and extensions used. For now, there seems to be no resolution.
Jeff (1312 rep)
Apr 17, 2025, 05:19 PM • Last activity: Apr 17, 2025, 08:33 PM
4 votes
1 answers
73 views
opening an image in /tmp with Pinta
I have Pinta 2.1.1 running in Flatpak (v1.14.5). When I run Pinta from the command line passing an image located in `/tmp` as an argument, it complains about the file not existing: ```shell $ /var/lib/flatpak/exports/bin/com.github.PintaProject.Pinta /tmp/img.jpg Pinta: GLib.GException: Error when g...
I have Pinta 2.1.1 running in Flatpak (v1.14.5). When I run Pinta from the command line passing an image located in /tmp as an argument, it complains about the file not existing:
$ /var/lib/flatpak/exports/bin/com.github.PintaProject.Pinta  /tmp/img.jpg 

Pinta: GLib.GException: Error when getting information for file “/tmp/img.jpg”: No such file or directory
I am guessing this is due to [/tmp being blacklisted by default](https://docs.flatpak.org/en/latest/sandbox-permissions.html) , and Pinta [not configured](https://github.com/flathub/com.github.PintaProject.Pinta/blob/7d1e540906c8f52af7e9060aded28cf755f1456b/com.github.PintaProject.Pinta.yaml#L12-L33) to enable access to it. However, once the application is running, said image can be opened via 'Open file' (Ctrl+o) dialog. Is this expected?
laur (790 rep)
Apr 18, 2024, 03:57 PM • Last activity: Apr 15, 2025, 07:15 PM
0 votes
0 answers
25 views
flatpak permission from manifest does not grant permission to xdg-documents
When I built a flatpak, I put this in my manifest yml: ``` finish-args: - --filesystem=xdg-desktop - --filesystem=xdg-documents - --socket=x11 - --share=ipc ``` Then I built the app and installed it. ``` flatpak-builder --user --install build --force-clean com.example.helloworld.yml ``` When I run t...
When I built a flatpak, I put this in my manifest yml:
finish-args:
  - --filesystem=xdg-desktop
  - --filesystem=xdg-documents
  - --socket=x11
  - --share=ipc
Then I built the app and installed it.
flatpak-builder --user --install build --force-clean com.example.helloworld.yml
When I run the program and use a file picker dialog (using Tkinter in python3), I see only three directories in my "home" directory: .local, .var, and Desktop. **Why is ~/Documents not in the list, when ~/Desktop is?** When I give a specific override to the path, it works.
$ flatpak override --user com.example.helloworld --filesystem="${XDG_DOCUMENTS_DIR}"
Then the file dialog shows me my Documents directory. I had to hard-code a filesystem path, which is the defined XDG_DOCUMENTS_DIR (and is the default one even if that is not defined specifically).
bgStack15 (436 rep)
Apr 3, 2025, 01:23 AM
13 votes
2 answers
13841 views
How to reset all manually overriden permissions for a flatpak?
Let's say I've used [`flatpak override`](http://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-override) to add/change some permissions and now I (regret it😉) and want to restore/reset them. **How can I do that?**
Let's say I've used [flatpak override](http://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-override) to add/change some permissions and now I (regret it😉) and want to restore/reset them. **How can I do that?**
rugk (3496 rep)
Mar 19, 2019, 06:25 PM • Last activity: Mar 30, 2025, 02:50 PM
0 votes
0 answers
1896 views
How to clear the contents under /run/user/1000/doc?
I am on Ubuntu 20.04 and installed `evince` via `flatpak`, when I open `evince`, it usually makes a copy of the opened file into `/run/user/1000/doc`. I learned that `/run/user/1000/doc` is the temporary directory for storing file used by running applications, but when I quit evince the files create...
I am on Ubuntu 20.04 and installed evince via flatpak, when I open evince, it usually makes a copy of the opened file into /run/user/1000/doc. I learned that /run/user/1000/doc is the temporary directory for storing file used by running applications, but when I quit evince the files created by it does not go away. Even if I reboot my machine, the files still exist. As the directory cannot be accessed in the usual way, it is not writable and cannot be changed with chmod. How can I remove the contents of /run/user/1000/doc ?
Simon.Zh.1234 (9 rep)
Apr 18, 2023, 07:04 AM • Last activity: Mar 18, 2025, 09:17 AM
0 votes
0 answers
1507 views
GNOME Extensions do not install on Debian
I'm trying to install true-color-invert available at the [GNOME Extensions website][1] or [similar tools][2]. It does not appear in the Extensions application on my Debian nor the `gnome-extensions list` which returns "Extension... Does Not Exists". 1. downloaded for shell version 3.38 extension ver...
I'm trying to install true-color-invert available at the GNOME Extensions website or similar tools . It does not appear in the Extensions application on my Debian nor the gnome-extensions list which returns "Extension... Does Not Exists". 1. downloaded for shell version 3.38 extension version 11, because gnome-shell --version returns GNOME Shell version is 3.38.6. 2. unzipped, and made sure the directory of the unzipped files had the same name as the uuid in metadata.json : true-color-invert@jackkenney. 3. moved the directory to the folder of system-wide extensions : /usr/share/gnome-shell/extensions/, where I also affirmed the location of extensions readily appearing in the Extensions application. 4. reboot **What I tried:** - I also tried creating the directory ~/.local/share/gnome-shell/extensions/ and putting the extension here. - gnome-extensions install true-color-invertjackkenney.v11.shell-extension.zip [5] gave similar result as edit 1. did make the extension available. Other report similar issues. [6] [7] - it also does not install using preinstalled chrome-gnome-shell and the to-be installed browser extension for Firefox, although the website prompts "Your native host connector do not support following APIs: v6." that some say nevertheless should not be an issue on Ubuntu . - I tried multiple different extensions on the GNOME web. None worked. Someone has written at program at github that arguably fixes it , but I am a bit hesitant. - tried installing flatpak, then Extension Manager. But packages still won't install. What am I missing?
Johan (439 rep)
Apr 18, 2023, 01:45 PM • Last activity: Mar 18, 2025, 09:14 AM
0 votes
1 answers
1161 views
Switch the runtime version of flatpak app
If I list all runtimes, I see different apps use different versions of the same package. For instance, ```flatpak list --runtime``` outputs Freedesktop Platform org.freedesktop.Platform 21.08.20.1 21.08 system Freedesktop Platform org.freedesktop.Platform 22.08.12.1 22.08 system If I want to know wh...
If I list all runtimes, I see different apps use different versions of the same package. For instance,
list --runtime
outputs Freedesktop Platform org.freedesktop.Platform 21.08.20.1 21.08 system Freedesktop Platform org.freedesktop.Platform 22.08.12.1 22.08 system If I want to know which apps use the older version, I can type
list --app --app-runtime org.freedesktop.Platform//21.08
which, in my case, outputs the app Bla org.Bla.BlaBla 0.9.11 stable system Now, how can I force this app to run with the 22.08 version of Freedesktop Platform instead of the 21.08 version?
Free_ion (3 rep)
Aug 2, 2023, 05:16 PM • Last activity: Mar 6, 2025, 12:01 AM
0 votes
0 answers
82 views
How is `flatpak override --env=FOO=bar some.app.id` suppose to work?
I thought that I could: 1) Use override to set an env for some flatpak 2) And then every time I run this app 3) If I enter in the process (to be sure, I did this for all 3 types of pids: instance,pid,child-pid) and execute `printenv` I would have expected to see the `FOO=bar`environment being set at...
I thought that I could: 1) Use override to set an env for some flatpak 2) And then every time I run this app 3) If I enter in the process (to be sure, I did this for all 3 types of pids: instance,pid,child-pid) and execute printenv I would have expected to see the FOO=barenvironment being set at lest for some of them, but it's not. What am I missing? Test:
flatpak override --user --env=FOO=bar com.github.PintaProject.Pinta
flatpak info -M com.github.PintaProject.Pinta; echo # To verify flatpak understood setting the override
flatpak run com.github.PintaProject.Pinta &
sleep 1
flatpak ps --columns=instance,pid,child-pid,application |
  grep -i pinta | sed 's_'$'\t''*[^0-9]*$__' |
  xargs -d $'\t' -I_ sh -c 'echo Envs of instance $0; flatpak enter $0 printenv; echo' '_'
Output:
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=xdg-templates;xdg-pictures;xdg-public-share;xdg-run/gvfs;/run/media;xdg-run/gvfsd;xdg-documents;xdg-desktop;xdg-download;

[Session Bus Policy]
org.gtk.vfs.*=talk

[Environment]
FOO=bar

Envs of instance 987116797
XDG_RUNTIME_DIR=/run/user/1000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
TERM=xterm-256color

Envs of instance 1399677
XDG_RUNTIME_DIR=/run/user/1000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
TERM=xterm-256color

Envs of instance 1399691
XDG_RUNTIME_DIR=/run/user/1000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
TERM=xterm-256color
Timo (683 rep)
Feb 27, 2025, 03:42 PM • Last activity: Feb 27, 2025, 03:47 PM
0 votes
0 answers
26 views
Flatpak missing version attribute in output
I want to automate some Flatpak-related things, and my current problem is listing all remote packages and their versions. For reproducibility, I am testing in a Docker container (`fedora`, `debian` or `ubuntu`) and doing: ```shell # dnf install -y flatpak # or apt # flatpak remote-add --if-not-exist...
I want to automate some Flatpak-related things, and my current problem is listing all remote packages and their versions. For reproducibility, I am testing in a Docker container (fedora, debian or ubuntu) and doing:
# dnf install -y flatpak  # or apt
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo 
Now I can list the applications, but they don't have versions!
# flatpak remote-ls --columns=application,version | head -n 3
app.authpass.AuthPass
app.bbsync.BlackboardSync
app.bluebubbles.BlueBubbles
There is no version in an individual application details either:
# flatpak remote-info flathub org.gnome.Shotwell
        ID: org.gnome.Shotwell
       Ref: app/org.gnome.Shotwell/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 15.7 MB
 Installed: 30.1 MB
   Runtime: org.gnome.Platform/x86_64/47
       Sdk: org.gnome.Sdk/x86_64/47

    Commit: 696f2d6c2e4021cd048794988f72247dd831497a47dc534a4a9574a35ae92657
    Parent: ea367aecbac42a00745e75ff2454cf84338f5379371f6a73870b4ab986a11ad5
   Subject: libportal: Update libportal-0.8.1.tar.xz to 0.9.0 (#93) (d2613444)
      Date: 2024-12-22 12:31:43 +0000
_However_, if I do a search:
# flatpak search shotwell
Name            Description                   Application ID           Version       Branch       Remotes
Shotwell        Digital photo organizer       org.gnome.Shotwell       0.32.9        stable       flathub
I can suddenly see versions of all packages!
# flatpak remote-ls --columns=application,version | head -n 3
app.authpass.AuthPass	1.9.6_1904
app.bbsync.BlackboardSync	0.18.0
app.bluebubbles.BlueBubbles	1.15.0.0
# flatpak remote-info flathub org.gnome.Shotwell
Shotwell - Digital photo organizer

        ID: org.gnome.Shotwell
       Ref: app/org.gnome.Shotwell/x86_64/stable
      Arch: x86_64
    Branch: stable
   Version: 0.32.9
   License: LGPL-2.1+
Collection: org.flathub.Stable
  Download: 15.7 MB
 Installed: 30.1 MB
   Runtime: org.gnome.Platform/x86_64/47
       Sdk: org.gnome.Sdk/x86_64/47

    Commit: 696f2d6c2e4021cd048794988f72247dd831497a47dc534a4a9574a35ae92657
    Parent: ea367aecbac42a00745e75ff2454cf84338f5379371f6a73870b4ab986a11ad5
   Subject: libportal: Update libportal-0.8.1.tar.xz to 0.9.0 (#93) (d2613444)
      Date: 2024-12-22 12:31:43 +0000
Metadata (flatpak --version; source /etc/os-release && echo $PRETTY_NAME):
Flatpak 1.16.0
Fedora Linux 41 (Container Image)
Flatpak 1.14.6
Ubuntu 24.04.1 LTS
Flatpak 1.14.10
Debian GNU/Linux 12 (bookworm)
I am aware that using Flatpak in containers is not very useful, but my tests use containers and I don't want to have different behavior there. * How do I initialize Flatpak's remote information so it starts giving out version information on remote-ls? * Why do I only have this problem in containers, and not on my Fedora workstation?
Koterpillar (313 rep)
Feb 2, 2025, 07:26 AM • Last activity: Feb 13, 2025, 10:01 PM
0 votes
2 answers
236 views
/run/user/1000/docs saved files cleanup
Debian 12.9 GNOME DE My /run/user/1000/doc folder contains some 150 subdirectories, a significant number of which contain no files and of some which do, selecting the file using Midnight Commander indicates: [![enter image description here][1]][1] EDIT: In regard to [this Reddit post](https://www.re...
Debian 12.9 GNOME DE My /run/user/1000/doc folder contains some 150 subdirectories, a significant number of which contain no files and of some which do, selecting the file using Midnight Commander indicates: enter image description here EDIT: In regard to [this Reddit post](https://www.reddit.com/r/linuxquestions/comments/18c06ae/what_in_the_world_is_runuser1000doc/) it doesn't exactly address my question since, for the most part, the host file never appears in the system outside of this structure. I can see that those which do (because the location has been changed using the file picker) are merely "tokenised" in /run/user/1000/doc and so occupy no space in the FS proper (explaining why they can't be deleted) but those that appear only in the FUSE structure do perhaps occupy space because they are the only copy of the file in the FS (which explains why they can be deleted) if that makes sense. So, retuning to the question, how can this be cleaned up without concern for whether the file is real or tokenised? The warning is simply removed with a cursor key movement. Other files have been removed by use of the F8 key but when this message appears pressing F8 to delete the file results in: enter image description here Since I think I understand that these files are temporary, **how can the subdirectory be cleaned up** and is there any need to do so? I believe I know where the files came from in the first place - sometimes when saving a file from Firefox (Flatpak) the /run/user/1000/doc/... folder is offered and I generally reselect a different location under the Home directory but sometimes I miss it and the file ends up in this less accessible place which usually means repeating the save process to where I would prefer the file to be placed resulting in two copies of the same file existing on the system. EDIT: In regard to [this Reddit post](https://www.reddit.com/r/linuxquestions/comments/18c06ae/what_in_the_world_is_runuser1000doc/) it doesn't exactly address my question since, for the most part, the host file never appears in the system outside of this structure. I can see that those which do (because the location has been changed using the file picker) are merely "tokenised" in /run/user/1000/doc and so occupy no space in the FS proper (explaining why they can't be deleted) but those that appear only in the FUSE structure do perhaps occupy space because they are the only copy of the file in the FS (which explains why they can be deleted) if that makes sense. So, retuning to the question, how can this be cleaned up without concern for whether the file is real or tokenised?
graham (101 rep)
Feb 2, 2025, 03:39 PM • Last activity: Feb 3, 2025, 05:35 PM
0 votes
0 answers
49 views
/opt folder and installing from flatpak
I was trying to install a program called soundux from pacstall, and it created a desktop icon but wouldn't install after a dependency issue. Clicking on that icon just created another icon on my task bar, but then it would just disappear without doing anything. I also couldn't uninstall the applicat...
I was trying to install a program called soundux from pacstall, and it created a desktop icon but wouldn't install after a dependency issue. Clicking on that icon just created another icon on my task bar, but then it would just disappear without doing anything. I also couldn't uninstall the application and get rid of the desktop icon because it had never installed in the first place. After giving up on getting that working, I tried installing from flatpak. While it did not suffer from dependency issues, the application still wouldn't open because it was using the same pacstall application (I think). To try and fix this, I deleted the /opt folder the desktop application was in, and while this did get rid of it, installing from flatpak doesn't seem to recreate the folder, and I can't open the application without it. How do I fix this? I'm on Kubuntu 24.04
Aidan O'Connor (1 rep)
Jan 27, 2025, 05:04 AM
1 votes
1 answers
2993 views
How to clean up flatpak files in ~/.local/share/flatpak/repo/objects/?
`flatpak list` shows me that I only have one app and `Freedesktop.org Software Development Kit` (probably dependency for that app; ca 900MB) installed with flatpak and `flatpak uninstall --unused` returns `Nothing unused to uninstall` but the size of `/home/username/.local/share/flatpak/repo/objects...
flatpak list shows me that I only have one app and Freedesktop.org Software Development Kit (probably dependency for that app; ca 900MB) installed with flatpak and flatpak uninstall --unused returns Nothing unused to uninstall but the size of /home/username/.local/share/flatpak/repo/objects/ is much larger than I would suspect (over 1.5 GB; there are many folders with two-char names with many .files with UID names). Can this folder be cleaned up somehow without uninstalling that app or flatpak? I'm using Debian11/KDE. Related question.
mYnDstrEAm (4708 rep)
Oct 6, 2022, 11:40 AM • Last activity: Jan 26, 2025, 12:07 PM
0 votes
0 answers
42 views
unit name in journalctl empty when filtering using -u flag for flatpaks
`journalctl` shows logs in the following format ``` ``` Whenever I needed to get logs from a single unit I added `-u` flag `journalctl -u `. This works for most cases, but not for Flatpaks. Important to note that a "solution" with `grep` or `awk` is not accepted as it sends the entire log from all u...
journalctl shows logs in the following format
Whenever I needed to get logs from a single unit I added -u flag journalctl -u . This works for most cases, but not for Flatpaks. Important to note that a "solution" with grep or awk is not accepted as it sends the entire log from all units to a simple text filter. This requres the user to create a more complicated filter so that no other logs from other applications are extracted. An explenation on why displayed names in the logs cannot always be used with -u flag would also be appreciated. Example:
> journalctl -b -1 -xe
...
Dec 29 18:05:51 hostname io.github.mrvladus.List.desktop: [DEBUG] Notifications: Check
Dec 29 18:05:51 hostname io.github.mrvladus.List.desktop: [DEBUG] Notifications: Check
Dec 29 18:05:51 hostname io.github.mrvladus.List.desktop: [DEBUG] Notifications: Check
Dec 29 18:05:51 hostname io.github.mrvladus.List.desktop: [DEBUG] Notifications: Check
...
> journalctl -b -1 -u io.github.mrvladus.List.desktop
Failed to add filter for units: No data available
> journalctl -b -1 -u io.github.mrvladus.List.desktop
-- No entries --
> journalctl -b -1 -u List.desktop
-- No entries --
> journalctl -b -1 -u flatpak-app-io.github.mrvladus.List.desktop
-- No entries --
> journalctl -b -1 -u flatpak-app-io.github.mrvladus.List.scope
-- No entries --
from https://unix.stackexchange.com/a/170396/416910 I found that
systemctl list-unit-files --all
would list all units that could generate logs. That output does not contain anything that is similar to io.github.mrvladus.List in my case. So how can it generate logs if it's not in that list? This question is similar to https://unix.stackexchange.com/questions/416548/why-journalctl-does-not-display-log-message-if-i-use-filtering-by-unit , but OP claims that it was a bug which was fixed in version 236. He never clarified whether upgrading actually fixed his issue.
> journalctl --version
systemd 257 (257.1-1-arch)
+PAM +AUDIT -SELINUX -APPARMOR -IMA +IPE +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF +XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE
Pavel Skipenes (235 rep)
Dec 29, 2024, 07:30 PM
1 votes
0 answers
77 views
How to install flatpak-builder in rhel docker (ubi)?
For context: I'm trying to crossbuild `wezterm-mux-server` to use it on remote servers of my company that run RHEL 9.2+. Since I don't have full root access I want to crossbuild them on my local machine and then copy over the binaries. The problem is that the build needs some distro-related dependen...
For context: I'm trying to crossbuild wezterm-mux-server to use it on remote servers of my company that run RHEL 9.2+. Since I don't have full root access I want to crossbuild them on my local machine and then copy over the binaries. The problem is that the build needs some distro-related dependencies, e.g. for rhel it needs flatpak-builder. Now how do I get flatpak-builder into the rhel docker image (ubi)? It doesn't seem to be included in any of the upstream repos that is queried by yum. Here are my steps so far: Pull and execut docker image: docker login registry.redhat.io # Use your red hat usename and password docker pull registry.redhat.io/ubi9/ubi:9.5-1732804088 docker run -v $PWD:/opt -it --entrypoint /bin/bash registry.redhat.io/ubi9/ubi:9.5-1732804088 From within the image execute: yum install flatpak-builder Which results in the following error message [root@00cef48d6bb3 /]# yum install flatpak-builder Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Red Hat Universal Base Image 9 (RPMs) - BaseOS 1.4 MB/s | 525 kB 00:00 Red Hat Universal Base Image 9 (RPMs) - AppStream 461 kB/s | 2.3 MB 00:05 Red Hat Universal Base Image 9 (RPMs) - CodeReady Builder 1.0 MB/s | 281 kB 00:00 No match for argument: flatpak-builder Error: Unable to find a match: flatpak-builder Building from source is not really an option since flatpak-builder itself needs a ton of additional dependencies (I don't want to build the whole dependency tree manually). So my prefered way is to do it with a package manager. However since I'm a newbie to RHEL I have no idea how to add a new online repository or how to find out which online repositories even contain flatpak-builder?
glades (117 rep)
Dec 19, 2024, 06:20 PM • Last activity: Dec 22, 2024, 12:47 PM
Showing page 1 of 20 total questions