Page 1 of 1

appimage-bash-create-desktop-files -xfce

Posted: Wed Dec 16, 2020 1:27 pm
by trister

I have a few AppImage files (and making more since I try to migrate every squashfs file to appimage).
I have put them in a folder with subfolders
eg
/appimages
|
|---Education
|---Development
|---Browsers

To help me handle them more correctly I have made a script to created .Desktop shortcuts for them.
This script :

  • 1. Creates a Folder in /root/Desktop/AppImages (xfce desktop) and makes a Desktop entry for all AppImage files it finds

  • 2. Creates a link of these .Desktop files to the menu (in /usr/local/share/applications)

File naming is AppImage-[subfolder_name]-[file_name].desktop

It made my life easier. maybe it will make yours too :)
Remove the .txt extension make it exec and run it

ORIGINALPATH is the path that I store my AppImages. This script creates a Hard Link of this folder to /appimages. You can modify the script to your paths if you like

Note 1: Some electron-based images might need parameter --no-sandbox added (in the exec= of their desktop file).
Note 2: this if for *dog puppies - I haven't tried it with normal puppies


Re: appimage-bash-create-desktop-files -xfce

Posted: Sat Dec 19, 2020 2:50 pm
by ndujoe1

So your goal is to turn puppylinux into an appimage creation?


Re: appimage-bash-create-desktop-files -xfce

Posted: Sun Dec 20, 2020 6:09 am
by trister
ndujoe1 wrote: Sat Dec 19, 2020 2:50 pm

So your goal is to turn puppylinux into an appimage creation?

No :)
My system currently uses 110 squashfs files that are important. I also have many squashfs disabled because system can't handle them all correctly (and enable them on-demand).

I'm making appimage files (or trying to make :) ) for some of my apps that doesn't need any special configuration to "lighten" a bit more my system.
Also , there is no better way to test a program than an AppImage...


Re: appimage-bash-create-desktop-files -xfce

Posted: Tue Dec 22, 2020 8:24 pm
by trister

The above script converted to an xdialog menu

(note: that yourfilenames is the folder containing your AppImages)