Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
1answer
17 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 ...
-1
votes
0answers
21 views

Modifying CPU Scheduling algo in ubuntu kernel [closed]

I know how CPU Schedulers work on ubuntu. I want to see the code for this and modify the CPU Scheduling to optimize it for background processes. But I never worked on kernel code and I don't have ...
3
votes
1answer
62 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
14 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
41 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 ...
0
votes
1answer
21 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
33 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
84 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 ...
2
votes
3answers
66 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
90 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 ...
1
vote
1answer
48 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 ...
1
vote
2answers
44 views

What is the best way to start developing ubuntu touch apps?

I'm a starting programmer and I can write c++ programs (nothing more or less). I want to get started with writing Ubuntu touch apps, but I have no idea were to start. Should I just jump into it, or ...
0
votes
1answer
21 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.
1
vote
0answers
28 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
101 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
262 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
38 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 ...
2
votes
1answer
77 views

How Can I Add, and Use, a Color Scheme for Geany?

I have found that one of my favorite text editors for programming is Geany, however the default color scheme is very bright and hurts my eyes when programming for awhile. There are other color schemes ...
0
votes
2answers
67 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?
0
votes
1answer
37 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
96 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 ...
0
votes
0answers
48 views

Configuring Geany to Execute files/packages in a seperate folder

I recently downloaded Geany onto my new Ubuntu machine and I am very satisfied with it overall, but after days of fiddling with the Build Commands, I am still unable to Execute .class files outputted ...
0
votes
3answers
141 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
1answer
457 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 ...
0
votes
1answer
71 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...
0
votes
2answers
35 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 ...
-1
votes
1answer
96 views

Can i use Xubuntu for development? [closed]

i have an older pc,i can't install ubuntu and i am beginner on programing so Can i use Xubuntu for development?
0
votes
0answers
60 views

Disable and enable USB

I am trying to make a little script where I can turn on and off a USB port so a little USB light connected to the port will turn off when the port is disabled and on when it's enabled. And as I said, ...
0
votes
0answers
45 views

Prolog Programming in Ubuntu

I asked this question in stackoverflow,no answer so I assumed no one knew, I might have a better chance here. I have an interest in playing and fussing with Prolog, I have installed the swi-prolog and ...
1
vote
1answer
257 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
0answers
169 views

Lotus Notes 8.5.1 Ubuntu 10.04 and 12.04 error in loading dll

I have a notes application which is built for used in windows environment. The application can read smartcard using the Omnikey 5321 smartcard reader. However when I tried to open the application in a ...
1
vote
2answers
72 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
1answer
265 views

Installation and configuration of Java 3D in ubuntu

I'm new to ubuntu. My java 3d project using netbeans is running fine in my windows environment. But when I run project in Ubuntu 12.04 it shows this exception: java.lang.UnsatisfiedLinkError: no J3D ...
1
vote
2answers
62 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
0answers
21 views

LFS programming on ubuntu

I figured out how to install lfs on ubuntu. Instaled all packages required. But dont know where to start programming. 1. How to program graphical interface? 2. File and memory management. 3. Mouse, ...
0
votes
1answer
16 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
0answers
22 views

How to compile with fastformat which using STLSOFT?

How to compile with fastformat which using STLSOFT ? after unzip fastformat-0.7.1-alpha-9 in local directory and compile gcc with make and then unzip STLSOFT in local directory and set ...
0
votes
0answers
42 views

picstart+ programming with sdcc

I am trying to use sdcc to program a 12f675 PIC with a PICSTART+ programmer. my problem is I cannot locate the header files for sdcc. #include "pic/12f675.h" gives me blink.c:7:28: error: ...
0
votes
1answer
50 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
1k 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
2answers
47 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 ...
0
votes
1answer
579 views

“The program 'g++' can be found in the following packages”

I have g++ 4.6, 4.7 and 4.8 installed, but not g++ itself. I am using Ubuntu 12.04. If I do: g++ --version it says: The program 'g++' can be found in the following packages: * g++ * ...
0
votes
0answers
44 views

Control Media via Arduino

I want to create an application that controls the volume, play next\last, stop\play and things like this (I don't know what they called) like in a keyboard. I have tried to find how to do this with ...
-1
votes
1answer
101 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')
0
votes
1answer
62 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?"
1
vote
1answer
68 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
95 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).
50
votes
14answers
6k views

What advantages does Ubuntu have 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 ...
0
votes
0answers
92 views

Default IDE for C programming? [duplicate]

I am very much new to the Ubuntu OS. I write C programs for school and I usually do it on a Mac and use their default IDE xcode. I am just wondering if there is an IDE that comes with Ubunut 13.04? ...
1
vote
1answer
38 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 ...