Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [programming]

Questions about programming for and on Ubuntu.

-2
votes
1answer
38 views

PROBLEM WITH COMPILER C/ PLEASE HELP ME

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
40 views
1
vote
1answer
32 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
61 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
89 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.
0
votes
0answers
14 views

What Are The Best Basic Interpreters Other Than SDLbasic and BASIC-256? [duplicate]

I wanted to know what would be one of the best BASIC interpreters other than the two listed above? The two above are missing many commands. I am using an old TRS-80 book, would this effect it?
2
votes
1answer
33 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
24 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
19 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 ...
9
votes
3answers
524 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 ...
1
vote
0answers
188 views

Can I develop “iOS Application” in Ubuntu without use Virtual System?

I'm new in Ubuntu I like it. This is my first question in this community. So I'm developer Android Application and programmer java in this time I'm learning IOS programming but I don't have mac OS ...
2
votes
1answer
36 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 ...
38
votes
4answers
12k 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? ...
3
votes
1answer
82 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
vote
2answers
45 views

How to add C libraries in Ubuntu

I want to add Arduino-serial-lib.h in order to achieve serial communication between my system and Arduino. How can I add this library in my system?
0
votes
0answers
364 views

c++ graphics not working “undefined reference to…”

#include<stdio.h> #include<stdlib.h> #include<graphics.h> int main() { int gd = DETECT, gm; initgraph(&gd, &gm, NULL); circle(50, 50, 30); delay(500000); ...
4
votes
3answers
129 views

Cross-Installing Programs

The computer I am setting up has three partitions. One for windows10, one for linux, and one for files and programs shared between them. Is there a way to install programs on the third partition (like ...
2
votes
1answer
123 views

How to create a .tar.gz file to install a custom application

I have written a simple program, and I made a .deb file to install it on Debian based OSs. but for other distros like Arch, I usually use a .tar.gz file (and doing :./configure, make and make install),...
0
votes
2answers
68 views

Can i access and modify any software code working on linux? [duplicate]

So there's a bug in a certain software and i thought maybe i could look at the software code, since it's all open source, and try to fix it. Is it possible? are all software accessible by any user, ...
-2
votes
1answer
376 views

execute a powershell script (hello world)

A powershell "hello world" script is spawning and bogging down the system: Tasks: 413 total, 2 running, 411 sleeping, 0 stopped, 0 zombie %Cpu(s): 42.8 us, 5.9 sy, 0.0 ni, 51.2 id, 0.2 wa, ...
0
votes
0answers
62 views

How to organize all the 3rd party libraries that I will install in Python?

I am new in Python and I realized soon that there is a lot of 3rd party libraries that I want to use. The thing is, I want to keep track of the libraries that I will install, is there any way to do ...
-3
votes
1answer
102 views

Unix philosophy - avoid storing data and programs in binary files [closed]

I am unable to understand the reason behind the following Unix philosophy. From LINFO Website: An important tenet of the Unix philosophy is to avoid storing data and programs in binary files to the ...
0
votes
0answers
499 views

How to install gmsh 3.0.6 in Ubuntu 16.04.03?

I have installed gmsh 2.10 version with "sudo apt install gmsh" function.Terminal says it is the newest version. But on http://gmsh.info/ they have gmsh 3.0.6 stable release for linux, and you can ...
0
votes
1answer
91 views

Is there any way to add outline support to gedit to make it more usable for coding?

Geany for example has a sidebar with a "symbols" section showing functions and variables.
-1
votes
1answer
628 views

IDEs for running C# programs in Ubuntu [closed]

Which is the better option for running C# programs in Ubuntu? using Mono and compiling in the terminal Microsoft Visual Studio Code Microsoft .NET SDK.
0
votes
1answer
84 views

As Java intermediate programmer how can i contribute to Ubuntu? [duplicate]

I'm intermediate Java programmer and C at beginner level, I'm willing to contribute to Ubuntu, how can I start and where to start from? Pls explain me in detail.Interested in small projects.
0
votes
1answer
35 views

Can't run python programme opening its in text editor

Guys... I want to run a program for test our typing speed... It worked well in ubuntu 14.04 but can't in the latest version ubuntu 17.10 Can anybody help me?? Link of programe:https://drive.google.com/...
0
votes
0answers
207 views

How to build package for ubuntu?

I am starting to build a package for ubuntu. It will be a program running all the time. Just like nginx or mysqld runs. How do I get started? Is there a framework I could use? Suggestions pls
0
votes
1answer
282 views

Use button on headset

I have a headset which has a button that is supposed to play/pause audio, answer calls, etc. and I wanted to make it work on Ubuntu. My computer does have a combined headset port (fourth lead), but ...
0
votes
0answers
33 views

What language would one need to create a GUI in Linux? [duplicate]

I am wondering what language(s) / method(s) I would require knowledge on to create a GUI, I am looking to make a specific terminal command that I use very frequently run in a GUI. So instead of typing ...
0
votes
0answers
197 views

Failed to start glassfish.service: Unit glassfish.service not found

Considering different approaches towards installing glassfish, I thought it was possible to install through apt? thufir@doge:~$ thufir@doge:~$ sudo apt-get -s install glassfish-javaee Reading ...
0
votes
0answers
193 views

eclipse workspace crash: org.eclipse.e4.core.di.InjectionException

Can't get Eclipse to start: Is this a typical sort of eclipse error? thufir@doge:~$ .local/share/umake/bin/eclipse-java org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback....
1
vote
0answers
36 views

set transparent background in krusader

How can one add transparency to krusader's background? Is there a standard library that can be used to customize the program background in general to taste?
1
vote
3answers
884 views

How do I know what programming languages are pre-installed in Ubuntu?

How do I know what programming languages (I mean their compilers and interpreters) are already pre-installed in Ubuntu? For example, I see that Python is here. If I type python command in the terminal,...
0
votes
1answer
71 views

Major programming languages on Ubuntu [duplicate]

I am a developer interested in moving (at least something like a dual boot) to Linux, specifically Ubuntu. I am interested in programming aspects of the OS, I know the majority of it is written in C ...
1
vote
0answers
189 views

Can I run radio programs like Motorola CPS for programming radios? If so, How do I load it?

I use dos based and windows based radio programming software to program motorla and kenwood radios. I use this for Public Service and Amateur use. Can I get Ubuntu to do this?
0
votes
0answers
35 views

Lock an application [duplicate]

I am currently creating a software that I would like to distribute over the web soon but I am afraid that under privileged users may open the app, so it is possible to make the app open only by users ...
1
vote
0answers
44 views

Make a list like tasksel in Ubuntu [closed]

I've google around and asked in the IRC but no one seems to know this one: For a program I'm writing I want to make a list selection like tasksel and an announcing one like Oracle Java. How does one ...
-1
votes
2answers
8k views

What is “sh: 1: pause: not found”? [closed]

I am learning C as first programming language. I have typed following source code: #include <stdio.h> #include <stdlib.h> int main() { int a,s,d; printf("type the number which ...
0
votes
1answer
59 views

PYGTK Application developement help [closed]

Can someone give me a basic idea of what is used here to change w indow when different buttons like overview,folders to save,folders to ignore.How multiple windows are embedded within the single ...
2
votes
1answer
430 views

Is there a shortcut to re-open a recently closed program?

I found this KDE Open recently closed application question and it's exactly what I'd like to do, however I am on ubuntu. The only answer on that question is the 'recently used' part of the launcher, ...
0
votes
1answer
375 views

extreme burner installtion problems

I'm newbie in ubuntu and I'm trying to program an AVR micro-controller , i searched a lot for a suitable program and found at last a program called "extreme burner" but it doesn't work ! apt-get ...
1
vote
1answer
87 views

Is it possible to add trigger function before system goes into suspend?

I am trying to figure out wether it is possible to add some sort of script, triggered before system goes to suspend. Idea is to trigger some webhooks to store some info before idle state.
1
vote
0answers
237 views

write C++ code under windows and compile it on linux [closed]

I am new to programming but I wanna start learning C++. I'd like to use windows to write the code, it should be possible to then execute the code under linux right?
6
votes
3answers
1k views

Is it possible to do a double substitution with a shell string?

Single Substitution is easy: string="Mark Shuttleworth" echo ${string/a/o} Mork Shuttleworth is it possible though to do a double at the same time? echo ${string/a/o string/t/g} #doesn't work, but ...
1
vote
1answer
324 views

Error no such file or directory

I have this executable file in my folder and whenever I try to execute it, it shows the error sudo: unable to execute ./GASS_NCBI: No such file or directory After typing ls -alt This is what shows ...
0
votes
2answers
52 views

When an SQL query fails to return anything, how can I tell the shell to return a “false” instead?

This may not have anything to do with SQL in particular, because I am sure other commands will do this as well. In this case, I send a query through the shell, and if the query does not match any ...
1
vote
1answer
408 views

Ubuntu 16.04 won't let me run my CodeLite program

I'm running Ubuntu 16.04 that I recently installed together with Windows 10, because I was told Linux was better for programming ( I'm a Computer Engineering student). When I run my program on ...
3
votes
1answer
1k views

PICKIT3 on ubuntu

I am kind of a beginner in ubuntu. Does anybody know a way to program PIC with PICkIT3 on ubuntu? Because I don't want to go back and forth to windows since I got mikroc and proteus working. thanks.
2
votes
2answers
125 views

What commands can be used to control GUI buttons?

I just came up with an idea for a useful computer program, but this would mean I would have to know how bash commands could be used to "click" on the gui buttons. Do you know anywhere I can find a ...