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

6
votes
2answers
831 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
70 views

What's the difference between OptionSelector and ItemSelector?

When writing an app for Ubuntu, it seems I can interchangeably use the ItemSelector or OptionSelector components. In which situation should I use each one of those? What's their main difference that ...
6
votes
1answer
2k views

Are Qt Quick Controls available on Ubuntu 13.10?

I was looking to do UI development in QML, and I really want it to look native. I found the QtQuick.Controls (http://qt-project.org/doc/qt-5.1/qtquickcontrols/qtquickcontrols-index.html), but when I ...
6
votes
2answers
743 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
1k 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
650 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
1answer
362 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
2k 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
139 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
3k 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
2answers
143 views

How to package an application that contains a binary that needs to be in $PATH?

I am packaging an application that contains binaries that would normally go in /usr/bin and a shared library that would go in /usr/lib. However, the package guidelines for submitting applications to ...
6
votes
2answers
346 views

How do I use OAuth from an Ubuntu Touch app?

I'm writing an Ubuntu Touch application in QML. I'd like to integrate with Trello. There are two ways to log into Trello in the API, one of which is OAuth, which I plan on using. What is the best way ...
6
votes
3answers
2k views

Problems with QML Tool Kit Installation: “unmet dependencies: qt-components-ubuntu: … ”

I am following the directions on the page for Ubuntu App Development: http://developer.ubuntu.com/get-started/gomobile/ Command 1: sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-beta1 ...
6
votes
1answer
121 views

Can an app in `/opt/extras` install themeable icons in `/usr/share`?

My application Variety Wallpaper Changer runs from /opt/extras and uses an indicator icon. I would like to make this indicator icon theme-specific. As far as I understand the standard way is to ...
6
votes
1answer
1k views

What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists?

I want to make my application use dynamic unity quicklists. For building my application I am using C++ and the QtCreator IDE. When a menu action is triggered I want to be able to have access to a ...
6
votes
1answer
104 views

How can I submit an App to MyApps that is already in a PPA?

All my applications are already in my PPA in Launchpad. Now I want to submit them to MyApps. But MyApps insists in getting something to upload which makes no sense because everything is already ...
6
votes
2answers
495 views

Is it possible to alter and update the status icon of a running indicator applet?

I'm trying to create a simple application indicator that mimics the CPU load applet for the gnome-panel. I currently do this by updating (overwriting) the status icon of the indicator with the new ...
6
votes
1answer
233 views

Set action for submenu in AppIndicator

I am trying to build a simple indicator in C. This is my code: void make_indicator(){ //Making the indicator appindicator = app_indicator_new("My Indicator", ...
6
votes
1answer
143 views

My Rhythmbox plugin can't meet the Ubuntu Software Center “my-app” requirements

At http://developer.ubuntu.com/publish/my-apps-packages/ the following technical requirements are cited: Technical requirements In order for your application to be distributed in the Software ...
6
votes
1answer
2k views

How to use accelerators in Gtk?

I need to make an application in Vala, using Gtk, that supports keyboard accelerators that can be changed by the user. First, I add an entry to the global Gtk.AccelMap and then set the accel_path ...
6
votes
2answers
159 views

Is it possible to update the app indicator from code?

I use ruby-libappindicator bindings to manage ubuntu application indicators. I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
6
votes
1answer
169 views

How to resolve “release command failed” in quickly app hello-world?

I am new to Ubuntu and new to programming. I watched the video on http://developer.ubuntu.com/get-started/ and the video made it look so easy. I followed all the steps and everything was going good ...
6
votes
0answers
55 views

High-level library for Unity Dash?

I've wanted to write a GTK+ version of Unity Dash for some time. I think it could be useful for Xfce, Gnome Flashback, elementaryOS, etc. Before I start doing anything about it, I'd like to know if ...
6
votes
1answer
203 views

How do I get an UbuntuShape to transition (fade) between different images?

I have some QML code using the UI toolkit. When you click on the image, it toggles between two different logos. I've attempted to make the transition use an animation but it doesn't work; after the ...
6
votes
1answer
480 views

What are the design guidelines for appindicator icons?

I am creating a Unity AppIndicator using Python + PyGObject, but I wish for it's icon to be in standard Ubuntu style. Where can I find appropriate guidelines for using colours (or is it just ...
5
votes
2answers
2k views

How to add vte terminal widget in GTK3?

I'm trying to add vte widget in my application and the examples I've found use .fork_command() to execute a command in that widget. But according to ...
5
votes
1answer
101 views

Is a non-trivial plug-in for some application considered an app?

In the context of the Ubuntu App Showdown, if a useful plug-in for an existing application (in my case blender, but it could be anything) were to be developed, could it be considered?
5
votes
3answers
647 views

App Inventor for the Ubuntu platform?

Will Ubuntu have something like Google App Inventor to easily develop applications for the Ubuntu platform? Is Quickly intended to do that? I heard Ubuntu is planing to make easy and fun to develop ...
5
votes
2answers
712 views

How to get rid of the background gradient of the inline GtkToolbar?

When you run the below code, it will show an inline toolbar in a window. Notice how the inline toolbar has a stand-out backbround. Is there a way to apply CSS to get rid of it and make blend with ...
5
votes
1answer
6k views

Why can python3 not import gi.repository?

Python2 does not suffer the same problem. greg@greg-precise:~$ python3 Python 3.2.3 (default, May 3 2012, 15:51:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more ...
5
votes
2answers
3k views

Changing Python default in 12.04 LTS

I have downloaded and installed python 3.2.3 for Ubuntu/Debian. Also IDLE IDE for 3.2.3. If I execute IDLE for 3.2.3 explicitely, 3.2.3 runs under IDLE and all is well. But if I go to a terminal ...
5
votes
3answers
7k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they ...
5
votes
2answers
440 views

How to remove my application's appindicator programmatically?

I know how to add an appindicator menu from my application, but I can't seem to find how to remove it but still keep my program running in the background. Is there a way to do this?
5
votes
2answers
1k views

Can glade be used with python pygi introspection?

I once got started on a PyGtk and Glade tutorial but never finished it. Recently I saw that PyGtk is being depreciated in favor of using introspection at ...
5
votes
3answers
211 views

Sockets in Ubuntu Touch Apps

I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
5
votes
2answers
378 views

How do I translate a quickly project?

I am just getting started with using quickly and I have a small project that's starting to take shape. Right now I would like to add a translation to my project. I already noticed that quickly ...
5
votes
1answer
137 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
1answer
10k views

How do I find what version of libc my application links to?

When building an application using g++, I am not explicitly passing the libc library as a library to link to in the same way you would for other libraries (like passing -lpthread for example). I know ...
5
votes
1answer
165 views

Can I use old code by myself to build on for my entry in the Ubuntu App Showdown contest?

Or does it have to be started completely from scratch at 18th of June?
5
votes
2answers
563 views

Are Ubuntu Phone apps compatible across different devices? And if yes, how?

I know that Android apps are developed in Java because running all applications in a virtual machine grants less compatibility issues. IOS instead uses objective-C because it is developed to run just ...
5
votes
1answer
233 views

upstart init script remains on apt-get remove

I just created my first .deb file ever from a Python script. I included a package.upstart file under package/debian and all installed great. However, I noticed that apt-get remove package leaves the ...
5
votes
1answer
1k views

How can I make my own custom desktop widgets?

A simple solution like HTML widgets and a transparent Webkit window would be ideal. I'm trying to make a simple background widget framework such that I can easily customize my desktop with some CSS ...
5
votes
2answers
7k views

How can I create a new socket in /dev?

I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
5
votes
1answer
99 views

How do I update my own application in the software center?

Some applications use web services to provide services to users (especially Unity lenses). Things with APIs that might change, or things that might be updated. So what happens when someone submits a ...
5
votes
2answers
665 views

How do I package my application for the Ubuntu Software Centre?

I'm an old hand at software development, but not so experienced with packaging. I've built one dpkg before, but it wasn't a source package. I'm working on getting an application submitted to the ...
5
votes
2answers
213 views

How does Canonical report and transfer Software Center sales money to app developers?

I would like to clarify some details of the derivation earned from the sale of application money. If I understood correctly, at the end of each quarter you will send us email to report the amount of ...
5
votes
4answers
6k views

Can't build gcc anymore since upgrade to 11.10

On Monday I've upgraded to from Ubuntu 11.04 (my initial installation) to 11.10 and now I can't build gcc from source anymore. Since I forgot to uninstall the gcc package before the upgrade, Ubuntu ...
5
votes
2answers
162 views

How long does it take to get an application reviewed for Ubuntu?

I submitted a package around three weeks ago, and so far it's status is still "Pending"