Welcome to SparkyLinux forumsZapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl
Started by simplio, August 11, 2019, 05:46:43 PM
QuoteIn the comments below Mr. Alex Bowman found an easier way to launch the program. Create an alias in Linux so that you just type "op25" (without the quotes) into the terminal from any directory.sudo nano .bashrcThen paste in the following lines.#OP25 aliasalias op25='bash /home/john/op25/op25.sh'Be sure your path is right about. Note my path of /home/john. Yours is different unless your name is John, of course.Now hit Ctl key plus X, then hit Y to save. Restart the terminal and you should now be able to launch OP25 just by typing OP25. It works like a champ. I tried it.That's it. I hope I made this easier for someone.
Quoteddejr@ddejr-pc:~$ op25bash: op25: command not foundddejr@ddejr-pc:~$ sudo nano .bashrcddejr@ddejr-pc:~$ op25bash: op25: command not foundddejr@ddejr-pc:~$
#! /bin/shcd /path/to/the/op25/op25/gr-op25_repeater/apps./rx.py –args 'rtl' -N 'LNA:47' -S 2400000 -f 857.2625e6 -o 25000 -q -2 -T trunk.tsv -V -2 -U 2> stderr.2
sudo chmod +x /path/to/the/op25.sh
sudo nano ~/.bashrcThen paste in the following lines.#OP25 aliasalias op25='bash /path/to/the/op25.sh'
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
View the most recent posts on the forum