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
votes
1answer
88 views

How to submit article in reddit for the app showdown? [closed]

Why i can't submit an article in reddit? Isn't it approved or what? i see it in my profile, but i don't see it in new articles...
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 ...
1
vote
2answers
197 views

Why does “quickly share --ppa share” abort with a “can't create” error?

I can not figure out what I am doing wrong. The package builds ok with quickly package, I could submit it, but I can not update my ppa. Here is what I got: desgua@desguai7:~/quickly/sbk$ quickly ...
2
votes
1answer
2k views

In development based on Quickly, why do codes start with “from gi.repository import Gtk”?

I am developing apps in Quickly. Default codes start with from gi.repository import Gtk. Why is it so and not simply import gtk for example? The point is, a lot of tutorials, documentation and forums ...
2
votes
2answers
140 views

How do I call a function in Quickly?

How to call function in quickly? Here is my code: def finish_initializing(self, builder): # pylint: disable=E1002 super(projectWindow, self).finish_initializing(builder) self.AboutDialog = ...
3
votes
1answer
116 views

Can something be installed in /usr by my app showdown project?

I am working on a project for Ubuntu App Showdown Contest (https://launchpad.net/wuuzy) and I wanted to know if it is possible to install things like libraries in /usr. My project, in fact, use an ...
0
votes
1answer
64 views

How do I include image in my app from a url?

How do I add particular images which is situated in given url, in my app , can I do it in glade?
4
votes
2answers
969 views

Creating widgets using GtkBuilder

I am using Glade to design a Box with widgets and then load these widgets into my UI at run-time. To create each Box with widgets at run-time, I create a new GtkBuilder, call add_from_string passing ...
3
votes
3answers
119 views

How do I create a Debian branch for my project on Launchpad?

I have a project on Launchpad that consists of a single branch (trunk). I would like to create a second branch that contains the Debian packaging for the project (with the intent of creating a build ...
0
votes
2answers
454 views

Is this Ubuntu One DBus signal connection code correct?

This is my first time using DBus so I'm not entirely sure if I'm going about this the right way. I'm attempting to connect the the Ubuntu One DBus service and obtain login credentials for my app, ...
2
votes
1answer
50 views

How do I make an amd64 version of my application?

I am here because I am able to successfully upload the i386 build of my program to launchpad, but I have no idea how to create a native 64-bit application. Your help would be greatly appreciated.
-1
votes
1answer
86 views

how to upload a package to launchpad ?? please help step by step?

I got this error while uploading. apport is set to ignore crashes in this version of bzr. bzr: ERROR: pycurl.error: (28, 'SSL connection timeout at 297257') Traceback (most recent call last): File ...
5
votes
1answer
692 views

How do I force a redraw using python in gtk3?

Apparently, in Gtk3 the 'expose' event/signal is replaced with the 'draw' signal. How do I force a redraw using python in Gtk3? I was not able to find any window invalidation function.
0
votes
1answer
276 views

Quickly: how do I return entered data into parent window?

at last I started a simple project (you tube video downloader) in quickly , But got stucked . I added youtube url entry dialog using quickly add dialog command and ;linked it to new button . How ...
3
votes
3answers
217 views

What is mean by application must run out of /opt?

when I was going to rules of Ubuntu Apps Showdown, I found this rule: Application must run out of /opt. What is means by this? Checkout Rules: http://developer.ubuntu.com/showdown/
1
vote
1answer
204 views

Quickly/Glade linking a button to notebook page

Hey everyone (boy I seem to be posting quite a bit), I have a question regarding Glade and Quickly. Is it possible to map a button to a notebook within the same program. Like say for instance I have a ...
1
vote
1answer
90 views

Ubuntu App Submission won't allow the “free” bubble to be checked

I am at the final stages of the Ubuntu App Developer Showdown, and I'm right at the point where I am submitting my app. The problem I run in to however, is that even though buy is at $0.00, it will ...
3
votes
0answers
156 views

“Python module helpers not found” error when using Quickly [duplicate]

Possible Duplicate: Quickly packaging errors I am here asking why quickly is displaying this: ERROR: Python module helpers not found ---------------------------------- Do you want to ...
2
votes
2answers
130 views

Where can i find the ubuntu-one brand (logo)?

In order to put some contents into ubuntu one, i'm looking for the ubuntu-one brand. I found this website, but they aren't talking about ubuntu-one. Does someone know where i can find it ? We are ...
0
votes
2answers
101 views

Writing to a file

def loadSubredditConfig (self): self.builder.get_object ('cbxR').remove_all () path = os.path.join (xdg.BaseDirectory.xdg_config_home, 'RedThat', 'subreddits') if (os.path.exists (path)): ...
3
votes
1answer
101 views

Where do I install a .desktop launcher for my Showdown app?

That's all in the title...to be valid and to be read by launchers (like Unity dashboard) a .desktop file must be in /usr/share/applications or in /usr/local/share/applications but a foundamental rule ...
1
vote
1answer
93 views

How do I write and submit applications for Ubuntu?

I've been a Linux user for a while, and C++ programmer for a while longer. Is there a way to write applications for Ubuntu, and how to submit them?
0
votes
1answer
165 views

Running a terminal-type command in my application

I want to create an Ubuntu Application which has a GUI for a CLI-application. I want to run a terminal command, for example, on a button click in my application. How can I do this? Or should I really ...
0
votes
1answer
50 views

GtkPositionType

The problem is that I have to use function attach_next_to() on grid, but the optional parameter of that function is GtkPositioType for side on which I can attach some new widget od the grid. What ever ...
2
votes
1answer
3k views

How to draw on mouse click in Gtk.DrawingArea using pygi

I am writing a small application using PyGI which will interactively draw a line on a Gtk.DrawingArea between mouse clicks. But I am unable to figure out how to draw using the cairo context at the ...
1
vote
2answers
93 views

How do I launch the app from within `quickly test` for gui testing?

I'm trying to use ldtp to test my quickly app. ldtp.launchapp('bin/myapp') doesn't work because myapp requires whatever voodoo quickly sets up in order to actually launch the app. How can I get ...
0
votes
1answer
64 views

Quickly/Glade autoadjust text position

In Quickly/Glade, is it possible to keep the text (well, labels) centered, so when I maximize my program's window, the text stays centered? It's probably something easy to do, but I have been unable ...
1
vote
1answer
90 views

Set up apt-get remove commands in deb file (dh_make)

So, I'm trying to package my Python app, Virtuam. My question is simple: how can I set the commands which run when I remove the program using apt-get?
0
votes
1answer
257 views

WebKit.WebView - wrap content

Currently, I have my WebKit.WebView in a ScrolledWindow, because otherwise my window would resize to fir the content. In stead, I would like the content to adjust to the container. So text should ...
0
votes
1answer
110 views

Problem with 'insert_at_cursor' attribute

I made something, so after clicking a button, some text should appear in the TextView. Part of my code: def on_button1_clicked(self, builer): self.writetest = ...
1
vote
1answer
4k views

How to change GtkWidget background in GTK3?

I'm trying to use override_background_color on some GTK3 widgets but they still showing up with the default background color.
0
votes
1answer
147 views

Adding button to grid in Quickly

In Glade I made a grid 3x3 ad name it grid, I got instance of grid with self.grid = self.builder.get_object("grid") and then I want to add for example a button on that grid when some other ...
1
vote
1answer
180 views

Quickly add Scrolling to Window

while creating my ubuntu application, I wanted to add in several images and then allow the user to scroll through them. The problem I am having, is that it just cuts the image off, and there are no ...
3
votes
2answers
248 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 ...
1
vote
1answer
146 views

GTK+ Custom Accelarator Groups

I have successfully manage to add an accelerator to a menu item with the gtk_widget_add_accelerator() function. What bothers me is how i can add a custom accelerator that widget.With the first ...
1
vote
1answer
133 views

How do I use the Unity methods in Quickly's python code?

How do I use the Unity methods in Quickly's python code. All I want is an example of a few methods, like quicklists, notifications, indicators, etc.
0
votes
2answers
83 views

Quickly & Ubuntu App Developer: Returns “State: Failed to build” [duplicate]

Possible Duplicate: Launchpad failed to build after “quickly submitubuntu” I created an app for the Ubuntu App Showdown and I'm trying to upload it to the Ubuntu Software ...
0
votes
1answer
310 views

Webview load specific URL (Quickly/Glade)

I was watching the Ubuntu Developer video about creating your own browser using webkit, but I was wondering if it would be possible to make webkit load a specific website. For instance, if I was to ...
3
votes
1answer
172 views

Ambiance theme text stays black -

I have used Jono Bacons creating your first ubuntu application to discover how to theme toolbars using the ubuntu theme. I followed the exact same code and the program loads with a black toolbar, ...
2
votes
1answer
250 views

How to reference to .desktop file? (installed in /opt) in a dynamic quicklist?

I'm trying to create a dynamic quicklist for an application I'm developing in quickly. This is the line of code I use to try and connect to the .desktop file: self.launcher = ...
0
votes
1answer
213 views

Opening a Window within an already open window (Quickly/Glade)

I have a question regarding window and button implementation. If I have a toolbar set up, and I have a button on it, is it possible to get it to open a window right within the program? I mean like ...
0
votes
1answer
135 views

Opening 2 top level windows (quickly/pygtk)

Is there a way using quickly to have an appliaction have two completly seperate windows (not a window with a dialog) And be able to open each of the windows from each other and maybe even also from ...
3
votes
1answer
393 views

Maximize and Minimize Buttons disabled on my Quickly application

I was editing some basic settings in my application window design in Quickly/ GTK when I noticed that when I ran my app there was only a close button, not a maximize or minimize button. I know this is ...
0
votes
1answer
1k views

Glade Widget Color

I start to get familiar with glade and quickly but one thing I can't figure out. How can I set colors, e.g. background colors or label font colors? Can I do this in Glade or do I have to do it in ...
0
votes
1answer
67 views

Is porting a game to Ubuntu fine for the Ubuntu App Showdown?

I created a mobile game for Android and iOS about months ago. I am porting it to Desktop and would like to join the contest with it. Is this OK? My other question: Is it okay to participate now or ...
1
vote
1answer
182 views

Quickly message box

How to make message like this using Quickly
2
votes
2answers
167 views

Why does GtkCalendar counts months from 0?

So I spent several hours in rage, figuring out why isn't my code writing to the /sys/class/rtc/rtc0/wakealarm correctly. The problem is that it doesn't return anything if the value is wrong. And ...
3
votes
1answer
726 views

PyGTK: Opening Links in Default Web Browser

Is there a way to create a Gtk.Button("http://www.google.com"), when clicked will open the system default Web Browser using the label as the URL? What I could do is... import os button = ...
2
votes
1answer
28 views

Would the use of nepomuk be allowed in the app developer contest?

Ive recently switched to the platform and don't remember if installed it or it came with the system. Would Nepomuk be considered part of the allowed packages?
8
votes
1answer
347 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 ...