Page 1 of 1

[SOLVED]cairo-dock and menu

PostPosted: Jul 23rd, '17, 14:00
by nwtmg
Hi,

Upgraded to 6 and installed cairo-dock as panel with compiz as window manager mate desktop. Cannot get a menu with cairo-dock. Download the source for gnomenu and installed but still no luck. Installed gnomenu rpm from site but getting error about numpy. Will not recognize lancelot also. Any suggestions for a solution would be appreciated. Thanks.

Re: cairo-dock and menu

PostPosted: Jul 23rd, '17, 20:11
by doktor5000
Any suggestion for what exactly, you posted 3 different problems in one post.

about cairo-dock, what output do you get when you run it from a terminal as a regular user, please post the complete output here.
about gnomenu, please post the full error message. And if you're missing a package you might need to ensure that's installed
about lancelot, I don't understand your sentence. Who will not recognize lancelot? You realise that lancelot is a KDE menu, how do you want to start that under MATE ?

Re: cairo-dock and menu

PostPosted: Jul 26th, '17, 15:17
by nwtmg
Hi ,

Here is the output from the cairo-dock -o start in terminal. I have now moved to lxqt. Regarding lancelot there is plugin in the cairo-dock for lancelot menu so I thought I could use it.
Seems like I may be missing something from python for gnomenu. Thanks.

Code: Select all
$ cairo-dock - o

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:63:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:73:35: The :prelight pseudo-class is deprecated. Use :hover instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:115:31: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:116:24: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:145:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:146:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:166:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: gtk.css:187:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-core-3.4.1/src/implementations/cairo-dock-egl.c:gldi_register_egl_backend:232) 
  Cairo-Dock was not built with EGL support
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-core-3.4.1/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:129) 
  couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...

 ============================================================================
        Cairo-Dock version : 3.4.1
        Compiled date      : Feb 10 2016 23:06:56
        Built with GTK     : 3.19
        Running with OpenGL: 1
 ============================================================================

g_file_test: assertion 'filename != NULL' failed
g_file_test: assertion 'filename != NULL' failed

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

(cairo-dock:4478): Gtk-WARNING **: Theme parsing error: <data>:7:3649: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-plug-ins-3.4.1/Dbus/src/applet-dbus.c:_cd_dbus_register_new_module:124) 
  this module (GnoMenu) is already registered
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-core-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
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-core-3.4.1/src/gldit/cairo-dock-keybinder.c:init_object:358) 
  Couldn't bind '<Ctrl>F4' (Show Desktop: Show the desklets)
 This shortkey is probably already used by another applet or another application
Launcher-API-Daemon: registered as Unity: <dbus.service.BusName com.canonical.Unity on <dbus._dbus.SessionBus (session) at 0xb69b3a7c> at 0xb69a2fec>
connect...
-> connected to cairo-dock
('new owner:', dbus.UTF8String(':1.102'))
warning :  (/home/iurt/rpmbuild/BUILD/cairo-dock-plug-ins-3.4.1/shortcuts/src/applet-drives.c:cd_shortcuts_list_drives:321) 
  couldn't detect any drives
warning :  (/home/iurt/rpmbuild/BUILD/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
gconf backend
>>> INIT
GnoMenu 2.9
settings load
Traceback (most recent call last):
  File "./GnoMenu", line 190, in <module>
    appleticon = AppletIcon( icon_object=myIcon)
  File "./GnoMenu", line 116, in __init__
    from Menu_Main import Main_Menu
  File "/usr/lib/gnomenu/Menu_Main.py", line 24, in <module>
    from Menu_Widgets import MenuButton , Separator, ImageFrame, ProgramList, IconProgramList,MenuTab, MenuLabel, MenuImage,TreeProgramList, CairoProgramList
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 22, in <module>
    from Menu_Items import XDGMenu
  File "/usr/lib/gnomenu/Menu_Items.py", line 22, in <module>
    from Popup_Menu import add_menuitem, add_image_menuitem
  File "/usr/lib/gnomenu/Popup_Menu.py", line 322, in <module>
    import Globals
  File "/usr/lib/gnomenu/Globals.py", line 589, in <module>
    distro_logo = gtk.icon_theme_get_default().lookup_icon('distributor-logo',48,gtk.ICON_LOOKUP_FORCE_SVG).get_filename()
AttributeError: 'NoneType' object has no attribute 'get_fi


Re: cairo-dock and menu

PostPosted: Jul 27th, '17, 09:00
by doktor5000
nwtmg wrote:
Code: Select all
>>> INIT
GnoMenu 2.9
settings load
Traceback (most recent call last):
  File "./GnoMenu", line 190, in <module>
    appleticon = AppletIcon( icon_object=myIcon)
  File "./GnoMenu", line 116, in __init__
    from Menu_Main import Main_Menu
  File "/usr/lib/gnomenu/Menu_Main.py", line 24, in <module>
    from Menu_Widgets import MenuButton , Separator, ImageFrame, ProgramList, IconProgramList,MenuTab, MenuLabel, MenuImage,TreeProgramList, CairoProgramList
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 22, in <module>
    from Menu_Items import XDGMenu
  File "/usr/lib/gnomenu/Menu_Items.py", line 22, in <module>
    from Popup_Menu import add_menuitem, add_image_menuitem
  File "/usr/lib/gnomenu/Popup_Menu.py", line 322, in <module>
    import Globals
  File "/usr/lib/gnomenu/Globals.py", line 589, in <module>
    distro_logo = gtk.icon_theme_get_default().lookup_icon('distributor-logo',48,gtk.ICON_LOOKUP_FORCE_SVG).get_filename()
AttributeError: 'NoneType' object has no attribute 'get_fi



No you're not missing something, there seems to be an issue of cairo-dock loading distributor-logo or its attributes, or there's a conflict between cairo-dock and gnomenu.

You could check if this http://www.fedoraforum.org/forum/showpo ... stcount=13 still applies.

And please report that as a bug, after searching if it hasn't been reported yet already: https://wiki.mageia.org/en/How_to_report_a_bug_properly
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.

[SOLVED]Re: cairo-dock and menu

PostPosted: Jul 29th, '17, 18:27
by nwtmg
Thanks for the response. That suggestion worked and the menu is now functioning. I also created a bug report with the following url
https://bugs.mageia.org/show_bug.cgi?id=21401 . Thank you.

Re: cairo-dock and menu

PostPosted: Jul 29th, '17, 20:32
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks