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
2answers
2k views

Manually Created .deb, how do I upload to a PPA?

I have a manually created .deb, and I'd like to upload it to a PPA. My question is as follows: Is that possible? and If so, how do I do that?
15
votes
0answers
569 views

How do I put a package into the Ubuntu repositories? [duplicate]

Possible Duplicate: How to get my software into Ubuntu? I've created a Python application for Ubuntu. How do I package it and submit it for possible inclusion in the universe repository?
10
votes
2answers
557 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 ...
9
votes
1answer
112 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 ...
3
votes
1answer
156 views

How do I tell when a window demands attention?

Unfortunately, it appears Unity's subtle persistent urgency indicator has disappeared in Oneiric - so I'm now considering writing a replacement as panel/indicator applet. However, I have no idea how ...
4
votes
1answer
569 views

Will pygobject for Python 3 be included in 11.10?

Will pygobject of Python 3 be included with Ubuntu 11.10? I am interested in using the new features provided with GTK3 with Python 3 but I have been unable due to the complexity involved with getting ...
4
votes
1answer
140 views

Why doesn't my PPA show up on Launchpad?

I'm trying to create a project with Quickly, and to make it available on Launchpad through a PPA. I created a PPA (ppa:vetetix/quickgcal) and a project page (quickgcal). I added code, shared it, ...
2
votes
0answers
73 views

How do I get the new toolbar style in my pygtk app? [duplicate]

Possible Duplicate: What is the black header widget in some programs? I've noticed that I still have the old school gnome2 GtkToolbar style when I just run a simple glade/gtk application: ...
2
votes
1answer
110 views

How to add a rich control(not just MenuItem) for a applet like Rhythmbox [closed]

I want to write a small tools in the form of Applet, but not just a "applet". I want to show a listview or anything in the applet, unfortunly it seems that ONLY Menu/MenuItem can be add into applet. ...
3
votes
1answer
107 views

What does “libraries not eligible” mean as part of the application review process?

I read the application review process and I' ve got a question. In the "What Apps Are Eligible" section there is something which I don't understand: No other software can depend on the application ...
15
votes
1answer
1k views
7
votes
2answers
259 views

Dynamic shortcuts for Messaging Menu?

I'm Unity Mail developer and I wonder if it's possible to add a shortcut to Messaging Menu from within the application (it's written in Python). I need to connect it's user-display to a function in ...
1
vote
1answer
205 views

Can't get menus to show up in custom indicator

I am trying to get a menu to show in a custom application written in C. I create the GtkMenu, populate it with GtkMenuItem(s) and add it to the indicator, which shows up in the indicator list, but the ...
4
votes
1answer
240 views

What causes critical glib errors (when coding using messaging menu)?

If I run the python code below (almost entirely from this useful blog post) then I get three identical nasty looking error messages in the terminal. What might be causing them? I note the number ...
2
votes
1answer
302 views

custom libindicator icon is not displayed

I want to change the statusicon of my own little reminder program. Currently I am using GTK.StatusIcon but I want to use a ApplicationIndicator. Therefore I created an own Icon and moved it to: ...
4
votes
2answers
7k views

Adding icon to the system tray (notification area) [duplicate]

Possible Duplicate: How to program a status icon that will display in Ubuntu 11.04 as well as in other distributions? Hello, I have a small audio recording application programmed with ...
2
votes
4answers
255 views

What restrictions are there on paid applications?

If I pay for a program can I install it on the three computers I use on a daily basis? How is licensing decided or are there any restrictions on licenses used? Where are these kinds of ...
2
votes
1answer
268 views

How to create a new dash panel for my program?

I am developing a new AI chatbot assistant that i want to embed in the dash menu panel in unity. where do i go into the .* files to edit / create this? also can i code menus in python at all? ...
17
votes
3answers
12k views

Installing gtk development environment

Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk. What gtk packages do I need to install to ...
10
votes
2answers
738 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 ...
4
votes
1answer
782 views

How to create appmenu in using python3 and PyQt?

I am looking for a way to create appmenu indicator using python3.2 and pyqt4. Please help me.
3
votes
3answers
2k views

How do I get the names in my icon theme for use with pythons appindicator module?

How do I get the strings I can insert instead of 'gtk-execute'? #!/usr/bin/python import gobject import gtk import appindicator if __name__ == "__main__": ind = ...
8
votes
1answer
385 views

How to submit commercial apps to the Ubuntu Software Center? [duplicate]

Possible Duplicate: What is the process for getting paid apps into the Ubuntu Software Center? Why isn't there a clear description for developers on selling an app on the Ubuntu Software ...
14
votes
1answer
1k views

Is there a detailed API documentation on the python binding for appindicator?

I'm getting serous with a project of my own and need a good documentation on the appindicator module for python. What I've found so far: API documentation on dev.ubuntu.com Community wiki entry API ...
3
votes
1answer
300 views

Why does my Messaging Menu code not work when split into functions?

Below are two python programs. They're exactly the same, except for one is split into two functions. However only the one that's split into two functions doesn't work - the second function doesn't ...
2
votes
2answers
534 views

PyGTK - events from gtk.Menu in Unity global menu

I have an GUI application written in PyGTK and need to read key-press/release events from application menu. For example, when pressing shift key and click on menu item, do something else, then ...
1
vote
1answer
1k views

Virtual Serial Port for testing purpose

I am writing an application that communicate via a serial port to an external board. In this phase i need to test the serial protocol, but the external hardware is not yet usable. Is there a way to ...
7
votes
1answer
2k views

How can I play a system sound with Python?

I am writing a small reminder-app and want to play a system sound once the timer has reached 0. What is the easiest way to play that sound, and which sound would you recommend?
6
votes
2answers
493 views

Is it possible to alter and update the status icon of a running indicator applet?

I'm trying to create a simple application indicator that mimics the CPU load applet for the gnome-panel. I currently do this by updating (overwriting) the status icon of the indicator with the new ...
4
votes
2answers
1k views

How to distribute applications?

I am new to Ubuntu development. As a learning experience, I have written a custom chat application using qt4 and I want to deploy it in some sort of setup file. Whats the easiest way of deploying an ...
1
vote
1answer
251 views

Gtk SpinButtion in a Toolbar

How do I place a SpinButton widget on a Toolbar using GTK, or GTKmm?
8
votes
2answers
1k views

How to add a pygtk Widget to the Glade palette?

Say I've created a gtk Widget like this: class AwesomeTextView (gtk.TextView): def set_font(self, font_description): self.modify_font(pango.FontDescription(font_description)) How can I ...
7
votes
2answers
414 views

How do I control the position of an indicator created with appindicator.Indicator?

I've created a simple indicator in python using the appindicator module. However, it always shows up to the left of the existing indicators. Is there some way to control what position the indicators ...
14
votes
3answers
785 views

Developer documentation for the Messaging Menu?

The only documentation I have been able to find on integrating an application with the Messaging Menu is old and out of date: ...
10
votes
1answer
204 views

How should I display units in my application?

There is inconsistency in how various operating systems display file size units. Windows shows base 2, MacOSX shows base 10. Does Ubuntu have guidelines for this?
14
votes
6answers
2k views

Wanting to start development for Ubuntu (and most Linux distributions in general), which is suitable? Python or Vala?

I'm a computer science graduate, and learned languages like C, C++, C# and Java. Though I have more experience with Java. I want to develop for Linux and I'd prefer to develop for GNOME, I'm confused ...
8
votes
1answer
314 views

Would a Unity lens written for Unity 3D also work in Unity 2D?

I am thinking of writing a few lens features to link Unity into some business web applications, do I have to target both Unity variants separately or can I do one and assume the other will just work?
10
votes
3answers
3k views

Where do applications typically store data?

I was wondering if there was a standard location for storing user level application data. What I mean by that is stuff like Firefox bookmarks, Skype message history/password, etc. I'm asking because I ...
11
votes
1answer
1k views

What is the preferred way to store application settings?

From a developer's perspective. Should I use a text-based config in /etc or in $HOME? Or something else?
4
votes
1answer
661 views

How to add a MIME type with a project created in Quickly?

I've built an application I want to release however I would like the files to open with the application. I have modified the .desktop file accordingly, however quickly seems to have no option for ...
5
votes
1answer
328 views

Any good place to get started with Ubuntu desktop widget development?

Any good place to get started with Ubuntu desktop based widget development or any plugins based development? I'm looking for something similar to Yahoo Widgets. Are there any SDK ( Software ...
16
votes
2answers
1k views

Developing Unity compliant apps in Python - where to start?

I'm an experienced programmer who is interested in developing apps for Linux, specifically GTK, and more specifically apps that are Unity compliant. Aside from the obvious step of learning Python, ...
2
votes
1answer
84 views

Indicator menu from gtk.Builder ui string

I've created an indicator that I think should work, but doesn't. I've added the UI interface from a glade file, loaded it and added the menu to appindicator. The following is the entire source code ...
3
votes
1answer
260 views

How can I get html code from the web with vala(gtk)?

How can I get a html code from some site(e.g. www.google.com) using vala(gtk)?
3
votes
3answers
518 views

How to make a deb pkg for my pygtk app?

I write a pygtk app and want to make a deb pkg for it. $ tree WebPad/ WebPad/ |-- jspad | |-- __init__.py | |-- main.py | |-- t.py |-- pixmaps | |-- c.png | |-- run.png | `-- webpad.png ...
14
votes
1answer
724 views

How to enable overlay scrollbars in my app?

I'm testing my app in Natty 2nd beta, in which most applications are showing the new overlay scroolbars, I guess only non-native GTK apps can't show it (like LibreOffice or Firefox). My app is coded ...
5
votes
3answers
643 views

App Inventor for the Ubuntu platform?

Will Ubuntu have something like Google App Inventor to easily develop applications for the Ubuntu platform? Is Quickly intended to do that? I heard Ubuntu is planing to make easy and fun to develop ...
8
votes
1answer
910 views

How can I make Chromium app windows count as “their own application” in the Unity launcher?

I'm trying to add a Chromium app window (chromium-browser --app=http://example.org) to the launcher. I've put together a .desktop file and it works, but all instances of Chromium get lumped together. ...
1
vote
4answers
903 views

What are some IDEs for C/GTK2 [duplicate]

Possible Duplicate: C programing suites/IDEs What is the best IDE for C + GTK2 programming? I currently use gedit and try MonoDevelop.
2
votes
1answer
224 views

How do I run a script automatically when I start an app?

I want to run a script automatically when an application start. How would I do this without making the script run at start-up? My current approach is writing a script with an infinite loop and made ...