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

1
vote
1answer
94 views

What are the different application directories in a quickly ubuntu-application template for?

When you create a new ubuntu-application with quickly you will notice that it creates a directory structure like this: MyApp/ setup.py bin/ help/ tests/ setup.py MyApp/ MyApp_lib/ What are each ...
2
votes
1answer
445 views

In Glade, how do I set a widget size (i.e. minimum and maximum)?

I want to set the size of one of the widgets of an app developed with Quickly and Glade. I know how to set a minimum size in the 'Common' tab, with 'Width request' and 'Height request'. But I would ...
1
vote
1answer
122 views

Using .add() on the same widget more than once

I asked this question on Reddit and was directed here. http://www.reddit.com/r/Ubuntu/comments/vhadl/quickly_dynamic_ui/ Unfortunately I am having the same issue and the problems seems that you can ...
0
votes
1answer
35 views

How can I relocate the default quickly directory?

I don't want quickly to create applications in my home folder by default. Instead I want them to be in ~/Projects. Is there a way to do this?
0
votes
2answers
766 views

How do I show an animated gif in the app I am developing?

I am developing Discvur, a simple Imgur viewer, for the Ubuntu App Showdown. Therefore I use quickly + Glade + Gtk + Python. PyGObject instead of PyGtk would be highly appreciated. I would like to ...
2
votes
1answer
478 views

Changing TextView font in PyGTK

I have TextView widget in Glade named "formula-view". I'm trying to do this to change font: formulaView = self.builder.get_object("formula-view") fontdesc = pango.FontDescription('Ubuntu 16') ...
0
votes
1answer
860 views

How do I get the size of a Gtk widget?

I am developing an app using Quickly + Glade + Gtk + Python. I would have liked to know the size of a displayed widget. Here is what I wrote already: from gi.repository import Gtk, WebKit […] ...
1
vote
2answers
424 views

How do I include basic image editing in my python application?

I am making an application for the Ubuntu App Showdown and I want to include basic image editing like adding black and white, grey effects etc to the image. But I don't know how to do that. I have ...
2
votes
1answer
75 views

Can i use closed source application for artworks or icon in my application for the showdown?

I want to develop an application for "ubuntu app showdown". Can i use Closed Source Application for artworks or icons ? like Corel or Photoshop or etc. (What if i use them with winehq in ubuntu?)
3
votes
1answer
287 views

GTK3 tabs with big icons

I want to implement something similar to the ubuntu software center's tabs. What widget is it? Any working example in python where I could take a look? Is this widget available in Glade? Thanks ...
3
votes
1answer
266 views

Can't add page in a notebook

I am having some trouble adding a page to a Notebook widget. The error I get is this: AttributeError: 'function' object has no attribute 'append_page' I assume this means the object pages in the ...
9
votes
2answers
819 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 ...
1
vote
2answers
904 views

Python, Gtk3 and Gstreamer

This isn't a really happy combination, but it does work for the most of the time. However, I just bumped into a problem with Gio.File. This will always result in TypeError and Python segfaulting: ...
3
votes
1answer
342 views

Use primary-toolbar with Mono

I am trying to create an application for the Ubuntu App Contest. And I defined image of the design, but I am having problems with it. Principally with the primary-toolbar design, so it would look like ...
1
vote
1answer
80 views

How to keep Text within GTK CellRenderers at center?

Hello I am using GTK3 CellRenderers in my project, but I want to put text within that at Center, how will I do that?
5
votes
1answer
308 views

How do I prevent webpages from stealing focus in Webkit?

I use a gtk TreeView to display different websites in my Python program. When the selected rows change, the web page is updated to the url field in the store. This works nicely, but a lot of web pages ...
0
votes
1answer
142 views

any basic app packaging guide for a newbie? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? i've made an app using wxpython, i have some .py files and some icons, how can i package it for uploading it to launchpad?? i've ...
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 ...
1
vote
1answer
258 views

Display and edit text and images in a quickly app

I need to be able to display images and text (images resizable and text editable). I was thinking maybe a HTML type thing could do this. For a really bad example like how a word processor works. ...
5
votes
1answer
345 views

Why does creating a new tab give me 'TypeError: Expected Gtk.Widget, but got GObjectMeta'?

def on_btn_new_subject_activate(self, widget): self.subjects.append_page(Gtk.TextView(), "Testing") I am trying to create a new tab on a text area but I whenever the signal is called by the ...
4
votes
1answer
355 views

Quickly Application making it run on startup

I have a PyGtk application that I made using Quickly, and I would like to have it run on startup when installed. How would I go about doing this? I'm not sure if sticking the .desktop file in ...
4
votes
2answers
430 views

How to add sub menus in appindicators?

I am using this code to try to add submenus in appindicator #!/usr/bin/env python import gobject import gtk import appindicator def clean_quit(w): print "in quit" gtk.main_quit() if ...
12
votes
2answers
737 views

How to Change Quickly's Editor?

I've just downloaded Ninja IDE and I really like it's interface. Is there a way to configure the Quickly app to launch my project in Ninja IDE when I type quickly edit?
3
votes
1answer
300 views

How to add widgets on GUI developed with Glade?

I am using Quickly and Glade for the first time. I want to add certain widgets such as label and buttons on viewport via python code. Is it possible?
0
votes
1answer
122 views

Teeview-Binding to CouchDB not working with quickly (PyGtk + Glade)

For the Ubuntu App Developer Showdown I need to know some basics about quickly. One really important thing is to know how the Treeview-Binding works with CouchDB. I did the Tutorial1 ...
6
votes
1answer
561 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 >>> ...
1
vote
3answers
591 views

Which framework/toolkit for modern unity applications?

I want to code some applications for ubuntu (no other platforms), but which gui-toolkit would be the "official" one... in the past (gnome) gtk+ was my choice, but afaik unity uses Nux. I don't want to ...
7
votes
1answer
123 views

Are the Ubuntu App Developer Showdown Workshops recorded?

I am a new developer who wants to participate in the Ubuntu App Showdown. I would like to go to the Ubuntu App Developer Showdown Workshops but its abit hard with my schedule. Will these workshops be ...
4
votes
1answer
391 views

How to run an application in /opt?

I want to know how one can run his application in /opt and installed in /opt. I want it for the ubuntu app showdown http://developer.ubuntu.com/showdown/ I will be using qt with qt creator and c++; ...
1
vote
1answer
66 views

Is a port of an existing program eligible for the App Showdown?

For example, the original program is Xlib based, and I port it to GTK3. What about porting my old gtk2-based app to gtk3? Are either of these two eligible for entrance into the App Showdown?
1
vote
2answers
241 views

Will Quickly + pyside work properly like any quickly application?

I was thinking of using Quickly but I don't like Glade and I want to use pyside. I want to start my starch. Should I delete all the files and create a pyside python file? Will Quickly still work with ...
2
votes
1answer
281 views

How to use quickly with c++

I wanted to know that how can i create application using c++ with quickly. Recently i wanted to use pyside with it so i deleted all the files in the main folder expect init.py And it works I wanted to ...
1
vote
1answer
112 views

How can I store variable changed by user?

I'm working on simple application for Ubuntu App Showdown. I'm relatively new to programming (started learning Python last week), so maybe this question sounds stupid. Anyway, lets say there's a ...
1
vote
1answer
157 views

Invalid syntax error when following “Creating your first ubuntu app” video

$ quickly run Traceback (most recent call last): File "bin/mybrowser", line 32, in <module> import mybrowser File "/home/michael/mybrowser/mybrowser/__init__.py", line 14, in ...
1
vote
1answer
156 views

Is there a recommended DB to work with Quickly?

CouchDB used to be the recommended DB to work with Quickly until 12.04, when it was dropped out. Now, I want to know if there is another DB recommended to replace CouchDB that works nicely with ...
3
votes
1answer
69 views

How to View Submitted Apps for the Ubuntu App Showdown

I was wondering how to view the submitted apps for the contest. I am rather interested in what others are doing and so that I can start viewing for the poll. Not to mention I want to try some new ...
1
vote
2answers
279 views

How to stop bzr from using ssh (asking a password) for downloading?

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?
0
votes
1answer
2k views

How to connect GTK3 button click events to callbacks

So, I'm developing my 1st app with GTK3 and I don't know how to link my buttons with their respective defs. Can anyone post a tutorial, an example or some docs? Using next things for developing my ...
2
votes
2answers
957 views

Open Custom Dialog Windows (PyGTK + Quickly)

I have just downloaded Quickly, created a new project, set up simple GUI and created new dialog (quickly add dialog create (as you can see, I called it create)). I already have click handler in the ...
2
votes
1answer
380 views

How do I access the preferences from my main dialog window? Also how do I add a new preference?

class PreferencesCalorieBurnerDialog(PreferencesDialog): __gtype_name__ = "PreferencesCalorieBurnerDialog" def finish_initializing(self, builder): # pylint: disable=E1002 """Set ...
2
votes
1answer
140 views

Java packaging and uploading to a PPA in Launchpad

I have a java application (created as a class) and I want to know how I can (or should I even) convert it to .deb format and then how to upload it to a Launchpad PPA so that everyone could install it? ...
2
votes
1answer
130 views

Is there a way to use the “primary toolbar” with QT or Java?

I am developping a software in order to compete in the Ubuntu App Contest, but I am having a problem. I started with quickly and glade, but since I am not very familiar with python, and since now the ...
1
vote
1answer
51 views

Where do I fill the App Showdown Participation Details?

I never submitted an app to the Ubuntu Software Center. Where do I fill this info? In the PPA? In a form in the USC?... Thanks in advance!
1
vote
1answer
2k views

Glade GTK entry get text

Sorry for a newbie question but I could not figure out how to print a text which a user enter in a GTKEntry field after he press a button. I design my app with glade, a simple TextEntry Field and a ...
3
votes
2answers
256 views

Quickly packaging errors

I'm having some trouble packaging my Quickly (Python/GTK) app. Creating and packaging a new app (created using quickly create test and cd test; quickly package) works just fine, but the actual app ...
4
votes
1answer
122 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 ...
2
votes
1answer
106 views

How to change project page name?

Hi I am taking part in the app showdown but I made a typo on my project while creating it. Can I change this in such a way that the page is changed too? My app name is liberedit however my typo ...
20
votes
3answers
4k views

How to start an app with “Always On Top” set?

There are a couple of applications that I find myself marking as "Always on Top" every time I use them, so I wonder if there is a way to automatically set them as so, whatever way I start them (menu, ...
3
votes
2answers
96 views

What is in the future for REVU

Now that there is the Post Release Apps Process in place and there is a big push to get new software into Ubuntu, what are the future plans for REVU? Will there be an application review board for ...
4
votes
2answers
1k views

Using AppIndicators with the Qt framework

Is there a class or library somewhere that makes it easy to use the new AppIndicator framework from within a Qt application? It seems strange that I should have to include GTK headers / libraries ...