Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-04-12 18:28:05

tech1
Member
Registered: 2025-04-12
Posts: 5
MacintoshChrome 124.0

need help with xfce + wayfire(wayland)

Hello I am working on getting wayfire(wayland) + xfce working on arm64 boards...

Is there a list of what is needed as I have a error when I try to run wayfire

gdk_wayland_display_wl_display: assertion "GDK_IS_WAYLAND_DISPLAY (display) failed

Added later 07 min 43 s:
list of the files I install.. what am i missing ?
libwf-config1
reform-firedecor
wayfire
wayfire-plugin-winshadows
wcm
wf-shell
wstroke
xwayland

Offline

#2 2025-04-12 23:29:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,016
LinuxFirefox 137.0

Re: need help with xfce + wayfire(wayland)

How are you starting Xfce? Which Xfce components have you installed? Do you have libxfce4windowing installed?


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-04-14 22:46:43

tech1
Member
Registered: 2025-04-12
Posts: 5
MacintoshChrome 124.0

Re: need help with xfce + wayfire(wayland)

using sddm + wayfire.
xfce4
xfce4-goodies
xfce4-mount-plugin
xfce4-mpc-plugin
xfce4-notifyd
xfce4-panel
xfce4-power-manager
xfce4-power-manager-plugins
xfce4-screenshooter
xfce4-session
xfce4-terminal
xfce4-windowck-plugin
we have a builder that builds the img . and labwc (wayland) and xfce are working fine
I am working to get wayfire working now

Added later 03 min 28 s:
wayfire pkg:
slibwf-config1
reform-firedecor
wayfire
wayfire-plugin-winshadows
wcm
wf-shell
wstroke
xwayland

Last edited by tech1 (2025-04-14 22:52:27)

Offline

#4 2025-04-14 23:06:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,016
LinuxFirefox 137.0

Re: need help with xfce + wayfire(wayland)

Do you have libxfce4windowing installed?

Edit: Here is my working wayfire.ini file:

#KEYBOARD SHORTCUTS
#	close active window				Alt+F4
#	drag window						Super+LB
#	zoom screen						Super+Scroll
#	change opacity					Super+Alt+Scroll
#	rotate windows					Super+Ctrl+RB
#	fisheye							Super+Ctrl+f
#	refresh GenMons					Super+g
#	cube							Ctrl+Alt+LB
#	expo							Super+e
#	invert colors					Super+i
#	fix systray						Super+s


Default config for Wayfire
#
# Copy this to ~/.config/wayfire.ini and edit it to your liking.
#
# Take the tutorial to get started.
# https://github.com/WayfireWM/wayfire/wiki/Tutorial
#
# Read the Configuration document for a complete reference.
# https://github.com/WayfireWM/wayfire/wiki/Configuration

# Input configuration ──────────────────────────────────────────────────────────

# Example configuration:
#
# [input]
# xkb_layout = us,fr
# xkb_variant = dvorak,bepo
# xkb_options = grp:win_space_toggle
#
# See Input options for a complete reference.
# https://github.com/WayfireWM/wayfire/wiki/Configuration#input
[input]
tap_to_click = true
disable_while_typing = true
disable_touchpad_while_mouse = false

# Output configuration ─────────────────────────────────────────────────────────

# Example configuration:
#
# [output:eDP-1]
# mode = 1920x1080@60000
# position = 0,0
# transform = normal
# scale = 1.000000
#[output:X11-1]
#mode = 1920x1080
#
# You can get the names of your outputs with wlr-randr.
# https://github.com/emersion/wlr-randr
#
# See also kanshi for configuring your outputs automatically.
# https://wayland.emersion.fr/kanshi/
#
# See Output options for a complete reference.
# https://github.com/WayfireWM/wayfire/wiki/Configuration#output

# Core options ─────────────────────────────────────────────────────────────────

[core]

# List of plugins to be enabled.
# See the Configuration document for a complete list.
plugins = \
  alpha \
  animate \
  autostart \
  command \
  cube \
  decoration \
  expo \
  fast-switcher \
  fisheye \
  foreign-toplevel \
  grid \
  gtk-shell \
  idle \
  invert \
  move \
  oswitch \
  place \
  resize \
  session-lock \
  shortcuts-inhibit \
  switcher \
  vswitch \
  wayfire-shell \
  window-rules \
  wm-actions \
  wobbly \
  wrot \
  zoom

# Note: [blur] is not enabled by default, because it can be resource-intensive.
# Feel free to add it to the list if you want it.
# You can find its documentation here:
# https://github.com/WayfireWM/wayfire/wiki/Configuration#blur

# Close focused window.
close_top_view = <super> KEY_Q | <alt> KEY_F4

# Workspaces arranged into a grid: 3 × 3.
vwidth = 2
vheight = 2

# Prefer client-side decoration or server-side decoration
preferred_decoration_mode = client

# Mouse bindings ───────────────────────────────────────────────────────────────

# Drag windows by holding down Super and left mouse button.
[move]
activate = <super> BTN_LEFT

# Resize them with right mouse button + Super.
[resize]
activate = <super> BTN_RIGHT

# Zoom in the desktop by scrolling + Super.
[zoom]
modifier = <super>

# Change opacity by scrolling with Super + Alt.
[alpha]
modifier = <super> <alt>

# Rotate windows with the mouse.
[wrot]
activate = <super> <ctrl> BTN_RIGHT

# Fisheye effect.
[fisheye]
toggle = <super> <ctrl> KEY_F

[decoration]
active_color = \#bfb8b1ff
border_size = 1
button_order = minimize maximize close
font = "Sans 8"
ignore_views = none
inactive_color = \#bfb8b1FF
title_height = 36
#ignore_views = "app_id is gloobus-preview"

# Startup commands ─────────────────────────────────────────────────────────────

[autostart]
session = xfce4-session

# Automatically start background and panel.
# Set to false if you want to override the default clients.
autostart_wf_shell = true

# Set the wallpaper, start a panel and dock if you want one.
# https://github.com/WayfireWM/wf-shell
#
# These are started by the autostart_wf_shell option above.
#
# background = wf-background
# panel = wf-panel
#
# You may also use wf-dock,
# which is included in wf-shell but is not enabled by default.
#
# dock = wf-dock

# Output configuration
# https://wayland.emersion.fr/kanshi/
#outputs = kanshi

# Notifications
# https://wayland.emersion.fr/mako/
#notifications = mako

# Screen color temperature
# https://sr.ht/~kennylevinsen/wlsunset/
#gamma = wlsunset

# Idle configuration
# https://github.com/swaywm/swayidle
# https://github.com/swaywm/swaylock
#idle = swayidle -w before-sleep "swaylock --image /usr/share/backgrounds/xfce/AbstractCube.jpg"
idle = swayidle -w \
                timeout 300 "swaylock --image /usr/share/backgrounds/xfce/AbstractCube.jpg" \
                before-sleep "swaylock --image /usr/share/backgrounds/xfce/AbstractCube.jpg"
# XDG desktop portal
# Needed by some GTK applications
portal = /usr/libexec/xdg-desktop-portal

# Example configuration:
#
[idle]
# toggle = <super> KEY_Z
screensaver_timeout = 300
dpms_timeout = 600
#
# Disables the compositor going idle with Super + z.
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds.

[session-lock]

# Applications ─────────────────────────────────────────────────────────────────

[command]

# mpc
binding_mpc_play = <ctrl> KEY_SLASH
command_mpc_play = mpc toggle
binding_mpc_forward = <ctrl> KEY_DOT
command_mpc_forward = mpc next
binding_mpc_back = <ctrl> KEY_COMMA
command_mpc_back = mpc prev

# Start a terminal
# https://github.com/alacritty/alacritty
binding_terminal = <super> KEY_T
command_terminal = xfce4-terminal

# Refresh Genmons
binding_genmon = <super> KEY_G
command_genmon = genmonRefresh

# Start your launcher
# https://hg.sr.ht/~scoopta/wofi
# Note: Add mode=run or mode=drun to ~/.config/wofi/config.
# You can also specify the mode with --show option.
binding_launcher = <alt> KEY_F2
command_launcher = xfce4-appfinder --collapsed
binding_launcher2 = <super>
command_launcher2 = xfce4-popup-applicationsmenu

# Screen locker
# https://github.com/swaywm/swaylock
binding_lock = <super> KEY_L
command_lock = xflock4

# Logout
# https://github.com/ArtsyMacaw/wlogout
binding_logout = <super> KEY_ESC
command_logout = xfce4-session-logout

# Screenshots
# https://wayland.emersion.fr/grim/
# https://wayland.emersion.fr/slurp/
#binding_screenshot = KEY_PRINT
#command_screenshot = grim $(date '+%F_%T').webp
#binding_screenshot_interactive = <shift> KEY_PRINT
#command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp

# Volume controls
# https://alsa-project.org
repeatable_binding_volume_up = KEY_VOLUMEUP
command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +10%
repeatable_binding_volume_down = KEY_VOLUMEDOWN
command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -10%
#binding_mute = KEY_MUTE
#command_mute = amixer set Master toggle

# Screen brightness
# https://haikarainen.github.io/light/
repeatable_binding_light_up = KEY_BRIGHTNESSUP
command_light_up = light -A 5
repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
command_light_down = light -U 5

# restart systray
binding_systray = <super> KEY_S
command_systray = pkill -HUP -f libsystray

# Windows ──────────────────────────────────────────────────────────────────────

# Actions related to window management functionalities.
#
# Example configuration:
#
# [wm-actions]
# toggle_fullscreen = <super> KEY_F
# toggle_always_on_top = <super> KEY_X
# toggle_sticky = <super> <shift> KEY_X

# Position the windows in certain regions of the output.
[grid]
#
# ⇱ ↑ ⇲   │ 7 8 9
# ← f →   │ 4 5 6
# ⇱ ↓ ⇲ d │ 1 2 3 0
# ‾   ‾
slot_bl = <super> KEY_KP1
slot_b = <super> KEY_KP2
slot_br = <super> KEY_KP3
slot_l = <super> KEY_LEFT | <super> KEY_KP4
slot_c = <super> KEY_UP | <super> KEY_KP5
slot_r = <super> KEY_RIGHT | <super> KEY_KP6
slot_tl = <super> KEY_KP7
slot_t = <super> KEY_KP8
slot_tr = <super> KEY_KP9
# Restore default.
restore = <super> KEY_DOWN | <super> KEY_KP0

# Change active window with an animation.
[switcher]
next_view = <alt> KEY_TAB
prev_view = <alt> <shift> KEY_TAB

# Simple active window switcher.
[fast-switcher]
activate = <alt> KEY_ESC

# Workspaces ───────────────────────────────────────────────────────────────────

# Switch to workspace.
[vswitch]
binding_left = <ctrl> <alt> KEY_LEFT
binding_down = <ctrl> <alt> KEY_DOWN
binding_up = <ctrl> <alt> KEY_UP
binding_right = <ctrl> <alt> KEY_RIGHT
# Move the focused window with the same key-bindings, but add Shift.
with_win_left = <ctrl> <super> <shift> KEY_LEFT
with_win_down = <ctrl> <super> <shift> KEY_DOWN
with_win_up = <ctrl> <super> <shift> KEY_UP
with_win_right = <ctrl> <super> <shift> KEY_RIGHT

# Show the current workspace row as a cube.
[cube]
activate = <ctrl> <alt> BTN_LEFT
# Switch to the next or previous workspace.
rotate_left = <super> <ctrl> KEY_H
rotate_right = <super> <ctrl> KEY_L

# Show an overview of all workspaces.
[expo]
toggle = <super> KEY_E
# Select a workspace.
# Workspaces are arranged into a grid of 3 × 3.
# The numbering is left to right, line by line.
#
# ⇱ k ⇲
# h ⏎ l
# ⇱ j ⇲
# ‾   ‾
# See core.vwidth and core.vheight for configuring the grid.
select_workspace_1 = KEY_1
select_workspace_2 = KEY_2
select_workspace_3 = KEY_3
select_workspace_4 = KEY_4
select_workspace_5 = KEY_5
select_workspace_6 = KEY_6
select_workspace_7 = KEY_7
select_workspace_8 = KEY_8
select_workspace_9 = KEY_9

# Outputs ──────────────────────────────────────────────────────────────────────

# Change focused output.
[oswitch]
# Switch to the next output.
next_output = <super> KEY_O
# Same with the window.
next_output_with_win = <super> <shift> KEY_O

# Invert the colors of the whole output.
[invert]
toggle = <super> KEY_I

# Send toggle menu event.		
[wayfire-shell]
toggle_menu = <super>

# Rules ────────────────────────────────────────────────────────────────────────

# Example configuration:
#
# [window-rules]
# maximize_alacritty = on created if app_id is "Alacritty" then maximize
#
# You can get the properties of your applications with the following command:
# $ WAYLAND_DEBUG=1 alacritty 2>&1 | kak
#
# See Window rules for a complete reference.
# https://github.com/WayfireWM/wayfire/wiki/Configuration#window-rules

# Workarounds ──────────────────────────────────────────────────────────────────
[workarounds]
use_external_output_configuration = true

Last edited by ToZ (2025-04-14 23:07:28)


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2025-04-17 12:41:06

tech1
Member
Registered: 2025-04-12
Posts: 5
MacintoshChrome 124.0

Re: need help with xfce + wayfire(wayland)

yes itis installed. ok I will give yours ago.I have to build a new img first.this is on arm64 ....we are working to get more desktops on arm working in wayland

Added later 03 min 35 s:
Have you guys thought to setup a xfce server on discord to interact more real time ?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 9 queries executed - Memory usage: 591.44 KiB (Peak: 608.28 KiB) ]