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
1answer
162 views

How to install Ubuntu QML Toolkit on 10.04

It is exactly what the title says. I am trying to follow the instructions on the main portion of ubuntu's app developer page, but something is not working for me. Is it because it is not supported ...
1
vote
1answer
294 views

Is there a auto-complete tag like control for quickly/pygtk?

I am making a todo like application with indicator support using glade/python/pygtk/glade. I am making a form to save a Todo item. Each todo will belong to 0 or more projects. When a user enters a ...
1
vote
2answers
151 views

How to run an action when clicking on an appindicator

I'm looking at writing a simple app indicator and I need it to update it's information whenever it's clicked on to open the menu. Is there any kind of on_click action thing? Let me rephrase it then: ...
1
vote
1answer
2k views

Cannot run program - 'org.gnome.desktop.interface' is not installed

I am trying to make a python app that basically views a web page with QUICKLY on Ubuntu 12.04. When I do sudo quickly run in terminal, I always get this error: (saikoroubuntu:5283): GLib-GIO-ERROR ...
1
vote
2answers
923 views

Change font programmatically for GTK3 TextView (quickly-widgets TextEditor)

In an app using PyGI and GTK3, I'm trying to let the user set the font family and size in a TextView through my app's settings dialog. In PyGI the TextView object has "set" methods for several ...
1
vote
2answers
1k views

Multi-threading in application designed in quickly

I have a tree which I populate with a file list from my computer on the click of a button. While the program is populating the tree the whole GUI hangs. Is there a way to populate the tree in another ...
1
vote
1answer
177 views

What is the schema XML file in the data/glib-2.0 folder of my Quickly application?

I created an Ubuntu application with Quickly, and I can see an XML file in the folder data/glib-2.0 of my project root and I am not exactly sure what this is for. The XML looks like this: <?xml ...
1
vote
2answers
119 views

Translating quickly application

I created an application using quickly create ubuntu-application myapp. Then I created translations and created deb package quickly package to install and test it. When I run myapp all strings from ...
1
vote
2answers
317 views

local .desktop files

I need suggestions. Currently fogger creates .desktop files for fogapps and puts them in ~/.local/share/applications so that they can be launched from dash or legacy app menus. Everything works as ...
1
vote
1answer
173 views

Quickly message box

How to make message like this using Quickly
1
vote
1answer
123 views

How to actually submit my app to Ubuntu app showdown?

How to actually submit app to Ubuntu app showdown? I wanted to know how to make my submitted app eligible for app showdown. I know that I have to create a PPA at Launchpad and submit my app to ...
1
vote
1answer
156 views

Is there a recommended DB to work with Quickly?

CouchDB used to be the recommended DB to work with Quickly until 12.04, when it was dropped out. Now, I want to know if there is another DB recommended to replace CouchDB that works nicely with ...
1
vote
1answer
79 views

In a Quickly app, should code go in “myapp” or “myapp_lib”?

I've just started looking into Quickly and Ubuntu desktop/GTK dev, and I'm a bit confused by the organisation of the template that Quickly provides. Specifically, I'm confused about two related ...
1
vote
2answers
294 views

How to stop bzr from using ssh (asking a password) for downloading?

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?
1
vote
1answer
945 views

Detailed quickly tutorial

Hi I kindly need a more detailed quickly tutorial that explain the python code./ For example, adding a login form to an application
1
vote
1answer
548 views

DBus nested dictionary in python

I have dictionary like this {key: { key1: '', key2: [{ key3: '' }] }} I have tried a{sv}, but I got error: **to message with signature a{sv}: <type ...
1
vote
2answers
438 views

Which Java versions support global appmenu

yesterday after few updates (some of them in java) the Eclipse lose ability to move it's menu to the global-menu bar. I was try to remove/add different java from the ubuntu's repositories but it ...
1
vote
1answer
11 views

Scope settings - what does “list” type returns?

i am trying to get the string selected from a list (defined in the settings.ini with name [listname]) using this code: unity::scopes::VariantMap config = settings(); std::string selected_string = ...
1
vote
1answer
84 views

Using Online Accounts to authenticate against my server

In my Ubuntu QML app I'm trying to use online accounts in order to authenticate against my server. I'm a little confused as to how I should go about doing this. Ultimately I want the user to be able ...
1
vote
1answer
34 views

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

Popey { working: visible ? 100 } What does that "?" indicate in this example?
1
vote
1answer
46 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?
1
vote
1answer
14 views

What does functional_qml_application_uses_friends mean?

In a review for my click package, I saw the following message: functional_qml_application_uses_friends What does it mean and how do I fix it?
1
vote
1answer
110 views

QML what to use to store int numbers TextInput or TextField

What is good to use on a Ubuntu Phone app that needs 25 variables to get input that are int numbers. Text fields or text input. Right now I'm using text inputs to create the 25 ids that I'm going to ...
1
vote
1answer
150 views

Read lines from a text file in QML Qt/Quick

I need open a text file and read it's contents line by line and store each lines in a string list in qt quick 2.2. Can every one help me?
1
vote
1answer
87 views

Ubuntu SDK: QML with C++ recommended App Design Methodology

Are there documented general guidelines for mixing QML with C++ for ubuntu apps? "QML for UI design and C++ for logic" seems to be the trend. Is this the right way forward?
1
vote
1answer
201 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
2answers
159 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
130 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: ...
1
vote
1answer
652 views

Get Qt WebKit HTML Content in QML

My application is built with QML (Ubuntu SDK), and I need to get the HTML content from a page loaded with a Qt WebView after the page is loaded. Based on some initial research, it would appear that ...
1
vote
1answer
15 views

What does lint_control_click_version_up_to_date mean?

I submitted an app to the store and it gets rejected with this message:- lint_control_click_version_up_to_date How do I fix this?
1
vote
1answer
167 views

How do I add Webkit webview to the Ubuntu SDK?

I'm trying to do this tutorial for learning and it seems that I have to keep adding things for it to go smoothly. http://developer.ubuntu.com/apps/html-5/tutorial/ I don't have the "rss-sample.qml" ...
1
vote
2answers
599 views

Why doesn't `exec startx` work in 13.10?

I am used to being able to launch a second X session in TTY8 with exec startx but instead I'm getting an error: X: user not authorized to run the X server, aborting. And then in TTY 8 I end up with ...
1
vote
1answer
102 views

Unable to install ubuntu sdk

While installing sudo apt-get install ubuntu-sdk, I am facing this The following packages have unmet dependencies: ubuntu-sdk : Depends: qtcreator-plugin-ubuntu-cordova but it is not going to be ...
1
vote
1answer
76 views

Open file on already open application [duplicate]

I use VLC to open my video files, but every time I double click on a video a new instance of VLC is created. I want that when a VLC is already open, then the new video file should open in that ...
1
vote
1answer
73 views

get QML default value of a widget

How to receive the default value of e.g. TextEdit font.pointerSize? I would like to create a custom widget that uses some default values but allows to set some values from outside. Therefore it is ...
1
vote
1answer
107 views

LocalStorage on Ubuntu SDK and Ubuntu Touch?

Well, the thing is that I created an app with LocalStorage from QtQuick and last week it was working well until some update come. I use the LocalStorage and the file storage.js that I downloaded from ...
1
vote
1answer
807 views

Listmodel in QML: How to retain Listmodel values on page switch in page stack

I have an XML file to show list of items(listview), on click of each item i am switching to page which reads the XMLListmodel for each category using pagestack.push. After pressing back and again ...
1
vote
1answer
52 views

How can I pin the toolbar so that it remains revealed?

An always-revealed toolbar would be more suitable for a pointer-driven interface. How, using the Ubuntu SDK, can I set the toolbar to be (and remain) revealed?
1
vote
1answer
47 views

Are Python apps allowed in Ubuntu App Showdown?

I want to know if python apps (containing only a .py file) are allowed in the latest app showdown. If not, how can it be ported to QML?
1
vote
2answers
116 views

Photo selector API for Ubuntu Touch

I searched all over the web, but I can't find anything that could help me. I am looking for an API to implement a photo selector in my Ubuntu Touch application. I need something like a File Chooser ...
1
vote
1answer
412 views

I cannot install ubuntu-sdk

I have followed up to getting an Ubuntu Touch. But I cannot get Ubuntu SDK. • OS: Ubuntu 12.04 64-bit • Language: Korean I opened the terminal and ran sudo add-apt-repository ...
1
vote
2answers
188 views

How do I make a random amount of an elements in QML

I am trying to make an app with QML for Ubuntu Touch that is similar to the game Avalanche, and am unsure how to go about inserting a varying number of falling blocks. All of the blocks will be the ...
1
vote
1answer
312 views

importing C++/Qt module in QML

I have made a module to execute a shell script from within QML. The problem that I'm having is that I don't know how to import the module into my QML script. This is for a UT application BTW.
1
vote
1answer
495 views

Can software for Ubuntu Desktop work on Ubuntu touch unmodified?

I have software that works on Ubuntu 12.10 Desktop. Would it run also on Ubuntu Touch? Specifically, I'm trying to use OpenCFU on a Ubuntu tablet. I just want to know if it would work; whether it ...
1
vote
1answer
95 views

How to get Ubuntu AppIndicator icon coordinates

I'm working on Ubuntu Linux 12.04 and create software built on top of GTK+ 3 using pygobject. I've got a task of showing popup windows just below the app indicator icon of my application and I can't ...
1
vote
3answers
223 views

Will an Livecode Application Developed for Ubuntu Destop work for Ubuntu Mobile?

I was wondering if the any applications developed with Livecode (www.runrev.com) for a Desktop Linux platform would be able to run natively on Ubuntu Mobile devices (tablets). Livecode can generate ...
1
vote
1answer
150 views

Unable to assign QString to QQuickItem* with Qt.resolvedUrl

I have the following code: Tabs { Tab { id: financialDetailsTab title: i18n.tr("Financial Details") page: Qt.resolvedUrl("FinancialDetails.qml") } Tab { ...
1
vote
1answer
79 views

How can I bind Gio.Settings of TextBuffer or TextView?

I'm trying to bind a TextView to the key "text" by TextBuffer. I get the text, but this property is not recorded. widget = self.builder.get_object('textbuffer_text') settings.bind("text", widget, ...
1
vote
2answers
1k views

Ubuntu SDK does not install on Ubuntu 12.04 64bit?

Trying to install the ubuntu-sdk on Ubuntu 12.04 64bit using instructions at http://developer.ubuntu.com/get-started/gomobile/ and I get the following errors: Some packages could not be installed. ...
1
vote
1answer
413 views

How can I get a list of all apps in the Ubuntu Software Center?

I´am playing with Software Center's API, after seeing this post on askubuntu. My question is: how can I get a list of all Ubuntu Software Center's apps? From the other question I get this endpoint ...