[SOLVED] HELP (Smart People)--- Menus borked

Report Bugs, Issues and non- package Requests
Post Reply
Message
Author
User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

[SOLVED] HELP (Smart People)--- Menus borked

#1 Post by manyroads »

In trying to install some software I somehow managed to bork my Whiskermenus; I am unable to get them to reappear in the correct form. I, also lost all my MX Tools but I have them back (although they do not appear in my menus anywhere) It used to be that alacarte allowed a Menu autoreset to work. But now neither menulibre nor alakarte work correctly. And my MX Tools are all missing (I am able to run them with with Synapse).

Here are the errors I get.

Code: Select all

$ alacarte
/usr/share/alacarte/Alacarte/MainWindow.py:22: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GdkPixbuf, Gdk, GMenu

(alacarte:9795): Gtk-CRITICAL **: 20:36:58.641: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:9795): Gtk-CRITICAL **: 20:36:58.641: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
**
ERROR:/build/gnome-menus-RL_1GT/gnome-menus-3.13.3/./libmenu/gmenu-tree.c:4020:preprocess_layout_info: assertion failed: (!directory->preprocessed)
Aborted
mark@Mark-Dell:~
$ unset XDG_MENU_PREFIX
mark@Mark-Dell:~
$ echo $XDG_MENU_PREFIX

mark@Mark-Dell:~
$ alacarte
/usr/share/alacarte/Alacarte/MainWindow.py:22: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GdkPixbuf, Gdk, GMenu

(alacarte:9825): Gtk-CRITICAL **: 20:37:41.621: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:9825): Gtk-CRITICAL **: 20:37:41.621: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:9825): Gtk-WARNING **: 20:38:05.418: Allocating size to GtkWindow 0x5623d0b36500 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(alacarte:9825): Gtk-WARNING **: 20:38:11.275: Allocating size to GtkWindow 0x5623d0b36500 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(alacarte:9825): Gtk-WARNING **: 20:38:18.600: Allocating size to GtkWindow 0x5623d0b36500 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(alacarte:9825): Gtk-WARNING **: 20:38:22.046: Allocating size to GtkWindow 0x5623d0b36500 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(alacarte:9825): Gtk-WARNING **: 20:39:08.700: Allocating size to GtkWindow 0x5623d0b36500 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
mark@Mark-Dell:~
$ menulibre

(menulibre:13638): Gtk-WARNING **: 20:42:28.914: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:13638): Gtk-WARNING **: 20:42:28.957: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
**
ERROR:/build/gnome-menus-RL_1GT/gnome-menus-3.13.3/./libmenu/gmenu-tree.c:4020:preprocess_layout_info: assertion failed: (!directory->preprocessed)
Aborted
The traditional xfce Application Menu works as previously. Any help is/ ideas are appreciated.
Last edited by manyroads on Sun Mar 31, 2019 9:35 am, edited 1 time in total.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Eadwine Rose
Administrator
Posts: 11962
Joined: Wed Jul 12, 2006 2:10 am

Re: HELP (Smart People)--- Menus borked

#2 Post by Eadwine Rose »

Bluesguy wrote: Sat Mar 30, 2019 11:08 pm Hey manyroads ... you haven't looked at the couple of posts I responded to you ... viewtopic.php?f=104&p=493836#p493830 ... do this stuff first ... viewtopic.php?f=104&p=493836#p493834 ... then get back to me ... YOU borked it ... "SMART PEOPLE" are here to help you ... your header is toxic ... grow up ...
Mod note:

Bluesguy: be nice or you'll get an official warning, another mod might still give you one for this. The way you just spoke is not how we treat each other on this forum.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: HELP (Smart People)--- Menus borked

#3 Post by JayM »

I'm not particularly smart, but isn't the default Whisker menu found in /etc/skel/.config/menus? Or is that the stock Xfce menu, not Whisker?

Perhaps it's /etc/skel/.conf/panel/whiskermenu-20.rc? If so this could be copied to /home/manyroads/.conf/xf4c/panel to restore the original menu, or perhaps you have a backup in /home/manyroads/.restore/.conf/xfce4/panel that might contain any changes you've made prior to when you blorched your menu? That is, if this is the file that Whisker Menu uses to store its entries, which I have no idea if it is. OTOH the fact that the Xfce menu still works suggests that the menu itself is OK and the problem might be with Whisker Menu's config file which is probably that .rc file. Be sure to rename the one that you have and don't just overwrite it just in case this makes it worse instead of better, so you can at least get back to where you are now if you have to.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Eadwine Rose
Administrator
Posts: 11962
Joined: Wed Jul 12, 2006 2:10 am

Re: HELP (Smart People)--- Menus borked

#4 Post by Eadwine Rose »

Bluesguy: whatever the cause you think may validate your manner of speaking.. it does not. This behavior is not tolerated. And as far as that goes, the forum staff has the last word.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Jerry3904
Administrator
Posts: 21944
Joined: Wed Jul 19, 2006 6:13 am

Re: HELP (Smart People)--- Menus borked

#5 Post by Jerry3904 »

Enough said.
Not quite. The moderator's point was not what you said, but how you said it. We require civil discourse on this Forum--disagree all you want, but do not use the sort of aggravating language you finish with on this Forum:
"SMART PEOPLE" are here to help you ... your header is toxic ... grow up ...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
richb
Administrator
Posts: 10343
Joined: Wed Jul 12, 2006 2:17 pm

Re: HELP (Smart People)--- Menus borked

#6 Post by richb »

Move on yes. PM if you have issues with other users or Moderators.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: HELP (Smart People)--- Menus borked

#7 Post by Head_on_a_Stick »

@OP: try

Code: Select all

mv ~/.config/menus/xfce-applications.menu{,.bak}
That should restore the default menu (the command renames the xfce-applications.menu file with a .bak suffix).

Disclaimer: I'm not smart :cat:
mod note: Signature removed, please read the forum rules

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: HELP (Smart People)--- Menus borked

#8 Post by manyroads »

Head_on_a_Stick wrote: Sun Mar 31, 2019 8:07 am @OP: try

Code: Select all

mv ~/.config/menus/xfce-applications.menu{,.bak}
That should restore the default menu (the command renames the xfce-applications.menu file with a .bak suffix).

Disclaimer: I'm not smart :cat:
Ah but much smarter than me... :eek:

Your solution seems to have worked. Thank you!
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: [SOLVED] HELP (Smart People)--- Menus borked

#9 Post by Stevo »

Remember you can also use the Panel section of MX Tweak to backup and restore your current panel configuration once you have it just the way you like it, which includes what items you have on the panel and how they're configured. This includes Whiskermenu and how you've configured it.

This is an MX-only killer feature for XFCE that is also needs more publicity, IMHO. Maybe in a video along with the Thunar deb install action?

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: [SOLVED] HELP (Smart People)--- Menus borked

#10 Post by manyroads »

Stevo wrote: Sun Mar 31, 2019 5:45 pm Remember you can also use the Panel section of MX Tweak to backup and restore your current panel configuration once you have it just the way you like it, which includes what items you have on the panel and how they're configured. This includes Whiskermenu and how you've configured it.

This is an MX-only killer feature for XFCE that is also needs more publicity, IMHO. Maybe in a video along with the Thunar deb install action?
Thank you for the reminder. I just did that! :number1:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

Post Reply

Return to “Bugs and Non-Package Requests Forum”