Filip,
I have started laying out a simple app to help configure the owncloud
sync.
this works by saving the settings to a setting file that the
unconfined app should be able to read.
This settings file would replace the oc.cfg and oc-files.cfg and be
read into your script.
it is a bit hacky but it works and gets owncloud sync running with a
simple gui for those that need it.
The click you have is fine, I can build the UI, modify your scripts
to get them to read the settings and make a pull request if you host
its contents on your github.
I have unpackaged the current click and extracted the binary files so
no need to send them.
let me know if your interested.
On 15 April 2016 at 10:39, Filip Dorosz <filip.dorosz@xxxxxxxxxxxxx.p
l> wrote:
> Hello
>
> Ad1. Of course I would, if only I had one...
> Click consist of these 1:1 binary packages pulled from Debian Sid
> armhf repository:
> libdbus-1-3
> libicu55
> libowncloudsync0
> libpcre16-3
> libqt5core5a
> libqt5dbus5
> libqt5gui5
> libqt5keychain0
> libqt5network5
> libqt5sql5-sqlite
> libqt5widgets5
> libssl1.0.2
> libstdc++6
> (libs needed by owncloudcmd)
> owncloud-client-cmd
> (owncloudcmd client)
>
> Which means I didn't recompile single line of code. :}
> (My build platform for armhf is not ready yet)
> If you want source you'd have to apt-get source all of the from
> Debian.
> I can do that for you if you don't have Sid laying around.
>
> Ad2. Creating GUI for this hacky implementation of owncloud-client-
> cmd would require editing oc.cfg and oc-files.cfg because these are
> red by my script.
> owncloud-client-cmd by its design does not run as a daemon so you
> need wrapper script to run it periodically and thats what my script
> (owncloud-sync.sh) do. It also delegates some config to oc.cfg, oc-
> files.cfg.
>
> --
> Regards,
> Filip Dorosz
>
> W dniu 15.04.2016 o 08:05, Daniel Wood pisze:
> > Hi Filip,
> >
> > Is it possible for you to share the source for the click on
> > github?
> >
> > I would like to look at how we can include a UI to manage the
> > configuration.
> >
> > thanks,
> >
> > Dan
> >
> > On 15 April 2016 at 00:26, Filip Dorosz <filip.dorosz@rapidrage.c
> > om.pl
> > <mailto:filip.dorosz@xxxxxxxxxxxxxxxx>> wrote:
> >
> > I guess it should be:
> > with creating .logs dir (thanks for pointing* it out) and
> > installing*
> >
> > My grammar is quite poor these days ;)
> > W dniu 15.04.2016 o 01:17, Filip Dorosz pisze:
> >
> > Thanks! I really appreciate that you all make use of my
> > script &
> > click.
> >
> > I updated readme on github with creating .logs dir
> > (thanks for
> > point it
> > out) and how to install custom click package.
> >
> > Have a nice weekend!
> >
> > --
> > Filip Dorosz
> >
> > W dniu 14.04.2016 o 23:07, Bruce Griffis pisze:
> >
> > Hacky update
> >
> > added: syncevolution owncloud calendar
> > syncevolution owncloud contacts
> >
> > to Filip's script owncloud-sync.sh directly under the
> > line
> > owncloud $OWNCLOUDUSER $OWNCLOUDSERVERDOMAIN $HTTPS
> > $OWNCLOUDPASSWORD
> > $LOCALPATH $REMOTEPATH
> >
> > rebooted phone to read in new script (probably a much
> > more
> > elegant way
> > to do this)
> > Edited my Home contact on my ownCloud server, adding
> > my home
> > address.
> > Deleted my Duane Eddie folder from my laptop
> > /home/bruce/UbuntuTouch/Music directory
> > Added Juanitos Best of Juanitos, Exotica, Soul Africa
> > and
> > Welcome in the
> > House of FUN albums to /home/bruce/UbuntuTouch/Music
> > directory.
> >
> > Checked phone. It had the updated Home contact info
> > with my
> > full address!
> > Checked ownCloud server. Within 5 minutes Duane Eddie
> > was
> > gone from my
> > UbuntuTouch/Music directory and Juanitos was there.
> > Gave it
> > another 5
> > minutes and was playing "Super Exotic 60's Beat!" on
> > my phone.
> >
> > Juanitos!!!!!!!
> >
> > While my hack onto Filip's awesome good work was ham-
> > fisted and
> > inelegant and only applies to my own phone, I'm
> > calling it a
> > success. My
> > phone is not in read/write mode. It is syncing Music,
> > Videos, Pictures,
> > Documents, Calendar and Contacts.
> >
> > And more importantly, my phone finished playing
> > "Super
> > Exotic '60's
> > Beat" and started playing "Latin Fever!" And that is
> > awesome. I love
> > Creative Commons licensed music, especially when it's
> > good.
> >
> > Done with "Latin Fever" and listening to "Holla Holla
> > Bossa
> > Nova". Cool.
> >
> > Now to sync The Deadrocks album "Million Dollar Surf
> > Band"
> > and get rid
> > of the crusty Rockabilly. This is a crust-free zone.
> >
> > On Thu, Apr 14, 2016 at 3:01 PM, Wayne Ward
> > <info@xxxxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxxxx>
> > <mailto:info@xxxxxxxxxxxxxxx <mailto:info@wayneward.c
> > o.uk>>>
> > wrote:
> >
> > Awesome ill look at using this method tomorrow
> > switch
> > it back to
> > read only and do the same on the m10 when it
> > arrives :)
> > Wayne
> > n Thursday, 14 April 2016 13:09:09 BST, Bruce
> > Griffis
> > <bruce.griffis@xxxxxxxxx
> > <mailto:bruce.griffis@xxxxxxxxx>
> > <mailto:bruce.griffis@xxxxxxxxx
> >
> > <mailto:bruce.griffis@xxxxxxxxx>>> wrote:
> >
> > Yes, upstart works in the click. I followed
> > Filip's
> > procedures
> > on his Git
> > site, and it just simply worked.
> > I edited the oc.cfg for my userid, password
> > and server.
> > I edited the oc-files.cfg for the
> > directories I
> > wanted to sync:
> >
> > /home/phablet/Documents;UbuntuTouch/Documents
> > /home/phablet/Pictures;UbuntuTouch/Pictures
> > /home/phablet/Music;UbuntuTouch/Music
> > /home/phablet/Video;UbuntuTouch/Video
> >
> > (on my laptop I keep them in a separate
> > directory
> > than my
> > standard Music,
> > Video, Pictures, Documents - as I simply
> > don't have
> > enough room
> > on my phone
> > to sync everything I keep on the laptop.
> >
> > I put the files exactly where Filip stated.
> > The
> > Documents and
> > Pictures from
> > my phone synced perfectly fine last night.
> > To test
> > going from
> > laptop to
> > server to phone, I grabbed an Eddie Cochran
> > album
> > of mp3's and
> > moved them
> > to UbuntuTouch/Music on my laptop (I sync
> > UbuntuTouch from my
> > laptop to my
> > ownCloud server).
> >
> > A couple minutes later Eddie Cochran was on
> > my
> > ownCloud server.
> > In mybe 5
> > or 10 minutes Eddie Cochran's Somthin' Else
> > was on
> > my phone.
> >
> > Filip did all the work. I simply read his
> > post,
> > went to his Git
> > site,
> > installed, and edited the config files his
> > directions said to.
> >
> >
> > On Thu, Apr 14, 2016 at 3:28 AM, Wayne Ward
> > <info@xxxxxxxxxxxxxxx <mailto:info@wayneward
> > .co.uk>
> > <mailto:info@xxxxxxxxxxxxxxx <mailto:info@wayneward.c
> > o.uk>>>
> >
> > wrote:
> >
> > is the upstart working now in this
> > click?
> > or did you have to run commands to get
> > the files ?
> >
> > in my cron i have specific calendars and
> > contact
> > and then i have specific folders on the
> > SD card
> > i sync
> > but has to be RW for me to write to
> > cron.
> > Wayne
> >
> > On Wed, 2016-04-13 at 22:38 -0400, Bruce
> > Griffis wrote:
> > > This worked beautifully! Thanks
> > +Filip
> > Dorosz. I just
> > rebooted my
> > > phone (probably didn't have to) while
> > watching my
> > ownCloud server. My
> > > phone's pictures magically appeared
> > on my
> > server! Very
> > cool. I have
> > > way too much music, videos and
> > pictures on
> > my laptop, so
> > linked
> > > Music, Documents, Pictures, Video on
> > the
> > phone to
> > UbuntuTouch/Music,
> > > UbuntuTouch/Documents,
> > UbuntuTouch/Video,
> > UbuntuTouch/Pictures on my
> > > server and my laptop.
> > >
> > > You did a very cool job putting the
> > package
> > together.
> > > Thank you.
> > >
> > > On Wed, Apr 13, 2016 at 1:57 PM,
> > Bruce Griffis
> > <bruce.griffis@gmail.c
> > > om> wrote:
> > > > Putting this discussion back on the
> > list
> > (I need pay
> > more attention
> > > > when hitting reply!)
> > > > Thanks
> > > >
> > > > On Wed, Apr 13, 2016 at 1:56 PM,
> > Filip Dorosz
> > <filip.dorosz@rapidra
> > > > ge.com.pl <http://ge.com.pl>
> > <http://ge.com.pl>> wrote:
> > > > > Hi.
> > > > >
> > > > > Why didn't you wrote directly on
> > the list?
> > > > >
> > > > > Also you don't really need to
> > clone but
> > let's get to
> > the point.
> > > > >
> > > > > You install click package as
> > phablet
> > user with
> > command (without
> > > > > sudo!):
> > > > > pkcon install-local --allow-
> > untrusted
> > owncloud-client-
> > > > > cmd_2.1.1_armhf.click
> > > > >
> > > > > That's all.
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Filip Dorosz
> > > > >
> > > > > W dniu 13.04.2016 o 19:49, Bruce
> > Griffis
> > pisze:
> > > > > > I did a git clone
> > https://github.com/fihufil/owncloud-file-sync
> > > > > > to grab
> > > > > > the packages onto my laptop. I
> > edited
> > the config
> > files. How do
> > > > > > I install
> > > > > > the click package? I can just
> > do this
> > as my phablet
> > user,
> > > > > > right?
> > > > > >
> > > > > > On Fri, Apr 8, 2016 at 12:26
> > PM, Filip
> > Dorosz
> > > > > > <filip.dorosz@xxxxxxxxxxxxxxxx
> > <mailto:filip.dorosz@xxxxxxxxxxxxxxxx>
> > <mailto:filip.dorosz@xxxxxxxxxxxxxxxx
> > <mailto:filip.dorosz@xxxxxxxxxxxxxxxx>>
> > <mailto:filip.dorosz@rapidrage.c
> > <mailto:filip.dorosz@rapidrage.c>
> > <mailto:filip.dorosz@rapidrage.c
> > <mailto:filip.dorosz@rapidrage.c>>
> > > > > > om.pl <http://om.pl>
> > <http://om.pl>>>
> >
> > > > > > wrote:
> > > > > >
> > > > > > Hello all.
> > > > > >
> > > > > > As you may know I've been
> > working
> > at getting
> > owncloud file
> > > > > > sync on
> > > > > > Ubuntu Touch using
> > owncloud-client-cmd and some
> > scripts.
> > > > > > What I've
> > > > > > archived so far is working
> > owncloudcmd client
> > on the phone,
> > > > > > script
> > > > > > for running that
> > periodically and
> > simple config
> > files to
> > > > > > adjust
> > > > > > settings.
> > > > > >
> > > > > > I've setup repository on my
> > github
> > so you can
> > have a look
> > > > > > at it:
> > > > > >
> > https://github.com/fihufil/owncloud-file-sync
> > > > > >
> > > > > > If someone is willing to
> > create
> > GUI for
> > managing my config
> > > > > > files it
> > > > > > would be really nice.
> > > > > > I know this (whole project)
> > is not
> > suitable for
> > official
> > > > > > store but
> > > > > > my guess it is for
> > Openstore.
> > > > > >
> > > > > > Any feedback if greatly
> > welcome.
> > > > > >
> > > > > > Happy CLI-hacking,
> > > > > > Filip Dorosz.
> > > > > >
> > > > > > --
> > > > > > Mailing list:
> > https://launchpad.net/~ubuntu-phone
> > > > > > Post to :
> > ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>
> > > > > >
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>>
> > > > > > Unsubscribe :
> > https://launchpad.net/~ubuntu-phone
> > > > > > More help :
> > https://help.launchpad.net/ListHelp
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > --
> > > Mailing list:
> > https://launchpad.net/~ubuntu-phone
> > > Post to :
> > ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>
> > > Unsubscribe :
> > https://launchpad.net/~ubuntu-phone
> > > More help :
> > https://help.launchpad.net/ListHelp
> >
> > --
> > Mailing list: https://launchpad.net/~ubu
> > ntu-phone
> > Post to : ubuntu-phone@lists.launchp
> > ad.net
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>
> > Unsubscribe : https://launchpad.net/~ubu
> > ntu-phone
> > More help : https://help.launchpad.net
> > /ListHelp
> >
> > Aw
> >
> >
> >
> > --
> > Sent using Dekko from my Ubuntu device
> >
> >
> > --
> > Mailing list: https://launchpad.net/~ubuntu-phon
> > e
> > Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>>
> > Unsubscribe : https://launchpad.net/~ubuntu-phon
> > e
> > More help : https://help.launchpad.net/ListHel
> > p
> >
> >
> >
> >
> >
> >
> > --
> > Mailing list: https://launchpad.net/~ubuntu-phone
> > Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~ubuntu-phone
> > More help : https://help.launchpad.net/ListHelp
> >
> >
> >
>
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp