Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
1answer
83 views

Does Ubuntu have a clipboard that works differently from Windows?

Does Ubuntu have a clipboard that works differently from Windows? I've noticed an anomaly between the two, perhaps a bug, or perhaps I'm misusing the functionality. It works the same way every time ...
0
votes
0answers
39 views

QML: How do I set my icon in the Ubuntu SDK with a CMakeLists based project?

How do I set my icon in the Ubuntu SDK with a CMakeLists based project? Do I need a specific type of image file, or can I use just a png?
0
votes
1answer
31 views

Confusing Code, request help [closed]

I need help. I am recently coding a bash script, which I have 26 sets of variables. I'm stuck on this part which I need help with. I noticed when you install Ubuntu to check out this website if you ...
3
votes
1answer
727 views

QML: How to do variables?

In QML, I am just looking for a way to do fairly simple variables: Bool String Integer
1
vote
1answer
31 views

scala language not avaible?

For another course I need the scala programming language. Is it right it's not avaible on the software center? if that is so, what is the best way to install it. Roelof
1
vote
0answers
30 views

What are the steps needed to implement a Qt class or member function into a QML project for Ubuntu-Touch? [duplicate]

Qt contains many classes and functions that are useful for a QML project, but not readily available. The existing solutions do not employ a method that is platform independent, thus it is unclear ...
1
vote
2answers
81 views

How do I stop a daemon when the user logs out?

I wrote a daemon in C++ which is automatically started on login using a bash script placed in /etc/profile.d/ while running the install section of my makefile. The problem is that when I log out and ...
5
votes
1answer
881 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 ...
1
vote
1answer
133 views

Intel assembly language from Ubuntu

I just want to know if its possible to run assembly language programme, that I was running on windows os using tasm, on ubuntu (linux environment). I actually removed windows completely from my ...
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 ...
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
90 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
214 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
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
408 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
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
393 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
2answers
288 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 ...
2
votes
3answers
147 views

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

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
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.
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 ...
8
votes
2answers
3k 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
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
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 ...
0
votes
3answers
831 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
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 ...
0
votes
1answer
349 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
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 ...
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
103 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!
1
vote
1answer
905 views

Installation and configuration of Java 3D in 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 in ...
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
2answers
55 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
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')
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?"
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
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).
55
votes
14answers
8k 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
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
422 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
129 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, ...
1
vote
3answers
1k 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 ...