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

Which packing constant to use for set_child_packing() in Python

I want to change a child of a box's padding; so I am using set_child_packing on the box holding the child. I can't figure out what to use as the constant for for the pack_type. Using PACK_START from ...
0
votes
1answer
173 views

Running a terminal-type command in my application

I want to create an Ubuntu Application which has a GUI for a CLI-application. I want to run a terminal command, for example, on a button click in my application. How can I do this? Or should I really ...
0
votes
1answer
54 views

GtkPositionType

The problem is that I have to use function attach_next_to() on grid, but the optional parameter of that function is GtkPositioType for side on which I can attach some new widget od the grid. What ever ...
0
votes
1answer
161 views

Adding button to grid in Quickly

In Glade I made a grid 3x3 ad name it grid, I got instance of grid with self.grid = self.builder.get_object("grid") and then I want to add for example a button on that grid when some other ...
0
votes
1answer
68 views

Quickly/Glade autoadjust text position

In Quickly/Glade, is it possible to keep the text (well, labels) centered, so when I maximize my program's window, the text stays centered? It's probably something easy to do, but I have been unable ...
0
votes
1answer
383 views

Webview load specific URL (Quickly/Glade)

I was watching the Ubuntu Developer video about creating your own browser using webkit, but I was wondering if it would be possible to make webkit load a specific website. For instance, if I was to ...
0
votes
1answer
254 views

Opening a Window within an already open window (Quickly/Glade)

I have a question regarding window and button implementation. If I have a toolbar set up, and I have a button on it, is it possible to get it to open a window right within the program? I mean like ...
0
votes
1answer
1k views

Glade Widget Color

I start to get familiar with glade and quickly but one thing I can't figure out. How can I set colors, e.g. background colors or label font colors? Can I do this in Glade or do I have to do it in ...
0
votes
1answer
71 views

When completing the form at myapps.developer.ubuntu.com, should I change the Suggested package name?

I am wanting to upload my application to the Ubuntu software center and noticed that the suggested package name looks like a Windows file path, e.g. c:\myappname Should I/does this need changing? I ...
0
votes
2answers
563 views

How to hide a GTK window in Python before call or os.system

So, I'm depeloping a Python/GTK app which, after showing an assistant, it hides the assistant's window and runs an external app. The problem is that window.hide() doesn't works if, after the command, ...
0
votes
1answer
2k views

How do I get the size of a Gtk widget?

I am developing an app using Quickly + Glade + Gtk + Python. I would have liked to know the size of a displayed widget. Here is what I wrote already: from gi.repository import Gtk, WebKit […] ...
0
votes
2answers
2k views

How do I show an animated gif in the app I am developing?

I am developing Discvur, a simple Imgur viewer, for the Ubuntu App Showdown. Therefore I use quickly + Glade + Gtk + Python. PyGObject instead of PyGtk would be highly appreciated. I would like to ...
0
votes
1answer
155 views

any basic app packaging guide for a newbie? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? i've made an app using wxpython, i have some .py files and some icons, how can i package it for uploading it to launchpad?? i've ...
0
votes
1answer
136 views

Teeview-Binding to CouchDB not working with quickly (PyGtk + Glade)

For the Ubuntu App Developer Showdown I need to know some basics about quickly. One really important thing is to know how the Treeview-Binding works with CouchDB. I did the Tutorial1 ...
0
votes
1answer
113 views

Need help with creating a form with KBasic

I have installed KBasic on my Ubuntu to create a simple form(as of now) which will have a database backend. The problem is ,as per the KBasic help,i have to click on any component i want for eg ...
0
votes
1answer
774 views

How to change the icon for Qt application?

How can I change application icon (launcher icon) for my Qt-application? Now it looks like a question mark and I want to change it.
0
votes
2answers
132 views

Is there a Quickly command to completely remove a project

I am trying out application development with Quickly but I have a couple of projects that I have come to nothing and I want to completely remove them. Is there a command to do that?
0
votes
1answer
199 views

Focusing a specific application instance by code?

I'm writing an application using Python and GTK3. This application will open instances of other applications, such as GEdit. Now, I'd also want my application to be able to focus each of those ...
0
votes
1answer
1k views

Python script to check if current IP address is from DHCP or static

How to check if eth address is taken from DHCP or set manually (static) using Python?
0
votes
1answer
286 views

Application indicator + entry widget

I would like write my own application indicator via guide in http://unity.ubuntu.com/projects/appindicators/ (in python) My question - Is there any chance add next to icon indicator entry widget (see ...
0
votes
0answers
35 views

Ubuntu SDK emulator starts up but the Devices tab says “The device is currently booting…”

I'm trying to setup an Ubuntu emulated device with a click package. But even after the emulator starts up the devices tab show that the device is booting. Pressing the refresh button does not help ...
0
votes
0answers
26 views

How to install a python script as an application

I have been trying to create a deb package for my python script following these steps. My myscript.py contains a simple frame. #!/usr/bin/env python import wx app = wx.App(False) frame = ...
0
votes
0answers
15 views

why ubuntu-SDK emaulator is running very very slow?

i make a webapp in Ubuntu-SDK for testing purpose i create a device and try to run my webapp in an emulator the emulator is very very slow.how can i solve this issue.My Ubuntu version is 15.10 ...
0
votes
0answers
60 views

How to test a javascript scope on a real phone?

I'm developing my first scope, hoping to enter the scopes showdown contest. I've decided to make a javascript scope. I'm having fun with the SDK and following along the javascript scopes tutorial at ...
0
votes
1answer
13 views

how to install ubuntu-SDK in ubuntu 14.04 64bit?

i would like to install Ubuntu-SDK in my system.i tried to follow this site this site but i getting the error called package-dependency.i think that link is old.so any body know another way to ...
0
votes
0answers
11 views

Directory Architecture for Desktop Apps

Hey guys the agency is back to submitting desktop software, we have done this before, yet the way of means has seemed to change. I was wondering if you could send me an example of the directory ...
0
votes
1answer
30 views

Which aggregator scopes exist in ubuntu scope?

I was thinking about developing an aggregator scope for ubuntu touch, but I can't find a list of some sort that shows which aggregator scopes are already available. On the ubuntu website, they give a ...
0
votes
1answer
33 views

What is the difference between libprotobuf-dev and lib-protobuf8

I want to install protobuf for my cpp project, I searched protobuf with apt-cache search protobuf and the result shows blow: libmirprotobuf-dev - Display server for Ubuntu - protocol definition ...
0
votes
0answers
40 views

JavaScript scope online accounts - OnlineAccountClient error

I'm trying to run a Unity JavaScript scope which uses online accounts on Ubuntu 15.10 on the Unity Scopes Tool, but I get an error when using the OnlineAccountClient class. I followed the Online ...
0
votes
0answers
43 views

Android Studio - empty project after importing from Github

I have a big problem with android studio. Now I'm working on a project and I have to pair the repository from github to android studio. The connection and the clone of the folder went well. I can't ...
0
votes
0answers
21 views

Cannot find boost/type_index.hpp after installing boost-all-dev

I have just installed a fresh copy of ubuntu vivid (15.04), then did the following (filtered history command dump): 18 [2016-01-14 23:32:41] sudo apt-get install clang-3.7 clang-3.7-doc ...
0
votes
1answer
7 views

list of available targets for openUrlExternally

Using Qt for my ubuntu touch application and I'm having trouble getting it to launch the text messaging application. using Qt.openUrlExternally('sms:'+carduserphone) carduserphone being a variable ...
0
votes
0answers
31 views

Ubuntu SDK click package error: Could not find compiled binaries for architecture 'armhf'

I've recently had this error when trying to build a click package for the latest SDK (15.04.1). The app I am trying to build a click for is https://launchpad.net/deliverytracker The app hasn't been ...
0
votes
0answers
30 views

How to get the name of connected ios phone in Linux using command

How to get the name of connected ios device name in Linux, or c++ programming. basically, I use the Qt in Linux. and I want to get the name of the connected device name. after a searching in google we ...
0
votes
0answers
24 views

How to create application from bash file? [duplicate]

I have bash file, it's about resizing pictures and adding color borders to each picture..it runs in ubuntu 15.04 well..it works on imagemagick..I wanted to make it as application like ubuntu ...
0
votes
0answers
10 views

Ubuntu SDK AppArmor issues with opening CSS/JS files from filesystem

I'm trying to create a new app using HTML5/JavaScript with Ubuntu SDK and my new Ubuntu Touch phone. I've managed to run it on my phone, but it doesn't load any styling information and without ...
0
votes
0answers
13 views

Ubuntu snappy software update cycle

I want to use Ubuntu snappy for our project which is basically secure update the application. In the Ubuntu IoT I found that it has the feature of secure FOTA. The basic idea is- we run snappy on our ...
0
votes
1answer
15 views

.cpp and .h files of new classes are not showing in Ubuntu SDK tree

I've added new classes to my project via Ctrl-N >> C++ >> C++ Class. However, after the files are added to my models/my-project folder, it does not show up on the tree in Ubuntu SDK. Why is this? ...
0
votes
0answers
33 views

Is there a reasonable chance of making money on an Ubuntu desktop utility application?

I recently asked this question on Quora. Unfortunately I didn't get much of a reply, so I thought of asking here... Hopefully this question is not off topic, but I want to know if any others here ...
0
votes
1answer
60 views

How to write a C++ backend for Ubuntu Touch that can access internet?

Is there anyway to write a C++ backend for an Ubuntu Touch application that can access the internet, and download files? Or do I have to do that through QML, and pass it to objects written in C++?
0
votes
1answer
98 views

Display column values from sqlite db

I am attempting to return all column values from an Sqlite db to a Qchart in qml in Ubuntu SDK - the db contains various fields including kilometres, miles, etc. I would like to return all values in ...
0
votes
0answers
15 views

No ubuntu web app inspector

Been using Ubuntu 14.04 LTS release to do some development webapps and the web inspector was there as default. When installing ubuntu sdk on 15.04 and 15.10 there's no web inspector. How can i get it ...
0
votes
1answer
25 views

U1db-Qt not working as expected in ListView (Ubuntu Touch App Development)

Recently, I've been trying to learn how to use the U1db Library (if that's what you call it), but it hasn't been working the way I expected it to work. Here is my code: import QtQuick 2.4 import ...
0
votes
0answers
31 views

How to deploy mediascanner to Ubuntu Touch device?

I want to deploy mediascanner https://code.launchpad.net/~ubuntu-branches/ubuntu/vivid/unity-scope-mediascanner/vivid to Ubuntu Touch phone device. I can compile it via cmake and make in SDK etc, but ...
0
votes
0answers
56 views

What are the main advantages / disadvantages considering Ubuntu SKD and NW.JS for HTML5 Desktop App development?

Besides the obvious facts that NW.JS apps could be build for other operation systems than Ubuntu only and Ubuntu SDK can serve for other programming languages than HTML5 and JavaScript, what else are ...
0
votes
0answers
22 views

TEE / TrustZone Andoird Phone

I was wondering if TrustZone is enabled on the Cortex A7 ARM processor on the Aquaris E4.5. Would like to purchase one for developing Trustlets/Trusted Apps and experiment with them. Any response is ...
0
votes
0answers
27 views

Are there any open source projects From which it is eary to learn Ubuntu Desktop Application Development?

I have been contributing in this forum through asking and answering questions, but now I want to contribute in Open Source Projects by coding. But I have no idea which are the suitable platforms and ...
0
votes
0answers
50 views

Cordova Ubuntu Phone: how to debug?

I have installed the sdk and enabled developer mode on my ubuntu phone. If I connect the device via usb and go to debug -> start debugging -> attach to running application and choose sdk form dropdown ...
0
votes
0answers
13 views

problem with sdk

i was trying to develop apps for ubuntu and downloaded ubuntu-sdk but i got to know that we can build mobile apps with ubuntu-sdk.Can someone tell why we e ubuntu-sdk to build apps for mobile ...
0
votes
1answer
24 views

How do you make the background of a dragged ListItem opaque?

The new ListItem has drag-and-drop capability built-in. By default, though, dragged items have a transparent background, which looks awful. (Why would this be the default?) The ListItem has a color ...