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
11 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
17 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
11 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 ...
-1
votes
0answers
14 views

Ubuntu SDK Design

OK, so i have a question, i don't know if it's me or others, but i would like to know when or is the design mode going to be fixed?? "import Ubuntu.Components 1.1" for example. I tried, the ...
1
vote
1answer
20 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 ...
-1
votes
0answers
16 views

community shout-out [closed]

I am in need of tech help for an idea that I need help implementing. I am currently building versions 2.0, 2.1, and 2.2 of my emc (you can view version 1.2 here: Emc I want to use a ...
0
votes
0answers
16 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 ...
1
vote
0answers
12 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. ...
2
votes
0answers
19 views

How to create local repository for Ubuntu Snappy

How to create local repository for Ubuntu Snappy? For example I use reprepro to create Ubuntu repository for deb packages.
0
votes
0answers
8 views

Ubuntu touch sdk and qmake

I have such structure in my project: core-lib desktop-client android-client ubuntu-client and so on... How do I specify in profile, which projects to include for builds? For example for ...
0
votes
1answer
19 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 ...
1
vote
1answer
27 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 ...
1
vote
1answer
36 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 ...
1
vote
1answer
27 views

Ubuntu Touch webapp icon

Why not change my webapp icon for 'ubuntu-touch' after updating? Apparently it is properly updated in the app store, but when I install it, no. I've created the icon following this guide >> ...
0
votes
0answers
72 views

No avds found by ./emulator -list-avds . Do i need to install avds? How to do so, if yes?

I have installed android SDK in /opt. When i run: cd /opt/Android/android-sdk-linux/tools sudo ./emulator -list-avds I do not get anything printed on terminal. But from Android Studio under SDK ...
0
votes
1answer
42 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 ...
0
votes
2answers
34 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 ...
0
votes
0answers
17 views

Is it acceptable code style to leave binding loops in QML applications?

Backstory: I am working on a patch for the ubuntu-filemanager-app that will shrink the fontSize: for a Label {}, if the width: is larger than the window size. Think this: Label { id: myLabel ...
0
votes
2answers
150 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 ...
1
vote
1answer
44 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 ...
2
votes
1answer
21 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
0answers
33 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 ...
1
vote
1answer
98 views

How do I simply run an ubuntu touch app from the terminal?

I've got a qml file and I just want to ssh to the phone and do qmlscene myfile.qml Is it possible without doing all that stuff with SDK and packages? Just vim and some simple commands that can fit ...
0
votes
0answers
44 views

Windows phone app developer

I was using visual studio before for developing windows phone apps but now that i have shifted to ubuntu i have no access to any IDE for developing windows phone apps ... i tried mono studio but i ...
0
votes
0answers
24 views

How to get and install qt header and libraries in specific folder?

Where do I get qt header and libraries from? And then how do I install qt header and libraries in specific folder?
0
votes
0answers
27 views

QML app developpement, how to access system organizer (events)

I searched for a long time about this but can't find something relevant. I'm starting to develop with Ubuntu SDK and QML. I would like to access the system organizer in order to read the next events ...
1
vote
0answers
51 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
1answer
34 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 ...
0
votes
1answer
29 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
40 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
37 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
43 views

Python NameError: gloabal name 'resolution' is not defined

I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers. In order to do this I've been using xrandr. However ...
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
2
votes
1answer
103 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
61 views

Show JSON in QML without list [closed]

I would like to display data from a JSON file in my application for Ubuntu Touch. But the data is displayed only in list, how to display it differently? My code : function load() { ...
0
votes
0answers
13 views

How do I load directory in geany using Treebrowser plugin?

When I searched on Google for loading directory in Geany IDE, the very first result was the Treebrowser plugin for Geany. I have installed it and activated it from the plugin manager in Geany. Now, ...
1
vote
1answer
72 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: ...
0
votes
0answers
45 views

I want to run a script on boot 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 ...
-1
votes
2answers
57 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: ...
2
votes
2answers
7 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 { ...
0
votes
0answers
33 views

How to use Ubuntu.Components.Icon?

I am using the Ubuntu.Components.Icon component from Ubuntu SDK to display an icon (as a map marker). I also tried to place the component on a blank page, but I alays get the same error: ...
3
votes
1answer
27 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 ...
2
votes
0answers
24 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 ...
0
votes
1answer
23 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 ...
0
votes
0answers
30 views

can't deploy application to emulator : SFTP initialization failed: Server could not start SFTP subsystem

Such error I got when try to run my app in emulator : 11:01:33: Connecting to device... 11:01:34: SFTP initialization failed: Server could not start SFTP subsystem. 11:01:34: Deploy step failed. ...
0
votes
1answer
35 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
1
vote
0answers
136 views

Python app crash after sending command “GPIO.setup( 7, GPIO.OUT)”?

Python app crash after sending command "GPIO.setup( 7, GPIO.OUT)" !!! Action step: pi@rp:~$ python3 Python 3.4.3 (default, Mar 26 2015, 23:09:09) [GCC 4.9.2] on linux Type "help", "copyright", ...
0
votes
1answer
104 views

Visual Studio alternative for Ubuntu? [duplicate]

I write programs in Windows casually (apps like notepad, web-browser etc.). But I don't see a good alternative available. I have used Mono but it is not one bit like Visual Studio. I am having a tough ...
2
votes
0answers
42 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: ...
0
votes
1answer
29 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 ...