Fact to detect GUIs
See original GitHub issueIs your feature request related to a problem? Please describe.
Sometimes I deploy GUI-based packages, e.g. meld
, gufw
to GUI-based machines. However, on occasion I will test on non-GUI servers, where installing these GUI packages isn’t needed.
I would like to skip them.
There seem to be ways to detect whether a GUI is installed (on Linux). With this, a user can skip installing certain operations.
Describe the solution you’d like
A fact to automate GUI detection.
if host.fact.has_gui():
apt.packages(
name="Install gui-based packages.",
packages=[
"gufw",
"meld",
...
]
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Things You Should Know About Graphical User Interface
The GUI is what most modern computers use. It is an interface that uses graphics, images, and other visual cues such as icons....
Read more >How to detect gui collision? PLEASE HELP - Scripting Support
Hey there! I was wondering how I could easily detect gui collision. I have been working on a pretty small gui game recently....
Read more >How to check for facts, bias, and fake news
START HERE: Sites you can use to check facts and media bias ... The Fact Checker's guide for detecting fake news. Clear and...
Read more >What is a Graphical User Interface (GUI)? - Study.com
A Graphical User Interface (GUI) allows users to interact with electronic devices through graphical icons instead of text.
Read more >Graphical User Interfaces: Crash Course Computer Science #26
It was the first mainstream computer to use a GUI, standing on the shoulder of ... Want to find Crash Course elsewhere on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Chosen the more explicit route looking for exact binaries - more painful to maintain but should be rock solid; https://github.com/Fizzadar/pyinfra/commit/057c90a9985ce16e9e0e7e42de2f37dffb761969! 1.2 coming up v.shortly!
Check installed packages. But it is safer