The expanded view shows a map with information requested from ipinfo.io. You can:
- copy to clipboard the different information by clicking over them;
- open the map on the browser;
- update the information by sending another request by clicking the Update button.
By default, the widget update itself every 5 minutes. You can change this behavior in the settings. Please note that ipinfo.io API limits the total amount of requests to 1000 per day: this means that the plugin will update itself at most every 2 minutes.
You can also change the colors of the displayed information in the settings.
This widget uses the excellent flags icon pack by lipis and contributors.
Dependencies
The primary functions of the widget (check IP address) should work correctly even if the following dependencies are not installed. Anyway, to get the best experience you need:
*
libnotify-bin
: this is for showing notifications when clicking links, thus copying the link's content to the clipboard. sudo apt install libnotify-bin
*
nmcli
: this is part of the network-manager
package. It'll check the status of the VPN by executing the command nmcli c show --active
; if a VPN is active, there should be some entries containing the keywords "vpn" or "tun". It should already be installed in Ubuntu. Don't know about other distros (let me know in the comments or by opening an issue).* libraries regarding qt6 positioning and qt6 location, and their qml bindings. For Ubuntu, run this command:
sudo apt-get install libqt6positioning6 libqt6location6 qml-module-qtlocation qml-module-qtpositioning
Ratings & Comments
2 Comments
Loved this widget on KDE 5 with Arch. It won't initialize for me on KDE 6 though, says module "QtLocation" is not installed" but I have qt installed. file:///home/wm23arch/.local/share/plasma/plasmoids/com.github.davide-sd.ip_address/contents/ui/main.qml:337:22: Type FullRepresentation unavailable file:///home/wm23arch/.local/share/plasma/plasmoids/com.github.davide-sd.ip_address/contents/ui/FullRepresentation.qml:27:1: module "QtLocation" is not installed
I am seeing the same issue. Hope it is fixed soon because this widget was super useful.