Skip to main content

Display IP address on Panel in Xfce

 

Create a small shell script show_ip.sh :

 #!/bin/bash
 
 IP=$(ip addr show enp13s0 | grep inet | awk '{print $2; exit}' | sed 's/\/.*//')
 
 echo "$IP"
chmod +x show_ip.sh

Add a generic monitor:

image.png

That's it.