Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

70
votes
12answers
7k views

How to learn vim on a high level? [closed]

I know that vim (like emacs) is very powerful editor for programmers, as long as you know how to use it, its shortcuts, and so on. What steps can I take and what tutorials can I read to become an ...
-1
votes
1answer
30 views

How to apply a patch? [on hold]

Question: What is the general method to apply a patch in Ubuntu? The issue: In Kubuntu 16.04, I am experiencing certain issues, as common linux users I am used to be patient, wait or look for ...
1
vote
1answer
20 views

I want to program the graphic UI program for Ubuntu…What is the starting point?

Hello I am a C++ Programmer for windows for many years.. Nowadays I need to code GUI program for Ubuntu or possibly for all linux machines... but I don't have any clue for starting with.. Qt is one ...
2
votes
1answer
90 views

How can I write a dynamically updated panel app / indicator?

I am trying to write some panel apps for ubuntu Mate. I know C/C++, and SDL reasonably well. I have seen the Mate-University panel apps github page, but i cannot get it to work properly / Im having ...
0
votes
1answer
1k views

Dell Inspiron 15 5559 hangs at shutdown, wierd start ups

I just bought a new Dell machine. It's awesome! It has a 6th Gen Intel i5, Radeon M335 (4gb ddr3), 8gb of ram< win 10. Nothing special, but still quite good. Anyways I wanted to install Ubuntu on ...
0
votes
2answers
74 views

Which is the best git client for linux? [closed]

I am moving out of a windows enviroment where i used Tortoise Git. I heard linux git clients are pretty poor... can you guys help me finding a good one?
3
votes
0answers
56 views

How can I run an c/c++ program that use GNU Scientific Library (GSL)?

I'm trying to run 2 simple examples in c/c++ using the GNU Scientific Library. That are the codes: 1st: An Example Program #include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main ...
15
votes
2answers
3k views

Putting an arbitrary gtk.Widget into an appindicator.Indicator

Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
18
votes
4answers
21k views

How to compile and run a COBOL program?

Can anybody explain me how to compile and run a COBOL program in Ubuntu? I have never written any program in Ubuntu. Please, give me a simple program to compile and run.
0
votes
1answer
162 views

How to start programming for this app in ubuntu 13.04 [duplicate]

I want to create an application in Ubuntu which should run in the background. It needs to be informed when the focused window changes. Basically I need to run a callback function in my application on ...
0
votes
2answers
360 views

How to encrypt or protect folder with password in ubuntu 14.04

I am looking for encrypting or protecting my folder with a password. I found some programs, but they are not enough. I need a way to protect folder with password, so whenever I access the folder it ...
-2
votes
1answer
73 views

Ubuntu's best utilities for programmers [closed]

I have been working in Windows for many years, now I'm interested in using a Linux OS, so I am starting with Ubuntu. Can any experts recommend some apps that will help in programming? My programming ...
1
vote
2answers
31 views

how to download a CVS reposititory from sourceforge

How do I download this code with cvs? I press "enter" when prompted for a password, but no download initiates. thufir@mordor:~$ thufir@mordor:~$ cvs ...
0
votes
0answers
36 views

Create Ogre3D 2.1 project

I have downloaded the Ogre3D 2.1 source, compiled and installed it without any issues. To my knowledge I have a working installation. The problem now is that none of the official project templates ...
0
votes
0answers
11 views

how to program and burn p89v51rd2 and sst89e516rd in ubuntu? suggest some software

how to program and burn p89v51rd2 and sst89e516rd in ubuntu? suggest some software. as there's flash magic in windows. which is software used in linux? im doing ISP programming
5
votes
2answers
370 views

lint: command not found

Does Ubuntu have a lint utility? How is it installed? In computer programming, lint is a Unix utility.. https://en.wikipedia.org/wiki/Lint_%28software%29 thufir@mordor:~$ thufir@mordor:~$ gcc ...
0
votes
0answers
42 views

Segfault running PyQt5 on Ubuntu Phone

I'm struggling with running a very simple pyqt5 application on the Ubuntu Phone, loading a QML file. I have installed extra python-qt5 packages for this. This is basically as stripped down as I can ...
4
votes
5answers
11k views

Where is Python source code?

I have Python 2.7 installed for learning purposes (I'm a starting programmer reading 'Learn Python The Hard Way') and wanted to know how some things were done. I installed it from Synaptic and want ...
28
votes
7answers
93k views

How could I begin C++ programming on Ubuntu?

I recently switched to Ubuntu from Windows 7. I was previously learning C++ with Microsoft's IDE, Visual Studio. How would I go about programming C++ on Ubuntu, preferably with an IDE?
-1
votes
2answers
41 views

How to make a Linux Application [closed]

I am a new Programmer (Java, JavaScript and C). I would like in the future to do / participate doing Ubuntu applications. My question is; what programming language should I learn to become an Ubuntu ...
12
votes
3answers
10k views

Is there an easy way to log all activity that a shell script does?

Is there an easy way to log all activity that occurs from a shell script to a file? I have a script. It outputs things like echo "instructions", as well as other program output. I know the commands: ...
5
votes
1answer
2k views

QML: What is the difference between a Component, Element, Property, Attribute, and Object?

The reason why I ask, is that often languages define the same terms differently, and QML is fairly unique in some regards. A brief explanation or analogy is preferred, where as more extensive and ...
0
votes
0answers
25 views

I'm trying to install rpl/2 from rpl2.net. Need desperate help

I've been using a Hewlett Packard HP50g for programming and I found that the emulators on hpcalc.org aren't really designed as a fully developed programming language for a computer. This is very ...
0
votes
0answers
23 views

How to Use Gambas?

I recently shifted to Linux and installed Gambas for creating a project , but the navigate command use to code in visual Basic is missing in visual basic it looks something like this ...
1
vote
1answer
2k views

How to run C program on 14.04?

I'm trying to run some C programs using Geany and Code::Blocks. After coding them, when I run them, a message is showed in the terminal like this: In Code::Blocks: sh: 1: /home/c program files/2: ...
-1
votes
1answer
161 views

How I start learning programming on Lubuntu? [duplicate]

I have installed Lubuntu on my PC, I want to learn programming( not a CS student) and start with python, later I was learning on a Windows machine where I installed the python with IDLE (Included in ...
0
votes
1answer
44 views

Logkeys keylogger not working on Ubuntu box in Vagrant; appears to not see keyboard events

I'm trying to get logkeys to work on an "ubuntu/precise64" Vagrant box for a work project, but nothing is getting logged. I've spent several hours reading and trying to track down the issue. The ...
0
votes
0answers
13 views

opengl give the compilation error

I have install opengl in my linux and when I tried to compile the file it give the message this : gcc test.c -lGL -lglut -o test test.c:1:16: fatal error: gl.h: No such file or directory ...
0
votes
0answers
21 views

How do i install libraries for tcl programs?

I want to install all the libraries required to run tcl.However i dont have any error asking me the absence of any lib but i dont want to get stuck in middle of a presentation. Also nam is giving a ...
0
votes
1answer
84 views

Can I use Ubuntu for programming effectively? [closed]

I am taking a course to become a programer and I am using Windows 10. Every time I do an update of Windows it loses all my code, and breaks genymotion. So, my question: Could I use Ubuntu for ...
1
vote
1answer
58 views

Run C++ program like a command from the terminal [duplicate]

Hi, I've created a small program in C++ I would like to run like a command from the terminal. With that I mean that I can open the program from and in the terminal (as it is a console application) ...
24
votes
5answers
9k views

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?
0
votes
2answers
397 views

Can't Compile A Simple C Program

I installed the last version of Ubuntu. I tried to compile and run simple c program. I was get error: fatal error: stdio: No such file or directory I installed and updated gcc compiler few times, ...
0
votes
1answer
35 views

Are there any really good bash scripting guide? [closed]

I really want to learn bash scripting, where should I research? I am pretty good at programming but I do not know how to program using bash
0
votes
0answers
278 views

Not Able To Compile Hello World Kernel Module

I am currently following this tutorial of making a makefile for the simple kernel hello world module. However, I have not been able to do so even after searching on the internet thoroughly for several ...
-1
votes
1answer
118 views

Pair Andorid Studio with github, git error?

I'm working on a project with my teammates but when i try to pair the project on my andorid studio fro github on VCS into checkout from version control, when i click on clone i get this error Clone ...
0
votes
1answer
60 views

Why .cpp files can run on xterm when .c or .cc files can't?

i wrote a code on codeblocks, compiled it and it created a executable file but didn't run. xterm is showing permission denied. but when i saved the program with .cpp extension it worked well and ...
18
votes
7answers
8k views

What BASIC intepreters are available?

Was asked by a new Ubuntu user - who also wants to learn about programming - what he could use to run BASIC code. He was working through a BASIC book before trying out Ubuntu, and he'd like to ...
5
votes
5answers
7k views

What editor is as good as TextPad for compiling and running Java programs?

I want an editor that is as good as TextPad (for Windows) for compiling and running Java programs on Ubuntu 12.04. Please suggest one.
1
vote
0answers
28 views

How can I create a chromium-like background app?

I want to create an application that (like chromium) creates an icon on the top menu bar and after you close the application, the icon is still there and the application continues running in the ...
3
votes
2answers
7k views

What computer languages do Linux-based OSes use?

What programming languages are used to make/create Linux-based Operating Systems?
0
votes
0answers
12 views

Can't install library in Ubuntu 14.04 [duplicate]

I tried to install cairo-1.14.4 library. After make install: /usr/bin/install: cannot create regular file '/usr/local/lib/libcairo.so.2.11400.4': Permission denied
19
votes
4answers
11k views

How do I make Geany my default editor on Ubuntu?

I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code: update-alternatives --config editor .. I don't see Geany in the list. So to add ...
21
votes
6answers
12k views

How to program for Windows in Ubuntu?

Is there anyway to create (C++ or C#) windows console applications inside Ubuntu's IDE (e.g Anjuta) and compile it for Windows?
1
vote
2answers
3k views

Installing C POSIX libraies in ubuntu 14.04 LTS

I'm trying to install the following C POSIX libraries in ubuntu 14.04 but for some reason some of them won't intall. The libraries; sys/ioctl.h unistd.h locale.h ncursesw/ncurses.h Comands sudo ...
0
votes
0answers
15 views

How custom report in Gnucash?

I'm going to report about INVOICES of CUSTOMERS in Gnucash, but all REPORTS are not what I'm looking for :( I want REPORT that I can check which CUSTOMER what ITEM ordered. I searched but I'm not ...
2
votes
1answer
196 views

How to get gnome session idle time?

Has the method to get the session idle time through dbus changed in the recent Ubuntu or my dbus code here is wrong? #!/usr/bin/env python import dbus bus_name = 'org.gnome.ScreenSaver' obj_path = ...
2
votes
0answers
2k views

gcc couldn't locate slab.h in ubuntu 12.04?

Please correct me if I'm missing something here. Thanks for your inputs. Header included in code: #include <linux/slab.h> Code snippet from my file that's asking for memory allocation using ...
5
votes
2answers
13k views

Installing a comprehensive LAPACK implementation under Ubuntu

I would like to ask how to properly install a comprehensive LAPACK package as e.g. is offered by the Gentoo package 'sci-libs/clapack' within a Ubuntu environment. I am not talking about atlas here, ...
1
vote
1answer
98 views

how to implement the functions which are defined inside the conio.h

I wanted to use the conio.h header file in one of my C codes but as we know the header file is not available for Ubuntu, what should we do if we want to implement the functions if the header file ...