F5F Stay Refreshed Software Operating Systems Yes, you can have several commands in a single file.

Yes, you can have several commands in a single file.

Yes, you can have several commands in a single file.

S
ShlamaronPvP
Junior Member
3
09-13-2023, 04:53 AM
#1
You can set up a shortcut that opens your desired application when you double-click a file. In Linux Mint 18.3, create a desktop shortcut pointing to the executable file and assign it to a custom action or script that launches the app. You can also use a launcher like `xdg-open` or a tool such as `launchd` for more control.
S
ShlamaronPvP
09-13-2023, 04:53 AM #1

You can set up a shortcut that opens your desired application when you double-click a file. In Linux Mint 18.3, create a desktop shortcut pointing to the executable file and assign it to a custom action or script that launches the app. You can also use a launcher like `xdg-open` or a tool such as `launchd` for more control.

S
solmeda
Junior Member
2
09-13-2023, 05:07 AM
#2
Clarify your request for a clearer understanding. I'm ready to help with improved explanations or multiple actions in a single script.
S
solmeda
09-13-2023, 05:07 AM #2

Clarify your request for a clearer understanding. I'm ready to help with improved explanations or multiple actions in a single script.

S
Sandaletto01
Member
165
09-13-2023, 04:27 PM
#3
Option A executes a copy followed by the application, irrespective of the copy result.
Option B copies first and runs the application only if the copy succeeds.
Option C copies in the background and then runs the application regardless of the copy outcome.
S
Sandaletto01
09-13-2023, 04:27 PM #3

Option A executes a copy followed by the application, irrespective of the copy result.
Option B copies first and runs the application only if the copy succeeds.
Option C copies in the background and then runs the application regardless of the copy outcome.

H
hephesta
Member
56
09-20-2023, 10:21 AM
#4
I've already tested option b, now I'll look at the alternatives.
H
hephesta
09-20-2023, 10:21 AM #4

I've already tested option b, now I'll look at the alternatives.

D
DreaMaker20
Member
124
09-20-2023, 11:23 AM
#5
Option A functioned correctly. Appreciate it!
D
DreaMaker20
09-20-2023, 11:23 AM #5

Option A functioned correctly. Appreciate it!

A
artick788
Junior Member
42
09-21-2023, 04:14 AM
#6
These commands perform distinct actions. I prefer option B, removing or modifying the "exit 0" part so it becomes clearer. The key distinction lies in error management: A executes the copy fully and launches your app even if errors occur. B executes it only when everything succeeds. C hides the copy and runs both tasks simultaneously. Using "exit 0" resets any previous settings.
A
artick788
09-21-2023, 04:14 AM #6

These commands perform distinct actions. I prefer option B, removing or modifying the "exit 0" part so it becomes clearer. The key distinction lies in error management: A executes the copy fully and launches your app even if errors occur. B executes it only when everything succeeds. C hides the copy and runs both tasks simultaneously. Using "exit 0" resets any previous settings.