View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002549 | Double Commander | Graphical user interface | public | 2020-11-03 15:45 | 2020-11-28 18:09 |
Reporter | zeroconf | Assigned To | Alexx2000 | ||
Priority | high | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Projection | none | ETA | none | ||
Platform | Linux | OS | Linux Mint | OS Version | 20 |
Product Version | 0.9.9 | Product Build | 2020/06/27 | ||
Summary | 0002549: unable to run containerized (Flatpak) text editor | ||||
Description | Would like to use Geany as external editor. Installed it as Flatpak to have more up-to-date version. Tried to use the following path: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=geany --file-forwarding org.geany.Geany @@ %F @@ Also tried to use path to *.desktop file: /var/lib/flatpak/exports/share/applications/org.geany.Geany.desktop No one worked - editor just won't open | ||||
Steps To Reproduce | 1. open DoubleCMD configuration 2. navigate Tools -> Editor 3. check "Use external program" 4. paste "Path to program to execute": /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=geany --file-forwarding org.geany.Geany @@ %F @@ OR /var/lib/flatpak/exports/share/applications/org.geany.Geany.desktop 5. Apply 6. try to open any text file with F4 7. nothing opens Tried workarounds: * wrote a script #!/bin/sh #sh -c '/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=geany --file-forwarding org.geany.Geany @@ %F @@' flatpak run org.geany.Geany Tried both lines by commenting in/out one by time, neither works. First one is original executing path, another is traditional Flatpak app running manually. Tried also that manual flatpak command directly from DoubleCMD settings, didn't work either. Also tried directly with and without sh -c - didn't work either. I guess same applies to Snap apps ( https://en.wikipedia.org/wiki/Snap_(package_manager) ), also in case of AppImage apps (https://en.wikipedia.org/wiki/AppImage), possible some other containerized app (http://techgenix.com/desktop-applications-in-containers/). | ||||
Additional Information | Double Commander Version: 0.9.9 beta Revision: 9478 Build date: 2020/06/27 Lazarus: 2.0.8.0 FPC: 3.0.4 Platform: x86_64-Linux-gtk2 OS version: Linux Mint 20 Ulyana Widgetset library: GTK 2.24.32 Installed from OpenSuse DEB repository https://software.opensuse.org/download.html?project=home%3AAlexx2000&package=doublecmd-gtk#manualUbuntu | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
Operating system | Linux | ||||
Widgetset | GTK2 | ||||
Architecture | 64-bit | ||||
|
This is not DC problem. > 4. paste "Path to program to execute": In this case "Path to program to execute" should be /usr/bin/flatpak, and %F uses in desktop-files, not in DC. So try: path-to: /usr/bin/flatpak params: run --branch=stable --arch=x86_64 --command=geany --file-forwarding org.geany.Geany @@ %p @@ > Tried workarounds: > * wrote a script Also see above about %F and in this case you should use something like ----------------------------------------- #!/bin/sh /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=geany --file-forwarding org.geany.Geany @@ "$@" @@ & ----------------------------------------- (or without " &" in the end). |
|
> I guess same applies to Snap apps Yes, same applies to Snap apps, just open desktop-file and see "Exec=". > also in case of AppImage apps Normal AppImage files supports command line parameters (i.e. they can pass them to the application, that will be launched), so make executable and try to use path-to: /path/to/Geany.AppImage params: %p |
|
Maybe close this issue with "no change required"? |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-03 15:45 | zeroconf | New Issue | |
2020-11-03 18:02 | Skif_off | Note Added: 0003530 | |
2020-11-03 18:57 | Skif_off | Note Added: 0003531 | |
2020-11-03 20:33 | Alexx2000 | Status | new => feedback |
2020-11-28 16:13 | Skif_off | Note Added: 0003574 | |
2020-11-28 18:09 | Alexx2000 | Status | feedback => resolved |
2020-11-28 18:09 | Alexx2000 | Resolution | open => no change required |
2020-11-28 18:09 | Alexx2000 | Assigned To | => Alexx2000 |