Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
06-03-2024, 12:48 PM
|
#61
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep:
|
conky is already packaged for Debian if that is what you have on your mind. It is fully described on https://conky.cc/
Last edited by shruggy; 06-03-2024 at 12:52 PM.
|
|
|
06-03-2024, 12:52 PM
|
#62
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
You said NPM was good, should I even be considering JS at this point? Is it compiled? Trying for #58 and #59. X E.
|
|
|
06-03-2024, 12:57 PM
|
#63
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
That conky does not seem to be what I am after and I should mention trying for not in C or Python. Does it use anything you plug in too, conky I mean. Looking for like basically if your computer can know it's surroundings or maybe some inerds make a thing to see, test, and record those. X E.
|
|
|
06-03-2024, 01:16 PM
|
#64
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep:
|
npm2deb is good in the sense that it requires minimum of manual cleanup work compared to other helpers and sometimes, its result even may be used as is, without any cleanups. You'll notice that in #40 I was careful enough to always spell it "semi-automatic" when speaking about automatic helpers. In practice, a fully automatic conversion that works out of the box is rare. You are almost always required to do some manual adjustments as well.
Quote:
Originally Posted by maybeJosiah
Is it compiled?
|
What is compiled? npm2deb? It is available in Debian and in most Debian-based distributions like Ubuntu, and can be installed from their official repos. It is part of the workflow used by Debian JS-Team to package JavaScript modules. Check out their Javascript Tutorial.
|
|
1 members found this post helpful.
|
06-03-2024, 01:32 PM
|
#65
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep:
|
Quote:
Originally Posted by maybeJosiah
Does it use anything you plug in too, conky I mean.
|
If you write a script for it, it does.
Quote:
What's Conky all about?
Conky is a system monitor for X. Conky can display just about anything, either on your root desktop or in its own window. Not only does Conky have many built-in objects, it can also display just about any piece of information by using scripts and other external programs.
Conky has more than 250 built in objects, including support for a plethora of OS stats (uname, uptime, CPU usage, mem usage, disk usage, top like process stats, and network monitoring, just to name a few), built in IMAP and POP3 support, built in support for many popular music players (MPD, XMMS2, Audacious), and much much more. Conky can display this info either as text, or using simple progress bars and graph widgets, with different fonts and colours.
|
|
|
1 members found this post helpful.
|
06-03-2024, 01:33 PM
|
#66
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Compiled: made to be near if not entirely in machine code as installed. X E.
|
|
|
06-03-2024, 01:37 PM
|
#67
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
You know what, I can just install Rust and get about as native sensing stuff, no .deb needed. If I really want to I can any time use cargo deb to make a .deb from Rust packages too. solved. X E.
|
|
|
06-03-2024, 01:41 PM
|
#68
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Anyway, I think I may try with Rust and crates, it is about as native and it can do more than that in one GUI no extra script needed. Solved. X E.
|
|
|
06-03-2024, 02:22 PM
|
#69
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,293
|
Your new thread did not differ in any essential way from your previous thread and provided no specific details useful to those providing answers, so the two have been merged.
|
|
1 members found this post helpful.
|
06-03-2024, 02:24 PM
|
#70
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Sorry, I have no more details to offer, I think I will just do crates and Rust and be done with it. X E.
|
|
|
06-03-2024, 02:30 PM
|
#71
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
At this point solved and unless you got more why not just delete this or archive? I am never finding how to make a .deb with dynamic content anyway except that Rust deb maker. At this point maybe just an example with dependencies might help. Something not C or Python. X E.
|
|
|
06-03-2024, 02:47 PM
|
#72
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,126
|
Quote:
Originally Posted by maybeJosiah
What I mean by responsive .deb is like click a button do something as opposed to a static layout. X E.
|
Again, there is *NO SUCH THING*. If you click on a .deb (or .rpm), it will more than likely run the system installer, not run your program. AGAIN, as explained to you many times now, a package is just that; A PACKAGE. It *CONTAINS* things. Once its installed you can then run the newly-installed software. And to re-iterate, since you're lacking understanding: that software can be written in ANYTHING. ANY programming language, at all.
Quote:
Originally Posted by maybeJosiah
I can make a layout that is static, no program attached, how do I say change text on it or make GUI shapes. I do not want a repo. I prefer it all local. Sorry, I am trying to connect a program to a .Deb and want to know what framework I am using in it. Does this help? Please tell me if I am not clear enough. I consider this a programming problem. X E.
|
Again, you are not paying attention, at all. You are not making any sense, and STILL don't seem to understand what a program is or what a package is. This question is a good example of your lack of understanding, despite being told many times. You say you "make a layout"...a layout of WHAT??? In what??? And if you're still claiming to be an expert programmer in any language, it's incredibly hard to believe that such a programmer wouldn't know how to change the text of THEIR OWN PROGRAM, or make it do whatever they want.
Quote:
Originally Posted by maybeJosiah
I am trying for compiled and can use system stuff. X E.
|
Great; you still make zero sense, don't seem to understand what a .deb is (even though you've been pointed directly to the documentation, and have THOUSANDS of examples/how-to guides that are easily found with a brief search), nor do you listen to anyone's advice. All of the threads you've opened here have shared this trend where you don't seem to listen or understand what you're told, or just plain ignore it. As you do with the "X E." garbage, despite being asked not to do that too.
Can you tell any of us why we should continue to try to help you with anything at this point???
|
|
|
06-03-2024, 02:56 PM
|
#73
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Okay so once installed a program from a .deb should be dynamic like click a button do something. I can make static layout of said program but not make it work yet. I guess not possible again right? X E.
|
|
|
06-03-2024, 03:19 PM
|
#74
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,293
|
Quote:
Originally Posted by maybeJosiah
Okay so once installed a program from a .deb should be dynamic like click a button do something. I can make static layout of said program but not make it work yet. I guess not possible again right? X E.
|
Before asking or answering anything else, please try to explain clearly and exactly what this means.
Quote:
Originally Posted by maybeJosiah
I can make static layout of said program but not make it work yet.
|
Exactly please, how do you "make static layout of said program"? Please post a representative sample of the code you use to do that for others to see.
|
|
1 members found this post helpful.
|
06-03-2024, 03:26 PM
|
#75
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,126
|
Quote:
Originally Posted by maybeJosiah
Okay so once installed a program from a .deb should be dynamic like click a button do something. I can make static layout of said program but not make it work yet. I guess not possible again right? X E.
|
As has been explained to you dozens of times now: a package installs whatever is in it...what it DOES after that is up to whatever is IN the package. AGAIN: a .deb file can have anything in it, from plain text documentation to a hugely-complicated GUI program, or simple CLI program. This is where you (being an 'expert programmer') come in.
Again, maybeJosiah, you've been asked to cut out that "X E."/maybe garbage, yet you ignore it and continue. And you were asked why anyone here should continue to try to help you when you just aren't listening or even seemingly acknowledging what you're told.
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|