Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
1answer
33 views

How does a graphical front-end control a daemon?

I'm developing a file sync daemon on Ubuntu as a hobby project, and I'm thinking I might want to develop a graphical front-end at some point which will let me control it. How can a GUI control and ...
22
votes
5answers
48k 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?
3
votes
1answer
69 views

How does Ubuntu One know when to automatically sync files?

I am curious about how Ubuntu One automatic file sync works under the hood. When I add or change a file in my file manager, how does it know that the change occurred and it needs to sync it? This will ...
0
votes
1answer
91 views

problem with gcov, cannot run

So i'm trying to optimize a file called linpack.c. I have to use gcov to find the 10 most executed lines. I've been given these compiler options: -fprofile-arcs -ftest-coverage -O2 So i ran this $ ...
0
votes
2answers
217 views

line 45 Syntax error: unexpected end of file

Now no matter what I do it just always says that even with a fi it doesnt do that help me debug the code please. also this has 44 lines of text and it says line 45 also the ascii art is just a dog it ...
4
votes
7answers
5k views

Best editor for ubuntu [duplicate]

Possible Duplicate: Is there a Dreamweaver HTML editor replacement? Hello Can anybody suggest me the best editor for ubuntu(9.10) for programming purpose like dreamweaver.and also the ...
0
votes
1answer
477 views

How to combine quickly and my python program?

Firstly, I'm not sure if I'm allowed to ask this question. I'll delete it if it's not welcome. I'm after some guidance on how to start programming. Perhaps I need to start somewhere else, but I'm ...
7
votes
2answers
442 views

Reverse rendering of Urdu fonts

I am working on a project that is based on Urdu language in Ubuntu platform. I'm using Python language and have almost achieved my task. The problem is that, the Urdu text is rendered in reverse ...
0
votes
1answer
99 views

gedit:3457 Error: Not using units is deprecated. Assuming 'px'

I have an error with my first application which I don't understand : (gedit:3457): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1971:11: Not using units is deprecated. Assuming 'px'. ...
0
votes
1answer
90 views

Not getting output after dmesg

I am a beginner. I wrote a hello world module (actually copied from the o'Reilly book). the code is: #include <linux/init.h> #include <linux/module.h> MODULE_LICENSE("Dual BSD/GPL"); ...
2
votes
1answer
409 views

How can I get install a Cool computer language for Ubuntu?

I am considering taking an online class through Coursera.org. The class is offered by Stanford University. They use the Cool programming language. Does anyone have experience installing Cool in ...
0
votes
1answer
182 views

Simple GUI to display static text informations

I would like to know if there is a way to write or modify a simple program (I don't really care what language it'll use) that can be launched in GUI mode and will display formated text and URL that ...
2
votes
3answers
2k views

IDE/Compiler for C or C++ Programming [duplicate]

Is there any software that supports on C or C++ Programming? Then, if it so, how to run, compile or debug your own code to display its output via terminal(linux/ubuntu) or cmd(windows)
1
vote
1answer
395 views

Programming Java on Ubuntu 13.10 [duplicate]

I have ubuntu 13.10 and I am trying to use a disk that contains a book, How to program Java, 7th edition. It is the Linux version CD and I can't figure out what program to use so I can look at the ...
3
votes
2answers
414 views

DEB installer - Dependency Checks

Using a third-party install generation tool, I created a .deb package for my application. There are several dependencies that are required to be present on user’s Linux OS for my application to run ...
0
votes
1answer
32 views

Can someone recommend a Program able to show and execute XQuery and XPath on a XML document?

I'm searching for a program able to do Xpath and Xquery on XML, but I can't find one (I was using Oxygen XML editor on Windows 7 before). I was wondering if such a program exists for Ubuntu.
24
votes
2answers
3k views

How do I create a PPA for a working program?

Let's assume I have a working application written in C, C++ or Python. I want to create a Launchpad PPA so others can easily install it from a package. Please give step by step instructions for doing ...
3
votes
2answers
1k 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
0answers
64 views

Recommended way to check/fire alarm in Python (PyGI/PyGTK)

I am learning to develop an application by using Quickly (quickly create ubuntu-application). This application will stay in Application Indicator / Notification Bar and only work when a defined ...
-1
votes
1answer
325 views

List containing functions used in C/C++ for Ubuntu's GCC/CC? [closed]

I'm new to programming. What I want is to know as much about programming as I possibly can, and start off with what people say is a good start: programming with C. I have this PDF called "Teach ...
2
votes
1answer
5k 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 ...
0
votes
1answer
44 views

Weight of the commentaries in the source code [closed]

When I search for source-code of Linux parts (applications, kernels, ...), I often find commentaries to clarify the code. Now, I know that those commentaries are useful to help a human reading the ...
0
votes
2answers
104 views

What exactly is this Shell Script doing?

I want to know what this Shell Script does. #!/bin/sh for i in $* do echo "cat>$i<<'end of $i'" cat $i echo "End of $i" done I mean, how is it working? Thanks!
0
votes
2answers
94 views

What's Ubuntu's app development IDE?

What's Ubuntu's official IDE used to develop applications? Which language is preferred for Ubuntu apps?
1
vote
1answer
66 views

What speech service does Orca Screen Reader use?

What speech service does Orca Screen Reader use? Is there any API to access it from an application? Like: function talk (text) { /* convert text to speech */ } ...or maybe via bash commands? talk ...
0
votes
1answer
188 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 ...
0
votes
3answers
836 views

How to view the list of c library functions?

I'm a newbie in Linux programming. I found that the way to view the list of system calls in Linux via command-line is: man syscalls But now I want to view the list of c library functions, how can I ...
1
vote
2answers
5k views

Is itoa() available in stdlib.h in Gcc >=4.1?

that's my question. I've Gcc 4.4.1 and that function isn’t present, i had installed the 4.3 and 4.5 versions with the same result :-/ I know that this function is not the C-ANSI standard, but I ...
1
vote
1answer
3k views

How to build GUI application in C language using GTK+?

I have written code in C language using GTK. This code gives a window with 2 buttons, but I do not know how to make the standalone GUI application from this code. Please explain to me step by step ...
2
votes
2answers
3k views

Auto indentation in Gedit

I'm using Gedit to program C and CPP, and I've enabled auto indentation in Edit->Pref. However, it still doesn't work. Is there anything I can do?
0
votes
2answers
45 views

Can assembly directives corrupt my Ubuntu?

I want to start learning assembly language, and read some stuff about it. From a first impression, it seems like the assembler pretty much gives you freedom to do whatever you want with your ...
0
votes
1answer
355 views

How do you make Gedit an html editor? [closed]

How do you turn Gedit into an html editor? I want to write html but have trouble finding a reliable editor/interpreter/Compiler...
1
vote
2answers
1k views

What is the best Fortran 77 IDE?

I use Ubuntu 12.04. I need to do some coding with Fortran 77. I have'nt found any IDE for Fortran 77. What is the solution?
1
vote
1answer
1k views

How do I use the GTK+ development libraries in Ubuntu?

I've been programming for about a year and a half on Windows and I've just started getting used to the way things work on that platform, but now I'm interested in development on Linux and I've been ...
0
votes
2answers
56 views

Application development in Ubuntu using C++

I want to write applications for Ubuntu. I do not know much about programming, but I want develop for Ubuntu. I am trying to learn C++ right now. What do you think is the best way to develop apps for ...
1
vote
2answers
84 views

Ubuntu Developer Video Tutorial

I am Visual Studio .net developer. I like to check out "Ubuntu Developer Video Tutorials" for programmer and I want to develop application like VB.net Desktop application(Standalone or Web). Is ...
0
votes
1answer
18 views

How to use a program designed for older verisions of ubuntu on a newer one

I was wondering if there was a way to run a older program designed for a older version of ubuntu on a new one. Specifically Robot OS Fuerte which was designed to work on 12.04 on ubuntu 13.04
0
votes
1answer
59 views

How to start developing for Ubuntu

I would like to learn how to develop a multi-clipboard application for Unity, similar to Diodon, for learning purposes. Can you give me a link or some direction to get started? I have generic ...
0
votes
1answer
6k views

Terminal commands for installing g++ 4.8?

Could somebody please advise how I could install g++ 4.8 ? I understand its not an official release yet (and that I would need to manually download a file) but I get internal compiler bug issues with ...
0
votes
1answer
56 views
-1
votes
1answer
140 views

Python Programming [closed]

I am learning Python Programming from Full Circle Magazine. Can anybody correct this program as it is not working. #!/usr/bin/env python strng = 'The time has come' pos = strng.find('time')
1
vote
1answer
73 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
84 views

Development on an Ubuntu tablet

For college, I program now and then in C, C++, C#, JAVA, Lisp, python, Sql, ... Will it be possible to do development in Ubuntu tablet environment in the same I can on Ubuntu desktop?"
2
votes
4answers
1k views

Is there any Graphical Control Panel available for apache2 and MySQL to start and stop them?

I dont like command line. Is there a Graphical Control Panel to start/stop apache2 ? and MySQL ?
0
votes
1answer
146 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).
1
vote
1answer
46 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 ...
0
votes
1answer
425 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?
3
votes
1answer
276 views

How can I test if a variable matches another value and move to another function?

I am writing a script where I store a predetermined line of text into a string (we will call abc). I am storing the results from grep -iqs $USER file (we will call def) into another string. How can ...
6
votes
3answers
7k views

How to use Verilog HDL on Ubuntu?

I tried to begin a small course with some examples in Verilog Hdl and after spending much time searching for the best Simulator or IDE to practice with some examples , I failed to figure out how to ...