appimage-bash-create-desktop-files -xfce

interpretive language scripts


Moderator: Forum moderators

Post Reply
trister
Posts: 90
Joined: Mon Sep 28, 2020 6:52 am
Has thanked: 19 times
Been thanked: 15 times

appimage-bash-create-desktop-files -xfce

Post 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

Attachments
appimage-bash-create-desktop-files_201216a.sh.txt
bash file. remove the .txt
(1004 Bytes) Downloaded 84 times
ndujoe1
Posts: 35
Joined: Thu Jul 16, 2020 7:25 pm

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

Post by ndujoe1 »

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

trister
Posts: 90
Joined: Mon Sep 28, 2020 6:52 am
Has thanked: 19 times
Been thanked: 15 times

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

Post 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...

trister
Posts: 90
Joined: Mon Sep 28, 2020 6:52 am
Has thanked: 19 times
Been thanked: 15 times

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

Post by trister »

The above script converted to an xdialog menu

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

Attachments
appimage-bash-counter-xdialog.sh.txt
v01b remove the .txt and make executionable
(884 Bytes) Downloaded 61 times
Post Reply

Return to “Scripts”