webcatalog / chromeless

Official Chromeless app
https://webcatalog.io/chromeless/
Mozilla Public License 2.0
97 stars 20 forks source link

feature: allow define direct command for any other browser than built-in one #93

Open edmundlaugasson opened 3 years ago

edmundlaugasson commented 3 years ago

Feature Request

Specifications:

Description:

Currently is problematic to guess, what kind of alias to use or whether bash aliases are supported at all (#1241 ). Hereby I propose to add a chapter into Preferences, where we can configure web browsers to be used. Currently it is even not seen, which browsers are supported, unless you activate its asking on every adding and then you can see them. That chapter in Preferences should allow to define either used bash aliases (in case of Linux or other UNIX-like system) and also direct path (to make webcatalog non-dependent on path env variable) or direct run command (e.g. flatpak run org.chromium.Chromium in case of Flatpak version of Chromium web browser). Sometimes we need to run from script the app, e.g. in case of FreePlane, FreeMind we need to run bash script, but it could be any file, that has executable permission in Linux. Sometimes it may require interpreter beforehand (e.g. bash script.sh, python script.py), but sometimes also additional parameters. Sometimes that executable file is in user's path, sometimes not. So, the run commands may vary and be quite complex sometimes (e.g. to run Flatpak apps, there are multiple options, same may apply in other cases).

Additional Context

Nowadays quite often there are used other package managing systems than built-in, because built-in are quite often outdated. Newer or even newest version of apps are available via Flatpak, Snap, AppImage, etc. or even direct binary or even kind of script extracted in storage device.