Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

1
vote
1answer
22 views

Where are the Build and Src locations for QtCreator?

In the QtCreator Plugin Creation Wizard, this http://doc.qt.digia.com/qtcreator-extending/images/firstplugin-pluginsetup.png window asks for Qt Creator Sources, and Qt Creator Build. I installed ...
1
vote
0answers
14 views

how to set mmap for better performance of raw socket

req.tp_block_size=96; req.tp_frame_size=96; req.tp_block_nr=2; req.tp_frame_nr=2; if ( (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (char *)&req, sizeof(req))) != 0 ) { perror("setsockopt()"); ...
2
votes
2answers
24 views

access to field's element via awk

I have the following columns: _111_ [555] _222_ [666] _333_ [777] _444_ [888] I want to access the 111 from _111_. or 888 from [888]. How to access the fields elements with awk.
1
vote
0answers
18 views

Simple voice chat over command line?

I will be using this for development. What I want is: No large proprietary blob overhead to accomplish this, like skype No account needed. So no skype account, no email, etc etc. Ability to run ...
0
votes
0answers
9 views

Mir based desktop sharing?

I am asking this because I am developing a pair programming plugin, and would like to know if Mir has any desktop sharing capabilities either planned or already existing. This would be to share built ...
1
vote
1answer
35 views

Pair Programming in Ubuntu SDK?

How do you do collaborative code editing, aka pair programming, in the Ubuntu SDK? I heard you can do this in Vim, and I wonder if the Vim functionality in QtCreator makes this possible.
2
votes
1answer
21 views

How to print all coloumns using AWK

In AWK, is there a way to print all columns? I do not want to print them like this: printf($1 $2 $3 ...) Is there a way to print all of them?
0
votes
0answers
18 views

Prolog-C++ inteface doesnt work

I want to use prolog in C++ as a knowledge base or logical service(Embedded prolog in C++). I've searched alot but found nothing which can help me. I also checked the official link: ...
0
votes
1answer
52 views

Add notes on Geany

I have a code to which I do not like to add my comments and notes. But I need the ability to add my notes on that. So is there any thing to do that on Geany or do you need any another editor to do ...
0
votes
2answers
49 views

go on the line where a variable define on any editor

Is there any add-on or ability on geany or any known linux editor for this purpose : when you click on one variable . The mouse coursor goes to when it initialize. My code is c language. what I am ...
0
votes
0answers
8 views

warning multiple values for a block parameter (2 for 1)

I get this when I start Ubuntu: odin.rb:202: warning: multiple values for a block parameter (2 for 1) from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:134 mClient.rb:202: ...
0
votes
0answers
6 views

In Ubuntu SDK, how do you search for text which include linebreaks?

If you ctrl+f in Ubuntu SDK to browse through your code, and you paste within the search box a multi-line piece of text, it will fail to find any results. Is there a way to get around this ...
0
votes
0answers
10 views

Deadlock and starvation conditions

I have some question concerning deadlocks. I have understood, the issue that can occur when more threads or processes are in critical section becuase of shared memory, and the solutions can be ...
0
votes
1answer
30 views

Prove programs without installing ubuntu? only running with the cd?

I have a question, I would like to test a program in ubuntu to see if that works better in Windows 7 ("Android SDK"). But I do not want to install ubuntu on the pc, and do not want to use a virtual ...
0
votes
1answer
89 views

What is the best way to run own server side programs on ubuntu server

If I make some server side programs with node.js / Java / Python what is the best way to run them and make them run every time I boot my server. Is crontab @reboot valid way to do this. If so how do I ...
0
votes
2answers
55 views

Need advice for programming languages for a custom GUI

I just transitioned from windows to Ubuntu and so far loving it. On my list of tasks is to develop a GUI interface for collecting data from a remote device through RS232, compile and display the ...
1
vote
1answer
38 views

Sublime Text interface looks blurred

Suddenly my Sublime Text editor started to looks blurred. The screenshot talks by itself. No other program fails like this, just Sublime Text. Someone recognizes this painful behavior?
0
votes
1answer
48 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
20 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
28 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
47 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
19 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
29 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
54 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 ...
4
votes
1answer
68 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
64 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
27 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
64 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
35 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
60 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
34 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
47 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
135 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
130 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
165 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
106 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
62 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
23 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
40 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
185 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
971 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
39 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 ...
3
votes
1answer
269 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
72 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
48 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
118 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
66 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
266 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
1k 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
108 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...