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
1answer
166 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
400 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
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
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
302 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
520 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
2answers
9k 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?
6
votes
1answer
876 views

How do I submit .jar file to the ubuntu software center

I am writing an app using JAVA Swing for all platforms. After that I want to add this app to Ubuntu Software Center for free Is it possible? My app is just one *.jar file, its helping to play card ...
6
votes
2answers
939 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
77 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
1k 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
1answer
285 views

Can I make profitable app for Ubuntu Touch?

I would like to ask you guys, if there would be some sort of app policy regarding the Ubuntu touch. Just as in Android, and iOS, the developers could earn a reasonable amount of money, by making their ...
6
votes
2answers
894 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
760 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
366 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
1answer
1k views

ubuntu sdk has no c++ examples

Are there any c++ examples? New project>ubuntu> only allows simple qml apps. There is much, much more to tablets than some fancy buttons and a few lines of java script! If c++ is deprecated, please ...
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
2answers
147 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
3answers
1k 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
123 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
106 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
500 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
249 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
145 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
1k 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
178 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
2answers
417 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
1answer
173 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
1answer
244 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
585 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
3answers
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
668 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
797 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
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
2answers
466 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
235 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
1answer
12k 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
2answers
401 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
173 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
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
1answer
811 views

How to make a Gtk.ComboBoxText's entry editable in Glade

I'm using Glade to write a PyGI app, and I've come across a problem whereby I've got a Gtk.ComboBoxText with a Gtk.Entry, but I cannot make the entry editable for some reason. I.e. when the UI is ...
5
votes
3answers
1k views

How do you check if a property is undefined in qml?

How do you check if a property is undefined in qml? This is what I am trying to do: Button { id: myButton text: if (text === "undefined"){"default text"} }
5
votes
2answers
613 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
268 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 ...