Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
/symbiosePublic archive
Kyle Luzny edited this pageJun 19, 2017 ·13 revisions

Broadway enables you to use your GTK apps right in the web desktop.

Broadway doesn't virtualize apps, it's a GTK backend (thus, it's faster). Instead of rendering apps on the screen (with the X server/Wayland/other), it's streaming it via WebSockets (compressed, and only updated regions are refreshed).

Resources:

This is an experimental technology! Use it carefully!

Installing Broadway

You'll have to install Broadway on your server:

You'll have to install thebranchfeat-broadway of Symbiose in order to get latest Broadway updates in the webos.

Running an app

From Broadway

First, start the Broadway server:

broadwayd -a 0.0.0.0 -p 8080 :2

Options:

  • -a: the bind address
  • -p: the server port
  • :2: the display name

Open a terminalon your server, and execute the following commands:

export GDK_BACKEND=broadwayexport BROADWAY_DISPLAY=:2

And execute the app you want to use, for examplegnome-calculator orsoffice --writer (LibreOffice).

To use LibreOffice, you must executeexport SAL_USE_VCLPLUGIN=gtk3 before runningsoffice --writer, in order to use GTK3.Seehttps://wiki.documentfoundation.org/Using_LibreOffice_in_a_Web_Browser

Then, you should be able to accesshttp://localhost:8080 (replace the domain by yours).

You should be able to run multiple instances ofbroadwayd, just be sure to use a different port and display for each of them.

Enabling Broadway support in the webos

Once configured, enable Broadway support in the webos. For the moment, you'll have to execute this commandin a Symbiose terminal:broadway.

Options:

  • -H or--host: specify the host to connect to (e.g.broadway --host http://example.com:8081). Defaults tohttp://localhost:8080.

From Symbiose

To start the Broadway server, executebroadwaydfrom a Symbiose terminal. You will then be able to start an app by typing its name.

Config

Config is stored in/etc/broadway.

Logs

You can find logs in:

  • /var/log/broadway-server.log for the server
  • /var/log/broadway-apps.log for GTK3 apps

Change GTK theme (optional)

You can change the GTK theme by editing~/.config/gtk-3.0/settings.ini (seehttp://worldofgnome.org/running-gtk-apps-on-web-with-node-broadway/ sectionTheming):

[Settings]gtk-application-prefer-dark-theme=0gtk-theme-name=Adwaita

Assumed you have Adwaita theme installed (you can choose another e.g. Elementary if you want).

Here are a full list of settings you can tweak:https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings.properties

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp