Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
1answer
12 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
9 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
26 views

How should I start to learn c++? [closed]

I have a good knowledge of programming in C and I want to learn c++. Should i start again from data types and variables ? Where from should I start with c++ if I know C?
0
votes
0answers
15 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
47 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
27 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) ...
22
votes
5answers
8k views

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?
0
votes
2answers
354 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
29 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
9 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
205 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
38 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 ...
-1
votes
1answer
30 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 ...
17
votes
7answers
7k 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 ...
0
votes
1answer
470 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 ...
5
votes
5answers
6k 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
25 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
6k 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
10k 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 ...
20
votes
6answers
11k 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
2k 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
11 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
158 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
1k 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
10k 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
92 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 ...
1
vote
1answer
121 views

Where are the headers with IOCTL numbers for ext4?

I am looking for ext4.h, or another file that contains EXT4_IOC_*. There is nothing in /usr/include or /usr/src. I have linux-headers-generic installed. I am on Kubuntu 14.10. Where are the headers? ...
1
vote
1answer
29 views

Probing system file interactions

I need to monitor all interactions with Linux file system (include interactions through interrupts, kernel functions and system calls). To do this, I use SystemTap. I have two questions: According ...
3
votes
2answers
2k views

symlink for dbus headers

Source code for something that won't compile has the line #include <dbus/dbus.h> but in real life that header file is in /usr/include/dbus-1.0/ Similar situation exists for the dbus-c++ ...
4
votes
1answer
5k views

Why can't I use conio.h or ncurses.h?

I am new user to Ubuntu. I wrote a simple program in C. When I try to compile it to use conio.h, the compiler gives me fatal error. So I tried by ncurses.h, but still I am getting same error.
5
votes
2answers
9k views

Adding icon to the system tray (notification area) [duplicate]

Possible Duplicate: How to program a status icon that will display in Ubuntu 11.04 as well as in other distributions? Hello, I have a small audio recording application programmed with ...
1
vote
0answers
27 views

HIbernation or Suspending & Restarting for NON-root users

My purpose is to run a main shell script which calls many sub-processes like other shell scripts, perl sources, and compiled c++ files. I want to run the main shell script "run.sh" at some line in ...
71
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
vote
3answers
2k views

Is Gedit-3.14.2 available for ubuntu?

From where I will get gedit latest version? Current I have 3.10.4 installed on my Ubuntu version 14.10. Do we have any ppa available to download latest gedit?
0
votes
1answer
47 views

Install minimal MonoDevelop, only for C#?

I'd like to install MonoDevelop with only the tools and libraries for creating console/GTK apps, but I'm unsure how to only select certain packages I need. How could I do this? Thanks!
1
vote
3answers
235 views

How do I run my C program?

I am a newbie in c programming language , i am following a course right now , but I have a small problem which is run the file for testing I have opened gedit and I wrote those code lines int ...
0
votes
1answer
89 views

BASIC programming language [duplicate]

I want to run some BASIC codes on Ubuntu 14.04 . Can someone please refer to the interpreters or IDEs which are available for running BASIC codes?
0
votes
1answer
71 views

Logo programming language

I want to setup the Logo programming language in Ubuntu 14.04. Can someone please suggest me the appropriate compiler which is available?
2
votes
1answer
111 views

Eclipse Marketplace

I have installed Eclipse with: sudo apt-get install eclipse Now I doesn't find the Eclipse Marketplace in the menu "Help". Where is the Marketplace or how can I install it?
0
votes
2answers
416 views

My CPU usage is unnecessarily high while creating a C program in Ubuntu 14.10

I have an MSI GE60 2PC Apache model Gamebook. I also use it for my collage work. It runs Ubuntu 14.10. I have a CPU usage problem while creating a ".c" file. I use the default text editor; while I ...
3
votes
1answer
338 views

How to apply a patch to indicator applet?

I have a patch named "incator.patch". How can I apply that to the application "indicator applet" and get it running? The bug will solve a bug with key-binding caused by "indicator applet". Patch is ...
0
votes
1answer
52 views

lubuntu: How do I run .64 files?

I have problem with a .64 file I downloaded from the Godot Engine website. How do I execute this file? I really have no clue. Thanks you.
2
votes
2answers
427 views

apt-build on ubuntu, if I change processor will give problem?

I installed apt-build on Ubuntu, it is a program that compiles and installs programs. It compiles optimally for the user processor and this makes programs run quickly. But I thought what if I change ...
0
votes
0answers
23 views

How do i install Blitzmax

Its this game programming IDE. Here is the download page for blitz max http://www.blitzbasic.com/Products/index.php. I found some documentation on how to install but all of it is very old. For Ubuntu ...
12
votes
2answers
3k 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: ...
-1
votes
1answer
19k views

Compiling C++ code raising “no input files” fatal error?

I am finding it hard to run/compile a simple C++ code in the terminal. Here's the code I am using to compile the file (helloworld.cpp). g++ helloworld.cpp -o helloworld I am getting an error. ...
2
votes
2answers
53 views

What language is the Ubuntu Software Center written in?

Just been wondering, since elementary AppCenter is written with Vala and Gtk+3. Also, what GUI wrapper does it use?
0
votes
0answers
19 views

Linux executable file [duplicate]

Are there anyway to build a Linux executable file or .DEB? I have been trying to make my plain game file that can be built into either .exe or .DEB But I don't know how? I will need a very simple ...
2
votes
1answer
9k views

how to write characters to serial port

I have an ancient serial spectrometer which only runs on win9x. I want to convert to a Linux system, but the existing software is proprietary and wont work. I was able to access a console internally ...