Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

-1
votes
1answer
18 views

Program an applications print files [on hold]

i wanna make an app that get files and print it.how can i do that ? with which program language ? this program is like to get file from any protocol and read last line of it and print it ...
0
votes
1answer
37 views

What is the full form of awk?

What is the full form of awk? I tried googling. Google doesn't answer me.
1
vote
1answer
61 views

Should we be upgrading away from ubuntu.components 0.1?

Should we be upgrading away from ubuntu.components 0.1 in our ubuntu applications? I am working on one of the core apps, and many were unsure as to whether the current library (1.1 I think) offers ...
-4
votes
0answers
26 views

Which is the best linux os used by programmers? [on hold]

Hello linux programers!! I am new to linux. I am following software engineering. I think to use linux for my programming environment. So what is the best Linux OS for my job. Basically i am leaning ...
12
votes
3answers
5k views

How do I make Geany my default editor on Ubuntu?

I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code: update-alternatives --config editor .. I don't see Geany in the list. So to add ...
-1
votes
0answers
46 views

I want to learn Java [closed]

I want to get my Java programming skills up to speed. I'm basically looking for something that I can work through and thereby learn java coding techniques. I've had a look at the Ubuntu Software ...
3
votes
4answers
77 views

making a bash script executable programatically

I need to create a bash script to create and mount a drive. So, two simple commands. Both "work" when entered at the command line. The script is created and executed every time a normal user logs in, ...
0
votes
1answer
43 views

Is there a programmable way to tell if the screen is locked with the new Unity interface?

I have lots of stuff in my crontab, including some that talks to my screen. If I'm not there for it to be notifying, I don't really want it to run. Is there a way I can check to see if the computer ...
1
vote
1answer
27 views

(QML) What does the “?” do in defining properties?

Popey { working: visible ? 100 } What does that "?" indicate in this example?
5
votes
1answer
970 views

How do I write a Screenlet?

I'm trying to write a screenlet. It should basically just display a background (could be generated in screenlet or svg) and display some text. I know about the template screenlet and documentation, ...
0
votes
0answers
14 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.
1
vote
1answer
55 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
0answers
13 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
votes
1answer
1k views

How to use Kdevelop to write c++ programs ?

How I can build c++ applications using Kdevelop. Where I can find tutorials for kDevelop4 ? How to set the path for it ? How I can build a GUI application using Kdevelop 4.2? Whenever I try to ...
0
votes
0answers
12 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 ...
1
vote
1answer
32 views

How to you get a flickable to do a smooth scroll?

Flickable{ Button{ onClicked: parent.????????? } Or do I have to create a function for this?
2
votes
1answer
32 views

How do you equally space out elements in a Row?

Row{ width: parent.width spacing: ???? Checkbox{} Checkbox{} Checkbox{} Checkbox{} } So just to be clear, the checkboxes should be spaced in such a manner that however wide ...
1
vote
2answers
36 views

Is there a better way to programatically get the networking parameters from Linux OS?

I am writing some scripts which need to programatically get a lot of networking parameters from Linux OS. For example, the names of all network interfaces, ip address, netmask, MAC address. For ...
15
votes
3answers
3k views

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?
2
votes
0answers
107 views

Oculus Rift with Antichamber on Ubuntu 14.04 [closed]

Antichamber runs great on linux (steam version). But it is not playable with the Oculus Rift at this point. The issues are: 1) no headtracking 2) graphics are not being split and distorted by Oculus ...
3
votes
0answers
64 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 + ...
0
votes
1answer
25 views

What are the files needs to be edit to add a user? and what to be write?

I am trying to write a C program to add a new user to my Ubuntu 14.04. I edited 1) /etc/passwd sachin:x:65535:1:sachin:/home/sachin:/bin/bash 2) /etc/shadow ...
3
votes
1answer
117 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 ...
0
votes
1answer
9 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. ...
2
votes
0answers
85 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 ...
10
votes
3answers
94k views

What is a command to compile and run C++ programs?

I am new to Linux. I am using Ubuntu 11.04 and do not know how to compile and execute C++ program in it. I need to know the commands to Compile and Execute a C++ program in Linux.
0
votes
1answer
33 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
0answers
23 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 ...
17
votes
3answers
9k views

How to compile and run a COBOL program?

Can anybody explain me how to compile and run a COBOL program in Ubuntu? I have never written any program in Ubuntu. Please, give me a simple program to compile and run.
1
vote
1answer
43 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
35 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
35 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
33 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
31 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
43 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.
1
vote
1answer
535 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 ...
2
votes
1answer
32 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
22 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
2answers
53 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
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
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
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 ...
1
vote
2answers
2k views

Customizing Texmaker

I use LaTeX a lot but I find quite obnoxious all the crappy files it leaves behind when you compile: .aux, .log... Fortunately TeXMaker has the option "clean" that deletes all of these. However, I ...
0
votes
0answers
12 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
32 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 ...
4
votes
6answers
2k views

Which window has current focus?

I'd like to know (programmatically) which window has current focus. Is there a window-manager independent way of discovering that? Otherwise, how does one determine which window has focus in Compiz ...
2
votes
3answers
81 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
97 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 ...
4
votes
3answers
4k views

portable Virtual Machine

I'd like to create a virtual machine with virtualbox and use it on different computers. The problem is that I need to work on my programming projects on different machines and syncing them over the ...
0
votes
2answers
78 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 ...