Howto: Popular AppImages one click away

Post tutorials, HOWTO's and other useful resources here.
rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Howto: Popular AppImages one click away

Post#196 by rych » 24 Jul 2022, 08:24

M. Eerie wrote:
23 Jul 2022, 08:30
Try to move it to <your_OpenRA_flavour.AppImage.config>
This is great, didn't know about it. Makes sense to store the config along with the AppImage itself. More here: https://askubuntu.com/questions/1009888 ... n-launches

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#197 by Rava » 18 Aug 2022, 23:55

M. Eerie wrote:
23 Jul 2022, 08:30
Try to move it to <your_OpenRA_flavour.AppImage.config>/openra

;)

For example, I have my Blender config isolated and ready to be 100% portable like this:

Image

Maybe include this trick in first post...
But what must be done when the path is not /home/guest/.config/NAME but /home/guest/.NAME/ ?

Added in 3 minutes 28 seconds:
Edit

I think the above posted link ( https://askubuntu.com/questions/1009888 ... n-launches ) explains it:
The AppImage will then think that ../some/path/to/my.AppImage.home/ is $HOME.
The AppImage will also think that ../some/path/to/my.AppImage.config/ is $XDG_CONFIG_HOME.
(BTW, $XDG_CONFIG_HOME very frequently defaults to $HOME/.config.)
I presume a program that uses /home/guest/.NAME/ as its home folder only uses $HOME - e.g. $HOME/.NAME and not $XDG_CONFIG_HOME ... but I could be wrong.
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Howto: Popular AppImages one click away

Post#198 by M. Eerie » 12 Sep 2022, 09:22

Ungoogled Chromium 64bit only.

Github repo
Wiki
Download

For the record, my bbprofile script works fine with Chromium.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#199 by Rava » 18 Sep 2022, 10:55

LosslessCut newest release for x86-64 Linux is 3.46.2 (the technical newest V3.46.3 is for Mac App Store only "(had to remove Exit button from menu due to Apple guidelines 🥴)")
I do the following:

Code: Select all

wget https://github.com/mifi/lossless-cut/releases/download/v3.46.2/LosslessCut-linux-x86_64.AppImage
mv LosslessCut-linux-x86_64.AppImage LosslessCut-linux-x86_64-3.46.2.AppImage 
chmod a+x LosslessCut-linux-x86_64-3.46.2.AppImage
md5sum LosslessCut-linux-x86_64-3.46.2.AppImage 
d0dfb682ab0c85a20529c5024197a824  LosslessCut-linux-x86_64-3.46.2.AppImage
I found no md5sum info on https://github.com/mifi/lossless-cut/releases nor on https://github.com/mifi/lossless-cut/tree/v3.46.2:teehee:

When you click on the sunflowers you open a new tab in your browser and it directs you to
https://mifi.no/ukraine/
Ukraine is under attack by Vladimir Putin.

If you want to support the people of Ukraine in their courageous battle to defend their homes, please find a list of options:

List: How to support Ukraine
Monobank: Help for Ukraine

Help stop the war.

[…]
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Howto: Popular AppImages one click away

Post#200 by rych » 19 Sep 2022, 09:54

Rava wrote:
18 Sep 2022, 10:55
LosslessCut newest release
Thanks! Maybe it's a wrong question, but does it come with a .desktop and .png files to add to my start menu, or should I make them myself?

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#201 by Rava » 19 Sep 2022, 10:02

rych wrote:
19 Sep 2022, 09:54
Thanks! Maybe it's a wrong question, but does it come with a .desktop and .png files to add to my start menu, or should I make them myself?
AppImages are stand-alone programs, and every user will put them on a different path in their system. Therefore adding a .desktop would hardly work.
Mine e.g. are in /mnt/sda5/bin/

Code: Select all

root@porteus:/mnt/sda5/bin# ls -o --time-style=long-iso *[aA]pp[Im]mage|cut -c 20-
 81827008 2021-03-31 22:26 CinGG-20210331-x86_64.AppImage
 95084232 2020-01-24 03:11 ClipGrab-3.8.10-x86_64.AppImage
 66835718 2020-03-24 15:55 FontBase-2.10.3.AppImage
 37158952 2020-03-24 15:56 FontForge-2020-03-14-67687b0-x86_64.AppImage
 17657896 2020-04-02 08:35 ImageMagick-23e57a6-clang-x86_64.AppImage
 93618152 2020-03-24 16:03 Lmms-1.2.1-linux-x86_64.AppImage
137130949 2021-01-25 13:44 LosslessCut-linux-3.30.1.AppImage
139918776 2022-07-20 16:54 LosslessCut-linux-x86_64-3.46.2.AppImage
 49727416 2020-03-24 16:00 MKVToolNix_GUI-25.0.0-x86_64.AppImage
160169984 2019-05-19 21:56 OpenShot-v2.4.4-x86_64.AppImage
 31354856 2020-03-24 15:56 Stacer-1.1.0-x64.AppImage
 75273184 2020-03-28 12:24 Translatium-11.0.1.AppImage
 73970085 2020-03-25 21:34 Wexond-4.0.0-beta.3.AppImage
 40960000 2020-04-02 08:54 avidemux_2.7.4.appImage
 41222144 2020-10-31 04:54 avidemux_2.7.6.appImage
 16482344 2020-03-24 16:08 freac-1.1-rc2-linux-x86_64.AppImage
 15876136 2020-01-12 21:20 freac-v1.1-beta2-linux-x86_64.AppImage
You have to create your own .desktop and .png files to add it to your start menu that reflects the path your AppImage(s) sit.
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Howto: Popular AppImages one click away

Post#202 by rych » 20 Sep 2022, 09:33

Rava wrote:
19 Sep 2022, 10:02
You have to create your own .desktop and .png files
Well, at least we can

Code: Select all

wget https://raw.githubusercontent.com/mifi/lossless-cut/ceda857d6dd6cd0c8200eb102250461511b17d53/src/icon.svg -O LosslessCut.svg
Many providers of AppImage packages provide a .desktop and an icon, or the runtime option --install or something similar. In this case it seems we need to design our own .desktop, it's doable, just a nuisance -- there's much more to it than just specifying the path. If you made one, please share, I'll edit the path surely.
Last edited by rych on 21 Sep 2022, 10:08, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#203 by Rava » 20 Sep 2022, 09:52

rych wrote:
20 Sep 2022, 09:33
In this case it seems we need to design our own .desktop, it's doable, just a nuisance -- there's much more to it than just specifying the path. If you made one, please share, I'll edit the path surely.
Sorry don't have one, I so rarely use any of these AppImages, I always go into the folder and execute them directly.
But you can use another .desktop as template.

here is the edited mpv one, I removed some parts I presume that are not applicable:

Code: Select all

[Desktop Entry]
Type=Application
Name=LosslessCut Video editor
GenericName=Video editor
Comment=edit videos
Icon=LosslessCut.svg
Exec=/path/to/LosslessCut.AppImage %U
Terminal=false
Categories=AudioVideo;Audio;Video;TV;
MimeType=application/ogg;application/x-ogg;application/mxf;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aacPlay movies and songs;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/aiff;audio/x-aiff;audio/m4a;audio/x-m4a;application/x-extension-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/mpeg2;audio/mpeg3;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/musepack;audio/x-musepack;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg2;video/x-mpeg3;video/mp4v-es;video/x-m4v;video/mp4;application/x-extension-mp4;video/divx;video/vnd.divx;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;audio/x-ms-asf;application/vnd.ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/avi;video/x-flic;video/fli;video/x-flc;video/flv;video/x-flv;video/x-theora;video/x-theora+ogg;video/x-matroska;video/mkv;audio/x-matroska;application/x-matroska;video/webm;audio/webm;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/x-ogm;video/x-ogm+ogg;application/x-ogm;application/x-ogm-audio;application/x-ogm-video;application/x-shorten;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/eac3;audio/amr-wb;video/mp2t;audio/flac;audio/mp4;application/x-mpegurl;video/vnd.mpegurl;application/vnd.apple.mpegurl;audio/x-pn-au;video/3gp;video/3gpp;video/3gpp2;audio/3gpp;audio/3gpp2;video/dv;audio/dv;audio/opus;audio/vnd.dts;audio/vnd.dts.hd;audio/x-adpcm;application/x-cue;audio/m3u
I removed also this

Code: Select all

X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb,srt
as I presume that this not works with LosslessCut

Not sure if everything listed as MimeType works for LosslessCut as well, but one can try creating the .desktop and check it out.

Added in 2 minutes 5 seconds:
Also not sure it it should be

Code: Select all

Icon=LosslessCut.svg
or

Code: Select all

Icon=LosslessCut
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Howto: Popular AppImages one click away

Post#204 by M. Eerie » 20 Sep 2022, 10:56

rych wrote:
20 Sep 2022, 09:33
If you made one, please share, I'll edit the path surely.
Hi. Did you know that I included some tips and tricks at the end of the first post explaining that?
Certainly, not Mimetypes section included, but you get some ideas.

These are a couple of them more:

Icons --> You can get them from here
I.e.: You can get the LosslessCut 128px png icon by rightclicking and saving image from here

.desktop file --> Say you need to pass arguments to start your AppImage in a certain way, then the "Exec=" line can be invoked like this:

Code: Select all

[Desktop Entry]
Name=Ungoogled Chromium
Categories=Network
Comment=Ungoogled Chromium Web Browser
Exec=sh -c '/path/to/your/AppImages/ungoogled*.AppImage --incognito chrome://dino'
Icon=ungoogled-chromium
Type=Application
MimeType=application/x-iso9660-appimage;
***Note the asterisk in "ungoogled*.AppImage". This provides for a way to standardize your .desktop file, no matter what version-plenty-of-numbers-or-letters the name is.
Rava wrote:
20 Sep 2022, 09:54
Also not sure it it should be
Can be without suffix as long as the icon can be found in the standard icons path. That is:
/usr/share/icons or ~/.local/share/icons
/usr/share/pixmaps or ~/.local/share/pixmaps


*** Edit:
From my notes, the MimeType line for a .desktop file to an AppImage, should be:

Code: Select all

MimeType=application/x-iso9660-appimage;
Once the .desktop file is copied/moved to the standard apps path, that is:
/usr/share/applications or
~/.local/share/applications

Then you update the desktop database like this:

Code: Select all

$ desktop-file-install --dir=$HOME/.local/share/applications my_new_appimage-1.0.desktop
$ update-desktop-database ~/.local/share/applications
Also, there seems to be some updating in the appimage daemon, a program that can create launchers automatically for you. Last time I used it, it was polluting my ~/.local/share/applications folder with plenty of .desktop files (one for each version of appimage used, even if it was deleted because of deprecation).
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#205 by Rava » 20 Sep 2022, 13:20

M. Eerie wrote:
20 Sep 2022, 10:56
Last time I used it, it was polluting my ~/.local/share/applications folder with plenty of .desktop files (one for each version of appimage used, even if it was deleted because of deprecation).
Sounds like a headache… and less helpful to me.
Unless you can tweak what it should do.
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Howto: Popular AppImages one click away

Post#206 by rych » 21 Sep 2022, 10:16

M. Eerie, Rava, thank you. Here's my minimalist .desktop:

Code: Select all

[Desktop Entry]
Type=Application
Name=LosslessCut
GenericName=Video editor
Icon=/path/LosslessCut.svg
Exec=/path/LosslessCut.AppImage --no-sandbox %U
Categories=AudioVideo
--will add MimeTypes later I guess, for now it appears in the Start menu.
Rava wrote:
20 Sep 2022, 09:54
so rarely use any of these AppImages, I always go into the folder and execute them directly.
Agree. But I do need a shortcut anyway in this case because I need to run it always with --no-sandbox under root

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Howto: Popular AppImages one click away

Post#207 by M. Eerie » 21 Sep 2022, 10:43

rych wrote:
21 Sep 2022, 10:16
I need to run it always with --no-sandbox under root
Another trick in the wall :)

Code: Select all

#!/bin/sh
exec "$@" --no-sandbox
Just save this little script in your desktop (and chmod +x) and use it as a drop-in place for your AppImages.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#208 by Rava » 21 Sep 2022, 13:51

rych wrote:
21 Sep 2022, 10:16
I need to run it always with --no-sandbox under root
Hmm, why though?
I run it as guest and never had issues with it. Is it because you need to edit videos in folders only writeable for root?
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#209 by gnintilgyes » 28 Sep 2022, 03:00

There's a new version of Audacity available, v3.2 which claims to have VST3 plug-in support, pretty heady I say. Will have to test it although I don't like that format LOL, I prefer the older VST2 and 32-bit for my music creation. That's what works best with Wine anyway.
https://www.audacityteam.org/

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Howto: Popular AppImages one click away

Post#210 by ncmprhnsbl » 28 Sep 2022, 05:29

gnintilgyes wrote:
28 Sep 2022, 03:00
There's a new version of Audacity available, v3.2 which claims to have VST3 plug-in support, pretty heady I say. Will have to test it although I don't like that format LOL, I prefer the older VST2 and 32-bit for my music creation. That's what works best with Wine anyway.
needs libthai to run : libthai-0.1.28-x86_64-2smt.txz
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply