原文实在太慢,转载到这里方便访问。

Crosswalk Project for Linux

The Crosswalk Project for Linux enables the creation of Linux desktop applications using web technologies. It is based on the Chromium content layer and its integration with the Linux desktop UI.

As with other platforms, the Crosswalk Project for Linux supports advanced Web APIs like WebGL, WebRTC, WebAudio, ServiceWorker, SIMD and Web Manifest.

This distribution includes a .deb package of the Crosswalk runtime and a backend for the crosswalk-app-tools command line suite to package Crosswalk applications for Debian Linux. The Crosswalk package is tested on Ubuntu 14.04 and Deepin Linux 2014.2

Downloading and Installing Crosswalk Project for Linux

Download the Crosswalk deb package from https://download.01.org/crosswalk/releases/crosswalk/linux/deb/

Double click to open the deb file and start installing Crosswalk using the system software manager (you may need to input your administrator password).

Alternatively, you can directly use sudo dpkg -i crosswalk_xxx.deb to install it from the command line.

Running a Crosswalk application

The simplest way to start a Crosswalk application is to use the xwalk command with the application’s manifest as argument:

$ xwalk /path/to/manifest.json

Crosswalk will parse the manifest and launch the application from the entry point specified in start_url. Crosswalk supports both “packaged” and “hosted” applications, meaning that start_url can point either to a local file in the application folder or an external URL. See here for documentation about the Crosswalk manifest.

If the application was packaged in the XPK format, it can be launched directly with the xwalk command:

$ xwalk /path/to/app.xpk

Finally, if the application was packaged as a .deb package (see next section) it can be installed with dpkg and launched from its desktop icon or by invoking its name from the command line.

##Packaging a web application

Package as .xpk To package a Crosswalk application as an XPK package, follow the instructions in https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-package-management#xpk-package-generator-python-version

The XPK package can be launched directly with the xwalk command (see the previous section)

Package as .deb To package a Crosswalk application as a deb package, you’ll need to use the crosswalk-app-tools CLI suite and its debian backend. Follow the instructions in https://github.com/crosswalk-project/crosswalk-app-tools-deb to install the backend, and package the application with the command crosswalk-app build.

Note: crosswalk-app-tools does not yet support multiple backends. Once you install the .deb backend, you will only be able to create .deb packages until it is removed. You may want to keep multiple copies of crosswalk-app-tools to build for multiple platforms.

Other notes and instructions

The “devscripts” and “debhelper” packages are needed to create debian packages with crosswalk-app-tools.

Crosswalk follows the W3C manifest specification. In particular, if no display member is specified in the manifest, Crosswalk will use minimal-ui as the default value and will display simple navigation controls with the application. To remove them, you need to explicitly specify “display”: “standalone” or “display”: “fullscreen” in the manifest.

When launching an application, Crosswalk will display the error

[0630/233246:ERROR:browser_main_loop.cc(185)] Running without the SUID sandbox!
See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment
for more information on developing with the sandbox on.

This is because the suid sandbox is not enabled in Crosswalk (see https://crosswalk-project.org/jira/browse/XWALK-3839). It has no effect on the application, and as such the error can be safely ignored.

If you want to dig deeper into Crosswalk for Linux, the links below might prove useful:

  • Building Crosswalk: https://crosswalk-project.org/contribute/building_crosswalk.html
  • Contributing to Crosswalk: https://crosswalk-project.org/contribute/contributing-code.html
  • Implementing Extensions: https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-Extensions

Crosswalk Project for Linux相关推荐

  1. Crosswalk Project for Android

    原文访问太慢,转载到这里方便访问. Crosswalk Project for Android This section describes how to create web and hybrid ...

  2. Linux使用cmake编译项目,如何使用cmake在linux中构建Qt项目(How to build Qt project in linux with cmake)...

    如何使用cmake在linux中构建Qt项目(How to build Qt project in linux with cmake) 我使用的是ubuntu 14.04,cmake 2.8.12.2 ...

  3. the crosswalk [project service must be updated to match the CPU

    ionic +angular+ cordova开发的前端项目,在mac中添加Android平台之后运行时报错 the crosswalk project service must be updated ...

  4. Linux Test Project 测试套件说明

    LTP(Linux Test Project) Linux Test Project 是由SGI.OSDL和Bull开发和维护的一个项目,由IBM.思科.富士通.SUSE.Red Hat.Oracle ...

  5. linux相关面试题总结!

    选择题 1 在终端下输入mount -a命令的作用是:C A 强制进行磁盘检查 B 显示当前挂载的所有磁盘分区的信息 C 挂载/etc/fstab文件中的除noauto以外的所有磁盘分区 D 以只读方 ...

  6. Xen为什么一定要进入内核 —— [简译] KVM is Linux, Xen is not

    Xen为什么一定要进入内核 这个问题我问了一位名为笑遍世界的博主,这位博主在写一本名为<KVM虚拟化原理与实践>的书,在他的博客上连载了书里面的部分章节,目前我在网上能找到最好的中文资料就 ...

  7. linux下xargs命令用法详解

    From:http://biancheng.dnbcw.info/shell/268829.html xargs在 linux中是个很有用的命令,它经常和其他命令组合起来使用,非常的灵活. xargs ...

  8. https://en.wikipedia.org/wiki/Linux Foundation

    https://en.wikipedia.org/wiki/Linux_Foundationhttps://en.wikipedia.org/wiki/Linux_Foundation 目录 Goal ...

  9. linux中编辑好的源如何保存,Linux下, Eclipse C/C++ IDE下编辑好C/C++源程序之后要先保存!!!否则,就会……...

    注意:Linux下,Eclipse C/C++ IDE下编辑好C/C++源程序之后要先保存! ! ! 然后Project-->Build All/Build Project,再点绿箭头执行.否则 ...

最新文章

  1. Android Html.fromHtml 的使用
  2. 阿里又要发布一个逆天的开源框架了!
  3. python(pil)图像处理(等比例压缩、裁剪压缩) 缩略(水印)图
  4. Spring AOP,AspectJ,CGLIB 有点晕
  5. ECC-based 算法(ECDSA/ECDH) 新潮算法的原理
  6. 15_clickhouse,MySQL引擎;MySQL和ClickHouse中数据类型的对应关系
  7. 命令行运行vbs脚本并传参数给vbs中的变量简单示例
  8. 关于搜狐焦点房产的数据分析
  9. django 函数装饰器 变为 类装饰器
  10. 3.1.1 Spring 简介
  11. python2和python3的编码区别
  12. 算法-01-二分查找/插值查找
  13. 信息安全密码学期末复习重点总结
  14. 日语输入法 android8.0,百度日文输入法
  15. vue 下载Excel 文件
  16. 手机发热是什么原因?
  17. git删除分支时究竟会删掉哪些东西
  18. Acwing算法基础课学习笔记
  19. 怎么开发一个小程序?从零开始手把手教你
  20. 易语言EIDE助手(内测体验版),更便捷好用的易语言助手。

热门文章

  1. 如果绿坝开源会怎么样
  2. sql语句优化之SQL Server
  3. 操作系统课后习题答案(作业题)
  4. 嵌入式软件开发之程序编程规范(五)
  5. 手机APP应用软件开发
  6. 金属制造业的全球与中国市场2022-2028年:技术、参与者、趋势、市场规模及占有率研究报告
  7. ORB_SLAM 算法框架解析
  8. iOS模仿京东商城中的选择地区样式
  9. PWM调光5V脉冲信号转模拟量信号隔离转换器,PWM控制芯片
  10. 家里的电脑如何搭建网站【电信宽带】