2025-07-20 20:16:00
github.com
connmap is an X11 desktop widget that shows location of your current network peers on a world map.
(Works on Wayland as well!)
Clone the repository git clone https://github.com/h2337/connmap --depth 1
, install the dependencies (see below), run make install
, then run the resulting executable ./connmap.elf
.
If you want to run it without attaching it to the terminal then add ampersand at the end of the command: ./connmal.elf &
.
You can also add it to your i3wm config to run at startup (make sure it is in the PATH):
exec --no-startup-id connmap.elf
Build dependencies: xlib
, libxext
, libxfixes
, libcairo2
Installation dependencies: unzip
Runtime dependencies: iproute2
Installation for Arch Linux:
sudo pacman -S --needed iproute2 libx11 libxext libxfixes cairo unzip
Installation for Ubuntu:
sudo apt install iproute2 libx11-dev libxext-dev libxfixes-dev libcairo2-dev unzip
Installation will create ~/.config/connmap/connmaprc
. Default connmaprc
looks like this:
location_x 20
location_y 500
map_width 1000
black false
update_interval 1
-
location_x
/location_y
specifies the initial widget location in your desktop (you can later drag/drop the widget with mouse if you are not using a desktop environment that treats mouse drag as multi-select). -
map_width
specifies the custom pixel width of the map. Height is automatically calculated as width/2. Examples:map_width 500
creates a 500×250px mapmap_width 1000
creates a 1000×500px mapmap_width 1500
creates a 1500×750px mapmap_width 2000
creates a 2000×1000px map
-
Setting
black
to true will draw map outline in black instead of white. -
update_interval
is seconds the application will sleep for before fetching the updated list of network connections.
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.