Re: [SailfishDevel] CLI update

2017-04-25 Thread Ove Kåven
Den 11. april 2017 23:10, skrev E.S. Rosenberg: > Can I somehow run the update process from CLI? If you have to, you can try the "pkcon" command (e.g. pkcon update), though I'm not sure it would do the same thing as the standard updater. ___ SailfishOS.

Re: [SailfishDevel] Long term TCP connection

2017-01-18 Thread Ove Kåven
Den 17. jan. 2017 19:55, skrev george b: > My xmpp client [1] makes progress and works very well. But I have > problems with connection drops after about half an hour of device > inactivity. I tried to send xmpp pings to the server in regular > intervalls to keep the connection on. Then I tried to

Re: [SailfishDevel] App doenst launch in intex aqua fish

2016-11-21 Thread Ove Kåven
Den 22. nov. 2016 01:04, skrev joao morgado: > I do prefer a linux enviroment for development, so I'm guessing that to > avoid this same problems in linux I will have to install Sailfish sdk > with a different user than the one I use for Qt sdk. I don't think you do. At least I haven't had a probl

Re: [SailfishDevel] monitor systemd unit from qml

2016-01-27 Thread Ove Kåven
Den 27. jan. 2016 17:03, skrev Michael Fuchs: There is a signal "PropertiesChanged" defined but it doesn't get emitted, when I start or stop the service. http://www.freedesktop.org/wiki/Software/systemd/dbus/ You could see whether calling "Subscribe()" enables these signals for you. _

Re: [SailfishDevel] Sending SMS via Telepathy: Error "Channel Dispatcher .. does not support interface CD.I.Messages"

2015-08-12 Thread Ove Kåven
Den 12. aug. 2015 14:26, skrev christopher.l...@thurweb.ch: One thing that did not "click" until this morning is that the telepathy code in the Collabora git is C, while the equivalent in nemomobile is C++. I wonder how is the one "translated" to the other? D-Bus is rather language-agnostic, yo

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Ove Kåven
Den 22. april 2015 18:56, skrev Dmitriy Purgin: $ LANG=ru_RU invoker --type=silica-qt5 appbin does not change the app locale, it behaves as if there were no LANG=ru_RU at all. So does QLocale::setDefault(). I think setting environment variables and calling QLocale::setDefault only works if Q

Re: [SailfishDevel] SSH listen address

2015-04-19 Thread Ove Kåven
Den 19. april 2015 18:50, skrev E.S. Rosenberg: So this leaves an, I think, interesting question: how do we on the one hand allow SSH access while on the other hand preventing access from GSM/3G/4G? Is it important? Most likely your carrier is going to firewall you anyway. As an experiment, I

Re: [SailfishDevel] OpenSSL AES CTR 128 help needed

2015-03-01 Thread Ove Kåven
Den 23. feb. 2015 18:00, skrev Andrey Kozhevnikov: Hello Sailors! I need help in debugging issue in my simple test project: https://github.com/CODeRUS/aes-test In any platform/device it gives at least one failure during iterations. I googled and tried everything and have no ideas anymore. Any he

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-09 Thread Ove Kåven
Den 09. jan. 2015 00:42, skrev Kim Foder: [ 1148.207675] [] wl_proc_read+0x89/0xa0 [wl] wl_proc_read seems to be in the non-free Broadcom wireless driver, or something. It has to do with reading things from /proc (perhaps for ifconfig or something like that), which apparently deadlocked insi

Re: [SailfishDevel] Installation trouble with the SDK

2014-12-11 Thread Ove Kåven
On 11. des. 2014 14:48, k...@foder.dk wrote: That was also my first thought, but the three virtual machines I have besides Sailfish runs smoothly, but just to be sure I have installed the latest version of virtual box with same result. En interresting detail, the desktop does not just freze, i

Re: [SailfishDevel] Installation trouble with the SDK

2014-12-11 Thread Ove Kåven
On 11. des. 2014 10:06, k...@foder.dk wrote: The fact that the installation hangs (and freezes the desktop) at "Generating keys" and the entropy pool is very low, made me believe there was a connection. Well, no. Running out of entropy should never freeze the desktop. (If it did, that would b

Re: [SailfishDevel] Installation trouble with the SDK

2014-12-10 Thread Ove Kåven
On 10. des. 2014 10:41, k...@foder.dk wrote: I have had this problem since I upgraded Ubuntu to 14.10, and have recently come to the conclusion that the problem probably is entropy. A test has shown that the entropy pool always is extremely low (about 1000 with heavy disk access, less than 800

Re: [SailfishDevel] Discrimination and abuse from Jolla employee Thomas Perl

2014-05-22 Thread Ove Kåven
On 22. mai 2014 15:05, Jarko Vihriala wrote: This is not about sweeping dust but please take your epistola to some other channel. I would rather this thread continued right here. As an owner of a preordered Jolla phone, and as an app developer, I'm quite interested in the behaviour and ethic

Re: [SailfishDevel] Where did devel-su come from and what's its purpose?

2014-05-13 Thread Ove Kåven
On 13. mai 2014 15:14, Mehdi El Gueddari wrote: Back in the Meego days, 'devel-su' would let you switch to, quite literally, a developer super user account, which had more privileges than a normal user but wasn't quite root (or at least it seems that way from the few user complaints I could find)

Re: [SailfishDevel] Calibration level of the compass sensor always 1.0?

2014-05-01 Thread Ove Kåven
Den 29. april 2014 21:59, skrev Jussi Vuorisalmi: Hello, I am using the QML compass sensor in my QML application. The compass sensor and azimuth reading work as expected, but the calibration level (reading.calibrationLevel) always seems to give just the same value: 1.0 (i.e. 100%, perfectly cal

Re: [SailfishDevel] How to make vCard

2014-03-27 Thread Ove Kåven
Den 27. mars 2014 18:33, skrev Andrey Kozhevnikov: How to generate vCard for contact? What is preferred way to do it (if many)? If you're using QtContacts, then it's best to also use QtVersit. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] No QSerialPort

2014-03-27 Thread Ove Kåven
Den 27. mars 2014 10:11, skrev Wim de Vries: Don't know why is there a difference between Sailfisch and MeeGo. I don't think there is. You're running on different hardware, though; the N900 and N9 did have the wiring to support USB OTG. Can I enable power on the USB port? (escape would be a

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Ove Kåven
Den 27. mars 2014 00:39, skrev Philippe De Swert: Hi, As this is getting very confused and we are mixing connecting devices to the Jolla and connecting the Jolla to the pc. So which one is it? Personally I don't see why there's any confusion. The OP (wsvries) has always talked about connecti

Re: [SailfishDevel] Problem with OpenGL

2014-03-19 Thread Ove Kåven
Den 18. mars 2014 23:11, skrev Iosif Hamlatzis: In SailfishOS the call to glGenTextures( 1, &(pSurfaceNode->g_surfaceID) ); GLenum err_ = glGetError(); fails and it returns error code 1280. Not necessarily. This is the first call to glG

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Ove Kåven
Den 16. mars 2014 14:14, skrev Arvid Fahlström Myrman: Yes, I've been playing around with BackgroundJob from nemo-keepalive a little since I wrote that. It seems to mostly work similarly to Insomniac, with the added benefit of preventing suspend after triggering until BackgroundJob's finished() m

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Ove Kåven
Den 15. mars 2014 23:55, skrev Arvid Fahlström Myrman: I'm thinking about trying my luck with nemo-keepalive's KeepAlive, and setting its enabled property to true when insomniac triggers to guarantee that timer also triggers. If you're going with nemo-keepalive, then you shouldn't need insomnia

Re: [SailfishDevel] Wrong symbolic link

2014-03-14 Thread Ove Kåven
Den 14. mars 2014 19:37, skrev Iosif Hamlatzis: ssize_t chars = readlink("/proc/self/exe",full_path,PATH_MAX); The usual (portable) way to find the executable name is to use argv[0], not to read /proc/self/exe. (If it's a relative path, then you may need to search for it in the PATH o

Re: [SailfishDevel] Folder permissions

2014-03-14 Thread Ove Kåven
Den 13. mars 2014 19:22, skrev Iosif Hamlatzis: Thank you very much, I've just tested my game using the XDG basedir and it worked so I can continue my port of the game by modifying the rest of the code. Just one question, will the folders under .config/.cache/.local be removed if I uninstall the

Re: [SailfishDevel] Infinity count of pages

2014-03-11 Thread Ove Kåven
Den 11. mars 2014 21:18, skrev Oleg Linkin: Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage -> MyFriendsList -> MyFriendProfilePage -> MyFriend'sFriendsList -> MyFriend'sFriendProfilePage -> (...) But there are about 8 menus in profile and each can be opened

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Ove Kåven
Den 10. mars 2014 20:43, skrev Vivian Brégier: Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it is a good thing to keep in mind. Strangely, https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-mem

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Ove Kåven
Den 09. mars 2014 18:33, skrev Iosif Hamlatzis: When deploying a game/application where should its resources (images/sounds/settings files) be stored so that the game/application can have both read and write permissions? You should clarify why you need write permissions, so that it's possible

Re: [SailfishDevel] SilicaListView and SparqlListModel

2014-03-07 Thread Ove Kåven
Den 07. mars 2014 18:30, skrev Ove Kåven: First, note that SilicaListView is a SilicaFlickable. Hmm. I should probably correct myself, just in case: I meant that it is *like* a SilicaFlickable, able to do everything a SilicaFlickable can do, including having pulley menus. So it

Re: [SailfishDevel] SilicaListView and SparqlListModel

2014-03-07 Thread Ove Kåven
Den 07. mars 2014 13:46, skrev Michele Tameni: Any advice on this? I'm stuck with this problem. I doubt it has anything to do with the list model. First, note that SilicaListView is a SilicaFlickable. With the Silica UI, you're not really meant to nest flickables inside other flickables (and

Re: [SailfishDevel] Hardware compatibility

2014-03-06 Thread Ove Kåven
Den 06. mars 2014 16:44, skrev Thomas Amler: The important information seems to be (because this also has been mentioned very often in the IRC), if the device is capable to run CyanogenMod 10.1. So if this works, there is a chance to get it working. But no guarantee at all for this. :-) Isn't t

Re: [SailfishDevel] Hardware compatibility

2014-03-06 Thread Ove Kåven
Den 06. mars 2014 16:09, skrev SRK Services: I am just doing some pre-development research and am having trouble finding some information. Does anyone know of a link that has a list of compatible hardware for SailfishOS. I did not see any while browsing the site. If the question isn't whether t

Re: [SailfishDevel] Some API and sailfish app development questions

2014-03-04 Thread Ove Kåven
Den 04. mars 2014 12:18, skrev Thomas Amler: Hi, I can't answer all of your questions, so directly to the last one: 4. Currently there is no notification API which can be used directly. nemomobile notifications is not allowed in harbour, altough all system apps use it to deal with notifications

Re: [SailfishDevel] Starting point for building packages

2014-02-28 Thread Ove Kåven
Den 27. feb. 2014 22:32, skrev Tobias Brunner: Hi, I'm new to the SailfishOS SDK. I'd like to build the ownCloud client for SailfishOS and create a RPM package for easy installation at the Jolla. The documentation on how to build the ownCloud sync client is here: http://doc.owncloud.org/desktop/

Re: [SailfishDevel] Sailfish OS alarm scheduler - where do find source, headers, docs?

2014-02-23 Thread Ove Kåven
Den 24. feb. 2014 00:20, skrev Artem Marchenko: Hi All I seem to remember somebody telling that Sailfish/Nemo scheduler is the same timed as in Harmattan (or a little modified timed?). I fail to find links to the Jolla's timed sources-headers-docs, however. Could somebody, please, point me ther

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-20 Thread Ove Kåven
Den 20. feb. 2014 19:16, skrev Arvid Fahlström Myrman: Well, I've at least solved the first problem by implementing a timer similar to the one used by ScreenBlank in Sailfish.Media (see /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml for reference), and it seems to work properly. I wonder though,

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread Ove Kåven
Den 16. feb. 2014 11:32, skrev AL13N: Hi, but then... how is the gallery video playback working??? it uses VideoOutput as well... If you mean the Jolla Gallery, then it apparently uses GStreamerVideoOutput, not VideoOutput. ___ SailfishOS.org Devel

Re: [SailfishDevel] Preventing deep sleep for a few seconds?

2014-02-05 Thread Ove Kåven
Den 05. feb. 2014 07:16, skrev Valerio Valerio: Hi, On 05/02/14 02:58, Thomas Tanghus wrote: On Monday 03 February 2014 22:58:42 Ove Kåven wrote: But for scheduled wakeups (say I want the next synchronization to occur after 6 hours), I suppose the best option is to use "timed"? I

Re: [SailfishDevel] Preventing deep sleep for a few seconds?

2014-02-03 Thread Ove Kåven
Den 03. feb. 2014 09:04, skrev Thomas Perl: On 01 Feb 2014, at 21:32, Ove Kåven wrote: If a synchronization starts with the screen off, there's a chance that the phone enters "deep suspend" during the synchronization. If so, the other side might time out and the sync will f

Re: [SailfishDevel] How to access the viewfinder of the QCamera?

2014-02-02 Thread Ove Kåven
Den 25. jan. 2014 21:22, skrev Marcel: Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a QCamera object (which would be my prefered way as I want to precess the image data) I get the following error: [W] CameraBinSession::processBusMessage:912 - CameraBin error: "No c

[SailfishDevel] Preventing deep sleep for a few seconds?

2014-02-01 Thread Ove Kåven
If a synchronization starts with the screen off, there's a chance that the phone enters "deep suspend" during the synchronization. If so, the other side might time out and the sync will fail. So I want prevent the CPU from suspending before the synchronization is complete, which might take a f

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-27 Thread Ove Kåven
On 01/27/2014 01:18 PM, Pekka Vuorela wrote: Worth noting that the qml plugin is not stable API, and also on the device the calendar database is protected from third party apps. Not really. It has already been established on this list that if you start your app with "invoker" (which I think th

Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread Ove Kåven
Den 26. jan. 2014 13:42, skrev christopher.l...@thurweb.ch: Hi all I have come across some weird behaviour on the Jolla: Bindings don't seem to work immediately after an app has deployed when the screen is locked. Are you able to tell the difference between something like this, and the more

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-25 Thread Ove Kåven
Den 25. jan. 2014 13:55, skrev Matthias Barmeier: Hi, do you mean that all these packages: qt5-qtdeclarative-pim-organizer qt5-qtdeclarative-pim-organizer-debuginfo qt5-qtpim-organizer qt5-qtpim-organizer-debuginfo qt5-qtpim-organizer-devel qt5-qtpim-versitorganizer qt5-qtpim-versitorgan

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 22:11, skrev Ove Kåven: You can see in there that PropertyChanged takes a string and a variant (which presumably maps to QString and QVariant), not a D-Bus object path. I think I should have said QDBusVariant, not QVariant

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 17:18, skrev Julius Loman: Hi this is for sure a beginners question, but I hope somebody can help me to sort it out. I want to listen to connman dbus events to determine connection changes (I'm interested in receiving signal as soon as device connects to particular WLAN network

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Ove Kåven
Den 13. jan. 2014 23:04, skrev Thomas Tanghus: Just after having my tiny Kitchen Timer app approved I realized that the timer slows down and eventually stops running - burned food as result :( The timer is set to trigger each 1000 ms. When applicationActive becomes false the timer slows down to

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Ove Kåven
Den 05. jan. 2014 23:10, skrev Matthias Barmeier: Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? I've needed to access PIM data myself, so, as far as I can tell from my own investigations, yes, it's Unix security. The dir