Rename binary

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-01-24 16:37:07 +01:00
parent 93cf7c8621
commit 894d03d47c
2 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ environment's system tray.
sh -c 'curl -sL https://nextdns.io/install | sh' sh -c 'curl -sL https://nextdns.io/install | sh'
``` ```
2. **Python 3 & PyQt6**: The interface is built using Python 3 and the Qt6 1. **Python 3 & PyQt6**: The interface is built using Python 3 and the Qt6
toolkit. (This is installed by default on (K)ubuntu.) toolkit. (This is installed by default on (K)ubuntu.)
```bash ```bash
@@ -19,7 +19,7 @@ sudo apt update
sudo apt install python3 python3-pyqt6 sudo apt install python3 python3-pyqt6
``` ```
3. **Polkit Agent**: The script uses pkexec to handle start/stop commands safely. Most desktop environments (KDE, GNOME, XFCE) come with this pre-installed. 1. **Polkit Agent**: The script uses pkexec to handle start/stop commands safely. Most desktop environments (KDE, GNOME, XFCE) come with this pre-installed.
## Installation ## Installation
@@ -29,18 +29,18 @@ sudo apt install python3 python3-pyqt6
# Create directories if they don't exist # Create directories if they don't exist
mkdir -p ~/.local/bin ~/.local/share/applications ~/.local/share/icons mkdir -p ~/.local/bin ~/.local/share/applications ~/.local/share/icons
# Copy the specific files # Copy the specific files
cp home/.local/bin/nextdns_tray ~/.local/bin/ cp home/.local/bin/nextdns-tray ~/.local/bin/
cp home/.local/share/applications/nextdns-tray.desktop ~/.local/share/applications/ cp home/.local/share/applications/nextdns-tray.desktop ~/.local/share/applications/
cp home/.local/share/icons/nextdns.png ~/.local/share/icons/ cp home/.local/share/icons/nextdns.png ~/.local/share/icons/
``` ```
2. **Make the script executable** 1. **Make the script executable**
```bash ```bash
chmod +x ~/.local/bin/nextdns_tray chmod +x ~/.local/bin/nextdns-tray
``` ```
3. **(Optional) Add to Autostart**: If you want the tray to start automatically when you log in: 1. **(Optional) Add to Autostart**: If you want the tray to start automatically when you log in:
```bash ```bash
mkdir -p ~/.config/autostart mkdir -p ~/.config/autostart
@@ -57,10 +57,10 @@ sudo apt install python3 python3-pyqt6
```bash ```bash
mkdir -p ~/.local/bin ~/.local/share/applications ~/.local/share/icons mkdir -p ~/.local/bin ~/.local/share/applications ~/.local/share/icons
cp home/.local/bin/nextdns_tray ~/.local/bin/ cp home/.local/bin/nextdns-tray ~/.local/bin/
cp home/.local/share/applications/nextdns-tray.desktop ~/.local/share/applications/ cp home/.local/share/applications/nextdns-tray.desktop ~/.local/share/applications/
cp home/.local/share/icons/nextdns.png ~/.local/share/icons/ cp home/.local/share/icons/nextdns.png ~/.local/share/icons/
chmod +x ~/.local/bin/nextdns_tray chmod +x ~/.local/bin/nextdns-tray
mkdir -p ~/.config/autostart mkdir -p ~/.config/autostart
cp ~/.local/share/applications/nextdns-tray.desktop ~/.config/autostart/ cp ~/.local/share/applications/nextdns-tray.desktop ~/.config/autostart/
``` ```