{"action":"created","issue":{"url":"https://api.github.com/repos/noodlylight/fusilli/issues/17","labels_url":"https://api.github.com/repos/noodlylight/fusilli/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/noodlylight/fusilli/issues/17/comments","events_url":"https://api.github.com/repos/noodlylight/fusilli/issues/17/events","html_url":"https://github.com/noodlylight/fusilli/issues/17","id":60597882,"number":17,"title":"session start script for mate desktop","user":{"login":"NiceandGently","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/NiceandGently","html_url":"https://github.com/NiceandGently","followers_url":"https://api.github.com/users/NiceandGently/followers","following_url":"https://api.github.com/users/NiceandGently/following{/other_user}","gists_url":"https://api.github.com/users/NiceandGently/gists{/gist_id}","starred_url":"https://api.github.com/users/NiceandGently/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiceandGently/subscriptions","organizations_url":"https://api.github.com/users/NiceandGently/orgs","repos_url":"https://api.github.com/users/NiceandGently/repos","events_url":"https://api.github.com/users/NiceandGently/events{/privacy}","received_events_url":"https://api.github.com/users/NiceandGently/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-11T01:43:18Z","updated_at":"2015-03-11T18:01:18Z","closed_at":null,"body":"In mate it is possible to start the session directly with a windows-manager of your choice.\r\n[rave@mother ~]$ gsettings get  org.mate.session.required-components windowmanager\r\n'fusilli-mate-gtk'\r\n```\r\n[rave@mother ~]$ cat /usr/bin/fusilli-mate-gtk \r\n#!/bin/bash\r\n\r\nfunction runFusilli() {\r\n\tfusilli --replace $@ \r\n}\r\n\r\nISSW=`glxinfo | grep \"Software Rasterizer\" -c`\r\n\r\n# Try with direct rendering\r\nHAVETFP=`glxinfo | grep texture_from_pixmap -c`\r\n\r\nif ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then \r\n\trunFusilli $@\r\nfi\r\n\r\n# Try again with indirect rendering\r\nexport LIBGL_ALWAYS_INDIRECT=1\r\n\r\nHAVETFP=`glxinfo | grep texture_from_pixmap -c`\r\n\r\nif ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then \r\n\trunFusilli $@\r\nfi\r\n\r\n# Fall back to marco\r\nexec marco $@\r\n```\r\nThis script is based on a sript for compiz-0.88 which i use for fedora.\r\nhttp://pkgs.fedoraproject.org/cgit/compiz.git/tree/compiz-mate-gtk\r\nThe fusilli script works well if i use it for a desktop starter inside a running session, but not if i set it in dconf for mate-session. Fussili starts without a windows-decorator :/\r\nDo i miss something in the script?\r\nMaybe the prob can be solved if you re-add the --marco option to gtk-windows-decorator.\r\nThis makes it possible to ask dconf for current selected metacity theme in mate session.\r\nThis is the base condition of my compiz-mate-gtk script to start compiz directly in session."},"comment":{"url":"https://api.github.com/repos/noodlylight/fusilli/issues/comments/78323601","html_url":"https://github.com/noodlylight/fusilli/issues/17#issuecomment-78323601","issue_url":"https://api.github.com/repos/noodlylight/fusilli/issues/17","id":78323601,"user":{"login":"NiceandGently","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/NiceandGently","html_url":"https://github.com/NiceandGently","followers_url":"https://api.github.com/users/NiceandGently/followers","following_url":"https://api.github.com/users/NiceandGently/following{/other_user}","gists_url":"https://api.github.com/users/NiceandGently/gists{/gist_id}","starred_url":"https://api.github.com/users/NiceandGently/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiceandGently/subscriptions","organizations_url":"https://api.github.com/users/NiceandGently/orgs","repos_url":"https://api.github.com/users/NiceandGently/repos","events_url":"https://api.github.com/users/NiceandGently/events{/privacy}","received_events_url":"https://api.github.com/users/NiceandGently/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T18:01:18Z","updated_at":"2015-03-11T18:01:18Z","body":"Ok, i found a hint in .x-session-errors .\r\n```\r\nmate-session[27944]: WARNING: Unable to find provider 'fusilli-mate-gtk' of required component 'windowmanager'\r\n```\r\n\r\nand for firefox\r\n```\r\n(firefox:28576): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised\r\n\r\n(firefox:28576): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised\r\n\r\n(firefox:28576): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised\r\n\r\n(firefox:28576): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gtk-CRITICAL **: IA__gtk_text_layout_get_cursor_locations: assertion 'layout != NULL' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n\r\n(firefox:28576): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion 'GDK_IS_WINDOW (window)' failed\r\n```"}}