Sorry for the wait (had to go somewhere).
Would their be anything to change in some sort of system setting or would I have to change Flatseal settings to effect it.
I am now aware of you not much knowing og Flatpacks, but I was just wondering if you knew if it was a system thing.
As of now changing some of the simple setting in Flatseal does not do much.
Do I know? Whatever you were trying to do with zenity I guess.
I'm not sure I understand. Perhaps a little context would help.
How did you get the error message above? I guess it was not your script but some other program?
Anyway, I forgot the most important thing to test: do you get the same error with a new user?
It is someones else code that I get the error with. Usually I do not get the error until now and I don't know why. The software itself I have no idea what it is doing in the background, through the source code. The only thing I know is that every time I hit "Save" or any other button it will prompt it with the error. Again this could be a 100% a user error and a developer error, but how it is happening with multiple apps and even forks, I have no clue what it is doing.
With the new user test. I have not tried that, I never even thought of trying it. I can quickly go try that now, but it might take a few seconds.
Just came back from testing it with a different user, and am sad to say that even didn't work. Still the exact same error.
OK, so that should exclude any problem with dconf settings (I read somewhere it could be that).
I’d think it’s a zenity problem at this point, since yad works. yad should be nearly compatible and can be used in place of zenity: yad/data/misc/zenity.sh at master · v1cont/yad · GitHub
multiple apps and even forks
if there are forks of those apps, I surmise they’re not some super secret thing…
Should be used in place of zenity. So would I have to uninstall zenity so it uses yad instead, or would it just be compatible between the two and should just work out of the box? Or at this point it is just a total issue and no fix and I am better off changing Enviroments. At this point I kind of burn out and can't find anything.
Try this:
ls ~/.local/bin, if not existing, mkdir -p ~/.local/bin
echo $PATH, if the first item is not /home/$USER/.local/bin (where $USER is your username),
set PATH /home/$USER/.local/bin $PATH (this is for the fish shell, if using bash, set PATH=/home/$USER/.local/bin:$PATH)
then
ln -s /usr/bin/yad /home/$USER/.local/bin/zenity
and try again (I mean, run whatever top secret thing it is from this command line, not another terminal, not the GUI)
explanation: commands are searched in the places listed in the variable PATH, in order, so this should hide zenity and replace it with yad.
So I followed the steps and I can't tell if its working or not. When I hit "Save" and a windowed box appeared that the says is "Save File" and the only option is "Cancel" and "OK" and can't choose were it saves or anything.
Also when I do the the commands do I change the the "$USER" to my pc name or do I keep it to "$USER"?
echo $USER it contains your user (not pc) name
Anyways, it looks like it sort of works like this, but can't say, I have no idea what the application is supposed to do. And I can't guess about the other "multiple apps", much less why they don't work on KDE.
When you say "switching to KDE", do you mean installed the OS from scratch?
I think so from the install date, but in case you installed KDE on top of another edition, that could be a cause of trouble.
See you next time, it's 3 o'clock here and I have to get up early tomorrow (that's today actually).
No problem. Thank you. Get some rest.
This is a fresh install, about a month ago, and I chose the regular "Garuda KDE Dr460nized" no-gaming edition.
Is it perhaps file portal dialog placed behind main window #306 only the other way around?
(Gtk app on KDE rather than KDE app on Gnome)
Is the application(s?) full screen by any chance?
Remove the symlink made for testing (rm /home/$USER/.local/bin/zenity) and try again, making sure the dialog is not hidden somewhere. While it’s supposed to be open, do pgrep zenity in another terminal, if it answers a number (the PID of the running zenity) there’s a good chance that is the case.
windowed box appeared that the says is “Save File” and the only option is “Cancel” and “OK”
and this is my fault, I didn’t notice this is one case where they’re not fully drop-in replacement: zenity uses zenity --file-selection and complains if given an unknown option, while yad uses yad --file and gives an empty OK/Cancel with an unknown option (tested with yad --wtf).
Work-around is easy, but first let’s see if it’s the issue above.
I just tried removing it and re adding it following the steps. Make sure that no other ones dialog prompts on my screen (That I am aware of, but I redid the steps like 3 times now), but when I did the "pgrep zenity" command while the prompt was up it did give me a set of number (random each time). I feel like I am missing something.
Again I apologize if this is a nuisance towards you, but I wanted give this a shot before calling it quits and just going with a different distro or something.
removing it and re adding it
I only said to remove it… if re adding it, yad is actually called, not zenity.
At least this is what I understand (“while the prompt was up” rather than the original error message).
Try it without that symlink in place.
When I hit “Save”
makes me think at least one window is on screen where it could hide behind
a set of number (random each time)
“a set of number” like 1234 or like 1234 2346 2384?
I understand there’s a language barrier but please try to describe things in no uncertain terms.
Now I go to work though, later.
How to check the status?
/usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service
/usr/lib/xdg-desktop-portal-kde
/usr/share/applications/org.freedesktop.impl.portal.desktop.kde.desktop
/usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
/usr/share/knotifications5/xdg-desktop-portal-kde.notifyrc
/usr/share/qlogging-categories5/xdp-kde.categories
/usr/share/xdg-desktop-portal/portals/kde.portal
As so often, the input command is missing there.
I got
systemctl status xdg-desktop-portal.service
Unit xdg-desktop-portal.service could not be found.
systemctl status plasma-xdg-desktop-portal-kde.service
Unit plasma-xdg-desktop-portal-kde.service could not be found.
To be able to understand the error, one would need a concrete example.
But if this is about Flatpak packages, I'm out. ![]()
Sorry for the late response, but all I got to say is that I am kinda am tired of the cat and mouse chase at this point so I will explain almost everything I did, and if no one has a clear cut answer my later today or tomorrow, I will just back things up and start over. Either through different distro or desktop environment.
A couple of days ago I wanted to manually compile a popular video game modding tool that is supported by the game devs. The game is made with haxe and has alot of dependencies. After getting it to work by downgrading and upgrading the required dependencies, it loaded 100% fine. Everything was working fine. This modding engine comes with a save feature that allows you to save via .json evertime you change something, BUT when I went to change something it will give me the error. ~~~ (zenity:74898): Gtk-WARNING **: 21:25:07.813: Can't open portal file chooser: GDBus.Error:org.freedesktop.por
tal.Error.InvalidArgument: invalid filter: invalid glob pattern ~~~. At first I thought it was the code of the game, so I started using forks that would greatly improve everything about the original, and that also gave me a error, so I tried another fork, then another, and another, and they all gave me the same. So I did research, make sure I had the add-ons for the portal, and file viewer installed correctly tried a couple of commands, that I don't even know what it was for, and tried system setting via GUI. So I came here, the distro I use forums. And now we are here, and as of now nothing has worked correctly ever sense.
Again it could be a issue I created, or the software I am trying to compile made the issue, and I have done this before in the past with the same software, but until reinstalling Garuda KDE, I have gotten nothing but issues.
If now one can help by tonight or early tomorrow, and have not received a response by me by then, then I must have restarted and reinstalled either a new distro or new Garuda enviroment. I can send the source code to the tool I am trying to use with its save feature if you wanted me to.
Also please don't judge me. Either from software I use, or thinking I am a idiot in some way. Just remember that I am a person just trying to do the things I love and is always getting stopped by the stupidest things. ALSO don't judge me if you know what game I am referring to. I am just doing this for fun.
If we can't find the solution by restart then all I got to say is this. Thank for everything, your time, effort, and knowledge. Even if you think I am just one idiot in this community. I am proud to be in this community and learning the challenge of Linux learning, and through you guys, It made it much more easier.
In conclusion, if we can't find the solution by later tonight or early tomorrow, I am gonna restart through either a new distro, or differnet Garuda envirmonet. Thank you and have a nice day.
No one is judging anyone here.
Unfortunately, my translation program does not find any specific references in your text.
You have done a lot, but nothing works, now put yourself in the position of the reader, who may not be a psychic.
Sample.
Is this so secret that you can’t post names or links?
In general, if a program uses zenity/yad as output and then there is an error message, you should consult the programmer because it is unrelated to the OS. If it should be flatpak, everything is isolated from the OS anyway.
