Tag Info

New answers tagged

1

You might also need to call view.showFullScreen(); Not sure what other languages you are using, but usually this needs to be called. You can also switch the other view to "Windowed" while the window that is suppose to be full screen should have visibility: "FullScreen"


1

You have basically 2 ways to do this: in your desktop file, update the Exec= line by adding --user-agent-string='Your UA' to it, add a webapp-properties.json file in your webapp folder such as: http://bazaar.launchpad.net/~dbarth/+junk/webbapp-whichbrowser/view/head:/webapp-properties.json there is a small caveat here, you have to move your other ...


4

If you prefer command-line way, yes you can do it with the following command. But you need to make the shutdown command that does not require your password to run by editing the visudo file: rsync -ap /source /destination && sudo shutdown -h now The -P or --partial flag prevents incomplete files from begin deleted if there is an interruption. If ...


0

Maybe for long action, you'll be lucky scanning regularly for instance the "ps ax" results, but no warranty for short actions... (and also won't work neither for the "selected this element", nor "clicked on this icon") What is your real need ? Is it a kind of spy ? or is it to replay some actions (like for regression tests) ? [then look at robots or ...


0

The way to install Qt 5.*: For Debian family: sudo apt-get install build-essential libgl1-mesa-dev For Fedora family: sudo yum groupinstall "C Development Tools and Libraries" sudo yum install mesa-libGL-devel For OpenSUSE family: sudo zypper install -t pattern devel_basis


0

According to http://www.omgubuntu.co.uk/2015/01/ubuntu-phone-bq-photo-scopes-details "To use a clunky analogy to illustrate the point: Apps are like books on a shelf. You take one down, find what you need, put it back. Repeat when needed. Scopes are the relevant pages from those books pinned to your noticeboard right when you need them." The link has ...


4

I developed BAT, which is a tiny tool for building desktop applications with HTML, JS and CSS. I wrote an article about it on my blog. Installation BAT JavaScript API Examples Example index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { ...


0

As dobey said, there's no way to get the IMEI in confined apps, so I gave up on trying to get an ID based on the device itself. Instead, I just generate a UUID and store it in U1DB. // uuid.js .pragma library function generateUUID(){ var d = new Date().getTime(); var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { ...


0

QML3D is no longer developed and therefore not supported by Ubuntu Touch.


0

At the moment, Juju does not support GCE as a provider. But be on the lookout, they may be working on it for the near future!


2

(This answer is incomplete and ongoing) Support for GCE is currently in progress. Right now the target is March during one of the stable releases. Currently bootstrap and deploy have been successful: https://lists.ubuntu.com/archives/juju-dev/2015-January/004059.html If you want to follow along I recommend scanning the mailing list as the developers ...


4

Make sure your API endpoint URI is exactly as shown in the Landscape server. Typically it will end with /api/ (trailing slash included). And, of course, that the access keys are correct.


0

Are you actually using ~/api/key.pem ? You might need to throw in an os.path.expanduser around it, or otherwise provide the full path.


0

As I understand, you need Ubuntu SDK (Software Development Kit) for your Ubuntu 14.04 LTS, don't you? There are two decision in this case (not enough information from you - do you plan to use QTCreator or QML?): Search "Ubuntu SDK" in "Ubuntu Software Center" (may be you did already and it was not suitable for you needs) Or, if previous decision is not ...


1

This does work. It is how ubuntu-system-settings is getting the IMEI. Rather, your issue may be that console.log() is not going to whatever console output you're expecting to see it at, or the system you are running it on, has no IMEI available (which requires a GSM modem). There is also a serial number shown in the About page of system settings, but it is ...


0

I too had the same problem. Its actually related to the permissions. Try to lauch utouch using the 'sudo'. Hope It would help if its the same as mine


0

The solution I came up with was to keep my secret in a special file. To my public repository, I committed only a placeholder, but I have the actual secret on my machine. In the build process, I read the secrets into build variables. These in turn are referenced in the relevant locations in my configuration files. I don't know that this is the best ...



Top 50 recent answers are included