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
1k views

How can I install commonly used developer tools?

Is there a meta-package for installing commonly used developer tools such as cmake, autoconf, g++, etc.? The intent is to have roughly the same range of command-line tools as one has after installing ...
6
votes
1answer
9k views

How to open directories in geany IDE?

I have a directory already created which has sub-directories in it, it was created by Eclipse IDE. And now, I'm willing to continue developing the same project using a different IDE - Geany IDE. ...
6
votes
1answer
2k views

What programming languages are scopes written in?

I'd like to get started writing a Scope for Ubuntu. What programming languages are available and what should I choose?
6
votes
1answer
9k 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 ...
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
1answer
18k 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 ...
6
votes
2answers
428 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 ...
6
votes
4answers
2k 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
898 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
781 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
177 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
535 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
4answers
4k 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
3k 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
5k views

Can I run the Ubuntu SDK in Windows?

From where can I download Ubuntu SDK for mobile application development? I can not find any links.
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
316 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
591 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
1answer
1k 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
1k 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
85 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
464 views

How to insert Video element in my Ubuntu application?

I saw on some sites that you can insert videos with the Video element by importing Qt 4.7 and QtMultimediaKit 1.1 . But I have an error by compiling the project (it's a tabbed touch UI project): ...
6
votes
1answer
366 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
1k 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
2answers
574 views

Write application indicator with no icon

I wrote an application indicator that displays information about my monthly network consumption. I do not want it to have an icon next to the text I display. How do I write an application indicator ...
6
votes
1answer
893 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
377 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
2k 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
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
4k 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
152 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
357 views

What framework should I use in my manifest file

I'm writing an application for Ubuntu for Phones and need to know what framework goes in the manifest.json file. I submitted an app but got this back:- 'ubuntu-sdk-13.10' is obsolete. Please use a ...
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
130 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
3answers
749 views

Glade alternative for Quickly?

Is there? I am not getting on with Glade one bit. Any other ones out there that are better to use? Thing I dont like about Glade is when I make a mistake and I save I cannot undo along with several ...
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
1answer
300 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
3answers
1k views

How to show a window of an already active app when trying to open a new instance of that app

I know the question is a bit vague. I'll try to explain better below: My app (python/gtk) is mostly an indicator. Using this indicator you can choose to show/hide the main window. When I try to open ...
6
votes
1answer
149 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
617 views

module verification failed signature and/or required key missing

I am working on a kernel module, which is working fine. However, looking through dmesg, I see a message regarding my module that module verification has failed (module verification failed signature ...
6
votes
2answers
224 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
512 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
185 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
285 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
689 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
1answer
4k views

How to create charts in QML?

I'd like to add to my application a page with not only raw figures but also eye friendly charts to display data. Is there a native component or a third-party plugin I could use to create such ...
5
votes
2answers
911 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 ...