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
2answers
593 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
273 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?
118
votes
6answers
67k 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
65 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
52 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
124 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
0answers
215 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
184 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
163 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
154 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
941 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: ...
0
votes
0answers
41 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 ...
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
97 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
224 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 ...
0
votes
0answers
296 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
173 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
39 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
138 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
235 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
131 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
87 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
245 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
452 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 ...
5
votes
3answers
5k views

QML: Simplest way to write to a text file?

QML at the moment lacks basic system commands, so I am looking for the most simple template to write to /tmp/text.txt.
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
771 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 ...
0
votes
1answer
2k 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
2answers
108 views

File access outside application directory

I want to know is it possible to access files outside the application directory? e.g. /home/phablet, /media, etc. Okay, so precisely I want to use QDir and QFile to read the folders and the files ...
1
vote
1answer
50 views

Installing development libraries on 14.04

I am trying to build some application for both amd64 and i386 architectures. Host architecture is amd64. So i compile and link with -m32. Compilation is done ok but linker cannot find libraries. ...
2
votes
2answers
292 views

How can I create a debian package for MediaWiki 1.25.1?

I would like to create an easily installable debian package (.deb file) for MediaWiki 1.25.1 as I know from personal experience that for web programming noobs like myself, installing MediaWiki can ...
0
votes
1answer
88 views

'ReferenceError: contents is not defined' with U1db

I'm trying to read information from a database of U1db. I encountered this error 'ReferenceError: contents is not defined' Here's my code: import U1db 1.0 as U1db U1db.Database { ...
0
votes
1answer
196 views

Qt Multimedia doesn't seem to work on Touch

Using Qt package 'Multimedia' to get cameras on the bq phone: QList<QCameraInfo> cameras = QCameraInfo::availableCameras(); cameras.size() always returns zero. Host 14.04, target 14.10, Qt 5....
0
votes
1answer
91 views

Invoicing Visual Basic software replacement or web application?

I have a pc that is still fairly powerful but with Windows XP (Pentium 4 3Ghz 4 Gb Ram). It is used by someone who is not computer expert (I would say a really basic user) only for browsing and ...