Plasma 5 Applets address ipinfo network public vpn

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Davide-sd/ip_address

5
7 .6
Description:

NOTE
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 :)

Description

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.

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).

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.
Last changelog:

Added Feauture 11 months ago

Show IP Address in Compact View

PeterQuint

2 months ago

Hi,
I installed the version with vpn status on Manjaro; it runs without problems, but the "update"-button is not working here. It doesn't show any changes after logging in or out of vpn.

Report

10

Mirko-Gennari

3 months ago

10 10 the best

Report

10

mirkogennari

4 months ago

10 10 the best

Report

10

kdemichl

4 months ago

10 10 the best

Report

8

psydev

4 months ago

8 8 great, nicely done. Thanks!
It would be great to be able to change the font color, on my machine with the breeze dark theme the links in the text are hard to read.

Report

C

davide-sd

4 months ago

That's strange, since texts are using theme colors. Btw, I'm also using Breeze Dark and I see them clearly. Anyway, I'll add the possibility to chose custom colors. Hang tight.

Report

S2 8

akwala

10 months ago

8 8 great Very useful. Well designed. Needs on demand refresh, e.g., a Refresh button in the on-click dropdown.

Report

C

davide-sd

4 months ago

Update button added, thanks for the suggestion! :)

Report

9

roctheme

1 year ago

9 +

Report

akha666

1 year ago

error installing Ubuntu 18.04.2
kf5.kpackage: No metadata file in the package, expected it at: "/tmp/kpackagetool5-aysRwp/"
kf5.kpackage: No metadata file in the package, expected it at: "/tmp/kpackagetool5-353dyW/"
Error: Installation of /home/tux/ip_address.plasmoid failed: No metadata file in package: /home/tux/ip_address.plasmoid

Report

9

roctheme

1 year ago

Same here, but you can fix it.
Extract the "contents" folder in this new folder:
~/.local/share/plasma/plasmoids/com.github.davide-sd.ipaddress/

Then create this file:
metadata.desktop
with this content:
[Desktop Entry]
Name=Public IP Address
Comment=Shows public ip adress

Type=Service
Icon=find-location-symbolic
X-KDE-ServiceTypes=Plasma/Applet

X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml

X-KDE-PluginInfo-Author=Davide Sandona
[email protected]
X-KDE-PluginInfo-Name=com.github.davide-sd.ipaddress
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Category=Utilities

Then do the following in the terminal:
kpackagetool5 --generate-index -t Plasma/Applet

Then reloggin

Report

akha666

1 year ago

Perfect, Thank you.

Report

9

migzulk

1 year ago

9 +Very useful!

Report

Added Feauture 11 months ago

Show IP Address in Compact View

12345678910
223
product-maker Mirko-Gennari Jun 22 2020 10 the best
10 the best
product-maker mirkogennari Jun 03 2020 10 the best
10 the best
product-maker kdemichl May 26 2020 10 the best
10 the best
product-maker psydev May 22 2020 8 great
8 great, nicely done. Thanks! It would be great to be able to change the font color, on my machine with the breeze dark theme the links in the text are hard to read.
product-maker akwala Dec 13 2019 8 great
8 great Very useful. Well designed. Needs on demand refresh, e.g., a Refresh button in the on-click dropdown.
product-maker roctheme Feb 21 2019 9 excellent
+
product-maker migzulk Feb 12 2019 9 excellent
+Very useful!
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Mirko-Gennari
Jun 22 2020
mirkogennari
Jun 03 2020
akwala
Dec 13 2019
slm33
Nov 08 2019
luca-web
Jun 24 2019
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
1.2
updated May 27 2020
added Feb 12 2019
downloads 24h
32
mediaviews 24h 0
pageviews 24h 13