mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-05-19 16:00:12 -07:00
Update README.md
This commit is contained in:
parent
9cf3bcbaeb
commit
af9301f58e
19
README.md
19
README.md
@ -1,6 +1,6 @@
|
||||
# Hampi Utilities
|
||||
|
||||
VERSION 2020508
|
||||
VERSION 2020515
|
||||
|
||||
AUTHOR: Steve Magnuson, AG7GN
|
||||
|
||||
@ -72,6 +72,19 @@ See [pianoX.sh.example](#piano-script-example) for an example piano script.
|
||||
|
||||
If a pianoX.sh script is not present in the home folder, no action is taken and the pi boots normally.
|
||||
|
||||
### Disabling the piano switch function
|
||||
|
||||
- Move all of the switches to the off (up) position.
|
||||
- As `sudo`, open the `/etc/xdg/lxsession/LXDE-pi` file. One way to do this is to open __Terminal__, then run this command: `sudo leafpad /etc/xdg/lxsession/LXDE-pi`. __Leafpad__ is like __Notepad__ in Windows.
|
||||
- Locate the line: `@bash /usr/local/bin/check-piano.sh`
|
||||
- Insert `#` at the beginning of that line, so that the file looks like this:
|
||||
|
||||
@lxpanel --profile LXDE-pi
|
||||
@pcmanfm --desktop --profile LXDE-pi
|
||||
#@bash /usr/local/bin/check-piano.sh
|
||||
@xscreensaver -no-splash
|
||||
- Save the file and reboot the Pi
|
||||
|
||||
## Initialize Pi script
|
||||
|
||||
`initialize-pi.sh` is run whenever the Pi starts. It runs via this line in user pi's crontab:
|
||||
@ -202,6 +215,10 @@ Your Hampi image already has the systemd service file for the shutdown script in
|
||||
sudo systemctl enable shutdown_button.service
|
||||
sudo systemctl start shutdown_button.service
|
||||
|
||||
- Run this command to disable the service
|
||||
|
||||
sudo systemctl disable shutdown_button.service
|
||||
|
||||
## Radio Monitor script
|
||||
|
||||
`radio-monitor.py` monitors the TX/RX status of your radios via the GPIO pins (BCM 12 for the left radio and BCM 23 for the right radio). The associated Hamradio menu item is in the `radio-monitor.desktop` file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user