I'm setting up a Pi4 to land on a blank page and have streaming services like Netflix as large icons and they run in kiosk mode. So I've hidden the bar across the top. What I would like to do is to have an icon on the desktop that links to wifi and bluetooth or both in one. I like the simplicity of the Wifi/BT setup from the bar at the top, but I'm hiding the bar and want it as a large app icon or link. What is the best way of either linking to the gui that pops up when you set up wifi or using a completely different one instead? Any help is appreciated.
1 Answers
For Wi-Fi you can use
wpa_clitools (or with onlywpa_supplicantanddhclienttools you can connect to Wi-Fi AP and get an IP address). Thebluetoothctltool can be used for Bluetooth connection.
One solution is :
You can create Desktop shorcut with .desktop file.
You can create your own connection scripts and use it in the .desktop file.
Another option is : (Edit 03/05/2022)
Install blueman package :
sudo apt-get install blueman
Create desktop shortcut for bluetooth app:
nano /home/pi/Desktop/bluetooth.desktop
File content :
[Desktop Entry]
Version=1.1
Name=bluetooth
Comment=bluetooth
Icon=preferences-system-bluetooth
Type=Application
Terminal=false
Exec=blueman
Install nm-tray package:
sudo apt-get install nm-tray
Create desktop shortcut for wifi/ethernet app:
nano /home/pi/Desktop/network.desktop
File content :
[Desktop Entry]
Version=1.1
Name=network
Comment=network
Icon=network-wireless-connected-100
Type=Application
Terminal=true
Exec=nmtui
I think it would be better to disable the following lxpanel plugins from lxpanel menu or remove them entirely: lxplug-bluetooth and lxplug-network, for example:
sudo apt-get remove --purge lxplug-bluetooth... lxplug-network...
- You can also change
Icon=if you remove plugins:
Icon=preferences-system-bluetooth (use default lxplug-bluetooth plugin icon) → Icon=blueman
Icon=network-wireless-connected-100 (use default lxplug-network plugin icon) → Icon=network-wired (use default nm-tray ethernet icon)
Note: nmtui is a console GUI app.
- 2,157
- 1
- 6
- 19
nm-trayinstead ofwicd. – Ephemeral Mar 05 '22 at 21:40Debian bullseye) – Ephemeral Mar 08 '22 at 22:34