Tag Info

New answers tagged

0

You can't integrate with the date/time/calendar indicator AFAIK. You can't add fancy custom menu items either: http://askubuntu.com/a/57276/67335. So you're left with writing your own indicator which would have a menu and that menu would then launch your config dialog containing the calendar or whatever you needed. To get you started: ...


0

To save you writing your own indicator... ...you could install indicator-sysmonitor, then create a shell script to monitor the port and add your script to the indicator. Rather than a red/green icon, you'd have to settle for a text label to indicate state.


0

The proper way to solve this would be to add in -I/usr/include/gtk-2.0 as part of the compile command. However, ideally, this isn't directly included. Instead, the pkg-config tool can provide the CFLAGS to add and the libraries to link to (in the ld command) for the required libraries. The libgtk2.0-dev package ships with 5 different pkg-config files: ...


0

Probably you tried to upload file in the click apps tag . Use this link to upload desktop apps


3

I am not aware of any working solution involving qtcreator. You could of course set up a tmux/vim solution to collaborate on code edition but there's many features an IDE provides that can't actually be easily shared with your co-writers. See [Qt-creator] Collaborative Editing


1

To test the app in your device, just plug the device to your development pc using a USB cable. Assuming that your device is recognized by the OS, from the terminal and in app's root directory type: cordova run --device Cordova should build the app for your device's platform (assuming you have added a platform during development), copy it to the device and ...


0

Start with installing the Ubuntu SDK. You can find some information about how to upload your application to the Ubuntu Software Center here.


0

Even I had a similar question, bu found this awesome answer on this site- What is the best way to develop apps for Ubuntu? I think this should solve your questions. Please tell me if you have any other doubts.....


2

The Friends API is being dropped from the supported frameworks, and friends-service will also be dropped from the framework definition for 14.10. The friends-service on the phone will be available as long as the 14.04 framework is supported, but it will not be allowed by the SDK when targeting 14.10.


3

There's no built-in equivalent, but you can reproduce this behavior by setting up a message handler in a user script that triggers an event in the DOM that you handle in the HTML document. For each of these steps, the code to be executed is passed along. For a simple example: oxide-test.qml import QtQuick 2.0 import Ubuntu.Components 0.1 import ...


0

Do you have a map/navigation application? If you do, then I expect that you would be able to set a marker on the actual map and then use navigation prompts to get you back to your vehicle. There is a Google Now card that does this (seems to work OK on my Android).


0

Except for the Bluetooth compatibility there is no other software compatibility device in Ubuntu. Having its demand in future they may get it soon. The upcoming android auto may help you with a number of safety features. copart auto auction


-1

sorry i'm so late but that's it this is how to make an os command on php <?php shell_exec("os command"); ?> <?php // lets try to download file shell_exec("wget filename.zip"); ?> //Usage : let's make a youtube downloader for name this index.htm <html> <head> <title>youtube Downloader</title> </head> ...


0

Mir is a display server . so it is a low level componet . So you can simply use qt or gtk(under development) for mir display server . binding of mir with these tool kit will do the job . you don't have to worry about it :-)


1

Depending on your current used theme, you can either (which is more likely and easy found out) edit/change/modify the graphics .svg or .png, like shown in the screen-shot below or by changing the color-coded values for visually drawn window graphics in the themes .ccs files. Find out, what theme you are using. Browse through the graphics folders (first) to ...


1

The traditional way to make a GUI using python is Tkinter, How ever there are a lot of libraries which listed here https://wiki.python.org/moin/GuiProgramming


2

Developing applications in Linux isn't really a distro-specific endeavor. Your software, once built, just needs to be packaged for the distros you care about (RPMs for distros that use yum, debs for distros that use apt, or just wheels via PIP). Unless you're pulling in strange dependencies (which you should avoid anyway), you will not need to do any extra ...


0

QtWebKit is not the supported API in the SDK to use for phones. You need to use Oxide instead. You can do this with: import com.canonical.Oxide 1.0 It provides mostly the same API as QtWebKit does.


0

def on_button1_clicked(self, widget): print "No Selected" subprocess.call('no-tour', shell=True) There was an issue with the indentation with this code. The def line had to be in the same line as the def finish_initializing.


1

QML provides a partially-functional version of XMLHttpRequest. It's good enough to load text files from the local files system, but that's about it. An example: var request = new XMLHttpRequest() request.open('GET', 'test.txt') request.onreadystatechange = function(event) { if (request.readyState == XMLHttpRequest.DONE) { lines = ...


5

I think Writing indicators with Python, GIR and GTK3 ,as mentioned by @fossfreedom, covers how create indicators for Unity. (Read that 1st) I'm using Ubuntu 14.04, Quickly 12.08.1 . This is demo for a complete working example build from a Quickly template. OP wants just indicator (not complete GUI app) so let's start with ubuntu-cli Quickly template: ...


0

I found these videos to be valuable starting point: Programming with Qt Quick 1/6 - Meet Qt Quick Part 1 Programming with Qt Quick 2/6 - Meet Qt Quick Part 2 Programming with Qt Quick 3/6 - Visual Elements Part 1 Programming with Qt Quick 4/6 - Visual Elements Part 2 Programming with Qt Quick 5/6 - States Animations Programming with Qt Quick 6/6 - C++ ...


3

This link will teach you to create a basic new mail indicator in python+unity, which works with GMail. This will give you a solid grounding in the basic structure of an applet while providing a real-world (albeit simplistic) example that you can easily extend. It's go through the final script piece by piece. This is another python program with comments in ...


1

debian packaging feature is not available for qt creator , If you are intersted , you can create a qt creator plugin for that . currently ubuntu plugin for qtcreator support click packaging , but it is available for qml apps only :-)


1

You can see the up-to-date list of supported frameworks here: https://docs.google.com/a/canonical.com/spreadsheets/d/1t_JGpg4r8BLluzfzmqa-gAbcKUjKUOufSCTSdPpFc5g/edit


0

To properly install an icon for an application use xdg-icon-resource. The image files must be one of the types: PNG, XPM, or SVG, and the extension must be ".png", ".xpm", or ".svg" (lower case). If a corresponding .icon file exists in the same location as icon-file it will be installed as well. For .svg files xdg-icon-resource install --novendor ...



Top 50 recent answers are included