Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

1
vote
1answer
77 views

Code returns nothing

The following program was made according to the book 'Head First C'. It is supposed to be able to find and return music tracks containing a search-word, but it returns nothing. Oh, and I tried to make ...
0
votes
1answer
205 views

Unable to compile programs in Ubuntu with Geany

I'm having trouble compiling a simple C++ program in Geany. The result is same even if i just use terminal(not using Geany).
55
votes
13answers
13k views

What advantages does Ubuntu have over Windows as an environment for programming?

Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows? Do the features an IDE provides exist there (eg. showing ...
1
vote
1answer
50 views

Explanations for a complete noob [closed]

Ok, so I'm thinking of switching to Ubuntu for all but gaming and CAD (I'm an engineering student). I've never tried any form of Linux (unless Android counts), so I don't know the first thing about it....
0
votes
1answer
786 views

How to create a datagrid in GTK without GTK Sharp?

I would like to write a GTK program with a datagrid. However GTK Sharp is for the .NET Framework. Is there any non-.NET library or framework with a datagrid that I can use?
2
votes
1answer
158 views

Help with running C programs in Ubuntu

I've been teaching myself to write programs in C, using Geany as my IDE. All of my programs get compiled and linked correctly, and they seem to work fine when I test run them inside of the IDE, ...
3
votes
3answers
2k views

Any IDE's in Ubuntu for Windows Development with C Sharp?

I'm wondering if you folks could steer me toward some Window's Dev IDE tools for ASP.Net and or C Sharp? Is there a good site for finding IDE's for Ubuntu? I've not totally installed yet, just looked ...
0
votes
2answers
69 views

Can you get Ubuntu Server on a mac? [duplicate]

I looked around for a bit and I haven't found the correct thread that fits my needs, I have an old mac Powerbook G4, I want to run Ubuntu Server on it, can I wipe out the entire harddrive and just run ...
0
votes
2answers
166 views

Compiling On Ubuntu Server

Is it possible to compile on on ubuntu server using vim and g++? and possibly uploading those files onto your ubuntu desktop using ubuntu one? I have an old mac laptop I want to use for my programming ...
-1
votes
0answers
122 views

Not sure which IDE I should use for editing codes written in C [duplicate]

I am looking for an IDE which I can use to edit/compile/run C/C++ codes on my Ubuntu 13.04 installation. I have been checking the forum for information, and I found Anjuta being suggested by a few ...
0
votes
1answer
97 views

How can I fix Gambas3?

I am a v.b programmer. I installed Gambas3 on Ubuntu 13.04. The problem is when I create a new project and put the objects on the form then run the project no objects visible on the form. Note: the ...
3
votes
2answers
2k views

Install Elixir to System

How can I install Elixir on Ubuntu 13.04 so that I can easily use it from the command line and update it easily by cloning git. I have installed Erlang 16 by getting package from here Erlang ...
1
vote
1answer
30 views

How to take modified code over to installed system?

Have modified the code of a bash-command - now I want to take it over into system of 12.10 (it is done with downloaded source code of this bash-command). Is there nothing more necessary than this : ...
0
votes
1answer
45 views

how do I load a program I have downloaded!

I'm trying to start programming and am sure I have downloaded python. how do I find and run this program?
1
vote
1answer
107 views

Start application in the background on GNOME

Is there a way to avoid bringing an application to the front when opening it? I'm launching an app several times trough a terminal window (running a custom c++ program) and it keeps popping up when ...
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
1answer
648 views

LTS vs non LTS which is more suitable to me? [duplicate]

I am new to Ubuntu I want to know which is more suitable to me? I want to use if for web design and hosting and for programming
21
votes
5answers
6k views

What programming languages should I learn to become an Ubuntu developer? [closed]

Although I have used NetBeans once for a project, what languages do I need to learn to become a full-fledged Ubuntu developer? My project in NetBeans (Java only) was to design a calculator (...
0
votes
1answer
64 views

Controlling a loop and saving the output for each event

How can I control a loop and read live feed from a usb port and save each of the output when the usb is inserted or removed. I know the code below can be improved, please assist. #!/bin/bash time=$(...
0
votes
1answer
68 views

Programmatically Present Windows (Invoke Window Picker) in Compiz

Is there a bash command to invoke what Super+W does in Ubuntu?
1
vote
1answer
102 views

How to reliably block package version from update?

I built and installed my own version of package tora with Oracle InstantClient support using this guide. It has the same version as the package available from standart Ubuntu repository so Synaptic ...
0
votes
1answer
118 views

JAVA program run problem

I have install java in my computer. when i doing compile java program it is successfully done but when i try to run program it show error like Exception in thread "main" java.lang....
0
votes
1answer
78 views

routine program in ubuntu

I am trying to write a routine of my studies of next month. For that I want to write a timed schedule. That is a timed program that will tell me everytime I turn on my laptop which topics should I ...
0
votes
1answer
823 views

how to get the address with /proc/kallsyms

cat /proc/kallsyms | grep "\ doexecve$" i run this command in ubuntu 13.04 in virtual box in order to get address. However, no result. How to get the address for kprobe debug
-1
votes
1answer
214 views

How to indicatorize a systray-only app?

I just realized that under 13.04 it isn't possible any more to add applications which are using the systray to a whitelist. I found the suggestion of downloading a patched version of Unity but I'd ...
2
votes
1answer
2k views

Why am I getting compile time errors in this C++ program?

I am new to Ubuntu and its terminal. I am trying to code C++ using nano something.cpp a general "Hello World" program at first. First I got some error about iostream.h and cout not recognised. I ...
4
votes
2answers
12k views

Is Mono installed in 13.04?

I am learning to program in Visual Basic .NET at school, and am using Visual Studio Express. My teacher said that I can download Mono to practise programming at home, and as my exam is soon, I want ...
0
votes
1answer
169 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
1answer
1k views

Python - NameError: global name 'plus' is not defined

So I am creating a program using shelve and I keep getting this error message. I can not for the life of me figure it out and google hasn't been much help. Is this a problem with Ubuntu/Python working ...
0
votes
2answers
126 views

Ubuntu stores variables in the wrong order

So I had this exercise in my class where I had to tell which of the two addresses is bigger when I create two char's in a main function. Because local variables are stored in the stack that starts ...
1
vote
1answer
784 views

How to add more languages docs to Devhelp? (Java etc)

I was wondering if there is a way to add more languages (such as Java, C, C++ etc) to Devhelp. I know that there is a software named zeal, but Dev help seems to be more mature. By the way, I'm on ...
18
votes
4answers
22k 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
3k views

Additional source directories using Geany

I'm using Geany in Ubuntu as an IDE for a C++ Project, and I want to use some external libraries (from Webots). However, I don't find the option to specify additional library paths (as one can find in ...
1
vote
1answer
695 views

C++ Compiler Program IDE [duplicate]

I have just installed Ubuntu 12.10 on my old laptop and I want to start working on it. Is there any program like Visual Studio for Ubuntu 12.10?
0
votes
2answers
543 views

pygi how to toggle button without running function

I'm writing this application using quickly. I'm looking for a way to toggle button without running function which is connected to this button. def on_button_text_italic_toggled(self, widget): ...
0
votes
1answer
271 views

Quickly doesn't import Glib

I'm having a little problem with Quickly. It won't import Glib, as I am relatively new to programming, with only a few weeks of coding under my belt, I've decided to try using Quickly following the ...
2
votes
4answers
5k views

Ubuntu is mostly written in C#?

On Ohloh, Ubuntu is reported as "mostly written in C#", and indeed if we go to the Ubuntu's languages summary we see that C# has the most LOCs, accounting approx. 20% from the code base. If the Ohloh'...
6
votes
1answer
3k views

warning messages while compiling c program using gcc [closed]

I am new to linux. I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on Ubuntu 12.04 LTS. When I compiled the c program using pointer, I got the -Wformat warning as shown below. But if I execute a.out ...
2
votes
6answers
3k views

What Programming Language Would Be Best For Ubuntu Programming? [closed]

Hi I've recently switched from Windows 7 to Ubuntu 12.10 and love the OS. However I have had trouble deciding which programming Language would be the all-around best for Ubuntu programming. I have no ...
11
votes
1answer
1k views

Bash comparison and expression operators

I'm new to bash programming. I've read two good, long guides, but they made a mess in my head about operators and keywords. Which are more commonly and widely used? I don't know when to use which ...
2
votes
1answer
224 views

Can I make my QT GUI programs run after completely removing unity desktop?

Can I make my QT GUI programs run after completely removing unity desktop? I am building a desktop environment on QT. How can I run my program without unity.
6
votes
1answer
4k views

Building webkit from source

I tried to install the webkit applicaion from sources using this manual: https://help.ubuntu.com/community/WebKit When I type: ./autogen.sh --prefix=/usr the following error occurs: checking for ...
1
vote
0answers
14 views

curl/types.h file or directory not found [duplicate]

I have a cpp code to compile but while compiling it is showing the error of curl/types.h file or directory not found, compilation error, fatal error. I am using ubuntu 12.10. please help me to fix ...
1
vote
2answers
4k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
5
votes
3answers
2k views

How can I run a single C source code on code:block or in geany?

I am new in Ubuntu. Now I am using ubuntu 12.04(lts). I want to run my C programming code (.c/.cpp). But I dont know how to compile and run code in ubuntu. SO i need help. Please tell me How can I run ...
1
vote
1answer
136 views

What GUI library does geary use?

I am thinking of starting a small side project and developing a piece of software. I would like to base it's design on Geary, which I like very much. Which GUI library can I use to achieve this? ...
5
votes
1answer
2k views

Installing google Go in Ubuntu [duplicate]

Can Google Go be installed on Ubuntu? I want start to test these tools and it will be great if I could. Thanks in advance.
0
votes
0answers
50 views

How to build an operating system that is built on top of Ubuntu [duplicate]

Hey I'd like to build my own operating system (really just the Ubuntu distro as I know the task is difficult) But what I mean by this is I wish to build atop of the Ubuntu operating system as like ...
4
votes
1answer
176 views

What is the maximum allowed files open?

Is 1048577 the limit of open files in Ubuntu? If I try the following code it works. However, if I change the value to 1048578 the setrlimit function will return the code 1 and errno will be set to 1 ...
3
votes
1answer
545 views

PyGTK changing theme for popup menu

I spent few hours searching on google and I gave up now... I need to change background for popup menu in my app. It set to whatever system default theme is... and I need this to be set to Radiance ...