Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4397

Beginners • Making a desktop alias/program for an "sh" command

$
0
0
I am completely new to Raspberry Pi. I am making a book scanner according to this person's instructions. It's all in Japanese, which is fine for me, since I read Japanese. This same person has made a nice little program called "SimpleBookCapture." As things stand, I need to open Terminal, change my directory to the the one that contains an sh file with the name "launcher.sh," then type "sh launcher.sh"

If I was the only person who was going to use this book scanner, that would be okay, but I want it to be useable by anyone in my organization without having to teach them all these steps. What I would really like is an icon on the desktop with a name like "SCAN" that the user double-clicks on to launch the SimpleBookScanner.

I am guessing that there is some way to execute a command that bypasses the need to manually change directories by including an absolute path for "launcher.sh" in the "sh" command, but since I am also new to Linux, I don't know how to do this (assuming it can be done). I am further guessing that I could make some executable file that could be saved to the desktop that executes that command, thereby launching the program.

It would be nice to be able to ask the progammer directly, but I can't find any contact info for them.

Can anyone help me with this, or is this a thing that can't be done without fiddling with the code of the SimpleBookScanner itself?

Statistics: Posted by Rachel_Thorn — Fri Oct 25, 2024 1:42 am — Replies 1 — Views 26



Viewing all articles
Browse latest Browse all 4397

Trending Articles