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
0answers
19 views

Publish button on Ubuntu-SDK not working

I am new to Ubuntu development. I am developing an application using HTML5. Its all set and running as required. But when I click on Publish button, nothing happens and screen freezes there. I am ...
0
votes
0answers
81 views

Error when running ubuntu phone emulator

I can launch the emulator in the devices tab, without any error. But when i try to run any html5 program/example, in the application output shows Warning: Permanently added '[127.0.0.1]:10000' (RSA) ...
0
votes
0answers
162 views

How to compile C/C++ applications for the Ubuntu BQ E4.5?

I run on my BQ E4.5 below the HOME of phablet in a jail a Linux based on vivid for ARMHF which is build as: $ mkdir myRoot $ cd myRoot $ sudo tar xzf ../vivid-preinstalled-touch-armhf.tar.gz $ sudo ...
0
votes
1answer
51 views

Why does click package validation fail?

I'm trying to publish an app for Ubuntu touch, but I can't get past the validation phase. I'm using Ubuntu SDK. The current build configuration is for device (armhf). I was able to run the app on the ...
0
votes
0answers
25 views

Use Ubuntu Lap(desk)top+UMTS-HSPA datamodem as SMARTPHONE

I have been advised to ask my question in Lanuchpad here too. I find that Ubuntu is focussing particularly into Smartphones / Calling Tablets. Very well. But I want to use our existing Lap(Desk)...
0
votes
1answer
310 views

Python GTK3 keyboard accelerators

I'm working on creating an application for Ubuntu using Python3 and Gtk3. I'm trying to add keyboard accelerators to the program but unfortunately I keep running into problems. This is my code atm: ...
0
votes
1answer
84 views

How to delete from an UbuntuListView?

I'm trying to learn how to use an UbuntuListView. Items will be added at runtime, but for demo I just hardcoded them. What I need is a way of removing existing list items. Here's my code and a ...
0
votes
0answers
215 views

How to keep model and view in sync for a QML List Item?

I have a list with multiple selection and a button. All list items are checked. When I click the button, I want the second item to become unchecked. I am also changing the displayed text (just for ...
2
votes
2answers
972 views

Ubuntu MX4 not detected on Ubuntu SDK

Just got hold of the Meizu MX4 which comes pre-installed with Ubuntu Touch. I have been using the Ubuntu SDK for some time now, today I tried to deploy a simple app onto the device. However, several ...
55
votes
13answers
13k views

What advantages does Ubuntu have over Windows as an environment for programming?

Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows? Do the features an IDE provides exist there (eg. showing ...
1
vote
1answer
78 views

Opencv with ubuntu-sdk

I am trying to use OpenCV with ubuntu-sdk for an app. I am using the qml app with c++ using the cmake template, downloaded the opencv source in the modules folder and added at the backend/CMakeLists....
0
votes
0answers
32 views

Develop on Ubuntu Phone

Is it possible, and if so, how can I develop/run qml-apps using only my Ubuntu phone? As example I refer to the Terminal-IDE apps on android... I have tried the Terrarium app but that's only to ...
3
votes
1answer
504 views

Buttons in ubuntu touch toolbar

What is the code to have a toolbar with buttons when programing in QML with the Ubuntu Components Module. I want to make it so that when I swipe a finger from the bottom of the screen the toolbar ...
1
vote
0answers
22 views

What is the correct way of using Qt 5.4 in my .deb package?

I want to create a .deb package for an application that I am working on, which depends on Qt >= 5.4 For some supported versions of Ubuntu this version is not available except via packages from a ppa. ...
0
votes
1answer
137 views

Ubuntu SDK unable to start in Ubuntu 15.04

in Ubuntu 15.05 I installed Ubuntu SDK, but I can't start it. I installed in Terminal: sudo apt install qtcreator-plugin-ubuntu And all dependencies. 292 new installed When I try to start in the dash:...
0
votes
1answer
258 views

Cannot start Qt Creator after updating to 15.04

My Qt Creator (from ubuntu-sdk) won't start after updating to 15.04. It gives this dialog after the window has opened: [3]+ Segmentation fault (core dumped) qtcreator Also I don't ...
0
votes
2answers
602 views

How to hide a GTK window in Python before call or os.system

So, I'm depeloping a Python/GTK app which, after showing an assistant, it hides the assistant's window and runs an external app. The problem is that window.hide() doesn't works if, after the command, ...
2
votes
1answer
285 views

How to open a browser when the TextEdit::onLinkActivated signal is received

I'd like to open a browser window to display the URL received by a TextEdit onLinkActivated signal. Is it possible to perform such call from the QML application?
122
votes
6answers
69k views

What is the best place to install user apps?

Occasionally I am installing application with something other than apt-get or the Package Manager. What is the "best practice" location for installing user apps? (/usr/bin/, /usr/local/bin/, /opt/, ...
1
vote
1answer
66 views

What is a good Bazaar cheat sheet for the most common tasks?

Plenty of documentation out there, but it seems to be either an introduction tutorial (aka not a cheat sheet), or a technical cheat sheet with too many commands (aka the manpage). Is there a good ...
0
votes
1answer
53 views

Ubuntu Scope with Framework 14.10 - Intltool

Recently, I want to create a scope project, but then I found the following error when running CMake: CMake Warning at CMakeLists.txt:26 (find_package): By not providing "FindIntltool.cmake" in ...
1
vote
1answer
130 views

Ubuntu SDK on Kubuntu

I plan to switch from Windows to Linux long term. I just installed my first Kubuntu (since I like Qt) system in a VirtualBox VM hosted in Windows to get familiar with that system (and Linux in general)...
0
votes
1answer
193 views

QtWebSockets not available on Ubuntu Touch

I'm developing an Ubuntu Touch application which communicates with a server using WebSockets. Qt offers its own API since version 5.3, which can be used from a QML file by adding import QtWebSockets 1....
3
votes
2answers
152 views

Under the hood, what is Quickly made of?

under the hood, What is Quickly made of? It's a wrapper to python? It's a compiled language? It's portable? What about the architecture and the design?
-1
votes
2answers
164 views

I want to run a script to start the server automatically at system Ubuntu 14.04 Server

I've done anything like this I made a symlink in /etc/init.d: sudo ln -s /home/sts/erp-enterprise/bin/jleaf-apps /etc/init,d then I run the command: sudo update-rc.d jleaf-apps enable then appears: ...
0
votes
2answers
164 views

Android program execution in studio not detecting installed KVM

I have installed KVM for virtualization for AVD in studio, after running the following command: kvm-ok The output is: INFO: /dev/kvm exists KVM acceleration can be used So, by all this i can ...
1
vote
2answers
957 views

How to build gtkparasite

i'm not able to build gtkparasite when i run: ./autogen.sh i'm get this error checking for GTK... no configure: error: Package requirements (gtk+-3.0 >= 3.10.0 gtksourceview-3.0) were not met: ...
2
votes
1answer
52 views

Ubuntu Software Center: The upload does not appear to be a valid click package

I'm trying to upload an application to the Ubuntu Software Center and have encountered this error when uploading the .deb file: The upload does not appear to be a valid click package. What is the ...
0
votes
1answer
103 views

How to identify programically in QML app, where is located my sqlite database file

I have QML application which use as well C++ . From C++ I need to connect to DB ( sqlite ) . For this I need to know the exact name and location of the database file . How to identify it ? Or how to ...
1
vote
0answers
43 views

App permissions

I am developing a simple sound recorder using Qt Creator. It uses the QAudioRecorder class and Qml. The app compiles and runs on the desktop during testing and I am able to play back the recorded ...
0
votes
1answer
50 views

Is it possible in Ubuntu app, start C++ function from javascript?

I have application using QML and C++ and want to start C++ function from javascript . Is it possible ?
1
vote
1answer
228 views

Ubuntu Touch app development [closed]

I would like to try out Ubuntu Touch app development, and I have a few questions that hopefully some of you will be able to answer... I'm intending to use HTML5. - Do applications have to undergo a ...
1
vote
0answers
145 views

Unable to test Ubuntu Touch applications on ubuntu-emulator (ubuntu-sdk)

I've followed every step of the Ubuntu SDK documentation, as detailed here. I am able to create different types of projects, compile and test them on my desktop. I am also able to run the Ubuntu Touch ...
1
vote
0answers
55 views

Ubuntu Bottom Edge

So Canonical always presents the "great" Bottom Edge feature of Ubuntu Touch but how do we actually implement it? Do we have to implement it ourselves? I have not found any information about it in the ...
1
vote
1answer
39 views

Does an application need root permissions if it modifies files in the “/” directory?

I'm creating a program for Ubuntu that involves creation of files within the folder where the code is present. What I want to know is: When a .deb package is installed, where do the contents go? If a ...
3
votes
4answers
140 views

Juju support for Google Compute Engine GCE

Is Juju supported for Google Compute Engine on the roadmap? If yes, how?
2
votes
1answer
248 views

AppArmor denial when trying to open file using content hub

When trying to open a file using content hub using C++ I get these errors: Opening with peer com.ubuntu.music_music_2.1.857 Sdk-Launcher> Application was resumed Sdk-Launcher> There has been a ...
1
vote
1answer
133 views

Why does my app not load the translation files of the lib

I have an click app that depend on some lib, and i have package that lib in the click package. the lib loaded well. but the translations file (.mo) are not founded. my click file free look like this: ...
1
vote
0answers
25 views

In Ubuntu which tool we use for disk-defragment? [duplicate]

Can Ubuntu have any disk-defragment tools, like Microsoft Windows. Or any other tools equivalent for it? I read: Defragmenting tools
0
votes
1answer
90 views

QML WebView does not want to start in Emulator

When opening WebView in emulator I got this: LaunchProcess: failed to execvp: /usr/lib/arm-linux-gnueabihf/oxide-qt/chrome-sandbox
2
votes
1answer
248 views

Ubuntu Touch App with Simple UI (QMake) - how to connect C++ to QML

I've noticed that the Ubuntu SDK now has a template for an 'App with Simple UI (QMake)'. This creates a C++ Ubuntu application project with a sample UI containing a Label and a Button (Needs a 15.04 ...
2
votes
2answers
18 views

Why PageStack won't send property?

I have a basic code but it's impossible to send a property to an external page This is my main.qml : PageStack { id: pageStack Component.onCompleted: push(pageMain) Page { ...
5
votes
1answer
483 views
4
votes
1answer
63 views

Is Juju a suitable tool for development as well as deployment?

One of the great conveniences I've found of using docker is that it allows me to guarantee the environment my code is running in is very similar, if not identical, to the environment it will run in ...
8
votes
3answers
15k views

How can I create a new socket in /dev?

I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
2
votes
0answers
36 views

Application rejected on myapps.developer.ubuntu.com. What can I do?

I submitted a desktop application on myapps.developer.ubuntu.com long time ago. But it was rejected today with the following reason: This package submission process is now deprecated. To provide my ...
4
votes
1answer
784 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
0
votes
1answer
40 views

Quickly fails to package help pages

I have been working on making a program (jekyll-helper) using Quickly and a while ago I worked on adding some content to the default help pages. I tested out open the help pages in the program while ...
2
votes
0answers
84 views

Can't start ubuntu-filemanager-app in emulator

I downloaded ubuntu-filemanager-app opened the project in UbuntuSDK and want to run it in Emulator , but I get this error: 23:49:37: Running steps for project ubuntu-filemanager-app... 23:49:37: ...
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 ...