From Fedora Project Wiki

No edit summary
No edit summary
Line 47: Line 47:
icon=/usr/share/icons/hicolor/24x24/apps/thunderbird.png
icon=/usr/share/icons/hicolor/24x24/apps/thunderbird.png
path=/home/<my_username>/bin/thunderbird-wayland</pre>
path=/home/<my_username>/bin/thunderbird-wayland</pre>
For leaving the weston session the <code>~/bin/weston-quit</code> file has this content:
<pre>#!/bin/bash
JID=`ps ax | grep gdm-wayland-session | head -1 | awk '{print $1}'`
kill -9 $JID</pre>


[[File:Weston_DE.png|thumb|center|Weston Desktop Environment]]
[[File:Weston_DE.png|thumb|center|Weston Desktop Environment]]

Revision as of 05:57, 28 September 2019

Weston is the reference implementation of a Wayland compositor. It is completely written in C. Since version 7 it uses the Meson Build system. The Weston compositor is a minimal and fast compositor.

Installation

 $ dnf install weston weston-demo

The demo subpackage provides the clients programs:

  • weston-calibrator, weston-clickdot, weston-cliptest, weston-confine, weston-dnd, weston-editor, weston-eventdemo, weston-flower, weston-fullscreen, weston-image, ...

Configuration

Weston is configured on a local level with the ~/.config/weston.ini file.

[keyboard]
keymap_layout=de

[shell]
#panel-position=left
#clock-format=none
panel-color=0xff00ff00
#binding-modifier=alt

## button to quit session
[launcher]
icon=/usr/share/icons/HighContrast/24x24/actions/system-shutdown.png
path=/home/<my_username>/bin/weston-quit

## button for weston terminal
[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
icon=/usr/share/icons/HighContrast/24x24/apps/utilities-terminal.png
path=/usr/bin/weston-terminal

## button for gnome terminal
[launcher]
#icon=/usr/share/icons/HighContrast/24x24/apps/utilities-terminal.png
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/gnome-terminal

## button for firefox
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/firefox.png
path=/usr/bin/firefox-wayland

## button for thunderbird
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/thunderbird.png
path=/home/<my_username>/bin/thunderbird-wayland

For leaving the weston session the ~/bin/weston-quit file has this content:

#!/bin/bash
JID=`ps ax | grep gdm-wayland-session | head -1 | awk '{print $1}'`
kill -9 $JID
Weston Desktop Environment