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

10
votes
3answers
207 views

Install a 'recommended' package when user asks for corresponding action

Let's say that I am building an application to a DEB package, which has as recommended dependency a package, let's call it package1. So, package1, if installed, can provide extra functionality to my ...
10
votes
5answers
2k views

Why do most GNOME developers prefer Python over Java for GTK+ programming? [closed]

I only know C and Java. And I really don't want to learn another language when I can work with what I already know. I haven't ever written a GTK+ application, but I am planning to start with an ...
10
votes
2answers
925 views

Auto switch workspaces

I have several monitoring applications that we would like to project using a projector in the IT area of our office. One of the apps is a Java application (so auto switching tabs in a browser will ...
10
votes
2answers
7k views

How do I start developing applications for Ubuntu on mobile devices?

I've come away a little confused on how to develop mobile apps for Ubuntu. First of all, do developers need the Ubuntu operating system to develop for Ubuntu? Is it possible to develop Ubuntu apps ...
10
votes
2answers
838 views

How do I make a rich menu for an appindicator?

I'm adding menu items to an appindicator in pygtk. I don't want them to behave like ordinary menu items: I want them to have normal appearance, but not to respond to mouse hovers and mouse clicks. The ...
10
votes
1answer
1k views

How to create a new Quickly application template?

Cannot find the answer elsewhere, I'm asking for a documentation of the process to create a new template for quickly. I'm interested in writing a pyside (python + qt4) template like the pygtk one. ...
10
votes
5answers
3k views

How do I make my java app compatible with the unity global menu?

I like to develop in Java but also want compatibility with the global menu? Is there a way? Please help.
10
votes
4answers
884 views

What is the recommended widget toolkit for Ubuntu desktop?

As I understand it, Qt - C++ and QML - or HTML5 are recommended for writing Ubuntu for Phones applications. Also, correct me if I'm wrong, but Python is the preferred language for Ubuntu Desktop. ...
10
votes
1answer
874 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 ...
10
votes
2answers
2k views

How do I get QSystemTrayIcon to show up in Gnome 3?

I can get a QSystemTrayIcon to show up in Unity by installing the sni-qt package which acts as a broker between the application and an application indicator for the program. However, running the ...
10
votes
2answers
283 views

How do I use get_media_file() in the latest Quickly?

I am writing a project with Quickly and GTK 3 and I want to use the get_media_file() helper so I can load an icon in my data/media directory. I can't see how I use get_media_file() with the latest ...
10
votes
2answers
664 views

Does Quickly support GTK3?

Simple question: can Quickly use GTK2 only or also GTK3 for GUI?
10
votes
2answers
830 views

How to use gettext to make QML files translatable

I'd like to write a QtQuick app based on Python (PySide) and QML. I know Qt apps have got their own translation technology, but I would like to stick to gettext for this one. I'd like to know if it's ...
10
votes
1answer
117 views

How updates are handled for commercial applications?

I'm planning on publishing a commercial (paid) application to Software Center and I've seen that during the process of submiting the app I have to upload a .deb package. I'd like to know if there is ...
10
votes
2answers
2k views

Will Ubuntu Phone support Java?

I'm a Java developer and I was so excited when I heard that Ubuntu is going mobile... But will it support a Java Runtime Environment like Ubuntu Desktop and Windows 8 Pro? A lot of enterprise ...
10
votes
4answers
463 views

How do I add a daemon to my Quickly application?

I am building a app with quickly, and I wanted to add a daemon that will run in the background. How do you do this?
10
votes
2answers
592 views

Quickly application with ListStore as preference

I'm starting to write a program with 'quickly'. A list of desired languages will be one prefereces. Example: languages = ["en", "de"] The (automaticly created) quickly code that handles the ...
10
votes
1answer
505 views

Howto create a new C++ based Ubuntu touch project in Ubuntu SDK?

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes. If I try to add C++ classes to the QML project, I get this error: ...
9
votes
2answers
11k views

Can I write programs in C# on Ubuntu?

I am forced to learn and practice C#, is there any applications that support and can be used to write programs in C#?
9
votes
5answers
3k views

How can I update the Ubuntu SDK preview from the Qt 5 Beta PPA to the Qt 5 Release PPA

When the Ubuntu SDK preview was announced on the 2nd of January, it was based on the Qt 5 Beta release (as Qt 5 had not yet been released and packaged for Ubuntu). At some point, the Qt 5 release was ...
9
votes
2answers
1k 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 ...
9
votes
3answers
648 views
9
votes
4answers
5k views

What tools do I need to install for Java Development?

I am newbie to Ubuntu and I need to install tools for Java development on that platform. I see by the Ubuntu Software Center that I have this installed: OpenJDK java 6 runtime icedtea java 6 web ...
9
votes
2answers
2k views

Playing Sound with Ubuntu QML Toolkit preview

I've installed the Ubuntu QML Toolkit Preview as per the instructions on http://developer.ubuntu.com/get-started/gomobile/ (with a minor fiddle to get it working on 12.04). I'm trying to write an app ...
9
votes
1answer
192 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 ...
9
votes
2answers
2k views

Unity Launcher API for C++

I am trying to develop some program in QT with QT SDK. Yesterday I was reading about Unity Launcher API on official ubuntu website. But there is example only for Vala and python. Is possible to use ...
9
votes
2answers
704 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 ...
9
votes
3answers
11k views

“QtQuick version 2.0 is not installed” while trying to run CurrencyConverter Example for Ubuntu Phone

I was following the step-by-step guide on how to develop an Ubuntu Phone application but Qt Creator throughs the error message (module "QtQuick" version 2.0 is not installed) when I run it with ...
9
votes
2answers
443 views

Can a single Ubuntu SDK target touch and desktop with separate layouts?

I know that touch apps will run on the desktop with the same UI, but I was wondering if it will be possible for a single Ubuntu SDK app to have a multi-window UI with desktop style UI elements when ...
9
votes
2answers
1k views

How do I dynamically add tab to tabs?

I am trying to add a new tab to the tabs component with the code below. When running there is no error reported but no additional tabs are show. I have tried using both tabs and tabs.__tabsModel as ...
9
votes
3answers
663 views

GtkIconView doesn't automatically fill the space with icon when user resizes the window

In the Ubuntu Accomplishments project we are having a few unusual bugs: https://bugs.launchpad.net/bugs/986708 https://bugs.launchpad.net/bugs/974728 Namely that we have a window with a ...
9
votes
1answer
514 views

Will there be a Vala template for quickly?

Are there plans to develop a Vala template for Quickly? Would be interesting because I think, Vala will be the next gen programming language for Gnome.
9
votes
1answer
645 views

How to use theming in QML for Ubuntu Phone

The Ubuntu Interface Toolkit Documentations documents Theming for QML Elements with a syntax that is quite similar to CSS. It sounds amazing to me, but I am unable to get started with it. I have tried ...
9
votes
1answer
767 views

How to highlight buttons in a GTK toolbar

I've written an application using Python and Glade. The app has got a toolbar with a dark background, and each toolbar button has got a custom image (i.e. no stock icons are used). I've noticed that ...
9
votes
3answers
1k views

What are the alternatives for notify-send?

I use notify-send for desktop notifications and I get notifications with expected summary and body. However, notify-send has limitations and so I would like a few recommendations on alternatives for ...
9
votes
2answers
889 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
0answers
85 views

How to install a package from within my application? [duplicate]

Possible Duplicate: Install a ‘recommended’ package when user asks for corresponding action I am a developer and for my application i require some packages to be installed. So when for ...
8
votes
2answers
8k 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 ...
8
votes
4answers
3k views

How to create a scope?

I'd like to create a custom scope that searches and returns results from an online source for personal use. Is this possible? And if so, how?
8
votes
3answers
5k 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++ ...
8
votes
2answers
2k views

PYGTK to PYGI: gtk.timeout_add equivalent

I have converted some Python code to use PYGI but I can't figure out how to convert this line: gtk.timeout_add(PING_FREQUENCY * 1000, self.doWork) To by clear, since I don't really know the ...
8
votes
3answers
14k 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 ...
8
votes
2answers
519 views

How can I submit a NetBeans project to Ubuntu App Developer?

I have made a Java application for Ubuntu in NetBeans and would like to submit it to the Ubuntu Software Center. But the problem is, when I get the upload form, they ask to choose a file. So what do I ...
8
votes
1answer
366 views

Create a quickly app with build dependencies

I am creating a Quickly app in Ubuntu that depends on Python Twisted, which is available in the package python-twisted. How should I add python twisted as a dependency so that it will be installed ...
8
votes
1answer
6k 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 ...
8
votes
1answer
3k 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"?> ...
8
votes
3answers
2k views

How to create a sliding widget (GTK+, Quickly)

Recently I've seen this widget in Gedit: It appears when you press Ctrl + F. What I am interested is in how to get the sliding effect. Any suggestion will be appreciated.
8
votes
2answers
148 views

Is the Ubuntu Application Review Board dead?

Personally, I haven't had a response from either the mailing list or replies on myApps for well over three months. And with the last update on the ARB trello board being from September 16th, I have to ...
8
votes
2answers
9k views

How to use Sublime Text 2 as Quickly default editor?

I used this answer to change the editor used with quickly and it worked, however now,when I type quickly edit the command line stays on the open and does not allow me to enter other commands as long ...
8
votes
2answers
432 views

Is it possible to programmatically call, access, or get results from the Unity Dash?

Background After eyeing Unity's notification APIs for the past few releases, I've developed an itch to write a feed reader that syndicates new arrivals in the Messaging Menu... ... and provides ...