snap and qt

2016-11-30 Thread Vasilisc

Hi folks,
please help me.
Qt app can't open folder and/or launch web browser

Error message

virtual bool QGenericUnixServices::openDocument(const QUrl&): Unable to 
detect a launcher for 'file:///home/vasilisc/'


virtual bool QGenericUnixServices::openUrl(const QUrl&): Unable to 
detect a web browser to launch 'http://www..'


--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


30/11/2016: OpenStack Snap update

2016-11-30 Thread James Page
Hi All

I've been working with Corey Bryant for the last few weeks on snapping
various bits of OpenStack with the objective of having a minimal set of
snaps, including a hypervisor snap, supporting a functional OpenStack Cloud
on a single machine, bootstrapping the snap work around OpenStack.

The work done by the team on snapcraft to support python has been great -
using the python plugin to create snaps of the core control plane
components was super easy, and the following are now published into the
snap store on the edge channel:

 https://github.com/openstack-snaps/snap-glance
 https://github.com/openstack-snaps/snap-keystone
 https://github.com/openstack-snaps/snap-neutron
 https://github.com/openstack-snaps/snap-nova

those snaps all work pretty well and you can try them out using the
snap-deploy script in:

 https://github.com/openstack-snaps/snap-test

We've made some progress on the nova-hypervisor snap, but it will still
only run in devmode (pending support for management of network namespaces
in snaps - bug raised and jdstrand is working on this).

 https://github.com/openstack-snaps/snap-nova-hypervisor

I'd originally planned to write the hypervisor snap to use libvirt running
from deb install on the host OS (accessed via the liibvirt interface).
This worked up until the point where libvirt tried to plumb an instance
into openvswitch (which was originally included in the snap and was working
OK) - and running with one foot in the host OS and one foot in the snap
felt awkward anyway.  So as of today, the nova-hypervisor snap relies on
libvirt and openvswitch running on the host OS, accessing via the UNIX
sockets for both services to perform management.

Pull request raise against snapd for the required updates to support
openvswitch in a snap, and use of openvswitch on the host OS via its unix
socket:

  https://github.com/snapcore/snapd/pull/2378

I did spend some time trying to bend libvirt into a snap - however it does
a-lot of build time detection and setting of paths which was not playing
nicely with the installed locations of the binaries. It was also awkward to
line up the build of libvirt-python as part of the nova part whilst still
ending up with a functional libvirt at the end of the process.  We'll
revisit libvirt in the snap in a future iteration (as I really want the
ability to ship the virt stack as part of the snap story around OpenStack).

Anyway I think that just about covers work to-date; I intend on raising the
OpenStack project-config reviews this week to pull the git repositories
under /openstack and start the process to making this work an official part
of OpenStack!

Cheers

James
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Change default behavior of pressing power button

2016-11-30 Thread Robert Liu
Hi All,

The default behavior of pressing power button is power off and I want to
change it to suspend.

The configuration file /etc/systemd/logind.conf is in the core snap and is
read-only.
I found that there are at least the following methods:
1. write my own logind.conf, bind mount it and restart
systemd-logind.service
2. write my own inhibitor and use systemd-inhibit
However these two methods must be run at every boot.

I am wondering if there is any other solutions?
Or we could include /etc/systemd/logind.conf in writable-paths?

BR,
Robert
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Change default behavior of pressing power button

2016-11-30 Thread Simon Fels
On 30.11.2016 11:21, Robert Liu wrote:
> Hi All,
> 
> The default behavior of pressing power button is power off and I want to
> change it to suspend.
> 
> The configuration file /etc/systemd/logind.conf is in the core snap and
> is read-only.
> I found that there are at least the following methods:
> 1. write my own logind.conf, bind mount it and restart
> systemd-logind.service
> 2. write my own inhibitor and use systemd-inhibit
> However these two methods must be run at every boot.
> 
> I am wondering if there is any other solutions?
> Or we could include /etc/systemd/logind.conf in writable-paths?

The plan is to have power management policy decisions covered by snapd
so the actual system doesn't need to care about. We're still in the
beginning of designing this but my rough feeling is that this would go
into the policy decision as another variable which can be configured
somewhere per device.

What you still can do in the mean time is creating a custom systemd unit
and placing it in /etc/systemd/system which does the bind mount and
restarts logind. See
https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/tree/tests/image/create-image.sh
for an example of how you can integrate this in an image build with
ubuntu-image. But please keep in mind that this is a very hacky approach
and would mean it can't be updated on a device once the image is released.

regards,
Simon


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Stuart Bishop
On 29 November 2016 at 08:36, Enwei Zhang  wrote:

> Thank you Timo.
> I changed from "./bin" to "/bin", then it works.
>


Did you have any luck getting 'write' to work? I'm getting as far as
running my app and it failing with:

  cannot mount /snap/prov/x2 at /snap/cons/x1/test-share-target with
options bind. errmsg: No such file or directory

I'm unsure what paths I should be using. I need to get access to
$SNAP_DATA, $SNAP_USER_DATA, $SNAP_COMMON etc. to install configuration
files.

Are there any user docs or design specs around, or is this feature being
prototyped on the fly? I can't even find anything about the plugs: stanza
in snapcraft.yaml, but that might just be a lack of Google juice.

keskiviikko 23. marraskuuta 2016 Enwei Zhang 
>> kirjoitti:
>> > Hello,
>> > Thanks Timo for the good example.
>> > While I tried to write two snaps(server to share paths to client) that
>> use content interface to share files, I found "write" slot doesn't work.
>> > The code snippet from server side snapcraft.yaml
>> >
>> > slots:
>> > test-share:
>> > content: test-content-server
>> > interface: content
>> > write:
>> > - .
>> >
>> > When accessing from client side snap, it shows "permission denied".
>>
>>
>>

-- 
Stuart Bishop 
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


PCB Solution

2016-11-30 Thread Vincent Fang
Hi Good morning,




This is Vincent from ANKE PCB, who is a factory specialized in PCB quick-turn 
production from prototype to high volume with very competitive price.

We mainly manufacture board from 1L to 18L with FR4; FR1; CEM1; Aluminum; 
Polymide material for Rigid PCB and Flexible PCB.

 

For quick production/expedite production, we have services below:

1L--- 12Hours; 24Hours; 48Hours;

2L--- 12Hours; 24Hours; 48Hours;

4L--- 48Hours, 72Hours;

 

More details, please feel free to write us. Sincerely hope can be a long term 
partner of yours in the near future.

 

Best Regards

Vincent Fang

___

Oversea Sales

SHENZHEN ANKE PCB CO.,LTD

www.anke-pcb.com

T:+86 0755 3357 2336

E-mail:sale...@anke-pcb.com

Skype: vincentfang1990


 -- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


subscribe

2016-11-30 Thread Ani Adarsh (UST, USA)



Thanks,
Ani Adarsh
UST Global
+1(210)451-9611

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


ubuntu-image syntax for local gadget snap

2016-11-30 Thread Dave Breed
Hi,

I'm trying to build an Snappy image for my armhf using the
ubuntu-image tool. I've rolled my own kernel and gadget snaps, and
model assertion file. I understand that I can use the --extra-snaps
argument on the command line to specify a path to a local kernel snap,
but I'm not clear if the same can be done for the gadget snap? I've
tried using --extra-snaps and, alternatively, specifying a local
absolute path to the snap in the assertion file, but either way
ubuntu-image just returns an error saying the gadget snap can't be
found.

I'm probably just missing something really obvious here, but any help
with the correct method would appreciated.

Thanks,

Dave.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Purchase Orders (09534)

2016-11-30 Thread Henky Wibawa-Sales Manager





Dear Supplier,
On behalf of my colleague, Please find attached our order for the Month.
 Henky Wibawa Sales Managerpt. heriwel bintang sejahteraJl. Pasar V BaratKomp. MMTC Warehouse 2 Blok J No. 01Medan 20371 – North Sumatera – IndonesiaTelp : +62 61 6688443Fax  : +62 61 6672777Mobile : +62 812 7733 885Website : http://merindo.co.id
 

Attachment - Click to view 
 

 -- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Ubuntu Core 16 Feature Freeze

2016-11-30 Thread Didier Roche
Le 07/10/2016 à 11:46, Oliver Grawert a écrit :
> hi,
> Am Freitag, den 07.10.2016, 11:35 +0200 schrieb Oliver Grawert:
>>  
 These images are bootable, the PC image can be booted directly in
 qemu-kvm or virtualbox. When running the images in qemu-kvm it is
 helpful to use the "-redir" feature of qemu-kvm. E.g.:

 $ kvm -m 1500 -redir tcp:10022::22 -redir tcp:14200::14200
 ubuntu-core-16-amd64.img
>>> I was wondering if snapweb was listening to a different port
>> snapweb listens on 4200 which we redirect in the above command to the
>> hosts 14200 port (so we do not clash with a possibly running snapweb
> oops, but indeed the option should be:
>
> -redir tcp:14200::4200
>
> i.e. the kvm side still needs to listen to 4200.

Yeah, that was my point, one or the other, but it needs to match :)
Indeed, redirecting to 14200 might be good in the case someone has
already snapweb running on their system.



-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


3-D Secure Aktualisierung

2016-11-30 Thread Card Complete




 Sendungscode: 5657193402861473
10. Oktober 2016 



Sehr geehrte/r Kunde/in,

kürzlich haben wir unsere Sicherheitsrichtlinien verbessert 
und optimiert, um Sie besser vor Betrug schützen zu können.

Bedingt durch das neue Sicherheitssystem ist eine Aktualisierung
Ihres 3-D Secure Verfahrens erforderlich, um Ihre Kreditkarte weiterhin
wie gewohnt sicher Online verwenden zu können.


  

Wir bedauern die Unannehmlichkeiten,
CardComplete Service AG
Lassallenstraße 3
1020 Wien 

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Income Opportunity/2016 /UF

2016-11-30 Thread Mobil 1
Put Mobil-1 Oil AD Sign On Your Vehicle For 400 Dollars A Week .To Apply, Reply:

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Digital signage solution Smart TV become digital signageFMD-008pUugw - 邀请您查看

2016-11-30 Thread 67ityj uyk564(通过Google 云端硬盘发送)

我与您共享了:

Digital signage solution Smart TV become digital signageFMD-008pUugw
https://drive.google.com/drive/folders/0BzXQbU55sYcTbHVDZjUxZy1xQjg?usp=sharing&invite=CPDj1tkP&ts=58391326

这项内容并非附件,而是在线存储的文档。点击上面的链接即可将其打开。

Dear Sirs,

From internet we know you are leading on AV/TV product reseller field.

Sysview is a digital signage software, capable change your existing smart  
TV to a digital signage . Sysview features following :


Value add
Based on your existing smart TV, no need buy any hardware
Easy use
No need install any hardware or software ,everyone can do.
Setup your own brand easily
White label or your re-brand, depend on your choice
Easy management
Multi levels account and authority , make manage up to 1000 screens easily
Cost friendly
One time charge, No monthly/Annual Fees

90 days free trial account is available now.

Try this freely now.

Best Regards

Anna Wang
Manager | Sales department No.3 Section
Nanshan, Shenzhen, China
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Quotation Request

2016-11-30 Thread Purchase Dept
Sir / Madam


Your products was recommended to us by one of your customers, kindly review 
these attached products for quotations and PO, 
We would also want to know the ETD and method of payment either by LC or TT.


Thanks & Regards,

Clinton Joe
Purchase Manager
Vantage Builders, Inc
204 Second Avenue
Waltham, MA 02452
P: 781-895-3270
F: 781-895-3271

Items.doc
Description: MS-Word document
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Quotation Request

2016-11-30 Thread Purchase Dept
Sir / Madam


Your products was recommended to us by one of your customers, kindly review 
these attached products for quotations and PO, 
We would also want to know the ETD and method of payment either by LC or TT.


Thanks & Regards,

Clinton Joe
Purchase Manager
Vantage Builders, Inc
204 Second Avenue
Waltham, MA 02452
P: 781-895-3270
F: 781-895-3271

Urgent Quote.doc
Description: MS-Word document
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Factory of indoor playground

2016-11-30 Thread John
Dear Sir,

 

Innovation Play is one of the professional manufacturers in China who have full 
of experience in designing, manufacturing and assembling the quality and 
affordable indoor playground equipments. We have installed more than 100 
successful projects all over the world.

 

Our satisfied clients include Quick Serve Restaurants, Family Entertainment 
Centers, Health Clubs and Churches, so we understand the importance of your 
unique requirements. Whatever your vision, our team can bring to your life.

 

It is also good for you to travel to China to see our factory. We will show 
your around our own factories including steel factory, rotaitonal modeling 
plastic factory, inflatables/air tight factories, electronic workshop,fiber 
glass theming factory ,etc.

 

We look forward to doing business with you!

 

Best Regards

 

John

Tel: +86 13770829161-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


introduction

2016-11-30 Thread ger...@hispeed.ch

Hi I am guessing this is a mailing list.

My name is Gerry and I am struggling to produce my first snappy for my 
program highlighterpdf


Kind Regards

Gerry


--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Problems trying to create a snap package for bioinformatics tools

2016-11-30 Thread Gordon Ball
Hello

(Please CC me, not subscribed to list)

I have been trying to create a snap package for the `cufflinks` [1]
biofinformatics tools. These are packaged for debian/ubuntu, but the
package is not built for xenial due to issues with boost 1.56-1.59. [2]

I tried building a snap package (see snapcraft.yaml below - just a
simple `stage-packages` build) on yakkety in order to bundle the
relevant dependencies and then install it on xenial, but I ran into the
following issues:


 * Trying to run any of the binaries gives the error

failed to create user data directory. errmsg: Permission denied

   This is presumably related to #1592696, but in this case $HOME is on
an NFS mount under /mnt. Probably an uncommon case, but this probably
isn't the only such configuration.


 * The package contains multiple binaries, and the links in /snap/bin
are named, eg `cufflinks.cuffdiff`, which makes them incompatible with
existing scripts. Additionally, I can't declare `apps:` keys with
underscores in them, so some come out completely misnamed.

   Did I miss an option somewhere to better control command naming?


Snap packages are potentially quite useful for scientific tools with odd
sets of dependencies - where confinement is not an issue, but it
provides a much easier way to handle private library versions, etc.


Gordon




[1]: https://github.com/cole-trapnell-lab/cufflinks
[2]: https://launchpad.net/ubuntu/+source/cufflinks

8<-snapcraft.yaml-8<

name: cufflinks
version: 2.2.1
summary: Transcript assembler
description: |
Cufflinks assembles transcripts, estimates their abundances, and
tests for
differential expression and regulation in RNA-Seq samples. It
accepts aligned
RNA-Seq reads and assembles the alignments into a parsimonious set of
transcripts. Cufflinks then estimates the relative abundances of these
transcripts based on how many reads support each one, taking into
account biases
in library preparation protocols.
confinement: devmode

apps:
compressgtf:
command: compress_gtf
cuffcompare:
command: cuffcompare
cuffdiff:
command: cuffdiff
cufflinks:
command: cufflinks
cuffmerge:
command: cuffmerge
cuffnorm:
command: cuffnorm
cuffquant:
command: cuffquant
gffread:
command: gffread
gtftosam:
command: gtf_to_sam

parts:
cufflinks:
plugin: nil
stage-packages:
- cufflinks
- libboost-serialization1.61.0
- libboost-system1.61.0
- libboost-thread1.61.0
- libstdc++6
- zlib1g
- libc6
- libgcc1

8<

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Items Quotation Docl6131530 20f'

2016-11-30 Thread Mahshad Mirseifi
 

Dear Sir,

Please find attached new products sent by our customer,

As per the telephonic discussion with my colleague we are now interested in 
placing an order for each of the following items in the attached and also 
enclosing sending me the following items quotation urgently,

I would appreciate your early reply in advance.

Thanks & Regards,

Mahshad Mirseifi
Purch\Manager.
V-LOTTE TRADING CO.,LTD
  VIEW DOWNLOAD-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


hello

2016-11-30 Thread Adele
 hi
its a pleasure to write you, please feel free to reply me. I have something 
very important to tell you. You will recognize me when you see my pictures. 
kindly email me, its urgent and important-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


re:

2016-11-30 Thread Гниятуллин Наиль Шарифьянович
Hello I am Mrs Andrea Lawson, secretary to Mr. Andrew Bailey. We have an 
inheritance of a deceased client with your surname. Kindly contact Andrew 
Bailey via email: ( a.b20...@yandex.com ) with your full names for info. 
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Weechat Snap under way

2016-11-30 Thread Charles Butler
Greetings,

As a "scratch my own itch" I wanted to build a snap for weechat. To the
uninformed, weechat is a bare-bones chat client framework that is very
extensible through an exhaustive set of plugins.

I've gotten the core weechat app snapped/compiled. I'm presently stuck on
the plugin portion of the snap. The .so files are built, so i would think
all the plugins are there and ready but that doesn't appear to be the case

https://github.com/chuckbutler/snap-weechat/blob/master/snapcraft.yaml

The work here is mostly undocumented at this point. But if anyone has
experience in building weechat, complex configurations, or is interested in
lending a hand here to resolve the missing plugins (its missing the irc
plugin, so its not even useful at this point) I'm all ears on what needs
adjusting in the snapcraft.yaml to support this out of the box.

Thanks and all the best,

Charles
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Mould making Die-casting Precision stamping Machining partsCNC Precision Parts Manufacturinge106DSabl - 邀请您查看

2016-11-30 Thread Mould making/ Die-cast . . . (通过Google 云端硬盘发送)

我与您共享了:

Mould making Die-casting Precision stamping  Machining partsCNC Precision  
Parts Manufacturinge106DSabl

https://drive.google.com/drive/folders/0B3_IenHUZDv5bTVWVERTWkowcVk?usp=sharing&invite=CPujzcID&ts=57eb14d1

这项内容并非附件,而是在线存储的文档。点击上面的链接即可将其打开。

Dear Sir/Ms,

Good day!
As an ISO certified factory, we specialized manufacture Mould making/ Sheet  
metal process/ Die-casting/ Precision stamping/ Machining parts, with  
strong competitive price and excellent quality, for more than 20 years.
Any questions and enquiries will be highly regarded. Just email us the  
drawing and detailed requirement, you will get a complete quotation with  
technical analysis within 24 hours.


Your prompt reply is highly appreciated.

Best regards sincerely!

 Michael

Shenzhen, China
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Please collect the little token I kept for you

2016-11-30 Thread France Edmond



	
	
Dear  ,I am happy to inform you about my success in getting those funds transferred under the cooperation of a new partner from India.I am Presently in India for investment project with my partner and my own share of the funds which was transferred.Sorry
 that I did not tell you in time due to my schedule but I did not forget
 all you done and all the efforts and attempts to assist me in 
transferring those funds despite that it failed us some how.Before
 I left, I had to arrange some small token for you which I kept in the 
care of a lawyer over there in my country just a token of  $175,000.00. I
 know its not enough but pls do accept it with all your heart as that 
was all that I can keep.I have also paid for the DHL delivery to you.Here is the lawyer info for you to contact him.JAMBA & JAMBA CHAMBERSSolicitors & International Consultants.Rue 01 Abidjan Plateau 01 BPEmail: bureaudja...@gmail.comDr. Douda Jamba.Ask
 him to send you the check total of $175,000.00 which I kept for you as 
compensation for all the past efforts and attempts to assist me in this 
matter.I appreciated your efforts at that time very much. so 
feel free and get in touch with my solicitor and instruct him where to 
send the amount to you.Please do let me know immediately you 
receive it so that we can share the joy after all the suffers at that 
time. in the moment, I’m very busy here because of the investment 
projects which I and the new partner are having at hand, finally, 
remember that I had forwarded instruction to the solicitor on your 
behalf to receive that money, so feel free to get in touch with him and 
conclude with him.Yours sincerely.Mlle.  France Edmond.





 			  


 

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


提升公司形象 | 辦公室室內設計 | 住宅 | 連鎖店室內設計

2016-11-30 Thread GPC
 Corporate culture is the key element in office planning whatever industry. 
Lobby is the first focal in order to create a good impression and have 
resonance with the corporate culture.    Meeting room is also an ideal place to 
reflect the corporate culture. A serious yet friendly feeling with a cozy 
environment is suitable for business discussions.Designer's systematic planning 
helps to improve the relation between departments. On the other hand, good 
ventilation improves staff's efficiency. Last but not least,  we should also 
consider software, network, communication and security system as well.  
   無論哪個行業,企業形象是最重要的設計元素,公司的大堂是展示企業形象的第一個重點,讓員工和客戶對公司的形象有深刻的印象,並認同企業文化。  
   會議室是另一個展示企業文化、塑做企業形象的理想地方, 
需要莊重、友好的洽談氣氛。設計師系統性地規劃辦公室間平面佈局,幫助協調各部門的關係。此外,良好的空氣質素有助提高工作效率,對網絡、軟件、通訊及保安系統等方面設計也應該全面考慮..
   GPC is a Hong Kong professional interior design consultant with more 
than 25 years expericene. We have many experiences that a successful project is 
more than simply a creative design. A good interior plan comprises creative 
designs and lifestyle.  At GPC, we care about the overall results of every 
project. Our mission is to create the pursuit for a better quality of life. 
Customer satisfaction illustrates our achievements.  Contact Us     
  (852) 2893 0038  (852) 9251 6327  i...@gpcdesign.com.hk      
If you prefer not to receive future email from the us, please unsubscribe here. 
  GP Century Design Ltd   Office 12, 10/F, Delta House, 3 On Yiu Street, Sha 
Tin · HK 香港沙田安耀街3號匯達大廈10樓12室    



如要取消訂閱,請到此處。
If you don’t wish to receive our Newsletter, please click here.
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: New all-snap images available

2016-11-30 Thread dandv.steele
Hello;

I am trying to install Ubuntu Snappy on a RaspberryPi2  using the image file 
from:
https://people.canonical.com/~mvo/all-snaps/16/all-snaps-pi2.img.xz

It boots and I go to ssh into the raspberrypi. I can get to the login prompt 
but do not know the default username or password.

Ubuntu / Ubuntu is given in many guides but doesn’t seem to work.

Would you be able to advise on what to do from here?

Kind regards

David 



-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


install snap on centos

2016-11-30 Thread ??????
Hi,
 I want to install snap on CentOS 7 , but I can't  find any document shows 
how to install snap on CentOS 7. Could you please tell me how to install snap 
on CentOS 7?




Best wishes.
Kunlong-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


subscribe

2016-11-30 Thread Ramon Grullon
Respecfully,
Ramon Grullon
Technical Support Engineer, CISSP
Canonical, Ltd
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snap and qt

2016-11-30 Thread Didier Roche
Le 30/11/2016 à 09:29, Vasilisc a écrit :
> Hi folks,
> please help me.
> Qt app can't open folder and/or launch web browser
>

Hey Vasilisc,

> Error message
>
> virtual bool QGenericUnixServices::openDocument(const QUrl&): Unable
> to detect a launcher for 'file:///home/vasilisc/'
>
> virtual bool QGenericUnixServices::openUrl(const QUrl&): Unable to
> detect a web browser to launch 'http://www..'
>
The second error message is due to the fact tht xdg-open isn't findable
in your snap (Qt is using that helper to open an url). Remember the
previous discussions on using xdg-open to transmit browser opened
request on the desktop. Add /usr/loca/bin to your $PATH in your snap
path, ensure you have the desktop service installed and that should work.

Not opening random files on the system is by design, xdg-open filter
thoses. You can join the discussion at
https://github.com/snapcore/snapd-xdg-open/issues/18.

Cheers,
Didier


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Wifi setup problem on Bubblegum 96board ubuntu core snappy

2016-11-30 Thread Zechao Wang
Hello,

The netplan is tested in my localhost, it works.

But when test on snappy core, it said:

$ sudo dhclient wlan0
*RTNETLINK* *answers*: *Operation* *not* *possible* *due* *to* *RF*-*kill*

what's the reason ?







2016-11-29 17:28 GMT+08:00 Simon Fels :

> Why are you calling
>
> $ sudo netplan ifupdown-migrate
>
> ?
>
> The correct steps to apply the netplan configuration is
>
> $ sudo netplan generate
> $ sudo netplan apply
>
> regards,
> Simon
>
> On Tue, Nov 29, 2016 at 9:08 AM, Zechao Wang  wrote:
>
>> hello, luo
>>
>> The yaml file is set as below:
>>
>> -
>> $ cat /etc/netplan/00-config.yaml
>> network:
>>   wifis:
>> wlan0:
>>   access-points:
>> "BhuWiFi-WX":
>>   password: "12345678"
>>   version: 2
>>
>> Then, run the netplan tool.
>>
>> -
>> $ sudo netplan apply
>> $ sudo netplan ifupdown-migrate
>> Unsupported method ppp
>>
>>
>> where am i wrong ?  How to make the netplan works ?
>>
>>
>>
>>
>>
>>
>> 2016-11-28 21:39 GMT+08:00 Jian LUO :
>>
>>> Hi,
>>>
>>> Ubuntu Core now uses netplan[1] for network configuration. You can find
>>> a good example in the repository[2].
>>>
>>> [1] https://lists.ubuntu.com/archives/ubuntu-devel/2016-July/039464.html
>>> [2] https://git.launchpad.net/netplan/tree/doc/example-config
>>>
>>> Jian
>>>
>>> On Nov 28, 2016 14:19, "Zechao Wang"  wrote:
>>>
 Hi,

 I'm working on Bubblegum 96board platform to support ubuntu snappy core.
 Everything is ok, and usb2eth is works well.

 But Wifi can not work, because snappy core use READ-ONLY file system, i
 cannot edit the file
 /etc/network/interfaces. (wifi device driver is modprobed, and wlan0 is
 displayed. )

 And the READ-ONLY file system is generated by ubuntu-image tool, it's a
 black box to us.

 So, could someone give me some advice how to fix the problem.

 Thx.







 --
 王泽超
 TEL: 13718389475
 北京威控睿博科技有限公司 


 --
 Snapcraft mailing list
 Snapcraft@lists.snapcraft.io
 Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
 an/listinfo/snapcraft


>>> --
>>> Snapcraft mailing list
>>> Snapcraft@lists.snapcraft.io
>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>> an/listinfo/snapcraft
>>>
>>>
>>
>>
>> --
>> 王泽超
>> TEL: 13718389475
>> 北京威控睿博科技有限公司 
>>
>>
>> --
>> Snapcraft mailing list
>> Snapcraft@lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
王泽超
TEL: 13718389475
北京威控睿博科技有限公司 
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: install snap on centos

2016-11-30 Thread Zygmunt Krynicki

> Wiadomość napisana przez 蓝森林 <290832...@qq.com> w dniu 10.11.2016, o godz. 
> 12:05:
> 
> Hi,
>  I want to install snap on CentOS 7 , but I can't  find any document 
> shows how to install snap on CentOS 7. Could you please tell me how to 
> install snap on CentOS 7?
> 

Hey

Unfortunately we haven’t ported snapd to CentOS yet. If you are interested in 
helping out the best way to start would be to take the current fedora packaging 
[1] and see what it takes to build it on CentOS 

[1] 
http://pkgs.fedoraproject.org/cgit/rpms/snap-confine.git/tree/snap-confine.spec 
and http://pkgs.fedoraproject.org/cgit/rpms/snap-confine.git/tree/snapd.spec

Best regards
ZK
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Ubuntu Core for Beaglebone Black

2016-11-30 Thread Didier Roche
Le 08/11/2016 à 03:54, Luther Goh Lu Feng a écrit :
> Hi there,
>
> I am trying to install Ubuntu Core 16 on the Beaglebone Black. I have found 
> the images available for download[1]. I am aware of gadget snaps[2], and I am 
> guessing that beagleblack is the snap I should be looking at.
>
> But I am unsure how to proceed and cant find the documentation. My google 
> search only turned up results related to previous versions, which I wasn't 
> works for Ubuntu Core 16. Can someone please point me in the right direction 
> please? Really excited to give this release a spin.

The BeagleBone Black isn't an officially supported image, this is why
there is no official getting started instructions. I however think there
sholdn't be any big difference with the instructions on the same website
than a raspberry pi though
(https://developer.ubuntu.com/en/snappy/start/raspberry-pi-2/).

I'm CCing Oliver who creates this unofficial image.
Cheers,
Didier

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: introduction

2016-11-30 Thread Julia Palandri
Hi Gerry!

On Wed, Nov 30, 2016 at 3:36 PM ger...@hispeed.ch  wrote:

> Hi I am guessing this is a mailing list.
>
> Your guess was right ;)


> My name is Gerry and I am struggling to produce my first snappy for my
> program highlighterpdf
>
>
Maybe you can tell us more about where you got blocked? A pointer to the
snapcraft.yaml might be useful too.

Best,

Julia
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread knitzsche


On 11/30/2016 08:39 AM, Stuart Bishop wrote:

I can't even find anything about the plugs: stanza in snapcraft.yaml,
but that might just be a lack of Google juice.


I would have expected "plugs:" to be documented here:

http://snapcraft.io/docs/build-snaps/syntax

In the "Apps and commands" section. But it is not present it seems.

For this I just filed: 
https://github.com/ubuntudesign/snapcraft.io/issues/226


Also, the "apps:" section does not clearly explain the required 
hierarchy of keys. The actual app name key is not clearly explained:


You need something like this:

apps:
  appname1: <-- this is not obvious from docs
command:
plugs:
  appname2: <-- this is not obvious from docs
command:
plugs:

This is not as clear as it could/should be:
"apps (yaml subsection) A map of keys for applications"

For this second point I filed 
https://github.com/ubuntudesign/snapcraft.io/issues/225







--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Dan Kegel
On Fri, Nov 11, 2016 at 6:46 AM, Timo Jyrinki  wrote:
> I hinted at this earlier but 'ubuntu-app-platform' (name bikeshedded a
> few times) is now there offering a huge amount of libraries via
> content interface. We're using it for some builds of for example
> Calculator, Calendar and other apps, dropping the size of those from
> 50+MB to even under 1MB.
>
> It's used for the use case of using a same version of Qt (5.6.1) and
> certain Ubuntu libraries on disk space constrained devices for several
> (sn)apps, but it might also serve you as an example of how you could
> share content similarly between your own snaps.

That sounds very useful, thanks!
- Dan

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Using Launchpad to build snaps

2016-11-30 Thread Claudio André

Em 30/11/2016 00:49, Evan Dandrea escreveu:
Can you elaborate on what you mean by "a regular user cannot use 
Launchpad to build snap packages"?


If you mean "what exactly is failing": [1] and [2]. But, please, this is 
not a support request. It more likely, hey lets look at snapcraft.yaml: 
it is an invitation to think different, to try new limits and LP is 
acting like a scared kitten.


Out of curiosity, did you use these instructions 
(https://lists.snapcraft.io/archives/snapcraft/2016-August/000831.html)?


Yes, no reasons to reinvent the wheel.

Claudio
[1] Internet access ('reported' as a LP question)
[2] store integration (idem)

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: ubuntu-image syntax for local gadget snap

2016-11-30 Thread Barry Warsaw
On Sep 28, 2016, at 07:59 AM, Dave Breed wrote:

>I'm trying to build an Snappy image for my armhf using the
>ubuntu-image tool. I've rolled my own kernel and gadget snaps, and
>model assertion file. I understand that I can use the --extra-snaps
>argument on the command line to specify a path to a local kernel snap,
>but I'm not clear if the same can be done for the gadget snap? I've
>tried using --extra-snaps and, alternatively, specifying a local
>absolute path to the snap in the assertion file, but either way
>ubuntu-image just returns an error saying the gadget snap can't be
>found.

This error message is probably coming from `snap prepare-image`, which is the
subcommand that ubuntu-image uses to do all the work of downloading the
relevant snaps.  ubuntu-image itself doesn't do anything with --extra-snaps,
it just passes it along to `snap prepare-image`.

Cheers,
-Barry

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: New all-snap images available

2016-11-30 Thread Shuduo Sang
On Sat, Sep 24, 2016 at 7:31 AM,  wrote:

> Hello;
>
>
>
> I am trying to install Ubuntu Snappy on a RaspberryPi2  using the image
> file from:
>
> https://people.canonical.com/~mvo/all-snaps/16/all-snaps-pi2.img.xz
>
>
>

Please use GM image from
http://cdimage.ubuntu.com/ubuntu-core/16/current/ubuntu-core-16-pi2.img.xz.


> It boots and I go to ssh into the raspberrypi. I can get to the login
> prompt but do not know the default username or password.
>
>
>
> Ubuntu / Ubuntu is given in many guides but doesn’t seem to work.
>
>
>
> Would you be able to advise on what to do from here?
>
>
>
> Kind regards
>
>
>
> David
>
>
>
>
>
>
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: New all-snap images available

2016-11-30 Thread Mark Shuttleworth
On 30/11/16 12:15, Shuduo Sang wrote:
> Please use GM image
> from 
> http://cdimage.ubuntu.com/ubuntu-core/16/current/ubuntu-core-16-pi2.img.xz.
>  
>
> It boots and I go to ssh into the raspberrypi. I can get to the
> login prompt but do not know the default username or password.
>
>  
>
> Ubuntu / Ubuntu is given in many guides but doesn’t seem to work.
>

Hi David

Given the vulnerability of a default username / password, we moved to
having account creation done on first boot in newer versions of the
system. We assume there is some online account verification system (the
reference implementation uses login.ubuntu.com but it would be plausible
to tie into any existing online authentication system). On first boot,
folks who can connect to the console of the device (or potentially who
have other privileged access) can trigger the creation of accounts for
themselves. Those use things like SSH credentials for access.

The net effect is that we solve one of the big problems in IoT, which
was at the heart of the recent Dyn attack.

Try the images that Shuduo pointed to, I think you'll like the new
system. If you really want a default user / password that can be setup
too, but we would consider it good practice to avoid those.

Mark
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Contract 9.7Million For You.

2016-11-30 Thread Ameerah Dulshara Baha

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Snaps to invoke external processes

2016-11-30 Thread Gustavo Niemeyer
Note snapctl exists for a few weeks only, while xdg-open is there for
several months. We couldn't have done that much earlier.

It's probably not a great first task for newcomers, because we need to
teach snapctl to work out of hooks first, so it traverses several layers.

There's a chance you might get Pawel excited enough to work on this soon,
after he's done with retries. He's been touching on related subjects.


On Mon, Nov 28, 2016 at 5:34 AM, Didier Roche  wrote:

> Le 25/11/2016 à 18:09, Gustavo Niemeyer a écrit :
>
> The role of xdg-open itself is already to open the URL with whatever
> tooling is available, so it sounds like we're making the issue more complex
> than it ought to be.
>
> I think we should reimplement xdg-open in terms of snapctl, and have snapd
> itself doing the hand-over to the local xdg-open tool after some basic
> sanity checking on the URL. That way we're not really asking for anything
> from the local system (no dbus service) while remaining completely portable.
>
> Ah, that was my fist implementation proposal which wasn't accepted at
> the time. Happy to see that our view converge now
>
> Gustavo, do you mind opening a bug for tracking this (and we can
> reference people who want to help/contribute to it) as it would be an
> easy first snapd contribution for newcomers?
>
> Cheers,
> Didier
>
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
>


-- 
gustavo @ http://niemeyer.net
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Snapcraft translation

2016-11-30 Thread Leo Arias
Hello Anne,

Thanks for your offer!
The snapcraft UI is not yet translatable. In our roadmap we have an
item to improve the handling of logs and messages printed to the CLI.
During that work, setting the strings up for translation will be easy.

I hope your offer will still be available for when we finish that work :)

pura vida.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Problems trying to create a snap package for bioinformatics tools

2016-11-30 Thread Leo Arias
Hello Gordon,

On Fri, Oct 14, 2016 at 3:09 AM, Gordon Ball  wrote:
>
>  * Trying to run any of the binaries gives the error
>
> failed to create user data directory. errmsg: Permission denied
>
>This is presumably related to #1592696, but in this case $HOME is on
> an NFS mount under /mnt. Probably an uncommon case, but this probably
> isn't the only such configuration.

This is https://bugs.launchpad.net/snappy/+bug/1594904
Feel free to subscribe to that one and leave a comment with your use case.

>  * The package contains multiple binaries, and the links in /snap/bin
> are named, eg `cufflinks.cuffdiff`, which makes them incompatible with
> existing scripts. Additionally, I can't declare `apps:` keys with
> underscores in them, so some come out completely misnamed.

This is work in progress:
https://bugs.launchpad.net/snappy/+bug/1607748

> Snap packages are potentially quite useful for scientific tools with odd
> sets of dependencies - where confinement is not an issue, but it
> provides a much easier way to handle private library versions, etc.

I agree :)
pura vida.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Enwei Zhang
Hi Stuart,
I never got "write" working, it always tells me "permission denied".
For your mount issue, I guess you need to create a empty folder locally
called "test-share-target".

Br
Enwei

On Wed, Nov 30, 2016 at 9:39 PM, Stuart Bishop 
wrote:

> On 29 November 2016 at 08:36, Enwei Zhang 
> wrote:
>
>> Thank you Timo.
>> I changed from "./bin" to "/bin", then it works.
>>
>
>
> Did you have any luck getting 'write' to work? I'm getting as far as
> running my app and it failing with:
>
>   cannot mount /snap/prov/x2 at /snap/cons/x1/test-share-target with
> options bind. errmsg: No such file or directory
>
> I'm unsure what paths I should be using. I need to get access to
> $SNAP_DATA, $SNAP_USER_DATA, $SNAP_COMMON etc. to install configuration
> files.
>
> Are there any user docs or design specs around, or is this feature being
> prototyped on the fly? I can't even find anything about the plugs: stanza
> in snapcraft.yaml, but that might just be a lack of Google juice.
>
> keskiviikko 23. marraskuuta 2016 Enwei Zhang 
>>> kirjoitti:
>>> > Hello,
>>> > Thanks Timo for the good example.
>>> > While I tried to write two snaps(server to share paths to client) that
>>> use content interface to share files, I found "write" slot doesn't work.
>>> > The code snippet from server side snapcraft.yaml
>>> >
>>> > slots:
>>> > test-share:
>>> > content: test-content-server
>>> > interface: content
>>> > write:
>>> > - .
>>> >
>>> > When accessing from client side snap, it shows "permission denied".
>>>
>>>
>>>
>
> --
> Stuart Bishop 
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snap and qt

2016-11-30 Thread Vasilisc

30.11.2016 17:39, Didier Roche пишет:

Le 30/11/2016 à 09:29, Vasilisc a écrit :

Hi folks,
please help me.
Qt app can't open folder and/or launch web browser



Hey Vasilisc,


Error message

virtual bool QGenericUnixServices::openDocument(const QUrl&): Unable
to detect a launcher for 'file:///home/vasilisc/'

virtual bool QGenericUnixServices::openUrl(const QUrl&): Unable to
detect a web browser to launch 'http://www..'


The second error message is due to the fact tht xdg-open isn't findable
in your snap (Qt is using that helper to open an url). Remember the
previous discussions on using xdg-open to transmit browser opened
request on the desktop. Add /usr/loca/bin to your $PATH in your snap
path, ensure you have the desktop service installed and that should work.

Not opening random files on the system is by design, xdg-open filter
thoses. You can join the discussion at
https://github.com/snapcore/snapd-xdg-open/issues/18.

Cheers,
Didier



Didier, forgive my stupidity. I create test snap
---
name: test2
version: "2"
summary: TEst
description: |
TEST
confinement: strict
architectures: [amd64]

apps:
  test2:
command: xdg-open "http://google.com/";
plugs: [network, network-bind, x11, home, unity7, gsettings]

parts:
  integration:
   plugin: nil
   stage-packages:
- bash
- xdg-utils
--
But I see error message
awk: cannot open /usr/local/share//applications/mimeapps.list 
(Permission denied)
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
x-www-browser: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
firefox: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
iceweasel: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
seamonkey: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
mozilla: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
epiphany: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
konqueror: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
chromium-browser: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
google-chrome: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
www-browser: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
links2: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
elinks: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
links: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
lynx: not found
/snap/test2/x1/usr/bin/xdg-open: 771: /snap/test2/x1/usr/bin/xdg-open: 
w3m: not found

xdg-open: no method available for opening 'http://google.com/'
--
how to do it correctly?

My host system have

snapd-xdg-open:
  Installed: 0.0.0
  Candidate: 0.0.0
  Version table:
 *** 0.0.0 500
500 http://fi.archive.ubuntu.com/ubuntu zesty/universe amd64 
Packages

100 /var/lib/dpkg/status
--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snap and qt

2016-11-30 Thread Vasilisc

30.11.2016 17:39, Didier Roche пишет:

Le 30/11/2016 à 09:29, Vasilisc a écrit :

Hi folks,
please help me.
Qt app can't open folder and/or launch web browser



Hey Vasilisc,


Error message

virtual bool QGenericUnixServices::openDocument(const QUrl&): Unable
to detect a launcher for 'file:///home/vasilisc/'

virtual bool QGenericUnixServices::openUrl(const QUrl&): Unable to
detect a web browser to launch 'http://www..'


The second error message is due to the fact tht xdg-open isn't findable
in your snap (Qt is using that helper to open an url). Remember the
previous discussions on using xdg-open to transmit browser opened
request on the desktop. Add /usr/loca/bin to your $PATH in your snap
path, ensure you have the desktop service installed and that should work.

Not opening random files on the system is by design, xdg-open filter
thoses. You can join the discussion at
https://github.com/snapcore/snapd-xdg-open/issues/18.

Cheers,
Didier



I found work solution.

name: test2
version: "2"
summary: TEst
description: |
TEST
confinement: strict
architectures: [amd64]

apps:
  test2:
command: xdg-open "http://google.com/";
plugs: [network, network-bind, x11, home, unity7, gsettings]

parts:
  snapd-xdg-open:
source: https://github.com/ubuntu-core/snapd-xdg-open.git
plugin: copy
files:
  data/xdg-open: bin/xdg-open

  integration:
   plugin: nil
   stage-packages:
- bash
#- xdg-utils


--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snap and qt

2016-11-30 Thread Didier Roche
Le 01/12/2016 à 06:20, Vasilisc a écrit :
> 30.11.2016 17:39, Didier Roche пишет:
>> Le 30/11/2016 à 09:29, Vasilisc a écrit :
>>> Hi folks,
>>> please help me.
>>> Qt app can't open folder and/or launch web browser
>>>
>>
>> Hey Vasilisc,
>>
>>> Error message
>>>
>>> virtual bool QGenericUnixServices::openDocument(const QUrl&): Unable
>>> to detect a launcher for 'file:///home/vasilisc/'
>>>
>>> virtual bool QGenericUnixServices::openUrl(const QUrl&): Unable to
>>> detect a web browser to launch 'http://www..'
>>>
>> The second error message is due to the fact tht xdg-open isn't findable
>> in your snap (Qt is using that helper to open an url). Remember the
>> previous discussions on using xdg-open to transmit browser opened
>> request on the desktop. Add /usr/loca/bin to your $PATH in your snap
>> path, ensure you have the desktop service installed and that should
>> work.
>>
>> Not opening random files on the system is by design, xdg-open filter
>> thoses. You can join the discussion at
>> https://github.com/snapcore/snapd-xdg-open/issues/18.
>>
>> Cheers,
>> Didier
>>
>>
> I found work solution.
>
> name: test2
> version: "2"
> summary: TEst
> description: |
> TEST
> confinement: strict
> architectures: [amd64]
>
> apps:
>   test2:
> command: xdg-open "http://google.com/";
> plugs: [network, network-bind, x11, home, unity7, gsettings]
>
> parts:
>   snapd-xdg-open:
> source: https://github.com/ubuntu-core/snapd-xdg-open.git
> plugin: copy
> files:
>   data/xdg-open: bin/xdg-open
>
>   integration:
>plugin: nil
>stage-packages:
> - bash
> #- xdg-utils
>
>
That works, or as said, you could just add in a wrapper /usr/local/bin
in your $PATH.

Cheers,
Didier


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft