Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

1
vote
2answers
79 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 ...
3
votes
1answer
139 views

Can't get iconify() and deiconify() to work properly

I'm writing app for Ubuntu with C++ and Gtkmm. In my app i use libappindicator to show icon with simple menu in notification area. Icon and menu works ok, i can minimize window to panel (using ...
2
votes
1answer
270 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
1answer
172 views

How to add in-app advertising?

I'd like to code something cool for the ubuntu software center. I'll release my app for free, but I'd like to add some in-app advertising. Is it possible ? how can I do that ? is it hard ? Thanks to ...
2
votes
1answer
542 views

I can't install ocaml plugin in my eclipse

I installed eclipse with sudo apt-get install ubuntu but when i try to install OCAIDE with Help->Install New Software. Appears this error : An error occurred while collecting items to be installed ...
1
vote
1answer
69 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?
1
vote
1answer
64 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 ...
1
vote
1answer
34 views

I just downloaded gnu clisp via the synaptic manager. Now how do i use it?

So in windows, I got used to putting file names in my path variable and then using the interpreter/compiler from the commandline prompt. What's the equivalent on Ubuntu?
0
votes
1answer
13 views

finger print sensor for project

I am an engineering student and I am doing my minor project which uses finger print sensor and I am using R30x series. Can I work in the Ubuntu platform and work with the module that I have got. ...
0
votes
1answer
80 views

using system(“clear”); command to clean the screen yet last line printed. using GNU gcc compiler please help

I am using 'system("clear");' command to clean the output screen yet the last line printed is displayed.I am using Geany text editor using GNU gcc compiler.Please help and tell me clear the whole ...
0
votes
1answer
105 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
1answer
74 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
17 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
79 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?"
0
votes
1answer
331 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?
0
votes
1answer
55 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 ...
0
votes
1answer
101 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" ...
0
votes
1answer
167 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
0
votes
1answer
32 views

what is use of get_HZ()

please tell me what is the use of get_HZ() system call. Any link for its documentation?? I tried to search for this in google but could not get the usage of this function Thanks, Vivek
0
votes
1answer
237 views

Best Setup for a Java EE Developer Machine

I have a dual-boot machine, Windows 7 and Ubuntu 12.04. When I'm using Windows, I have a C:\dev directory that, say, is my "root folder" under which I have all the tools (C:\dev\jdk1.7 for JDK, ...
0
votes
1answer
1k views

eclipse-CDT won't debug my c++ programs

I've installed eclipse from ubuntu repositories and I installed CDT from "install new software." But every time I try to debug a simple program, an error occurs that says 'launching q.cpp debug' ...
3
votes
0answers
107 views

(QML) Flickable not working as supposed

So, while building an Ubuntu app I needed to use Flickable for scrolling, so now I have code of the form Page{ ... Flickable { anchors.fill: parent content.height: element1.height + ...
2
votes
0answers
55 views

How can I detect screen rotation with QML

I've been trying to create a Ubuntu QML application, but when I rotate my screen while it is running on my tablet, the header is semitransparent and the content below is exceeding the screen's height ...
2
votes
0answers
25 views

Is there a Bool or Flag you can use in QML to determine whether a phone is running the application?

For example: Text { text: isPhone ? "this application is running on a phone" : "this application is not running on a phone" }
2
votes
0answers
269 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
2
votes
0answers
253 views

Blogengine.NET on mono

I'd like to set up the new 2.7 Blogengine on Mono using Ubuntu, but I experience issues with it. It has support for mono because there is another project called Blogengine.Web on Codeplex which is ...
2
votes
0answers
76 views

Both 64-bit and 32-bit support for development purposes

I'm looking for directions to complete in the most convenient way (well at least without lots of troubles) set up as in subject. I need (probably): 64 bit platform for running 64-bit Vmware Win7 ...
1
vote
0answers
32 views

how to encode a shell script so others can run it but they can not read it

I want to encode a script, so others can run that script to get relevant result but when they run command cat it should throw output in encoded format.
1
vote
0answers
22 views

Scilab installation tcl tk configure not working

I am installing Scilab 4.1.2 in Ubuntu 12.04 manually. I entered the folder and pressed ./configure but after some steps it shows configure: error: header file tcl.h has been found for 8.4* but ...
1
vote
0answers
17 views

In the Ubuntu SDK, is there a way to view all global variables in current project?

In the Ubuntu SDK, is there a way to view all global variables in current project? Working on one of the core apps, and I want to figure out if any global variables have been defined for the current ...
1
vote
0answers
72 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()"); ...
1
vote
0answers
51 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 ...
1
vote
0answers
55 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
vote
0answers
168 views

qt5 not working

I'm trying to get Qt5 working on Ubuntu 12.04. I downloaded the 32-bit installer from http://qt-project.org/downloads and basically just let it install everything in my home folder. I had to add ...
0
votes
0answers
29 views

Network Manager gui link to terminal network config listing 14.04

I am using 14.04. I am trying to figure out how the connections listed in Network Manager's GUI: is connected to the files found in /etc/NetworkManager/system-connections/ ...
0
votes
0answers
9 views

Extension to submit problem codes on Hackerearth, Codechef from editor

Is there any extension available in any editor to submit code directly from editor to the competitive programming sites like codechef, hackerearth, hackerrank, topcoder, codeforces etc.?
0
votes
0answers
31 views

Ubuntu 14.04 Color Variable Troubles

I have tried all the links from the first 2 pages of google searches regarding editting the LS_COLORS variable, but I can't get it to work as expected. I want all my source code files to show up as ...
0
votes
0answers
14 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
0
votes
0answers
19 views

Ubuntu hangs while coding

Ubuntu 14.04 LTS, x64, 4GB RAM. When I launch Android Studio+ Intellij Idea it runs smooth, but at some point it just hangs to death. Especially if I will open 2-4 pages in google chrome, or start my ...
0
votes
0answers
56 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
0
votes
0answers
10 views

Page Stack Component Depth to always remain visible?

Is this possible? Say you have a depth of 5 tabs, They appear and disappear as you click the header. I want them to always remain visible.
0
votes
0answers
39 views

Anybody know how to delete a file from QML without resorting to a C++ plugin?

Anybody know how to delete a file from QML without resorting to a C++ plugin? It should be possible to do in the folder that my app uses for data storage.
0
votes
0answers
20 views

(QML) Which components do I want to invoke for notifcations and dialogues on Ubuntu Touch?

Now of course I can make any sort of notification or dialogue I want. However, I want to know what the Ubuntu Style guide recommends for notifications and dialogues. A notifcation could be: Song ...
0
votes
0answers
136 views

Configuration of $QTDIR

I installed Qt from ubuntu repository. I'm on Trusty. Now I use a another program who need $QTDIR but when I enter echo $QTDIR, the terminal output nothing. How to set up this path without ...
0
votes
0answers
38 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 ...
0
votes
0answers
29 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
0answers
11 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
19 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
0answers
33 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
0answers
118 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 ...