There are two version available:
- The file v1.1.com.github.davide-sd.ipaddress.pasmoid: this is the old version, IP address only.
- The file com.github.davide-sd.ipaddress.pasmoid: the new version, IP address + VPN status.
Some people are reporting that the new version (com.github.davide-sd.ipaddress.pasmoid) may causes plasmashell to crash. If that is the case, remove the widget and download v1.1.com.github.davide-sd.ipaddress.pasmoid (IP Address only), and please, please open an issue on the Github page sending error logs, OS version, KDE version so that I can try to debug the problem :)
Plasma 5 widget for showing information about your public IP address and the status of your VPN (active/inactive). This is useful for informational purposes and to monitor VPN geolocation.
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.
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:
: this is for showing notifications when clicking links, thus copying the link's content to the clipboard.
sudo apt install libnotify-bin
: this is part of the
package. It'll check the status of the VPN by executing the command
; 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).
nmcli c show --active
It may happens that the widget does not load, complaining about something like QtPositioning and QtLocation. If this is the case and you are using Ubuntu (18.04), run this command:
sudo apt-get install libqt5positioning5 libqt5location5 qtlocation5-dev qtpositioning5-dev qml-module-qtlocation qml-module-qtpositioning
In any other distribution, you must look for libraries regarding qt5 positioning and qt5 location, as well the development libraries and the qml bindings.