Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudo-give-me-coffee/flatpak2appdir
A proof of concept to demonstrate a viable way to turn a Flatpak into AppDir
https://github.com/sudo-give-me-coffee/flatpak2appdir
appdir appimage converter flatpak linux
Last synced: 9 days ago
JSON representation
A proof of concept to demonstrate a viable way to turn a Flatpak into AppDir
- Host: GitHub
- URL: https://github.com/sudo-give-me-coffee/flatpak2appdir
- Owner: sudo-give-me-coffee
- License: mit
- Created: 2020-03-17T23:25:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T23:53:29.000Z (over 4 years ago)
- Last Synced: 2024-08-02T00:26:12.615Z (3 months ago)
- Topics: appdir, appimage, converter, flatpak, linux
- Language: Shell
- Size: 5.06 MB
- Stars: 27
- Watchers: 5
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-appimage - flatpak2appdir - Turn Flatpak into AppDir which in turn can be turned into AppImage. (AppImage developer tools / Tools to convert from other package formats)
README
# flatpak2appdir
A tool for converting flatpaks into AppImages# How to use?
0. Make sure that flatpak ins installead and not broken under your system:
```bash
# For Ubuntu:
sudo add-apt-repository -y ppa:alexlarsson/flatpak
sudo apt-get update
sudo apt-get -y install flatpak# For other systems, please see:
# https://flatpak.org/setup/# Is recommended to add flathub for getting runtimes
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo```
> Notes: your application **must be able to run** with `flatpak run your.app.id`
> If flatpak is broken the tool will be fail1. Download
```
wget https://github.com/sudo-give-me-coffee/flatpak2appdir/archive/master.zip -O flatpak2appdir.zip
```2. Unzip
```
unzip flatpak2appdir.zip
```3. Enter on repository dir:
```
cd flatpak2appdir-master
```4. Turn executable:
```
chmod +x flatpak2appdir strace-file appimagetool
```5. Run:
```
./flatpak2appdir com.example.app
```# Commandline option:
```
--executable=cmd Scan for dependencies of 'cmd'
--autostop=time Define how long executables will be traced
--disable-theme Disables theme integrationNotes:
¹ --executable= Can be used multiple times
² The default value for --autostop= is 25,
the time is given in seconds
```# How much overhead on the resulting AppDir?
In general, about 8 to 10 MB (the glibc and some extra libs), the resulting AppDir when compressed as AppImage in my tests will use disk space close to that of the original application (in most of cases)