Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
Assign 192.168.2.14 to your computer and do "ssh nemo@192.168.2.15"
It seems to me you are just connecting to your computer, not to Jolla device.

On Thu, Jan 23, 2014 at 03:11:21PM +0100, dcali...@free.fr wrote:
> Hello,
> 
> Selon Julius Loman :
> > 192.168.2.15 is Jolla's IP address. you have to set another IP address in 
> > the
> > same
> > C class network to your usb0 interface. For example 192.168.2.14.
> Thanks for replying promptly, but it's not working neither. Same results, I 
> can
> ping 192.168.2.14, but when I ssh to it with "ssh nemo@192.168.2.14", I get 
> the
> password prompt (so ssh is indeed negociating with the device) but my password
> doesn't work…
> 
> Besides, I made a mistae in my first email, the netmask is indeed
> 255.255.255.0…
> 
> Damien.
> ___
> SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
192.168.2.15 is Jolla's IP address. you have to set another IP address in the 
same
C class network to your usb0 interface. For example 192.168.2.14.

Julius

On Thu, Jan 23, 2014 at 03:01:08PM +0100, dcali...@free.fr wrote:
> Hello list members,
> 
>Sorry for asking this stupid question, but I can't connect to the device 
> with
> ssh when this one is connected via USB in developer mode. I can ssh to it when
> connecting through WLAN though.
> 
>What I'm doing:
> - enable developer mode and set-up a password (this one is working since I can
> connect through WLAN) ;
> - plug-in USB cable from the computer and choose developer mode connection ;
> - the settings page tell me that the 192.168.2.15 address is affected to the 
> USB
> interface.
> - I setup the computer to attribute 192.168.2.15/192.168.2.255 to the 
> interface
> on usb0, statically (it's working since ping 192.168.2.15 is responding).
> - I ssh at this address with nemo as login, it's responding since it proposes 
> to
> add the hw key to the known host list, and then it's asking for the password,
> but when I type it, I get permission denied. The password is alright since I 
> can
> ssh to the device when using WLAN connection.
> 
>I've tried with a generated password from the interface also but no luck
> neither. I've tried to find the logs of ssh, but was not able to find them,
> before they were located in /var/log/auth, but not here. I've tried to look at
> journalctl output but didn't found anything about rejected connection or ssh.
> I've tried to google a bit, found the page http://elinux.org/Jolla but still 
> get
> permission denied.
> 
>Can anyone help me on this, by pointing me where I can give a look to
> understand what's happening, or by pointing out what I'm doing wrong.
> 
> Thanks in advance, and have a nice day,
> 
> Damien.
> ___
> SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


[SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread 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).

Using some examples I was able to capture dbus events on my KDE desktop (albeit
not connman related), but same code for SailfishOS does nothing. I guess my
understanding of Dbus or QtBus is bad :)

Here is my piece of code:

#include "wifimonitor.h"
#include 

int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
WifiMonitor* receiver = new WifiMonitor;

qDebug() << "Starting dbus monitor";
QDBusConnection system = QDBusConnection::systemBus();
if (!system.isConnected())
{
qFatal("Cannot connect to the D-Bus session bus.");
return 1;
}
system.connect("",
   "/net/connman/technology/wifi",
   "net.connman.Technology",
   "PropertyChanged",
   receiver,
   SLOT(propertyChanged(const QDBusObjectPath&))
   );

return a.exec();
}

 wifimonitor.h 

#ifndef WIFIMONITOR_H
#define WIFIMONITOR_H

#include 
#include 

class WifiMonitor : public QObject
{
Q_OBJECT
public:
explicit WifiMonitor(QObject *parent = 0);

signals:

public slots:
void propertyChanged(const QDBusObjectPath &in);
};

#endif // WIFIMONITOR_H

 wifimonitor.cpp 

#include "wifimonitor.h"
#include 

WifiMonitor::WifiMonitor(QObject *parent) :
QObject(parent)
{
}

void WifiMonitor::propertyChanged(const QDBusObjectPath &in)
{
qDebug() << "DBus signal received";
qDebug() << "PropertyChanged, ObjectPath: " << in.path();
}


Thanks
Julius

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Status menu? OT answer

2014-01-19 Thread Julius Loman
On Sat, Jan 18, 2014 at 12:38:35AM +0100, Ruediger Schiller 
 wrote:
> > https://sailfishos.org/core-events-article.html
> 
> as it says on the page, a swipe from the bottom of the screen gets you to
> notifications, this still applies, for n950 maybe cause of the orientation bug
> from the left.
You probably didn't get the point. Notification screen is there and accessible 
of course. Agreed.
But it looks significantly different compared to notification screen seen in 
several (preproduction?)
videos and images. I'm talking about the combined notification screen (all
notifications in just one screen). Now we have system/user notifications and
links to 10 last tweets from twitter and link to web version of facebook.

For example see this image:
http://www.blogcdn.com/www.engadget.com/media/2013/05/widejolladevices2.jpg

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Status menu?

2014-01-17 Thread Julius Loman
sorry ;-) I'm not as much active on that site, but what about this one?
https://together.jolla.com/question/4568/settings-quick-switches-connections-available-easier/


On Fri, Jan 17, 2014 at 09:28:44PM +0100, "Marcin M."  
wrote:
> Can you point me to the actual thread, which isn't marked as duplicate, to
> write my concerns there? :)
> 
> --
> Marcin
> 
> 
> 2014/1/17 Julius Loman 
> 
> > Agreed. There are several topics about this on togeher.jolla.com I hope
> > engineers and design team @jolla will listen to users and take the user
> > feedback seriously.
> >
> > Currently I do find overall usability worse comparing to N9.
> >
> > Maybe little bit off topic - does anybody know why the common event screen
> > dissapeared from production version of SailfishOS? By event screen I mean
> > just
> > the same event screen as it was on N9. I've seen working it in several
> > (preproduction) videos of Jolla in action. It's even in design
> > documentation:
> > https://sailfishos.org/core-events-article.html
> > Current version (10 last tweets from Twitter in separate page) and Link to
> > web
> > version facebook is really a joke. I hope this unfinished just because of
> > time
> > shortage and it's not final decision.
> >
> > On Fri, Jan 17, 2014 at 08:38:30PM +0100, "Marcin M." <
> > marmistrz...@gmail.com> wrote:
> > > It's a workaround, indeed ;)
> > >
> > > And connect to internet shortcut isn't enough!
> > >
> > > It would be ideal to be able to launch some status menu from the
> > lockscreen
> > > ;) Changing brightness, wlan+mobile internet, 2G/3G switch are things I
> > > very often use from status menu, and I want them to be at hand. Some
> > > orientation lock is useful, switching availability from such menu
> > >
> > > --
> > > Marcin
> > >
> > >
> > > 2014/1/17 Oleksii Serdiuk 
> > >
> > > > On 17.01.2014 20:14, Marcin M. wrote:
> > > >
> > > >> The settings have some wifi thing on the top, but it seems to be
> > > >> enable/disable auto-scanning, and I'd like to always connect myself,
> > > >> never automatically, no scanning in background... And the actual
> > option
> > > >> is dug deep in the settings.
> > > >>
> > > >
> > > > There's a nice feature I accidentally found in Settings.
> > > >
> > > > Go to Settings -> System settings and long tap WLAN. Context menu will
> > > > slide out. Tap "Add to favourites" there. This will place an icon to
> > the
> > > > top of the main page of Settings app that will take you directly to
> > WLAN
> > > > page.
> > > >
> > > > --
> > > > With best regards,
> > > > Oleksii Serdiuk
> > > >
> > > >
> > > > ___
> > > > SailfishOS.org Devel mailing list
> > > >
> >
> > > ___
> > > SailfishOS.org Devel mailing list
> >
> >
> > --
> >
> > [ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][
> > icq:35732873 ]
> > ___
> > SailfishOS.org Devel mailing list
> >

> ___
> SailfishOS.org Devel mailing list


-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Status menu?

2014-01-17 Thread Julius Loman
Agreed. There are several topics about this on togeher.jolla.com I hope
engineers and design team @jolla will listen to users and take the user
feedback seriously.

Currently I do find overall usability worse comparing to N9.

Maybe little bit off topic - does anybody know why the common event screen
dissapeared from production version of SailfishOS? By event screen I mean just
the same event screen as it was on N9. I've seen working it in several
(preproduction) videos of Jolla in action. It's even in design documentation:
https://sailfishos.org/core-events-article.html
Current version (10 last tweets from Twitter in separate page) and Link to web
version facebook is really a joke. I hope this unfinished just because of time
shortage and it's not final decision.

On Fri, Jan 17, 2014 at 08:38:30PM +0100, "Marcin M."  
wrote:
> It's a workaround, indeed ;)
> 
> And connect to internet shortcut isn't enough!
> 
> It would be ideal to be able to launch some status menu from the lockscreen
> ;) Changing brightness, wlan+mobile internet, 2G/3G switch are things I
> very often use from status menu, and I want them to be at hand. Some
> orientation lock is useful, switching availability from such menu
> 
> --
> Marcin
> 
> 
> 2014/1/17 Oleksii Serdiuk 
> 
> > On 17.01.2014 20:14, Marcin M. wrote:
> >
> >> The settings have some wifi thing on the top, but it seems to be
> >> enable/disable auto-scanning, and I'd like to always connect myself,
> >> never automatically, no scanning in background... And the actual option
> >> is dug deep in the settings.
> >>
> >
> > There's a nice feature I accidentally found in Settings.
> >
> > Go to Settings -> System settings and long tap WLAN. Context menu will
> > slide out. Tap "Add to favourites" there. This will place an icon to the
> > top of the main page of Settings app that will take you directly to WLAN
> > page.
> >
> > --
> > With best regards,
> > Oleksii Serdiuk
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> >

> ___
> SailfishOS.org Devel mailing list


-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Status menu?

2014-01-17 Thread Julius Loman
Yes, but we want to have shortcut to "Connect to internet" option in the pulley
menu. :)
Shortcut to WLAN doesn't really help. It just skips one menu level.

"Connect to internet" should be definitely in the pulley menu on the lockscreen
somewhere else quickly accessible.

On Fri, Jan 17, 2014 at 08:28:10PM +0100, Oleksii Serdiuk 
 wrote:
> On 17.01.2014 20:14, Marcin M. wrote:
> >The settings have some wifi thing on the top, but it seems to be
> >enable/disable auto-scanning, and I'd like to always connect myself,
> >never automatically, no scanning in background... And the actual option
> >is dug deep in the settings.
> 
> There's a nice feature I accidentally found in Settings.
> 
> Go to Settings -> System settings and long tap WLAN. Context menu
> will slide out. Tap "Add to favourites" there. This will place an
> icon to the top of the main page of Settings app that will take you
> directly to WLAN page.
> 
> -- 
> With best regards,
> Oleksii Serdiuk
> 



> ___
> SailfishOS.org Devel mailing list


-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Devel USB-mode withouth battery charging?

2014-01-09 Thread Julius Loman
On Thu, Jan 09, 2014 at 09:38:05PM +0200, Tone Kastlunger 
 wrote:
> This is a very good point, have been wondering the same...
I don't think so. I've never seen such a device (USB connected without 
charging). 

If you really don't want charning - use WLAN, not USB. Works well for me, but
it won't work in WLAN networks where clients are isolated (typically public
networks).
> 
> 
> On Thu, Jan 9, 2014 at 9:35 PM, Jarkko Lietolahti <
> jarkko.lietola...@gmail.com> wrote:
> 
> > Hi,
> >  Is it possible to get developer mode USB connection but without battery
> > charging?
> >
> >
> > Br,
> >  Jarkko
> >
> > ___
> > SailfishOS.org Devel mailing list
> >

> ___
> SailfishOS.org Devel mailing list


-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


[SailfishDevel] Video playback in application

2014-01-01 Thread Julius Loman
Hi

I'm trying to play video content in my QML application using VideoOutput and
MediaPlayer types.  So far I haven't been able to get it working even on the
Jolla provided videos in /home/nemo/Videos/ , probably due to following error:

[W] QGstreamerPlayerSession::processBusMessage:1223 - Error: "Internal data 
stream error." 

Anybody can provide a working example or give me some clues? Playing just audio
from same files using QML Audio type seems to work fine.

Thank you
Julius

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK in /opt

2014-01-01 Thread Julius Loman
If I remember correctly, you have to uninstall (completely remove) old SDK
first and install new version afterwards. I think I've seen this in release
notes.

Julius

On Wed, Jan 01, 2014 at 07:19:36PM +0100, christopher.l...@thurweb.ch wrote:
> Hi Marcin
> 
> That is black and white confirmation that the SDK VM is not installed.
> 
> You mentioned an earlier alpha. My (educated?) guess is that a
> remnant of that was still around when you installed the latest SDK.
> 
> Maybe you should a complete (yes complete) deinstall, then reinstall.
> 
> My experience is that before upgrading you need to deinstall, then
> hunt all out all the hidden directories and remove those
> (.scratchbox2 etc.). If you search the archives of this mailing list
> you will find reference to them.
> 
> Upgrading a Sailfish SDK reminds me just a little of upgrading
> Oracle on Windows: hunting and eradicating every trace in the file
> system and registry before install the new version ...).
> 
> Now I need to get a loaf of bread out of the oven ... It's smelling good!
> 
> Grüsse
> 
> Chris
> 
> Zitat von "Marcin M." :
> 
> >I'm using simply virtualbox-4.3 from the official repo:
> >
> >$ apt-cache policy virtualbox-4.3
> >>virtualbox-4.3:
> >>  Installed: 4.3.6-91406~Ubuntu~raring
> >>  Candidate: 4.3.6-91406~Ubuntu~raring
> >>  Version table:
> >> *** 4.3.6-91406~Ubuntu~raring 0
> >>500
> >>http://download.virtualbox.org/virtualbox/debian/saucy/contrib
> >>amd64 Packages
> >>100 /var/lib/dpkg/status
> >> 4.3.0-89960~Ubuntu~raring 0
> >>700 http://packages.linuxmint.com/ petra/import amd64 Packages
> >>
> >$ vboxmanage list vms
> >>"WinXP" {4bfb163e-8537-470b-81ac-542629875e44}
> >>"SailfishOS Emulator" {10d6d122-6581-42da-b6e0-562266fced05}
> >>
> >
> >
> >vboxmanage list runningvms shows nothing
> >
> >--
> >Marcin
> >
> >
> >2014/1/1 
> >
> >>marcin
> >>
> >>What do the following commands give you (in a terminal)'
> >>
> >>vboxmanage list vms
> >>
> >>vboxmanage list runningvms
> >>
> >>
> >>The first should show installed VMS, the second those currently running.
> >>
> >>You may also have the Virtualbox-qt gui installed somewhere giving similar
> >>info.
> >>
> >>Grüsse
> >>
> >>Chrsi
> >>
> >>Zitat von "Marcin M." :
> >>
> >>
> >> Hi,
> >>>
> >>>Thanks, it was a (partial) fix.
> >>>
> >>>Now, when trying to build, I get:
> >>>
> >>>Virtual Machine 'MerSDK' is not installed!
> >>>
> >>>--
> >>>Marcin
> >>>
> >>>
> >>>2014/1/1 
> >>>
> >>> Hi Marcin
> >>>>
> >>>>The project templates have changed quite a bit since then, and I am
> >>>>fairly
> >>>>sure I have seen the same behaviour.
> >>>>
> >>>>Try a new default project.
> >>>>
> >>>>If that works, then you can copy across your c++ / qml files from your
> >>>>alpha project into the new default project.
> >>>>
> >>>>Chris
> >>>>
> >>>>Zitat von "Marcin Mielniczuk" :
> >>>>
> >>>>
> >>>> Well, I should've said it more precisely :) - I open a project created
> >>>>by
> >>>>
> >>>>>the first alpha. I click the emulator button. It grays out, nothing
> >>>>>happens.
> >>>>>--
> >>>>>Sent from my Nokia N900
> >>>>>Marcin
> >>>>>
> >>>>>On Wed Jan   1 15:56:45 2014 christopher.l...@thurweb.ch wrote:
> >>>>>
> >>>>> Marcin
> >>>>>>
> >>>>>>Do you have a project open? The Emulator and SDK launch buttons remain
> >>>>>>grey until you do
> >>>>>>
> >>>>>>Chris
> >>>>>>
> >>>>>>Zitat von "Mikael Hermansson" :
> >>>>>>
> >>>>>>> That should work, I have it in opt and have no problem.
> >>>>>>>
> >>>>>>> Looks more like you have an issue with you project file?
> >>>>>>>
> >>>>>>> check the compile output/message screen if you get qmake errors or
> >>>>>>> similar?
> >>>>>>>
> >>>>>>> also try build->clean all.
> >>>>>>>
> >>>>>>>
> >>>>>>> On Wednesday 01 January 2014 11.12.58 Marcin M. wrote:
> >>>>>>> > Hi,
> >>>>>>> >
> >>>>>>> > I've installed the SDK into /opt, but I'm unable to launch the
> >>>>>>> > emulator nor the SDK VM - only the buttons are grayed out. Is there
> >>>>>>> > a known workaround, so that I can avoid reinstalling into
> >>>>>>> > /home/$USER/ ?
> >>>>>>> >
> >>>>>>> > thanks
> >>>>>>> > --
> >>>>>>> > Marcin
> >>>>>>>
> >>>>>>> --
> >>>>>>> Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
> >>>>>>> ___
> >>>>>>> SailfishOS.org Devel mailing list
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>___
> >>>>>>SailfishOS.org Devel mailing list
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >
> 
> 
> 
> ___
> SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No inbox?

2014-01-01 Thread Julius Loman
On Tue, Dec 31, 2013 at 01:50:20PM +, Chris Walker 
 wrote:
> I have installed the email app on the phone and have finally managed to
> send an email to another of my email addresses. I then replied to it
> and I can see that mail in the inbox on my PC. But there is no inbox on
> the phone. There's just Outbox, Deleted items, Sent and Drafts.
Is it a imap/pop3 or exchange type account?

Normally when you open your account in the email app and you swipe to the
right, you can see all available folders for this account.

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list