Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.

learn more… | top users | synonyms

2
votes
1answer
67 views

QML WebView.back does not work

In QML I want to use WebView , but the WebView.back does not work. Is there some way how to navigate, or do I have to store all the previous paths and navigate between them manualy using javascript ...
3
votes
2answers
463 views

Appmenu with QML App

I'm developing an Ubuntu SDK meant to be used on both the desktop and touch interfaces. Obviously the menu that slides up from the bottom of the window is not a great interface for the desktop. ...
0
votes
1answer
36 views

To run a dialog box as a result of clicking a button in quickly using python

I am developing an application that has various buttons such as addition, multiplication and so on.. now when I click on addition button I want a dialog box to be displayed that has labels n text ...
1
vote
0answers
9 views

Redirecting to error page while submitting ubuntu touch app

I'm writing an application for Ubuntu for Phones and I submitted my .click package to ubuntu store 'myapp' portal, after uploading it goes for scanning, but after scanning automatically it is ...
0
votes
1answer
64 views

Can't get buttons to work wx.python (ubuntu 12.04 LTS )

try: import wx except ImportError: print 'Module not found' class Frame(wx.Frame): def __init__(parent,id ): wx.Frame.__init__(self,parent,id,) panel = wx.Panel(self) ...
0
votes
3answers
89 views

Ubuntu Quickly: How do I set a button to launch a specific Ubuntu Application

I'm very new to linux and I don't know very much. I was creating my own application with Quickly, and I wanted to have a button which launches the Hardware Information application "Hardinfo". I'm very ...
2
votes
1answer
114 views

How to integrate jFrame Menu Bar into Unity top bar?

I'm developing a Java application using jFrames, and the Menu bar object doesn't integrate with Unity's top bar (Window Title & Application Menus) as any native Unity application does. Is there a ...
2
votes
1answer
51 views

How to transfer money from my Developer Account?

I have $22 in my developer account. I want to transfer this money to my paypal account. How can I do it? Is there any limit for the transfer or any time we should wait.
5
votes
2answers
1k views

QML: Simplest way to write to a text file?

QML at the moment lacks basic system commands, so I am looking for the most simple template to write to /tmp/text.txt.
3
votes
1answer
237 views

QML: How to do variables?

In QML, I am just looking for a way to do fairly simple variables: Bool String Integer
5
votes
3answers
7k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they ...
14
votes
1answer
803 views

How can GIMP 2.8 have two different icons together?

In Unity dash GIMP 2.8.10 has a icon and uses a different one in launcher. GIMP in Dash GIMP in Launcher I searched for GIMP in "File System" and got this. How can this be done while ...
5
votes
2answers
1k views

Is QML the only way to create apps in Ubuntu for tablets?

As I've seen from the tutorials, QML seems the only way to create graphical apps in Ubuntu for tablets. Other languages seem to be only for using OpenGL, not Qt libraries. My question can be ...
4
votes
2answers
1k views

How can I make a HTML5 app for Ubuntu Mobile?

Is there any tutorial? I made some apps in HTML5 but I don't know how to "compile" or transform this code to obtain an Ubuntu Mobile App. Thanks for your help.
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 ...
2
votes
1answer
83 views

QML: QtQuick Extension Plugin - What is URI?

When starting a new Qt Quick Extension Plugin, it asks me to specify Object Class Name (Easy enough), but also something called URI. What does URI stand for? What does this project need URI for? ...
0
votes
0answers
20 views

Is there an option to tell Ubuntu to install all dev packages? [duplicate]

I have more than enough disk space and I am constantly annoyed by code I am compiling saying "you don't have foo" and then having to figure out which package foo is in, install that package and retry ...
2
votes
0answers
238 views

Multitouch in Qt

I've got a fresh install of Kubuntu 14.04 and Qt Creator/5.2.1, and I'm trying to get multi-touch working for the example applications like photosurface. My input device is an Acer T272HL 10 point ...
1
vote
0answers
360 views

Can't create Unity lens with Ubuntu 14.04

I want create a Unity lens, I follow this exemple : http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/ I use : quickly create unity-lens wikipedia When I try : ...
2
votes
1answer
102 views

Ubuntu Touch how to detect If the application is closed

on ubuntu touch. I run an application in terminal and close the application in the Application scope. The application isn't killed. And no event is caught in QQuickView. How do I detect this close ...
1
vote
1answer
404 views

Get/emulate touch event in Cordova app

I have a HTML5 app, wich I want to port to Ubuntu as a Cordova app with Ubuntu SDK. It use touch events on a canvas and works fine in any browser, but no with Cordova. I bind the events like this: ...
5
votes
1answer
409 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 ...
0
votes
1answer
37 views

QML: QChar Booleans are undefined

function myFunction(x) { console.log(x.isLetter) } myFunction("s") When I run this in a .qml file, it tells me that "isLetter" is undefined. Why? ...
11
votes
4answers
3k views

Run system commands from QML App

I want to run a system command from inside my application. It's suppose to run a command on a remote server using SSH. But that's not really the point. The point is that I don't know how to run any ...
0
votes
0answers
26 views

Imports for executing system commands? [duplicate]

QML at the moment lacks the ability to execute basic system commands. What libraries or functions can be imported to add this functionality to a .qml file?
4
votes
1answer
54 views

QML: Will the Ubuntu Phone be theme-able, and do I need to develop with that in mind?

Take a simple example in formatting richtext: The Manual Way someTextBox.insert(0,"<font face='Ubuntu Mono'size='3'color='#f37420'> Blah Blah Blah </font>") The hypothetical Way ...
1
vote
0answers
124 views

Deploy app on OpenStack deployed locally on single machine

I have deployed OpenStack using DevStack on single Ubuntu 12.04 machine running all services. I actually have to develop a Private Cloud Document Management System Now, I want to know that how do I ...
3
votes
1answer
138 views

It is not supported to create click packages for a non UbuntuSDK target

I've just finished a first version of my app port to QML and tried to create a click package but Ubuntu SDK said Wrong kit type It is not supported to create click packages for a non UbuntuSDK ...
3
votes
2answers
229 views

How do I daemonify my daemon?

As part of the Ubuntu Accomplishments system I have a daemon that runs as well as a client that connects to it. The daemon is written in Python (using Twisted) and provides a dbus service and a means ...
1
vote
1answer
16 views

Allow OptionSelector to Scroll While Expanded

My QML app uses an OptionSelector to allow users to choose from a list of items. On tablet size, I have it set to keep it expanded. However, I limit the container height, and while it's expanded, it ...
1
vote
1answer
619 views

Scrolling of ListView within a Column in QML

Below code is working fine ( thanks to Sylvain ), only when scroling, the top row from the ListView overwrite the buttonRow. Any idea ? – import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { ...
2
votes
3answers
290 views

Tab View HTML 5 App

I am trying to understand the basics of the Ubuntu HTML5 UI. I have used the following sample Code from developer.ubuntu.com <body> <div data-role="mainview"> <header ...
2
votes
2answers
1k views

Saving user settings in QML/JS

I'm working on a small game and i'd like to know how can i write/read a user settings file in ubuntu touch?
1
vote
2answers
160 views

How to set default time for QML DatePicker?

According to the API I should use date property, but with mode: "Hours|Minutes" the picker stays at 00:00. Is it possible somehow?
2
votes
1answer
197 views
3
votes
1answer
34 views

Finding Mouse click position in IconView in GTK

I am building a file browser using Gtk.IconView in python. I am trying to find the path of an icon selected using " selection-changed" signal using gtk.IconView.get_path_at_pos(x,y). The docs are mum ...
1
vote
0answers
65 views

How to package QML Extension Library + Tabbed Touch UI?

I have followed the method described [here] (https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215913) for creating QML Extension Library + Tabbed Touch UI project and generate click package. ...
0
votes
0answers
25 views

Installation failed for API

I'm developing an app for sending OSC messages working through the outlet port 4444 and I am using a C API call Liblo. Project page: http://liblo.sourceforge.net Normal install it by running the ...
-1
votes
1answer
87 views

How to set up an environment to develop Android apps in Ubuntu that doesn't have internet Connectivity?

I have an Ubuntu laptop in which I need to develop Android apps. I know that all that software could be downloaded from the software center but the problem is that I don't have internet connectivity ...
0
votes
0answers
11 views

Microsoft VM installing Openemr on Ubuntu

I am installing OpenEMR on MS Cloud VM using Ubuntu. There are different versions of openEMR such as: 1 Windows 2.Ubuntu/debian 3 Linux Which download should I use? Is Umbutu/debian same as Umbutu? ...
2
votes
1answer
193 views

QML ListView display only 1 row ( if covered in Column and row )

I need to put a ListView ( coded in QML) into a Row, but in this case only first Row of the ListView is displayed . Some idea why ? Here is my example : import QtQuick 2.0 import Ubuntu.Components ...
-2
votes
1answer
27 views

File permissions and applications

How does ubuntu protect against executable files which become executable through another installed app changing the permissions? I mean it is possible to check applications do not change file ...
1
vote
1answer
137 views

QML PageStack , communication between Pages - return values

I defined PageStack only on master page (a.qml) : import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(48) height: units.gu(60) PageStack { id: pageStack ...
2
votes
1answer
68 views

how to start developing more cleaner editor's gui interface?

I'm using Ubuntu since one year and it got everything I need daily. I've written couple of applications like gps tracking and live video streaming in C++ with netbeans on Ubuntu. The only drawback ...
0
votes
0answers
88 views

Ubuntu touch HTML5 app tab navigation not working

I am new in ubuntu touch app development, I am using HTML5 instead of QML. below is my code. <div data-role="mainview"> <header data-role="header"> <ul data-role="tabs"> ...
1
vote
0answers
54 views

Cannot import directory path to qmlscene

I am trying to import directory in QML as explained, here: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-directoryimports.html. I have the following ubuntu-app | - extras1 | - extras2 | - ...
3
votes
0answers
25 views

Publishing my first application on PPA (Launchpad) [duplicate]

Let's say that I have a little script that outputs "Hello world!" in terminal: echo "Hello World!" How can I publish it to Launchpad PPA so I can type: sudo add-apt-repository ...
1
vote
1answer
31 views

what cd burn lib for app development libburn

Hi I am developing a GTK front end for playing audio files, encoding them then burning audio cd's. I have playing and encoding implemented but have run into a wall with burning. I would rather not ...
2
votes
0answers
36 views

Ubuntu keyboard shortcut guidelines?

Is there an authoritative specification of keyboard shortcut guidelines for Ubuntu? I am looking for something like the OS X guidelines that result in unified application behaviour for common things ...
0
votes
0answers
43 views

MySQLdb on Brython?

Hi there I'm working on a server-based point of sale for a sports club, and downloaded Mysqldb lib so that I can access and modify it through python scripts, they work great!, so I decided to use ...