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

8
votes
3answers
3k views

Is there way to compile Qt5 programs, written with c++, to Ubuntu Touch?

I'm creating a program with Qt5 and C++, and I would like to compile my program for Ubuntu Touch Preview or Ubuntu desktop arm. I'm running those systems on Nexus 7. I have found the right C++ ...
28
votes
2answers
5k views

Connect WebKit WebView form to a Python callback?

I am writing a small Python and WebKit app; I am using WebKit as the UI for my app. What I want to do is to create an interactive element in WebKit (namely a combo box or a set of clickable regions) ...
18
votes
2answers
238 views

How to comply with this guideline for submitting an application to the Software Center?

I was reading through the Ubuntu Developer Programme Agreement for submitting applications to the Software Center and stubled across the following clause: 3.1 You must first test Apps you submit ...
11
votes
2answers
657 views

How do you package HTML applications for Ubuntu Touch?

Gomobile talks about HTML5 applications but doesn't explain how to package or install them on Ubuntu Phone/Touch. Is the "Unity Webapps" stuff webapps the same for Ubuntu Touch? (API documentation ...
22
votes
2answers
613 views

How does Application Review Board work?

According to https://wiki.ubuntu.com/AppReviews the Application Review Process is good both for upstream software developers and Ubuntu packagers. The point seems to be that the upstream developers ...
13
votes
6answers
371 views

Multiple versions of the same app on Ubuntu Software Centre?

I already published my proprietary app on Ubuntu Software Centre (https://myapps.developer.ubuntu.com), and now I want to update it with the new version. This time I wanted to upload multiple builds ...
8
votes
2answers
898 views

How do I create a working indicator with Qt/C++?

I am using Qt IDE in order to build my application so as to participate to the Ubuntu Showdown contest. In my application, I've done the following: void show_app(MainWindow *data) { //this works ...
6
votes
1answer
401 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 ...
9
votes
2answers
741 views

Why do the GNOME symbolic icons appear darker in a running application?

I'm creating an application that uses symbolic icons from the default theme. However, there are a few icons that I need that cannot be represented by those from the default theme, so I'm creating my ...
7
votes
1answer
436 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 ...
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
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.
5
votes
4answers
5k 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 ...
1
vote
1answer
168 views

How to import Qt app into Quickly on 10.04?

How to import my Qt app into Quickly? The goal of this is to package my Qt app using Quickly.
14
votes
1answer
1k views

What is http://extras.ubuntu.com/ repository for?

What will this repository hold? What is policy for it?
11
votes
1answer
1k views

What is the preferred way to store application settings?

From a developer's perspective. Should I use a text-based config in /etc or in $HOME? Or something else?
10
votes
2answers
758 views

Is PyGTK still relevant?

I'm new to Linux but not to app development. I come from a RealBasic on a Mac background. I've accepted that I need to learn a new language to develop for Linux (since RB won't run on 64 bit distros ...
10
votes
3answers
2k views

Where do applications typically store data?

I was wondering if there was a standard location for storing user level application data. What I mean by that is stuff like Firefox bookmarks, Skype message history/password, etc. I'm asking because I ...
9
votes
1answer
480 views

Make sniqt recognize all tray abilities (or create a working indicator in Qt)

There is this old thread of mine: How do I create a working indicator with Qt/C++? where I was suggested to use the QSystemTray library for making a tray icon in Ubuntu for my application. Sniqt is a ...
9
votes
1answer
587 views

How do I make the launcher progress bar work with my application?

Background Research I am attempting to update the progress bar within the Unity launcher for a simple python/Gtk application created using Quickly called test; however, following the instructions in ...
8
votes
1answer
386 views

What is the equivalent to Android Intent and BroadcastReceiver?

I've played with and written code for Android and I learned the concept of Intents and BroadcastReceivers in Android. They are used to call Apps for specific purposes like making a call or playing ...
5
votes
1answer
497 views

Qt5 Qtcreator using a c++function in main.qml to create a file /tmp/

I want to write an app for Ubuntu Touch based on the QtQuick2ApplicationViewer template and the app needs to write to a file (e.g. '/tmp/test.log'). I tested with using a function/macro Q_INVOKABLE: ...
5
votes
6answers
5k views

What is the best programming language to develop Ubuntu software?

I want to start programming Ubuntu software but I don't know which language to use. What would be the best language? I know some python at the moment.
4
votes
1answer
287 views

Where do I submit applications written for Ubuntu Touch?

I've written an application for Ubuntu Touch using the Ubuntu SDK and have packaged it as a click package. Where do I go to submit it to the App Store to make it available for installation in Ubuntu ...
4
votes
1answer
563 views

Is it possible to write a Mobile app with a engine written in C?

I am working on a chess engine which is written in C ( ttps://launchpad.net/enpassant) . By the time it is completed, I plan to have different versions for the Desktop and mobile. Now, is it possible ...
4
votes
1answer
4k 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 ...
4
votes
1answer
383 views

Python/GTK3 app crashing on importing “indicate” (python-indicate)

I'm trying to integrate my Python/GTK3 app with Ubuntu's messaging menu and every time I try to import "indicate" (python-indicate) my app crashes, with the following traceback: ...
4
votes
5answers
1k views

Which window has current focus?

I'd like to know (programmatically) which window has current focus. Is there a window-manager independent way of discovering that? Otherwise, how does one determine which window has focus in Compiz ...
3
votes
1answer
575 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 ...
3
votes
2answers
225 views

Quickly share error (Can't upload to ppa)

I'm using quickly and I can't seem to upload to my ppa. This is what I get: $ quickly share --ppa swink/ppa Get Launchpad Settings Launchpad connection is ok .........An error has occurred when ...
2
votes
3answers
294 views

When I create a new project I can only choose “Other Projects”, “Non-Qt Project” and “Import Project”

I have a problem with ubuntu-sdk I installed it following the guide here Get-Started But then when I start ubuntu-sdk and try tro create a new project I can only choose "Other Projects", "Non-Qt ...
2
votes
0answers
159 views

Python Access Pidgin Data Structure by Dbus

I recentely started to program in Python and making a script/plugin for Pidgin,i need to access PurpleConversationUiOps and use the has_focus field,based in some examples in documentation of Pidgin i ...
0
votes
1answer
168 views

Get Qt WebKit HTML Content in QML

My application is built with QML (Ubuntu SDK), and I need to get the HTML content from a page loaded with a Qt WebView after the page is loaded. Based on some initial research, it would appear that ...
14
votes
1answer
764 views

What are differences between a lens and scope?

Well it seems those two terms are the most popular ones since 11.04. What truly are the differences and similarities between them (lenses and scopes)?
12
votes
1answer
535 views

How will the Ubuntu Phone SDK impact desktop development [closed]

If I was to develop an application for Ubuntu after the Ubuntu Phone announcement, I would be concerned with several issues. I know that these things will not change immediately, but I'm thinking ...
9
votes
2answers
616 views

Are there any standard icons for qml-app-development?

I am developing a qml-app and I want to put icons on the buttons. I would like to use ubuntu standard icons to get the real ubuntu look for my app. How can I do this?
9
votes
1answer
185 views

What is the difference between the release, share and submitubuntu commands in Quickly?

There are 3 different commands in Quickly to release a new version of an app into a PPA release - Posts a release of your project to a PPA on launchpad so that users can install the application on ...
7
votes
2answers
5k views

Why can't I import “pygtk” with Python 3.2 from PyDev?

I have installed Eclipse + PyDev + Python 3.2. Now I have two Python interpreters in PyDev: Python 2.7 and Python 3.2. If I try to execute command import pygtk with 2.7 interpreter it works fine, but ...
7
votes
3answers
976 views

How do I migrate from systray to AppIndicators?

I am considering forking Parcellite and making it use AppIndicators now that Ubuntu has dropped support for systray. How different are these, and are there any "getting started" guides on ...
6
votes
2answers
396 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
500 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
695 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 ...
5
votes
1answer
775 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 ...
4
votes
1answer
144 views

How to add dependencies to a Quickly generated .deb installer? [duplicate]

Possible Duplicate: Create a quickly app with build dependencies I need extra packages for my app (done with Quickly). When I run: quickly package How can I set them? Thanks in advance!
4
votes
1answer
585 views

Working with quickly, are there any gtk.Builder code sketching tools that integrate?

Example: quickly create ubuntu-application testing quickly design #makes changes #insert some other command here that would be roughly equivalent to 'quickly sketch' quickly edit #to populate the ...
4
votes
1answer
631 views

How to create appmenu in using python3 and PyQt?

I am looking for a way to create appmenu indicator using python3.2 and pyqt4. Please help me.
3
votes
0answers
96 views

FreshBooks Online Account

I'm developing an application that connects to FreshBook's API. I can either integrate the account authentication process within my application, or I can develop an Online Account that could be used ...
3
votes
1answer
59 views

What does desktop_Icon mean?

I've submitted an app to the software store but it gets sent back with this error:- desktop_Icon What does this mean and how do I fix it?
3
votes
1answer
328 views

Does Ubuntu Phone APIs include Qt Mobility?

I'm currently developping an application for Meego/Harmattan. This app uses Qt Mobility API, and can easily be ported to SailfishOS. I would like to know if this API is also supported in Ubuntu Phone ...
3
votes
5answers
524 views

Problem with Ubuntu Phone SDK demo app

I have installed the Ubuntu phone SDK on a VirtualBox VM running Ubuntu Precise (12.04.2 LTS) as the guest OS. The "guest extensions" have been installed. The guest OS kernel is 32 bit 3.2.0-37 ...