Questions tagged [programming]

Questions about programming for and on Ubuntu.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
20 views

How do I install linux drivers for leoxsys hg150n in kali linux virtual box? [closed]

I am asking this as whenever I plug in wifi adaptor (leoxsys hg150n) it shows that the "device is not ready". It also doesn't show the nearby wifi Networks. I think it's showing this because ...
user avatar
1 vote
0 answers
17 views

Stange missing libraries when linking

When developing with Qt or plain C++, my linker yields "Cannot find: -lGL" I have checked the existence of the libraries and their use by ld with ldconfig -p |grep libGL: libGLdispatch.so.0 ...
user avatar
  • 482
1 vote
1 answer
37 views

¿How can I create a multi input, customized terminal forms like FoxPlus, Clipper, dBaseIII+?

In the past we had tools like clipper, FoxPlus or the ancient dBaseIII+/dBaseIV to create multi input forms in which we were able to put things almost anywhere in the reduced available space (25 lines ...
user avatar
0 votes
2 answers
84 views

Read logs real time with bash

I have this in the system logs: Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up 7 Feb 27 02:53:51 Latitude-E6430 rsyslogd: action down B Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up U .......
user avatar
0 votes
0 answers
57 views

sed command to replace start of a line with new line, but line includes " / caused sed output errors

I'm trying to replace the following line: <inet-address value="${bind.address:IP}"/> with a different line but I keep running into issues. There are similar lines up until the point ...
user avatar
1 vote
0 answers
55 views

How to blur specefic area on the ubuntu desktop

I am a CS student and want to work on my FYP project that will get the pixels from the desktop screen and will blur the intended pixel on the screen at run time. For example, if I want to blur the ...
user avatar
2 votes
2 answers
59 views

How to compile a GAP program in Linux/Debian?

I installed GAP in my Ubuntu 20.04. I can write programs and compile them using terminal by writing gap then do the things that I found in GAP manual in your website without any difficult. But, if I ...
user avatar
2 votes
1 answer
96 views

How to show progress in dock icon?

How can I show application progress in a dock icon? My native GTK3 application which runs on Ubuntu has an icon that appears in the the Ubuntu dock when the application is running. The application ...
user avatar
  • 10.8k
1 vote
1 answer
65 views

Are Visual studio and VScodium softwares same?

I don't understand. Programmers says VS and VScodium. When i try to install VScodium, everything looks same as VS. Visual Studio (VS) community is freemium and the other part of enterprise software ...
user avatar
0 votes
0 answers
49 views

how to use testng directly from bash?

I'm not seeing why java cannot find App as it's explicitly added to the classpath: nicholas@mordor:~$ nicholas@mordor:~$ java -cp /usr/share/maven-repo/org/testng/testng/debian/testng-debian.jar:/...
user avatar
0 votes
0 answers
35 views

HeapMemView like for Ubuntu

I'm looking for a tool like HeapMemView for Ubuntu. Any suggestion? I want a GUI app.
user avatar
1 vote
1 answer
38 views

Grafic problem with Pythondialog in Ubuntu 20.04

I have a problem in Ubuntu 20.04 with pythondialog. As shown in the image: Dialog Error #!/usr/bin/python3 from dialog import Dialog d = Dialog(dialog="Dialog", size="autowith") d....
user avatar
-1 votes
1 answer
100 views

how to generate random number [closed]

I want to generate a few random numbers in the range 0-999 and store them in an array. This is my code: void randnum(int number) { int i; int num; int arr[11]; printf("%d", ...
user avatar
0 votes
1 answer
85 views

high RAM usage on ubuntu desktop

I'm using an Ubuntu desktop 20.04 LTS. I'm not running any concurrent applications at the time. and I'm using R and python and a jupyter notebook in my computer. today while running jupyter notebook I ...
user avatar
0 votes
0 answers
378 views

Unity Editor Installation Error

I'm using Lubuntu 20.04.2 and I want to install Unity Editor from the official Unity Hub 2.4.3 downloaded from the official Unity website. But When I try to install the latest Unity Editor LTS, It ...
user avatar
1 vote
2 answers
295 views

Do we have offline Python documentation browser in Ubuntu repositories to have one "point of service" to read and search the Python docs and APIs?

The question is in the title. As a use case one can imagine the situation about finding function basing on its known functionality. I already know about Zeal which is packaged. It downloads ...
user avatar
  • 88.7k
-1 votes
1 answer
69 views

.NET development in Kubuntu

Hello Ubuntu community I am a student at collegue, and I want to use Kubuntu as my main OS. Because I am programming .NET (.net 5 is ok), I need .net framework, developer pack, and Visual Studio (the ...
user avatar
  • 418
0 votes
1 answer
522 views

Installing Ganache GUI in Ubuntu

How exactly is Ganache installed on Ubuntu? The approach of using git looks advantageous, yet, I'd expect a sort of wrapper around git for use from within npm or similar. Or does this have to be ...
user avatar
0 votes
0 answers
68 views

Does fgets hold somehow where it stopped reading the FILE *stream?

I am trying to get a sample program on how to write to a file: #include <unistd.h> #include <stdio.h> #include <string.h> int main(int argc, char **argv){ char buff[1024]; size_t ...
user avatar
-2 votes
1 answer
73 views

Error while installing graphics.h library on ubuntu 20.10

please answer my question as i can't installing graphics.h library in ubuntu 20.10. It shwoing me erros as libs0-dev not found. showing while installing packages
user avatar
  • 11
-1 votes
1 answer
108 views

How to configure the PowerShell prompt on Ubuntu?

How do I configure the PowerShell profile so that the prompt is changed? nicholas@mordor:~/.config$ nicholas@mordor:~/.config$ ls -alh total 108K drwxr-xr-x 23 nicholas nicholas 4.0K Feb 4 19:50 . ...
user avatar
0 votes
2 answers
65 views

What tools can I use to make an emojie service like windows on Linux?

On windows 10, one of the more recent updates, you can use the shortcut windows key + . to open up a small window next to the focussed textbox and you can use that to quickly enter in emojies. What I ...
user avatar
0 votes
1 answer
26 views

How do I edit/replace my password verification program? (Wie verändere(/ersetze) ich mein Passwort-Erkennungsprogramm?)

(I am able to understand both english and german, but german is my first language, so if you can, pls answer me in german (and please don't roast me for my bad english) :) ) (Ich kann sowohl Deutsch, ...
user avatar
2 votes
2 answers
179 views

Alternatives : Odespy for Ubuntu 20.10

I am interested in numerical methods for solving odes using Python. I would like to refere to: Linge, S., & Langtangen, H. P. (2020). Programming for Computations-Python: A Gentle Introduction to ...
user avatar
1 vote
1 answer
745 views

What is the simplest way to run Javascript code on Ubuntu?

I tried to use browsers' console, but it interprets print as command to print a document, not as output on the console. I heard about some JavaScript Shell, but didn't quiet get how to install and use ...
user avatar
  • 1,939
1 vote
1 answer
348 views

Why i get this error while installing graphics file and how can solve it?

*** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full ...
user avatar
0 votes
1 answer
107 views

Where is the database for feedreader?

It's implied: https://code.launchpad.net/~eviltwin1/feedreader/sqlite that feedreader uses sqlite or that it can be configured to do so. I looked in the .config folder, but didn't see anything ...
user avatar
0 votes
0 answers
75 views

Programming in c# not working

I programmed in c # using windows and never had any problems. Since I started using ubuntu I have a problem. the applications (Visual studio code, monodevelop, sublime text and atom) do not show ...
user avatar
3 votes
1 answer
249 views

Is there a way to get syntax highlighting for Raku lang in Pluma / Gedit?

This question is related to What languages does Pluma / Gedit text editor cover for syntax highlighting?. I noticed Raku programming language is not supported yet by Pluma in Ubuntu Mate 18.04. ...
user avatar
  • 143
0 votes
2 answers
45 views

How to enumerate a variable in a loop starting at 01?

I have a question I have the rename command, but after I run the rename starting from 00, how to start from 01, please help me this is the command that I use for i in *.mkv; do new=$(printf "...
user avatar
1 vote
1 answer
1k views

Why is total stat block size of a directory twice of ls block size of a directory?

I am fairly new to Ubuntu and would like to learn more Linux programming. Each time I print ls -l and compare it again my own codes to add st_blocks of each file, the result is always stat block being ...
user avatar
0 votes
1 answer
1k views

Eclipses: no consoles to display at this time

How do I get a bash terminal or console from within Eclipse itself? but no prompt: I just see: no consoles to display at this time "Window->Show View->Other". Search for Terminal and select "Open"....
user avatar
  • 4,333
3 votes
1 answer
373 views

How can Gedit detect and highlight languages that aren't installed?

How can gedit detect languages, even though they are not installed? Here's an example where Gedit detects Java. But when I try to run Java from terminal, it says that java is not installed. ...
user avatar
0 votes
1 answer
197 views

How do I run this file? It has a white icon with a grey cog on it

I am programming in Python on Ubuntu 20.04 and have just compiled my first program using 'PyInstaller'. The program is compiled as a stand alone file with a white icon with a grey cog on it. I have ...
user avatar
  • 329
1 vote
2 answers
890 views

How to enable auto close bracket inside a bracket in GEANY editor

I like the geany text editor very much. However, one thing that I don't like is that while I code in C/C++, the auto-close bracket option does not work inside similar types of brackets. Here's an ...
user avatar
2 votes
1 answer
8k views

How to use NetBeans in Dark Mode with the Darcula Theme?

How do I install Darcula through Netbeans itself? Seemingly a matter of enabling the correct plugins through the GUI? Versus installing after manually downloading: I'd expect it to be available ...
user avatar
  • 4,333
1 vote
1 answer
983 views

How do i use the grep command in a different directory with out using cd

I want to search for a pattern in some files but without using cd to enter the directory they are saved in. How can i do that?
user avatar
0 votes
1 answer
2k views

How install mcrypt for PHP7.2

I want to install a script on my locahost, i installed apache2, php7.2 and mysql The problem that i have is running this command: phpenmod mcrypt it ALWAYS trow the same thing when i trow it in the ...
user avatar
  • 235
1 vote
1 answer
191 views

Who (which code) is responsible how open file dialogues appear in Ubuntu applications

Some applications (e.g. GIMP) seem to order directories first in their the File>Open, File>Save or any other file related dialogue. Some other applications (e.g. LibreOffice) don't sort directories ...
user avatar
0 votes
1 answer
821 views

Limiting ram usage of a program

Is there an easy way to limit the ram consumption of a specific program? I have a program that generates a really big file, up to 1 gb and it causes my whole laptop to freeze up. I want to limit the ...
user avatar
2 votes
1 answer
338 views

How to build Gnome Commander on 18.04 (Bionic)?

After successfully building Gnome commander for 19.04 (Disco Dingo) (you can download PPA here: https://launchpad.net/~schollsky/+archive/ubuntu/gnome-commander), I'm trying to do the trick with 18.04....
user avatar
0 votes
1 answer
75 views

Ubuntu crashed after big simulation

I have a dual boot Ubuntu 18.04LTS and Windows 10. I launched a big FORTRAN simulation but not too big to automatically kill the process. I played on purpose to see until the computer made it. ...
user avatar
0 votes
1 answer
131 views

sys_write doesn't print message to the terminal

I'm trying to explore GNU Assembler using this example: https://0xax.github.io/asm_1/ My code main.s is .data message: .ascii "ASSEMBLY OUTPUT" .text .globl _start _start: movq $1, %rdi ...
user avatar
0 votes
1 answer
66 views

Beginner to Linux coming from Windows [duplicate]

I have an Acer ES1-524 (2 core @ 2 GHz, 4 GB RAM, 500 GB HDD) pre-installed with Windows 10. I'm using it to learn programming but recently while using it with VSCode and a few Chrome tabs opened (I ...
user avatar
1 vote
1 answer
503 views

Ubuntu not accepting my arduino

I am relatively new to Ubuntu, and have been enjoying it. However, it detects my Arduino Mega 2560 (it appears as /dev/tty/ACM0), but outputs these messages: avrdude: stk500_send(): failed to send ...
user avatar
  • 33
0 votes
0 answers
35 views

Getting program states from two different terminals and comparing them

I want to run two different instances of a program in two different terminals. and check the variables inside the program if they match all the time or not. What I really want to do here is, do ...
user avatar
0 votes
1 answer
70 views

How to automate screen multiplexer to automatically start on a path and execute a file

I want to automatically: screen -S Test cd /home/dapkkins/Servers/Bungee sh start.sh ^Ad My sh file to run my server through ssh
user avatar
1 vote
0 answers
152 views

Software for msr x6 Ubuntu 18.04.2 LTS

So far I can not use my reader / recorder of magnetic band msr x6, there is some software or code to use msr x6.
user avatar
1 vote
1 answer
2k views

from sklearn.matrics import confusion_matrix ImportError: No module named matrics

Im using Random Forest and I want to use confusion matrix to calculate false positive and false negative but I achieved the bellow error: from sklearn.matrics import confusion_matrix ImportError: No ...
user avatar
  • 11
0 votes
0 answers
267 views

How to deal with 128bit variable in MinGW32 bit compiler on Qt?

I want to use the below equation in one of the code A = g^a mod p; //g raise to a modulus p. (something like 2^5 % 3) = 32%3 = 2 (This equation looks like Diffie Hellman algorithm for security) ...
user avatar

1
2 3 4 5
12