dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22k stars 1.77k forks source link

WIP: attempt to detect DE on remote sessions #2449

Open mmuman opened 7 months ago

mmuman commented 7 months ago

Description

When connecting with ssh to a machine that has an X11 session running, try to find which DISPLAY we can query.

Features

It only detects the DE for now.

Issues

The KDE_SESSION_VERSION property doesn't seem to exist on my session, so I had to check another one which doesn't mention the version.

TODO

Reuse the found DISPLAY to detect other components?

mmuman commented 7 months ago

I noticed this video mentioning neofetch didn't detect desktops remotely via ssh, so I had a try at it.