Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/Davide-sd/ip_address

Original
0
Become a Fan
5.0

Description:
Plasma 6 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.

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

pastlucky

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

bradsk88

I am seeing the same issue. Hope it is fixed soon because this widget was super useful.

Pling
0 Affiliates
Details
license GPLv2 or later
version 1.2.8
updated
added
downloads 24h 10
mediaviews 24h 0
pageviews 24h 7

More Plasma 6 Applets from davide-sd:

Shutdown or Switch
davide-sd
last update date: 1 year ago

Score 6.6

Other Plasma 6 Applets:

bumblebee-indicator
bxabi
last update date: 11 months ago

Score 7.1

Awesome Widgets
arcanis
last update date: 10 months ago

Score 7.9

Qalculate
dschopf
last update date: 8 months ago

Score 7.7

Workrave Applet
wojnilowicz
last update date: 4 months ago

Score 6.3

Plasmataker
solant
last update date: 7 months ago

Score 7.3

Day/Night Switcher
heqro
last update date: 3 months ago

Score 6.4