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

0
votes
1answer
197 views

How do I programatically edit label widget in the runtime

How do I programatically edit label widget in the runtime , I am using quickly I tried self.title=builder.get_object("title") for initialising and def update_Label(self,url): ...
10
votes
1answer
706 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 ...
5
votes
1answer
6k 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 ...
1
vote
1answer
148 views

How to create a GLib.TimeVal from timestamp?

I have a value such as 'timestamp' below, where the last three digits correspond to milliseconds. timestamp = 1340830988768 I currently have code that looks like the following: import indicate ...
4
votes
3answers
790 views

How do I get tutorial for ubuntu application development

I would like to participate ubuntu appshowdown contest If I got time in this exam season . Before that I wanna learn python &pygtk to create native ubuntu apps . How do I get tutorial for it ? ...
0
votes
1answer
89 views

Remove a Custom Dialog Windows (PyGTK + Quickly)

Do Quickly have a remove dialog command? Like: quickly remove dialog <dialog-name>
2
votes
2answers
127 views

Ubuntu App Showdown: Commercial applications

Me and a few of my friends decided to create a game for the App showdown. However, we wanted to make a commercial game out of it (for <5$). So the question is: If I want to submit a commercial app, ...
-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
1k 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
192 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
1k 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
115 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
923 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
116 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
411 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
83 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
558 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
254 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
213 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
193 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
129 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
98 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
98 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
91 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
48 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
81 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
88 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
234 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
97 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
3k 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
140 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
161 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
234 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
132 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
123 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
287 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
170 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
245 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
201 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
129 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
374 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 ...