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

7
votes
0answers
324 views

How can I run a command from a qml script? [duplicate]

I'm working on an Ubuntu Touch app that needs to modify iptables and do various other things that requires interaction with the command line. I found this and I understand that it must be done with a ...
6
votes
3answers
4k 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 ...
6
votes
3answers
5k views

How to detect a computer's physical screen size in GTK

I've come across this bug while writing my app. In short, the app's window size is fixed, which does not work well with smaller screens such as in netbooks. In those, the lower buttons are off the ...
6
votes
4answers
5k views

How do I get started with an Ubuntu friendly GUI framework?

I have a few small scripts that I use for routine tasks. They require simple parameters to run. Rather than running them from the terminal, I'd prefer to pick something from the menu, be presented ...
6
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 ...
6
votes
2answers
9k views

How to programmatically get a list of wireless SSIDs in range from NetworkManager

I'm writing a small little app that I want to submit to the Ubuntu App Review board, and one thing I'd like to do is for it to show the names of the detected Wireless SSIDs in a combo box. It's a PyGI ...
6
votes
2answers
2k 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
10k 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
21k 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
439 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
3answers
269 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?
6
votes
2answers
5k views

How can I know which version of the C++ “standard library” is installed?

I would like to install the C++ standard library documentation (following the answers in Download C++ reference) but I do not know which version of library is installed in my Ubuntu.
6
votes
1answer
926 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
804 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
178 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
582 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
1answer
625 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
4answers
5k 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
324 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
126 views

How do I post to Gwibber from python?

How do I post to Gwibber from python? I have tried import gwibber.utils foo = gwibber.utils.GwibberPublic() foo.post("This is a test message") from https://wiki.ubuntu.com/Quickly/Snippets. But ...
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
91 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
529 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
385 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
1answer
381 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
4k 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
5k 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
153 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
362 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
131 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
300 views

How do I upload an updated package to my PPA without having Quickly mess it up?

As part of Ubuntu App Showdown I received comments on deb packaging (as maybe all other participants). Those can be easy fixed and I spotted them before, but debian packaging files are managed by ...
6
votes
3answers
826 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
107 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
382 views

How do I get my QML program to utilize Unity7 notifications? Is there an API I can use?

I am developing a screenshot application in QML, and I wish to utilize Unity 7 notifications, similar to what Rhythmbox uses when notifying a user that a new song has started, or when the volume is ...
6
votes
1answer
306 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
150 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 ...