Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cairo-dock : GNOME + Wayland support #29

Open
sebma opened this issue Aug 18, 2024 · 5 comments
Open

cairo-dock : GNOME + Wayland support #29

sebma opened this issue Aug 18, 2024 · 5 comments

Comments

@sebma
Copy link

sebma commented Aug 18, 2024

Hi,
I'm trying cairo-dock v3.4.1 on Ubuntu but the dock does not even appear :

$ neofetch distro de wm
distro: Ubuntu 20.04.6 LTS x86_64
de: GNOME (Wayland)
wm: Mutter
$ apt policy cairo-dock weston

cairo-dock:
  Installed: 3.4.1-3
  Candidate: 3.4.1-3
  Version table:
 *** 3.4.1-3 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
weston:
  Installed: 8.0.0-1
  Candidate: 8.0.0-1
  Version table:
 *** 8.0.0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
$ groups | tr " " "\n" | grep weston
weston-launch
$ cd .config
$ mv -v cairo-dock cairo-dock.back
renamed 'cairo-dock' -> 'cairo-dock.back'
$ cd
$ cairo-dock   

(cairo-dock:49984): Gtk-WARNING **: 18:14:56.716: Theme parsing error: gtk.css:11298:2: '/*' in comment block
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/implementations/cairo-dock-egl.c:gldi_register_egl_backend:232)  
  Cairo-Dock was not built with EGL support

 ============================================================================
        Cairo-Dock version : 3.4.1
        Compiled date      : May 24 2018 23:52:39
        Built with GTK     : 3.22
        Running with OpenGL: 0
 ============================================================================

warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-utils.c:cairo_dock_launch_command_sync_with_stderr:253)  
  Failed to execute child process “gconftool-2” (No such file or directory)
g_file_test: assertion 'filename != NULL' failed
g_file_test: assertion 'filename != NULL' failed

(cairo-dock:49984): Gtk-WARNING **: 18:14:56.942: Theme parsing error: <data>:7:1467: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:49984): Gtk-WARNING **: 18:14:56.942: Theme parsing error: <data>:7:3649: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.
sh: 1: /usr/lib/x86_64-linux-gnu/cairo-dock/cairo-dock-launcher-API-daemon: not found
cairo_dock_register_class_full: assertion 'cDesktopFile != NULL || cClassName != NULL' failed
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-user-icon-manager.c:gldi_user_icons_new_from_directory:133)  
  Unable to load a valid icon from '/home/sebastien/.config/cairo-dock/current_theme/launchers/01gnome-calculator.desktop'; the file is either unreadable, unvalid or does not correspond to any installed program, and will be deleted

(cairo-dock:49984): Gtk-WARNING **: 18:14:57.145: Theme file for oxy-blue has no directories
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Super>L' (Log out: Lock the screen)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F12' (Log out: Show the logout menu)
 This shortkey is probably already used by another applet or another application
cairo_dock_create_surface_from_image_simple: assertion 'cImageFile != NULL' failed
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F10' (Recent-Events: Show/hide the Recent Events)
 This shortkey is probably already used by another applet or another application
gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F1' (Applications Menu: Show/hide the Applications menu)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F2' (Applications Menu: Show/hide the quick-launch dialogue)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Super>Return' (Control from keyboard: Enable/disable the keyboard control of the dock)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F6' (Quick Browser: Show/hide the folder menu)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358)
  Couldn't bind '<Shift><Ctrl>F4' (Show Desktop: Expose all the desktops)
 This shortkey is probably already used by another applet or another application
warning :  (/build/cairo-dock-plug-ins-k0CF2S/cairo-dock-plug-ins-3.4.1/shortcuts/src/applet-drives.c:cd_shortcuts_list_drives:321)
  couldn't detect any drives
warning :  (/build/cairo-dock-plug-ins-k0CF2S/cairo-dock-plug-ins-3.4.1/shortcuts/src/applet-load-icons.c:cd_shortcuts_build_shortcuts_from_data:310)
  Shortcuts : can't monitor bookmarks
warning :  (/build/cairo-dock-plug-ins-k0CF2S/cairo-dock-plug-ins-3.4.1/switcher/src/applet-load-icons.c:cd_switcher_load_desktop_bg_map_surface:197)
  couldn't get the wallpaper
g_strv_length: assertion 'str_array != NULL' failed
Compiz: 0.9 version detected (GConf/Flat)
Flat file: Enable 'dbus' plugin
Flat file: Enable 'scale' plugin
Flat file: Enable 'expo' plugin
Flat file: Enable 'staticswitcher' plugin
Compiz: GSettings backend detected ('Default' profile)
GSettings: Enable 'dbus' plugin for 'Default' profile

Here is what I see :
image
And by right clicking on the "Desktop 1" area->Configure, I manage to change the Position on the screen to Bottom and here is what I get :
image
Which release of cairo-dock supports Wayland ?

@dkondor
Copy link
Contributor

dkondor commented Aug 18, 2024

Hi,

Wayland support is currently still in beta -- packages for Ubuntu are available here: https://launchpad.net/~cairo-dock-team/+archive/ubuntu/weekly

Any testing and bug reports are very welcome! Some additional info is here: https://github.com/Cairo-Dock/cairo-dock-core/blob/master/README_Wayland.md

Do note that Mutter / GNOME / the default Ubuntu desktop is not supported though. The above page shows a few possible alternatives.

@sebma sebma changed the title cairo-dock Wayland support cairo-dock : GNOME + Wayland support Aug 18, 2024
@sebma
Copy link
Author

sebma commented Aug 18, 2024

@dkondor Thanks for the Wayland Readme.

Oh, btw : Do you plan to support GNOME+Mutter in the future ?

@dkondor
Copy link
Contributor

dkondor commented Aug 19, 2024

Unfortunately, supporting GNOME would not be easy, since GNOME / Mutter does not have support for external desktop components (that run as a separate process and not as a plugin). Making CD work on it would likely require writing a Mutter plugin that provides the necessary functionality (taking care of positioning and providing the list of running apps to manage in the taskbar). My priority for now is getting CD to work reliably on Wayland compositors / desktop environments that already provide the necessary protocols. I do want to write up the technical side of things and what would be required to make things work.

@sebma
Copy link
Author

sebma commented Aug 23, 2024

@dkondor If using Wayland, can cairo-dock work on other desktop environment such as KDE, XFCE, LXQt, Cinnamon , MATE, Kylin ?

@dkondor
Copy link
Contributor

dkondor commented Aug 23, 2024

I've tried only KDE so far, and it works reasonably well (known issues to me are not having keyboard shortcuts and potentially incorrect display of virtual desktops). I have not tried the others, it will depend on what Wayland compositor they use and whether it supports the necessary protocols for positioning and taskbar (layer-shell and foreign-toplevel-management). I know that XFCE was planning support for these, but haven't checked it recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants