Wayland Wayfire session support for Xfce 4.20.
This is the proposed Wayland Wayfire support for Xfce >= 4.20.
Will pull request after !71 (merged) is done. But, maybe this should be a separate package. Opinions?
For testing.
Xfce 4.20.0 and the most recent version of Wayfire.
NOTE: You do not need to overwrite any files. All required files do not conflict with existent files of current Xfce 4.20 installation. It was published temporarily at Github because some of my co-workers asked for it.
git clone https://github.com/darkshram/xfce4-session-wayfire
cd xfce4-session-wayfire
sudo install -m 755 startxfce4-wayfire /usr/bin/startxfce4-wayfire
sudo install -m 644 xfce-wayfire.desktop.in /usr/share/wayland-sessions/xfce-wayfire.desktop
sudo mkdir -p /usr/share/xfce4/wayfire
sudo install -m 644 wayfire.ini /usr/share/xfce4/wayfire/wayfire.ini
sudo mkdir -p /usr/libexec/xfce4/wayfire
sudo install -m 755 xfce-wayland-components.sh /usr/libexec/xfce4/wayfire/xfce-wayland-components.sh
Optionally, to change wallpaper desktop:
sudo install -m 755 xfce4-change-wallpaper-all-displays.sh /usr/bin/xfce4-change-wallpaper-all-displays.sh
Usage:
xfce4-change-wallpaper-all-displays.sh /home/user/Images/any/image/you/want.png
After install, you should see a Xfce4 session (Wayland Wayfire) entry in the display manager. Log in. Configuration for Wayfire for Xfce may be customized editing ~/.config/xfce4/wayfire/wayfire.ini
file.
Until xfce4-screensaver gets support for wayland, I do recommend to use gtklock.
Except for [autostart]
section, any change done in ~/.config/xfce4/wayfire/wayfire.ini
applies immediately.
Have fun!
Known bugs
- Until xfce4-panel gets support for Wayland workspaces, there is no support for them in the workspaces plugin.
- Do not try to hibernate or suspend system because xfsettingsd will exit on resume and xfce4-panel and xfdesktop will lose their elements, so you will have to either start again xfsettings, then restart panel, then kill and start again xfdesktop or simply logout and login
- Xfce4 keyboard shortcuts will not work and you will need to add o modify whatever you need in
~/.config/xfce4/wayfire/wayfire.ini
- If you need to use themes for server side window decorations, you will need to install firedecor plugin for Wayfire
- Until xfce4-screensaver gets support for Wayland, please use gtklock or swaylock instead by editing
~/.config/xfce4/wayfire/wayfire.ini
(default is gtklock) - Because several bugs in xfce4-settings, you will not be able to change desktop wallpaper unless you do it from
xfce4-settings-editor
or usingxfce4-change-wallpaper-all-displays.sh
- Drag and drop of window tabs does not work with xfce4-terminal and other Gtk applications, but works nice with mousepad
- Celluloid (Gtk4) only works executing as
GDK_BACKEND=x11 celluloid
, but Gtk3 version works fine - Do not use mpv unless you set
wlshm
orsdl
for video output, because otherwise it will segfault - Parole uses X11 specific code so you will see the video in a different window
- Tested video players that actually do work out of the box with Xfce 4.20 Wayland session: clapper, vlc and totem
- Birdtray tray icon does not start Thunderbird
- Telegram desktop tray icon will behave weird