mintMenu - missing Applications

Questions about mintMenu
Forum rules
Before you post please read this

mintMenu - missing Applications

Postby unicum on Thu Apr 07, 2011 7:35 am

Code: Select all
test@mojito ~ % cat /etc/issue
Linux Mint 9 Isadora - Xfce 64-bit \n \l%

test@mojito ~ % mintmenu
Opacity is: 100
Setting opacity to: 1.0
/usr/lib/linuxmint/mintMenu/mintMenu.py:106: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
/usr/lib/linuxmint/mintMenu/mintMenu.py:108: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.enable()
/usr/lib/linuxmint/mintMenu/mintMenu.py:473: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip( widget, tip, tipPrivate )
/usr/lib/linuxmint/mintMenu/mintMenu.py:385: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.disable()
Binding to Hot Key: <Control>Super_L

** (mintMenu.py:2141): WARNING **: Binding '<Control>Super_L' failed!

Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintMenu/plugins/applications.py", line 1263, in updateBoxes
    newCategoryList = self.buildCategoryList()
  File "/usr/lib/linuxmint/mintMenu/plugins/applications.py", line 1413, in buildCategoryList
    for child in menu.directory.get_contents():
AttributeError: 'NoneType' object has no attribute 'get_contents'


I did install xfce4-xfapplet-plugin as well and got it in the menuBar.. but it looks like this:
screeny.png
screeny.png (238.12 KiB) Viewed 996 times


also: "Menu > Quit" doesn't answer (all other "links" work) & "right-click Menu > Edit Menu" doesn't answer (all other "links" work here, too)
any ideas?

Oh and yes, this is in a VBox, but doesn't matter - very same setup, very same output on a "true install".
unicum
Level 1
Level 1
 
Posts: 3
Joined: Thu Apr 07, 2011 7:00 am

Linux Mint is funded by ads and donations.
 

Re: mintMenu - missing Applications

Postby unicum on Sat Apr 09, 2011 4:18 am

Now, interesting enough, when i install gnome-panel, run it and add the mintMenu there, it works perfectly fine. also "right-click Menu > Edit Menu" works here, so I'm guessing it's some problem in the config linkings... :/

screeny2.png
screeny2.png (555.07 KiB) Viewed 966 times
unicum
Level 1
Level 1
 
Posts: 3
Joined: Thu Apr 07, 2011 7:00 am

*FIXED

Postby unicum on Sat Apr 09, 2011 5:29 am

Running gnome-panel from the console pointed me to the right files, so here it is:

Code: Select all
vim .linuxmint/mintMenu/applications.menu

and fill in the following
Code: Select all
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
        <Name>Applications</Name>
        <MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile>
</Menu>

and
Code: Select all
 vim .linuxmint/mintMenu/settings.menu

and fill with
Code: Select all
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
        <Name>Desktop</Name>
        <MergeFile type="parent">/etc/xdg/menus/settings.menu</MergeFile>
</Menu>

reload the plugin and as you can see it works:
screeny3.png
screeny3.png (412.11 KiB) Viewed 965 times

mintMenu also gets updated nicely on a new install, so that's fine.

For "Places":
Code: Select all
sudo vim /usr/lib/linuxmint/mintMenu/plugins/places.py

and do
Code: Select all
:%s/nautilus/Thunar/g


For "right-click Menu > Edit Menu":
Code: Select all
sudo aptitude install alacarte


For "Logout" and "Quit"
Code: Select all
sudo vim /usr/lib/linuxmint/mintMenu/plugins/system_management.py

and replace
gnome-session-save --logout-dialog
with
xfce4-session-logout --logout

as well as
gnome-session-save --shutdown-dialog
with
xfce4-session-logout


and then reboot the box -- mintMenu should now be running just fine. :D
unicum
Level 1
Level 1
 
Posts: 3
Joined: Thu Apr 07, 2011 7:00 am


Return to mintMenu

Who is online

Users browsing this forum: No registered users and 2 guests