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

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?
1
vote
1answer
145 views

In QML, is there a Conditional Layout that corresponds to the phones orientation?

So instead of guessing it with something like this: ConditionalLayout { name: "column" when: layouts.width > units.gu(50) Column {... It would be something like this: ...
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 ...
3
votes
1answer
127 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 ...
1
vote
2answers
143 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?
1
vote
1answer
494 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
1answer
145 views

How to get pixel length of a Button text string in QML?

I need to know Button text length in pixels. How to do that ?
4
votes
1answer
115 views

What does .gu stand for?

What does .gu stand for? For example: ConditionalLayout { name: "row" when: layouts.width > units.gu(50) //right here Row { anchors.fill: parent etc....
5
votes
2answers
882 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.
2
votes
1answer
95 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
0answers
60 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. ...
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 ...
0
votes
0answers
20 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 ...
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? ...
-1
votes
1answer
83 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 ...
-2
votes
1answer
25 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
124 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
61 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
81 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"> ...
0
votes
0answers
81 views

graphical presentation of codes

Is there any tools which understand programming languages in Ubuntu and make a graphical shapes or diagram of the code. I think it is better to describe my case I have a C++ code with more than 10 ...
1
vote
0answers
51 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
24 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 ...
2
votes
0answers
33 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 ...
1
vote
1answer
29 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 ...
0
votes
0answers
39 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 ...
1
vote
1answer
47 views

does ubuntu-sdk all programming language supports all mobile devices?

ive installed ubuntu-sdk , and the main goal for this installation is to develop mobile apps, for all devices iphone/galaxy...etc saw the project programming language select, html5....python. can i ...
1
vote
1answer
78 views

Internationalization of QML application using i18n

Does someone know all the steps needed to have the apps translated in multiple languages? I am using in my QML files i18n.tr() , and such words I need to translate I performed below steps ( ...
2
votes
1answer
449 views

QML ListView is not scrollable ( if included within a row )

Below code is using ListView within a Column and Row. But the ListView is not scrolable. Any idea why ? import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(60) height: ...
1
vote
1answer
58 views

How do you launch system applications from within a Ubuntu Touch app?

Android had a concept of Intents by which you can launch the system apps using your own apps. Does Ubuntu touch have any options like that? If so how can one do it?
1
vote
1answer
111 views

QML ListView overwriten with buttons - but should be in different rows

In below code I have 2 rows . In first I have buttons and in second a ListView. Why are they overwriten in the display, what's wrong ? import QtQuick 2.0 import Ubuntu.Components 0.1 Page { id: ...
2
votes
1answer
138 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 ...
3
votes
1answer
79 views

What's a good way to mock a remote HTTPS API for unit testing my QML app?

I'm tinkering with a QML app that interacts with a remote REST API over HTTPS. The "client" part of the app is neatly packaged into a component and I'd like to unit test that, but I don't want to ...
2
votes
2answers
146 views

Ubuntu Studio for Ubuntu SDK

I have one of the strange question in my mind. I saw Ubuntu studio is good for multimedia related thing. I was wondering this thing for past few days. Is it possible to Install Ubuntu SDK in Ubuntu ...
14
votes
1answer
799 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 ...
1
vote
1answer
193 views

Ubuntu SDK open file dialog

I've started playing with the SDK to start developing an application. The application will be something that will allow me to filter records in an CSV file by a search term. But does a file dialog ...
2
votes
1answer
106 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 ...
0
votes
1answer
19 views

Ubuntu apps development - how to communicate betwen 2 pages

On one Page I have displayed ListView and on child Page I creating new records. When the child Page is Closed I would like to refresh the ListView. Is there some Signel which inform me when page get ...
4
votes
1answer
153 views

How do I make a WebView transparent?

Consider the following QML snippet: Page { WebView { id: webView anchors.fill: parent } } I then attempt to load some HTML in the WebView using the following JavaScript: ...
3
votes
1answer
58 views

How come the contents of Text elements aren't being properly justified?

Consider the following page in a QML application: Page { Text { anchors.fill: parent anchors.margins: units.gu(2) horizontalAlignment: Text.AlignJustify text: ...
0
votes
0answers
43 views

What to do after writing source code of ubuntu touch app?

I have completed the writing of source code for an ubuntu touch app. I created the click package also and installed it. But when I launch it the following error pops up: Failed to execute command ...
0
votes
1answer
35 views

Can I use GTK+ stock icons in a free closed source business application?

If so, have I to indicate anything in license (classical "About" window)?
0
votes
2answers
108 views

How to change window opacity dynamically in Python and Quickly?

The app is written in HTML and is running using webkit and Quickly. The opacity can be changed using Glade. I want to add a slider functionality in HTML which will change the title of the HTML ...
0
votes
0answers
69 views

Ubuntu HTML5 app ReferenceError: Can't find variable: Tab

Following is the code: An Ubuntu HTML5 application <!-- Ubuntu UI Style imports - Ambiance theme --> <link ...
0
votes
0answers
14 views

My app missing in MyApps

What do I need to do to get my app linked to my account again? I logged into Ubuntu develuper/MyApps and it says I have no apps. It is still in the Software Center.
2
votes
0answers
30 views

Unity Scope to read XMP metadata from local files

I have seen various tutorials on writing Unity Scopes, including the one on developer.ubuntu.com However, they all appear to concentrate on scopes that download data from various web services. I am ...
1
vote
1answer
38 views

Will pure Java written software be accepted in Ubuntu Software Center [duplicate]

I just came across an article regarding submitting app to Ubuntu Software Center http://developer.ubuntu.com/publish/apps/other-forms-of-submitting-apps/commercial-software-faqs/ I'm currently ...
0
votes
1answer
66 views

Ubuntu Touch date picker HTML5

I'm working on an app for ubuntu touch in html5 but Im wondering what components I should use for a date or time picker. I've asked it a couple of times on IRC but never got an answer greetz ...
0
votes
0answers
41 views

Use udevadm to test for printer offline?

I want to test that a printer on a parallel port is available, that sending a file to it will not fail because it is offline, off, cover open, out of paper. My reading of the udevadm manpage suggests ...
0
votes
0answers
34 views

Ubuntu Sdk don't run apps

I have ubuntu 12.04, and i install Ubuntu-sdk following the instructions of the oficial page of ubunut. But when i try to launch the demo app, i get this: Starting ubuntu-html5-app-launcher ...
1
vote
0answers
137 views

How to enable Quick Start button in Lenovo S100 ideapad using Ubuntu 12.04

I'm using lenovo s100 ideapad with Ubuntu 12.04 64 bit version. After turnoff the system when I press Quickstart button it not boot and notice: "quickstart is not install on your computer or not ...