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

1
vote
2answers
115 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
299 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
2answers
91 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
106 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....
3
votes
2answers
549 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
65 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
51 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
33 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
15 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
9 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
79 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
23 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
106 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
56 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
64 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
80 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
40 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
31 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
33 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
42 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
66 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
250 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
55 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
77 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
96 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
70 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
145 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
793 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
153 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
81 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
107 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
55 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
38 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
32 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
95 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
51 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
26 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
36 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
55 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
35 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
33 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
98 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 ...
1
vote
0answers
44 views

Implementing Unity Global Menu

I'm working on a desktop (like XFCE) as a private project, and I would like to implement the Unity Global Menu in my desktop using python. I've looked at the Dbusmenu API and even Unity's dbus ...
2
votes
1answer
47 views

In the CurrencyConverter Ubuntu SDK QML example where does the index variable come from?

In Ubuntu SDK QML tutorial a simple currency converter is build. The complete QML source code can be found here. When working through the example I found the following snippet somewhat confusing, ...
2
votes
3answers
190 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 ...
1
vote
1answer
284 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: ...