/DTESET-for-AppImages

An interactive shell script that writes a Desktop Entry for AppImage files.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

DTESET-for-AppImages

An interactive shell script that writes a Desktop Entry for AppImage files.

DTESET Logo

BASH script GPLv3 License GPLv3 License

Deployment

I'm aware that some of these instructions are not absolute best-practice, but I'm trying to make this as accessible as possible.

Without Repository

Navigate to the directory where the AppImage file is located and grab the script using wget:

wget https://raw.githubusercontent.com/TheLustriVA/DTESET-for-AppImages/main/dteset.sh

Make the script executable:

chmod +x dteset

Run the script:

./dteset SomeProgram.AppImage

With Repository: User-only

Clone the repository:

git clone git@github.com:TheLustriVA/DTESET-for-AppImages.git
cd DTESET-for-AppImages

To make the dteset script available for use anywhere in the filesystem for your user, you can place it in a directory that is part of your user's PATH environment variable.

Create a bin directory in your home directory, if it doesn't already exist:

mkdir -p ~/bin

Move the dteset script to the ~/bin directory:

mv dteset ~/bin/

Ensure that the ~/bin directory is included in your PATH. Open (or create) the ~/.bashrc file in a text editor:

nano ~/.bashrc

Add the following lines to the end of the file, if they don't already exist:

if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

Save and exit the file.

Apply the changes by running:

source ~/.bashrc

Now, you should be able to use the dteset command from anywhere in the filesystem:

dteset SomeProgram.AppImage

Remember that this will only work for your user. If you want to make the script available to other users as well, you can place it in a system-wide directory like /usr/local/bin. However, this will require administrator privileges.

With Repository: All Users

Clone the repository as shown in the instructions above.

Move the dteset script to a suitable location, such as /opt. This step is optional, but it helps to keep the script organized and accessible:

sudo mv dteset /opt/

Create a symlink to the dteset script in /usr/local/bin:

sudo ln -s /opt/dteset /usr/local/bin/dteset

Now, the dteset script should be available system-wide, and all users can use the command from anywhere in the filesystem. Since the script is placed in a system-wide location, anyone using it will need to have the right permissions to execute the script.

License

GNU GENERAL PUBLIC LICENSE V3

Related

More command-line helpers

SHIRT - SHIRT Handles Intense Renaming Tasks