this post was submitted on 13 Aug 2024
57 points (98.3% liked)
Linux
48731 readers
913 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So it's graphical interface we are after or text based?
For text, I agree with others, ncurses
For graphical
basically everything you need, some learnig curve as it's big and versatile. But to be honest, when trying to achieve something I'd suggest to start from GTK reference to me it somehow conveys the logic better than the PyGTK reference
haven't used it, but might be fun to use
very cross-platform. Not only you can use it to write UI that will require minor fixes to have the same code for Windows and Linux at the same time, you can also tell it whether the toolkit used under the hood on Linux should be QT or GTK
old, simple (more fancy things need some gymnastics) but simple (easy to use) and supported in Python out of the box (you don't even need to install anything)
I'm putting it here just for fairness. I don't like it, don't like its signal-slot design, I think it's hogging up too much resources. But last time I used it was ~10 years ago and in the end, it does in fact work
Wauw! So many answers in such a short time. Thanks all! 👍 (I will not spam the channel by sending a thank you to all but this is really greatly apriciated)
Concerning ncurses. I did hear of it but never looked at it myself. What is not completely clear for me. I know you can use it for 'low-level' things, but does it also include 'high-level' concepts like windows, input fields and so?
The blog mentioned in one of the other posts only shows low-level things.
For higher level widgets in ncurses, you can use a library like textual or urwid.
Yes, it allows you build full on TUIs.
AFAIK MC uses ncurses for GUI. So I while I don't know if it has the concept of non-modal dialog, for example, for sure it has dialogs, fields, radios, boxes, etc