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

7
votes
1answer
2k views

How can I play a system sound with Python?

I am writing a small reminder-app and want to play a system sound once the timer has reached 0. What is the easiest way to play that sound, and which sound would you recommend?
7
votes
1answer
5k views

How do I view or install Ubuntu Touch apps?

Lots of people have started developing Ubuntu Touch apps for the Ubuntu App Showdown and just in general, and have published them in the Click App Store. What is the Click App Store, and how do I ...
7
votes
2answers
981 views

What GTK widget is this?

Lately, I've seen the widget below appear in GTK applications. I can't find it in Glade. What is it?
7
votes
2answers
960 views

How can I access UbuntuOne contacts and notes with Python?

I want to use UbuntuOne in my own Python application. I want to access contacts and maybe store other data. But I could not find any documentation or (Python) examples. How can I use this?
7
votes
1answer
1k views

How can I install a Gsettings Schema without root privileges?

The typical workflow to install a Gsettings Schema is this: Create a schema, with the extension .gschema.xml, with contents like this: <?xml version="1.0" encoding="UTF-8"?> ...
7
votes
2answers
794 views

How to add checkbox or radio buttons to a Unity quicklist?

I have been searching how to make that happen but i can't find it anywhere. I even guessed how to enable/disable the quicklist item, so as how to add function invoked after the item is clicked, but ...
7
votes
2answers
408 views

How do I control the position of an indicator created with appindicator.Indicator?

I've created a simple indicator in python using the appindicator module. However, it always shows up to the left of the existing indicators. Is there some way to control what position the indicators ...
7
votes
3answers
133 views

Is there anyway to contact whoever handles commercial apps for the Software Center?

I have some problems with the way my app is published due to a name change. Also, I want to inquire as to if/how my application can be made available for Oneric Ocelot, and when they come out future ...
7
votes
1answer
248 views

How to troubleshoot Quickly packaging failures

I have created a Quickly app and I'm trying to create a package for distributing it through the Software Center. However, whenever I try one of the Quickly packaging commands (package, share, release ...
7
votes
2answers
213 views

How do I package an application to submit to the MyApps portal?

I'm trying to submit my app to the MyApps portal. I really don't get it what I should submit, source code or deb package? If source, in which format, whole app as zip, tar.gz...?
7
votes
1answer
1k views

What are Smart Scopes?

I've heard Ubuntu 13.10 will ship Smart Scopes technology. What are smart scopes?
7
votes
3answers
4k views

Can't install qt-components-ubuntu because I'm using full release of QT 5.0.0

It appears that since I didn't install the beta1 version of QT5 from the ppa, I'm unable to use the Ubuntu components package. I have the released version QT5 already and not interested in installing ...
7
votes
1answer
477 views

How do I add a Notebook to a Box in a VBox?

I have created an empty box in Glade to add a Notebook to. The reason I am not adding the actual Notebook in Glade is because I hear that you cannot add pages to a Notebook made in Glade. So, in ...
7
votes
1answer
501 views

How to make Glade load translations from /opt

I've created an application that I'd like to submit through the Ubuntu app developer process. One of the requirements for the process is that when installed, all files go into the ...
7
votes
1answer
466 views

How to embed a GtkAboutDialog's content in a GtkNotebook widget

I'm writing a Python app that is tab-based, and I don't want it to have any additional pop-up dialogs. I'd like to use the Gtk.AboutDialog functionality, but I don't want it to appear as a separate ...
7
votes
2answers
198 views

What is the payout date for commercial applications?

What date are commercial developers paid for their sales? I thought it was quarterly, but it's been about 4 months since my first sale and I haven't been paid. NOTE: I sent canonical an email, I'll ...
7
votes
1answer
123 views

Are the Ubuntu App Developer Showdown Workshops recorded?

I am a new developer who wants to participate in the Ubuntu App Showdown. I would like to go to the Ubuntu App Developer Showdown Workshops but its abit hard with my schedule. Will these workshops be ...
7
votes
2answers
371 views

How to set up Launchpad to import from GitHub?

I'm setting up my first Launchpad project. In this case I would like to import from the Master branch from my GitHub project - the default branch is not Master - it is a release branch currently ...
7
votes
1answer
148 views

Are Palestinians out of the Ubuntu App Showdown Contest?

Canonical does not support shipment to Palestine. Are we (Palestinians) out of the Ubuntu App Showdown Contest because of that? Edit I contact canonical shipment team, and they told me they don't ...
7
votes
2answers
255 views

Dynamic shortcuts for Messaging Menu?

I'm Unity Mail developer and I wonder if it's possible to add a shortcut to Messaging Menu from within the application (it's written in Python). I need to connect it's user-display to a function in ...
7
votes
2answers
115 views

What's the criteria for an application to be included in the Universe repository?

I started a hobby project and figured that if there were some reasonably reachable criteria for this, I might as well work in that direction. Tried asking on #ubuntu-app-devel, but the channel seems ...
7
votes
1answer
5k views

How to add Qt5 to Qt Creator?

I've added the Qt5 Daily repository, installed the qt5-meta-full and added /opt/qt5/bin/qmake to Qt Versions. Now I get :-1: error: Unknown module(s) in QT: declarative Is it possible yet to use ...
7
votes
1answer
196 views

Can SDL work on Ubuntu Touch?

Recently, I've see the Ubuntu Touch video here http://www.youtube.com/watch?feature=player_embedded&v=cpWHJDLsqTU I want to try to port my own game (using SDL and OGRE) from PC to Ubuntu Tablets. ...
7
votes
0answers
301 views

How can I run a command from a qml script? [duplicate]

I'm working on an Ubuntu Touch app that needs to modify iptables and do various other things that requires interaction with the command line. I found this and I understand that it must be done with a ...
6
votes
3answers
448 views

How do I integrate an application in the sound menu using python?

I don't necessarily expect a whole tutorial for creating a sound indicator entry here on askubuntu, but I've searched and searched, and I can't seem to find any documentation on creating a sound ...
6
votes
3answers
882 views

How do you create indicators?

Where could I find some documentation?
6
votes
3answers
2k views

Getting Quickly to use Gvim instead of Gedit

How do I get Quickly to use Gvim (or just vim in a terminal) as its default text editor instead of Gedit? If this can be done, I must be doing it wrong... Ubuntu 10.10 AMD64.
6
votes
4answers
966 views

How to make a Gtk.Iconview react to single click instead of double click?

I use a Gtk.IconView widget in my app to select different types of elements. The way the IconView works is the following: Do one click to select the item Do an additional double-click to activate ...
6
votes
1answer
3k views

How to create very very simple GUI application for Ubuntu?

I want to make a simple GUI Application. Can anybody give me source code of a simple GUI Application? So far, I have been competing in Programming Competitions (I have been using C++ for it) and now I ...
6
votes
2answers
586 views

Are there any standard UI / UX / design principles or guidelines for building Ubuntu apps?

Are there any standard UI / UX / design principles or guidelines for building Ubuntu apps? I'm creating my first app and am afraid it will be too "webappish".
6
votes
1answer
738 views

PyGTK Application Icon Blurred in Unity

I have 128x128 icon referenced in main window glade file like <property name="icon">../media/my-icon.svg</property>. I tried, with both svg and png, but it is always very blurred in ...
6
votes
1answer
4k views

Can I develop a hybrid native/HTML5 app for the Ubuntu Phone?

Can I develop a hybrid app that was used in conjunction with the native API and HTML5 in Ubuntu phone? I know that it is possible to develop either native app or HTML5 app. However, I want to know ...
6
votes
1answer
245 views

What are -dbg packages for?

1- What are -dbg packages really for? 2- Is it a good/bad idea to install them for, at least, my preferred applications/packages? 3- Does installing them for my preferred applications/packages helps ...
6
votes
2answers
2k views

Which free 2D game engine for Ubuntu is the best choice for me?

Which free game engines on Ubuntu would be the best choice for me to create 2D games. The engine should not be too hard to use and support multiplayer if possible. I'd use it to create games with ...
6
votes
1answer
320 views

Where on the filesytem could a user find the Unity scope files?

I am wanting to find the Unity scope folder so that I can study how the scopes are set up and programmed. Where on the filesytem could I find the Unity scope files?
6
votes
1answer
147 views

What is the @ sign added as a suffix to images used for apps based in the Ubuntu SDK?

I've been looking at some example apps from the Ubuntu SDK and from the Touch Developer Preview source code, and I've noticed that some images used as assets in those apps have a suffix with an @ sign ...
6
votes
1answer
284 views

How do I programmatically detect presence changes in the messaging menu?

Is there a way to subscribe to messaging menu events? Specifically, I'm looking for a signal (over DBus?) that is fired when the online presence status changes in the messaging menu
6
votes
1answer
435 views

How to create a PPA for C++ program?

My questions are: c++/gtkmm project created with NetBeans. How to make package to PPA from this? I have created target files structure (*.desktop, iconfile, ui glade files). Binary goes to ...
6
votes
3answers
3k views

How do I get images to appear on buttons in Glade Designer?

Not sure if this is a bug or just a very annoying feature, but I can't get an image to appear on any of my buttons in Glade Designer. Is there some property I need to change in order to force it ...
6
votes
2answers
503 views

Create a Gtk Window insensitive to Show Desktop and Won't show in Launcher

I want to make a Gtk.Window which is pinned to the Desktop and acts like a desktop widget. I've found that I can do this by setting self.set_type_hint(Gdk.WindowTypeHint.DESKTOP) which keeps it below ...
6
votes
1answer
960 views

Low-level 10-finger multi-touch data on the Nexus 7?

I'm considering getting a Nexus 7 to do some multi-touch development on Ubuntu in the run-up to 13.04 (i.e., now :-). What APIs, /dev files, or protocols are available, or could be made available ...
6
votes
1answer
546 views

How to use the AccountsService API with Python?

I'm writing an application for the Ubuntu app showdown and I try to read/write the user's profile picture using this >>> from gi.repository import AccountsService, GLib >>> ...
6
votes
2answers
734 views

syncing a GNOME-keyring across devices w/Ubuntu One

I wrote an app that creates and uses its own keyring. I'd like to have that keyring with secrets attributes and all sync via U1 so that the same passwords are available on all the Linux devices. ...
6
votes
1answer
361 views

Creating a Unity Lens: The name `Activation' does not exist in the context of `Unity'

I'm trying to create a Lens for Unity in 11.10 using vala. This is my daemon.vala: using Dee; using Gee; namespace PidginLens { public class Daemon : GLib.Object, Unity.Activation { ...
6
votes
2answers
1k views

How to pass the image preview from the QML Camera component to a C++ plugin

I'm writing an Ubuntu Touch QML app that captures and processes images from a camera device. The processing is done by a C++ plugin to which I'm passing the URL of the image. I can successfully save ...
6
votes
1answer
136 views

Are the “Ubuntu Core Apps” also intended for the desktop?

I have been reading a lot about the Ubuntu Touch Core Apps initiative lately. Given Ubuntu's device factor convergence plans and the cross-platform Qt/QML foundation of the Ubuntu SDK, is it the ...
6
votes
1answer
2k views

Building webkit from source

I tried to install the webkit applicaion from sources using this manual: https://help.ubuntu.com/community/WebKit When I type: ./autogen.sh --prefix=/usr the following error occurs: checking for ...
6
votes
1answer
3k views

How to create AppIndicator with Python?

I have no knowledge of Python, but because ubuntu recommends it i will use it for the appinidcator.. So i got these 2 files: and the code of the .py file is: #!/usr/bin/python import appindicator ...
6
votes
2answers
198 views

When to expect the results of the Ubuntu App Showdown Community Vote?

The Vote is closed since the 29th of Aug. Is everything OK? Shouldn't we be aware of the results already? I thought the counting was done automatically from the site that the voting was taking ...
6
votes
1answer
661 views

How long does it take to complete the review stages in Ubuntu?

When we submit an application to the Ubuntu Software Center, how long does it take to complete the review stages? Namely, Pending Review In Review How long (average or based on your experience) ...