Questions tagged [programming]

Questions about programming for and on Ubuntu.

Filter by
Sorted by
Tagged with
1
vote
2answers
31 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 ...
0
votes
0answers
18 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 ...
1
vote
1answer
57 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?
0
votes
1answer
90 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 ...
-1
votes
1answer
52 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 ...
0
votes
0answers
47 views

Using different table for Authentication on laravel 6

Please, I am trying to create a laravel application, that won't use the default User table for login and registration system, how do i go about it ?
0
votes
1answer
42 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 ...
0
votes
0answers
35 views

Successor of libgnomeui in GNOME3.24?

are there any suggestions how to replace libgnomeui in modern GNOME like with Ubuntu 19.10 and newer for programming purpose? Which set of libraries in GNOME provides the same functionality? Best ...
2
votes
1answer
173 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....
0
votes
1answer
47 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. ...
0
votes
1answer
60 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 movq $1,...
0
votes
1answer
56 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 ...
0
votes
0answers
20 views

Is it possible to make a dedicated Discord machine?

A lot of my friends use Discord for gaming, but I don't like. I had a motherboard with integrated CPU lying around (dual core Celeron at 2.1GHz) (https://www.gigabyte.com/uk/Motherboard/GA-N3050M-D3P-...
1
vote
0answers
31 views

Torgo Logo helping manual [closed]

I use Ubuntu Studio 18.04.3 with additional backports PPA to get LTS. I found a Logo programming language IDE called "TORGO", which is made in JAVA. I want to know where can I find a helping manual ...
1
vote
1answer
102 views

Ubuntu not accepting my arduino

I am relatively new to ubuntu, and have been enjoying it. I currently have this issue. I get the error message shown below. It detects my Arduino Mega 2560, but it instead decides to give these error ...
0
votes
0answers
52 views

Associate .ioc extension with STM32CubeMx

I am using TrueStudio and CubeMX for programming STM32 Kits. OS is Ubuntu 19.04. I have cloned a program from Github, and open with TrueStudio. I need to open .ioc file file with another program which ...
0
votes
0answers
26 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 ...
0
votes
1answer
48 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
1
vote
0answers
63 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.
1
vote
1answer
128 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 ...
0
votes
0answers
87 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) ...
0
votes
1answer
295 views

What the line #!/usr/bin/python does? [duplicate]

Im learning python but I dont understand what this line does? or how many options there is?
0
votes
2answers
190 views

How to automatically edit a file (which requires hex editor) in ubuntu

I have android boot image which needs to be patched evertime I flash a kernel. The patching includes adding 4096 bytes to the boot image using a hex editor (I used ghex), which is very tedious process ...
0
votes
1answer
138 views

Command Line Interface

I need to "set up the environemnt so that the location of g++ is available from the PATH? WHat does that mean? I am new to computer science hence the jargon is still a bit confusing
0
votes
2answers
90 views

Is the current Date/Time format retrievable?

My task bar shows "Sat Feb 9, 5:41 PM". Where does Ubuntu store the current Date/Time format information? Is it retrievable? I will be programming in Java, and would like to access the current format ...
-2
votes
1answer
2k views

What is the best tool to add a GUI to Python code and make a Linux application from it? [closed]

I am learning Python. What is the best tool to add a GUI to Python code and make a Linux application from it? Something that is easy to learn but powerful. I found something like PyGTK, Tkinter or ...
0
votes
0answers
260 views

How can I view the C++ code result in terminal instead of xterm

I have just started to learn C++ and I am using code block to do all the work of c++. but when the code is run the result is displayed in something called XTERM. I would be happy to know if there is ...
1
vote
2answers
628 views

sudo apt install firefoxdriver does what?

Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way ...
2
votes
3answers
808 views

How can I restore lost AltGr keyboard entry functions?

This question pertains to an installation of Xubuntu 16.04.3 LTS with current kernel 4.4.0-116-generic x86_64. I am running a Lenovo laptop W530 and the keyboard is a German one (QWERTZU). Initial ...
1
vote
0answers
175 views

When I install unity game engine on Ubuntu, it doesnt download c# like in windows

I installed Unity( tutorial How can I install Unity 3D game engine for Ubuntu ?). It worked, but when I try to edit c# script, it does not work. When I double-click the script in my Project view, ...
1
vote
1answer
190 views

Get NVIDIA information in a friendly way?

I'm writing a TaskManager app for Ubuntu, which has as main goal to show me info about my GPU, and I am looking for a way to get information in a programming friendly way, that means, in a way that I ...
2
votes
1answer
1k views

Code completion for gedit

Is there any code completion plugin for gedit which supports all common programming lanuages (especially C and HTML/CSS)?
0
votes
1answer
4k views

E/AndroidRuntime: FATAL EXCEPTION: main

Can anyone help me please? I'm beginner. LOGS : E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.ghaas.androideatit, PID: 5835 java.lang.RuntimeException: Unable to start activity ...
1
vote
0answers
13 views

WinHttpRequest isn't grabbing whole page in VB6

This code only captures the first part of the page, I think because the whole page doesn't load until you scroll to the bottom of the page, which I don't know how to do programatically. Set http = ...
1
vote
1answer
135 views

Free heap memory

So I'm using Ubuntu for programming I use atom text editor with gcc compiler for C. I want to ask what will happen if I don't clear memory allocated by malloc or calloc? Will the OS take care of it or ...
4
votes
2answers
777 views

Notetaking Software that supports Mathematics, code, and pictures?

I am a Computer Science major. I would like a note-taking program that will allow me a lot of versatility with math notation, allows me to format java code samples similarly to StackExchange and lets ...
0
votes
1answer
118 views

How to loop a program?

I'm using a program named 'SExtractor' which takes astronomical images in imput and subtracts the skyglow giving as output the same image corrected. More specifically the output it's composed by four ...
-2
votes
1answer
1k views

PROBLEM WITH COMPILER C/ PLEASE HELP ME [closed]

My first language is Spanish, and my use of English is not the best, but I need some assistance in debugging the following program code since it produces an error when compiled. CODE: #include "...
1
vote
2answers
7k views

CodeBlocks in Ubuntu 18.04 doesn't show any result in Console after Build and Run. What should I do?

I have just switched to linux. Thanks in advance!
1
vote
1answer
408 views

#include <SFML/Network.hpp> not found

Can someone help me out with this error. Trying to program a network scanner cppns.cpp:2:10: fatal error: SFML/Network.hpp: No such file or directory #include <SFML/Network.hpp> ^~~~~...
0
votes
2answers
473 views

bash script – for i in {x..y}

i am writing a script in bash and I would like to give the two numbers in the brackets, x and y to be precise, as variables. I wrote the script this way: echo "x?" read x echo "y" read y for i in {$...
1
vote
0answers
430 views

How to run an interactive python script with nohup

My script requires entering username and password, how do i run it with nohup along with the ability to interact with it at the same time.
2
votes
1answer
220 views

Open MPI Eclipse PTP -> failed to execute command: ompi_info , [closed]

I try to compile parallel programs using Open MPI 3.1 with Eclipse PTP 9.1.4 on Ubuntu 18.04. After building the project I follow the instructions of the Help-Eclipse Platform. The Step Run ...
0
votes
0answers
26 views

What are good coding editors that can run without a GPU?

I have a VM with Ubuntu, which I use mainly for testing code written with my usual tools in Windows. I connect to the VM with ssh and use X11 forwarding. I'm used to VS Code and Sublime Text, but as ...
0
votes
0answers
28 views

How can I go about creating a driver to get my touchpad to work?

I have an ACER ES 15 laptop, and the touchpad works perfectly fine on Windows but not Ubuntu. I've tried fixing it including checking out the accepted answer here: Touchpad under 16.04 not working. I ...
10
votes
3answers
1k views

Is it possible to take a screenshot of a circular selected area?

When we take screenshots of selected areas on Ubuntu (using Shift+Prt Scr or Ctrl+Shift+Prt Scr) we always select a rectangular area. So, I know I could just edit the image on some software like ...
14
votes
1answer
31k views

Can I develop iOS Applications in Ubuntu without using a virtual mac OS system? [duplicate]

I'm a developer of Android applications and a java programmer. I'm learning IOS programming but I don't have mac OS; I use Ubuntu. I want way to program IOS apps in Ubuntu without using a virtual ...
2
votes
1answer
59 views

Graphical environment in gtk+ programming

I am reading tutorials of GTK+ programming in gnome developers. I saw it is somehow different from C# graphical programming in Windows(OS) or even QT creator. In C# graphical programming, I first ...
45
votes
4answers
51k views

Is knowledge of C# of any use in a Linux system?

I know C# and I like to switch between systems and use Linux. Can I use C# to build applications that will natively work on Linux? What should I do to make use of my knowledge of C# in a Linux system? ...
2
votes
1answer
646 views

When programming with Wayland, in C, how can I get the functionality xcb and Xlib provide? [closed]

I understand that Wayland is a compositor, that it somehow is involved with events so software the next level up can register with Wayland to receive events, and so forth. But Wayland doesn't provide ...

1
2 3 4 5
11