Skip to content

ClipCascade try to use wayland on xserver #156

Description

@Unknow0

Hi,

i run clipcascade (3.0.0) from .config/openbox/autostart.sh (i added --xmode then --gui to try to force the x11 usage instead of wayland)

[ "$DISPLAY" = ":0" ] && (sleep 1
        python3 /opt/ClipCascade/main.py --xmode true --gui true > ~/.clipcascade.log 2>&1 &
)

but in the log i seem clipcascade try to use wayland:

(main.py:1956): libayatana-appindicator-WARNING **: 09:32:50.781: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.

(main.py:1956): Gdk-CRITICAL **: 09:32:50.930: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is unset (falling back to wayland-0)
Note: XDG_RUNTIME_DIR is set to /run/user/1001
Please check whether /run/user/1001/wayland-0 socket exists and is accessible.
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is unset (falling back to wayland-0)
Note: XDG_RUNTIME_DIR is set to /run/user/1001
Please check whether /run/user/1001/wayland-0 socket exists and is accessible.

if i launch it manually sometime it works as expected, but sometime i have the same issue as the autostart.sh

do you know why it try wayland instead of x11 even with --xmode true ?

the env variable i have:

$ echo $XDG_SESSION_TYPE
x11
$ echo $WAYLAND_DISPLAY

$ echo $DISPLAY
:0

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions