[SOLVED] Application Development for Debain Based Distros ie Ubuntu
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Application Development for Debain Based Distros ie Ubuntu
Hii Everyone,
I'm looking for a way to create an application for linux (debian based distros), can anyone point me in the right direction ...
I want to create an application for ubuntu(for most most common desktop environment -- KDE, GNOME, MATE ...), is there any way like some
framework or something that i could use, if not i suppose i have to use c++ with qt or something, please do correct me if i'm wrong and point me
to some resources.
There are 2 primary libraries for gui stuff. GTK and QT.
QT is c++ along with others similar to GTK. not pure c though.
GTK is c and a few others, python and such but no c++.
I love and use KDE (qt) but to be completely honest there aren't very many QT native programs. Most stuff is GTK. That is my only issue with QT. It looks better but doesn't seem
to have the penetration that GTK does.
Which are your competences and what application are you having in mind? Chances are, every programming language suits and your difficulties will have nothing to do with your choice of a programming environment.
yes, post #4: would be nice to know what kind of app is it.
Otherwise we have a lot of development environments, they called IDE. Just look for it: https://www.tecmint.com/best-ide-editor-linux/
Sorry for the late reply, didn't hope to get a reply this soon.
it's a simple application that'd enable non-IT guys to enable/disable or see status of a running service such as http, ssh etc.
i kind of found a solution using tauri + rust, letting me code the frontend in react and backend in rust, it also provides cross-platform support but it kind of doesn't feel robust, it's depending on the framework too much, the abstraction is too high, i'd love to program on a lower level
i'm asking for a solution not just for this specific application but suppose if you have to create a gui desktop application for linux what'd you use
The application is supposed to be a GUI for Linux that'd help non-IT user ( people not familiar with terminal ) enable/disabe or see status of a service such as ssh, http, apache2 etc.
But what i'm asking guys is not just specific to this application rather, suppose if you what to create a simple gui interface for Linux what'd you use
that's what i'm trying to find out.
currently i've settled with Tarui + Rust (Successor of electron), it'd let me code the frontend in react and backend in rust, it's also cross-platform, so pretty good i think, but it doesn't feel robust, the abstraction is too much.
i hope, this brings a little clarity to my perspective.
It is surprisingly easy to create useful apps with it.
i don't think pascal is really used much these days, surely it's a great language to learn programming. but i'm looking for something new, cutting edge you know ...
i never heard of "Lazarus", off course i know what an IDE is, but never heard of lazurus, i'll look into that, or happy to hear your thoughts on it, bit more describing though.
What you're suggesting doesn't seem robust, if I wanted to do it this way I could have simply used python tkinter, it's more about building something that provides a good user experience
I'm looking for something robust, I can work with c, c++, rust, python, javascript, bash
Final result gotta be a binary that I could pack in a deb file, right ?
Last edited by TheDarkArtist; 09-17-2023 at 10:08 AM.
What you're suggesting doesn't seem robust, if I wanted to do it this way I could have simply used python tkinter, it's more about building something that provides a good user experience.
Well, that is what I use at work for simple applications for a good user experience -- Python 3 Tkinter or QT5 for GUI apps. With QT5 you have the 'designer' application to quickly build screens. Only downside is they have to have the python QT5 modules installed. Of course there is Java-Swing to with NetBeans for GUI building. Nothing wrong with C++ and QT5 either and still use the designer though either. Really your choice.
Sorry for the late reply, didn't hope to get a reply this soon. it's a simple application that'd enable non-IT guys to enable/disable or see status of a running service such as http, ssh etc.
i kind of found a solution using tauri + rust, letting me code the frontend in react and backend in rust, it also provides cross-platform support but it kind of doesn't feel robust, it's depending on the framework too much, the abstraction is too high, i'd love to program on a lower level i'm asking for a solution not just for this specific application but suppose if you have to create a gui desktop application for linux what'd you use
Bolded a piece of what you posted for emphasis.
If these are "non-IT guys", you ***SHOULD NOT, EVER*** give them access to enable/disable services, period. They're NOT qualified to do such things, and this will most certainly lead to huge problems very soon after you implement it.
Why would non-IT folks NEED to enable/disable services?? If you're talking about help desk types, it's enough that they see what's going on.
All you're describing can be done with already existing server monitoring tools like Zabbix or Nagios. They have web interfaces, no need to write any applications. And have you thought about what you're really getting into? YOU are going to have to update this package to meet any new system updates. And if a non-Debian distro is used...then what?? What about package name differences between Mint, Ubuntu, and Debian?? You are going to have to do all this in your .deb file, and have to have one for each distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.