Esta página ainda não foi traduzida. O texto abaixo está em inglês.
Troubleshooting on XFCE
Home · Installation and channels · User guide · Configuration reference · Platform support
Tessera is a client of your window manager. It asks Xfwm4 to move, resize, and focus windows, and it never replaces Xfwm4. Most XFCE problems belong to one of three groups:
- Another program owns the shortcut.
- The window manager or the application refused a request.
- The configuration tells Tessera to ignore the window.
This page guides you from symptom to cause.
This page is about the XFCE (X11) profile with Xfwm4. See the xfce-x11 row on Platform support for its supported capabilities. For other systems start from their own page: GNOME (Wayland), KDE Plasma (Wayland), macOS, Windows.
Collect diagnostics first
Three headless commands cover most reports. None of them changes your session.
tessera --debug-info # session, backend, capabilities, config status
tessera debug windows --redact-window-titles # one row per window Tessera can see
tessera debug windows --include-unmanaged --redact-window-titles # also windows it ignores
--json switches --debug-info and the debug commands to JSON. tessera --debug-info --include-apps adds an application inventory. To collect a log, run tessera --autostart --log in a terminal. The --log, -v, and --verbose flags set the log level to debug, and RUST_LOG overrides it. When the systemd user service runs Tessera, run journalctl --user -u tessera -e instead.
What --debug-info tells you
| Line | Read it as |
|---|---|
session-type, desktop, display |
Must show x11, an XFCE desktop, and a non-empty DISPLAY. |
window-manager |
Should name Xfwm4. - means no window manager answered. |
ui-provider / ui-provider-fallback |
Which look is in use and why another was skipped |
capabilities, unavailable-operations |
What the backend can do in this session |
config: <path> (…) |
The file Tessera reads and whether it loaded, is missing or invalid |
windows, monitors, desktops |
Counts as Tessera sees them |
inspection-failure |
A read of the window system that failed |
What tessera debug windows tells you
Columns are ID MANAGED UNMANAGED_REASON FLOATING CLASS INSTANCE FRAME TITLE. A window Tessera will not tile shows MANAGED false with one reason: non_tileable_type, modal or fixed_size. FLOATING true means a rule, a size threshold or your own toggle floats it.
Redact before sharing
| Output | What it can leak | Before you paste |
|---|---|---|
tessera --debug-info |
Tessera redacts window titles and collapses the home directory in paths to ~. Application class names remain visible. |
Skim it once |
tessera debug windows |
Titles are printed unless you pass --redact-window-titles |
Always pass the flag |
| Preferences → About and diagnostics → Copy report | Omits window titles and replaces absolute paths with <redacted> |
Safe default |
tessera.yml |
Window-title regular expressions and application names in your rules | Remove rules you do not want public |
Logs (--log, journalctl) |
Tessera does not audit logs for personal data | Read before attaching |
Quick checklist
Run these commands in order. Stop at the first command that fails.
echo "$XDG_SESSION_TYPE" # x11
xfwm4 --version # Xfwm4 is installed
xprop -root _NET_SUPPORTING_WM_CHECK # note the window id, then:
xprop -id <id-from-above> _NET_WM_NAME # "Xfwm4"
pgrep -a tessera # exactly one controller
xrandr --listmonitors # the monitors you expect
tessera --debug-info # config is "loaded", not invalid
Then press Alt+Shift+A (tall layout) and Alt+Shift+Z (re-evaluate all windows). If the windows tile, the problem was session state. If not, find your symptom below.
Symptoms
A shortcut does nothing
Cause: another program already owns the shortcut, or the keyboard layout switcher consumes it.
Check
- Start Tessera with
--logand look forshortcut collision: <chord> is already bound to <command>(an XFCE or Xfwm4 shortcut) or… is already taken by another application(an active grab by another X client). - Preferences → Shortcuts flags the same collisions.
- List XFCE’s own bindings:
xfconf-query -c xfce4-keyboard-shortcuts -lv | grep -i alt
Fix: change one side:
| Collision | Resolution |
|---|---|
Ctrl+Alt+Shift+Left and Right belong to Xfwm4 (move_window_left_key and move_window_right_key). They collide if you bind mod2+Left or mod2+Right in Tessera. The defaults for throw-space-left and throw-space-right are mod2+B and mod2+F. |
Clear the shortcut under Settings → Window Manager → Keyboard, or rebind the Tessera command. |
Keyboard layout toggle on Alt+Shift (grp:alt_shift_toggle) |
Choose another toggle under Settings → Keyboard → Layout. Check with setxkbmap -query. |
| A screenshot tool, remote-desktop client or VM in “capture input” mode holds the key | Close it and retry |
To move Tessera instead, change the modifier groups (option is Alt on Linux) or a single command in tessera.yml:
mod1: [option, shift]
mod2: [option, shift, control]
mod1 is Alt+Shift and mod2 is Alt+Shift+Ctrl by default. Edit them in Preferences → Shortcuts, or in the file, then reload.
Nothing is tiled
Cause: one of four states, listed from most to least common.
| Check | Fix |
|---|---|
The current space uses the floating layout |
Alt+Shift+Space cycles forward. Alt+Shift+A/S/D/F selects tall, wide, fullscreen, or column. |
| Tiling is switched off | Alt+Shift+Ctrl+T toggles tiling. Run grep tiling-enabled ~/.config/tessera/tessera.yml to check. |
floating-is-blacklist: false |
With false, the floating list is a whitelist: only the listed applications tile, and everything else floats. Set it back to true (the default). Tessera accepts the value without any warning. |
float-small-windows (default true) with a large small-window-size (default 500) |
A window floats when both its own dimensions are below the threshold. Lower the size or set float-small-windows: false. |
One application is never tiled
Check: run tessera debug windows --include-unmanaged --redact-window-titles and find the row.
MANAGED / UNMANAGED_REASON / FLOATING |
Cause | Fix |
|---|---|---|
false / non_tileable_type |
Dock, splash, desktop or similar window type | Expected |
false / modal |
Modal dialog | Expected |
false / fixed_size |
The client forbids resizing | Expected |
true / - / true |
Matches a floating rule, or you toggled it with Alt+Shift+T | Remove the class from floating, or press Alt+Shift+T on it |
For rules, match against the CLASS or INSTANCE column of the same output.
A window is a few pixels off, or snaps back
Cause: the application’s size constraints (increments, minimum, maximum) override the requested frame, such as terminals that resize in character cells. After one request, Tessera accepts a size that the window manager clamped and acknowledged. It retries an unacknowledged move at most twice before stopping.
Check
xprop -id "$(xdotool getactivewindow)" WM_NORMAL_HINTS _NET_FRAME_EXTENTS
Fix: float the application, or lower window-minimum-width / window-minimum-height. Reserve room with screen-padding-top|right|bottom|left and spacing with window-margin-size (window-margins toggles them).
Tessera reports “Could not place …”
Cause: Tessera ordered a frame or workspace move twice and the window system never showed it. Another placement tool, a script or the application itself is competing.
Check: Preferences → About and diagnostics → Warnings lists the window ID, class, attempts, and whether Tessera stopped retrying. The ID matches tessera debug windows. Also run pgrep -a tessera and check that no other tiling helper is active.
Fix: stop the competing tool, or float the application. Use only one login-start method for Tessera.
The layout is wrong after plugging a monitor or changing workspace
| Symptom | Cause | Fix |
|---|---|---|
| Wrong layout after hotplug | Tessera did not re-evaluate the windows | Alt+Shift+Z |
| Each workspace has its own layout | per-workspace-layouts defaults to true |
Set it to false, or untick Remember a layout for each workspace in Preferences |
A workspace-assignments rule did not move a window |
Rules apply only to windows that open after you create the rule. Tessera never moves sticky windows, and it ignores missing workspace numbers. | Reopen the window and check Warnings. See Configuration reference. |
Focus does not behave as expected
Focus does not follow the mouse. Tessera’s focus-follows-mouse (toggle Alt+Shift+Ctrl+X) is independent of Xfwm4’s focus model. Inspect Xfwm4’s side:
xfconf-query -c xfwm4 -p /general/click_to_focus
xfconf-query -c xfwm4 -p /general/focus_new
xfconf-query -c xfwm4 -p /general/prevent_focus_stealing
Xfwm4’s shipped defaults are click_to_focus=true, focus_new=true, prevent_focus_stealing=false, so new windows take focus. Use Settings → Window Manager Tweaks → Focus to change them.
The pointer jumps. That is mouse-follows-focus. Set it to false or clear it in Preferences → Mouse.
Tiled windows show no focus border. With window-decorations: hide-tiled, Xfwm4 draws no focus border on the bare window and Tessera draws none. Set keep (Preferences → Appearance → Title bars) or use the focus shortcuts (Alt+Shift+J / K).
Title bars are missing after Tessera was killed
Cause: hide-tiled hides decorations. A clean exit (SIGTERM, SIGINT, or Quit from the tray) restores them, but a SIGKILL or crash does not. Tessera stores the original setting on each window as _TESSERA_SAVED_MOTIF_WM_HINTS.
Fix: start Tessera once with window-decorations: keep to restore every window. With hide-tiled, it restores only floating windows.
Tessera does not start
| Message or symptom | Cause | Check and fix |
|---|---|---|
| “this desktop session has no window-management backend” or “the window-management backend could not be initialized” | Not an X11 session, or Xfwm4 is not the running window manager | Run echo $XDG_SESSION_TYPE. Log in to the XFCE (X11) session. Check window-manager in tessera --debug-info. |
| “Tessera is already running in this session” | A controller already runs (autostart, service or a terminal) | Run pgrep -a tessera and keep only one start method. |
| “the command-line arguments are invalid” | Unknown or misplaced flag | tessera --help or man tessera |
Service shows inactive (dead) at login |
The unit has ConditionEnvironment=DISPLAY and the user manager started before DISPLAY was set |
systemctl --user import-environment DISPLAY XAUTHORITY from the session startup, or use the XDG autostart entry instead |
| Service restarts repeatedly | Restart=on-failure with a start limit of 3 in 60 s, and a 30 s watchdog |
journalctl --user -u tessera -e |
NAMESPACE / “Failed to set up mount namespacing” |
The user manager cannot build the unit’s sandbox (ProtectSystem, ProtectHome, ReadWritePaths) |
systemctl --user edit tessera to relax it |
| Settings are not saved under the service | ProtectHome=read-only restricts writes. Writable paths are ~/.config/tessera, ~/.local/share/tessera, ~/.config/autostart, and /tmp. |
Keep the file under ~/.config/tessera/ |
Check service state with tessera service status.
The interface looks wrong
Tessera selects its appearance from ui-style (auto by default) and TESSERA_UI, which overrides ui-style for one run. For an unknown or unusable value, Tessera reverts silently to auto. The reason appears in the log and on the ui-provider-fallback line.
TESSERA_UI=gtk tessera --debug-info # plain GTK, follows the desktop theme
TESSERA_UI=adwaita tessera --debug-info # libadwaita 1.5+ if it can be loaded
| Symptom | Cause | Fix |
|---|---|---|
| Plain GTK although libadwaita is installed | The library cannot be loaded, or is older than 1.5 | Read ui-provider-fallback |
| Light window on a dark theme, or the reverse | The desktop settings portal’s color preference wins. Without a portal, Tessera infers dark mode from the XFCE theme name or background. | Force TESSERA_UI=gtk |
| Preferences window looks cramped | At 680 px wide or less, the window switches to a compact layout (no sidebar). | Widen the window. |
Report a problem
Open an issue at https://github.com/tessera-tiling/tessera-tiling/issues and include:
- What you did and expected, and what happened instead, in a few lines.
- Environment: distribution, XFCE version (
xfce4-session --version), Xfwm4 version (xfwm4 --version), Tessera version (tessera --version) and how you installed it. - Diagnostics: the output of
tessera --debug-infoandtessera debug windows --include-unmanaged --redact-window-titles, or the text from Preferences → About and diagnostics → Copy report. - Configuration: the relevant part of
~/.config/tessera/tessera.yml, trimmed and redacted. - Log: the lines around the failure from
tessera --autostart --log, after you have read them for anything private. - Whether it is repeatable, and the exact keys pressed or windows involved.
If you cannot reproduce the problem on an XFCE session on X11 with Xfwm4, state that in your report. This page covers that profile only.