flathub / org.geany.Geany

https://flathub.org/apps/details/org.geany.Geany
6 stars 6 forks source link

can't use help in geany, misconfigured browser command #20

Closed btreut closed 10 months ago

btreut commented 3 years ago

I am trying to use geany 1.37.1 installed from flathub, but when I try to get help, a popup appears that tells me that the browser command is misconfigured. image I tried several other commands, ie. firefox-bin (which is what I can see in the process list), flatpak run org.mozilla.firefox (which is how I succeeded to start firefox from the command line), but without success in getting help in geany. I also tried to adjust access rights for geany with flatseal, but did not succeed. Any suggestions what to enter as browser command and/or how to adjust the permissions?

I am using EndlessOS, a Debian derivate based on OSTree & Flatpak, see also my request for help at the Endless Community forum.

PS: In the meantime I tried removing and reinstalling geany, but this does not change anything.

wjt commented 3 years ago

What happens if you specify xdg-open as the browser command?

btreut commented 3 years ago

thanks. It works like a charme with xdg-open.

wjt commented 3 years ago

I suggest reopening this because (a) it should work out of the box; (b) this line attempts to make it so:

https://github.com/flathub/org.geany.Geany/blob/9f57fdb3aa4fc09f532ed924739aace72990f223/org.geany.Geany.json#L66

btreut commented 3 years ago

as @wjt suggested, I re-open the issue ...

btreut commented 1 year ago

with the currently installed version 1.38, which was installed by some update, I can browse the help file by asking for help through the menu. It opens up the following dialog box, but I cannot choose any other browser than the default one, i.e. Chromium image PS: the three dots reveal Chrome as an additional choice, but also Chrome cannot be chosen.

TiZ-HugLife commented 1 year ago

It seems like your xdg-desktop-portal might have been giving you fits at that time. I think I meant to say something like this back in March, but didn't for some reason. Is this still the case now?

I removed the section of my config file that specified a browser, and the sed segment might not even be necessary anymore, because the default is now "system default", and it works out of the box for me. We might be able to close this one up now.

btreut commented 1 year ago

Sorry, I can't remember if this is still a problem. I'll try it again.

btreut commented 1 year ago

what is the expected behavior?

When I ask Geany 2.0 for help, I get every time the dialog box asking me for choosing a browser.

TiZ-HugLife commented 1 year ago

That happens for me, too. I believe that is the expected behavior, and it's up to the desktop portal to give you an option to use an app every time or not. Plasma has a checkbox you can tick to use an app every time.

TiZ-HugLife commented 10 months ago

I'm gonna go ahead and close this, because Geany now correctly defers to the portal to open help, and anything that feels bad with that is out of scope here. Thank you very much! 🙂