LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-02-2023, 05:52 AM   #1
TheDarkArtist
LQ Newbie
 
Registered: Sep 2023
Posts: 10

Rep: Reputation: Disabled
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.

Thanks!
 
Old 09-02-2023, 10:31 AM   #2
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,151

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
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.
 
1 members found this post helpful.
Old 09-02-2023, 11:34 AM   #3
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,003

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
GTK has a simple example at https://www.gtk.org/docs/getting-started/hello-world

jmgibson1981 - If you don't like GTK's Adwaita, you can change the theme or create your own.
Ed
 
Old 09-04-2023, 12:41 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by TheDarkArtist View Post
i suppose i have to use c++ with qt or something
It is “something”, actually.

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.
 
Old 09-04-2023, 01:36 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
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/
 
Old 09-04-2023, 11:29 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Qt isn't the only choice, but these Qt videos are good:

https://www.kdab.com/kdab-tv/academy...gets-and-more/
 
Old 09-05-2023, 06:56 AM   #7
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Qt isn't the only choice, but these Qt videos are good
Qt is cool.
But “we” do not know, what she/he/it has to go through before it becomes a downright *option*.

Qt is extra-cool, when you had to do MFC, Swing or SWT ... maybe everything else is.
 
Old 09-09-2023, 09:39 AM   #8
dmchess
Member
 
Registered: Jan 2005
Posts: 244

Rep: Reputation: 43
I recomend FreePascal/Lazarus.

It is surprisingly easy to create useful apps with it.
 
Old 09-17-2023, 05:18 AM   #9
TheDarkArtist
LQ Newbie
 
Registered: Sep 2023
Posts: 10

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-17-2023, 06:24 AM   #10
TheDarkArtist
LQ Newbie
 
Registered: Sep 2023
Posts: 10

Original Poster
Rep: Reputation: Disabled
Sorry guys, for late reply

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.
 
Old 09-17-2023, 06:36 AM   #11
TheDarkArtist
LQ Newbie
 
Registered: Sep 2023
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dmchess View Post
I recomend FreePascal/Lazarus.

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.
 
Old 09-17-2023, 07:18 AM   #12
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,628

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
Quote:
Originally Posted by TheDarkArtist View Post
but i'm looking for something new, cutting edge you know ...
In your other message, you claim to be looking for something that can display a window with text in it, which is not new or cutting edge.

Qt can do it, but it doesn't have to be C++ - e.g. //www.qt.io/qt-for-python

Even a regular shell script can do it, via notify-send, yad (zenity), kdialog, etc.

 
Old 09-17-2023, 10:04 AM   #13
TheDarkArtist
LQ Newbie
 
Registered: Sep 2023
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by boughtonp View Post
In your other message, you claim to be looking for something that can display a window with text in it, which is not new or cutting edge.

Qt can do it, but it doesn't have to be C++ - e.g. //www.qt.io/qt-for-python

Even a regular shell script can do it, via notify-send, yad (zenity), kdialog, etc.

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.
 
Old 09-17-2023, 10:54 AM   #14
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 496

Rep: Reputation: 182Reputation: 182
Quote:
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.
 
Old 09-18-2023, 07:20 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by TheDarkArtist View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between device driver development and linux application development tennythomas Linux - Hardware 3 10-26-2011 07:52 AM
Distros, distros, distros...slight rant.. Jamesb427 Linux - Distributions 1 05-31-2007 03:10 PM
LXer: See distros. See distros run. Run, distros, run. LXer Syndicated Linux News 0 06-13-2006 01:24 AM
Disabling ICMP (Ubuntu/Debain based systems) brianthegreat Linux - Security 3 03-28-2006 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration