Results 1 to 6 of 6

Thread: Can't launch main menu from System 10.04

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Yangon, Myanmar
    Beans
    145
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Can't launch main menu from System 10.04

    After a fresh install of Ubuntu 10.04 and having installed a bunch of apps, I wanted to adjust the main menu but have found that I can't actually launch the main menu from the System / Preferences menu. Nothing happens. Tried typing the Main Menu command alacarte into terminal, and I get the following read out.


    jvc@CF1:~$ alacarte
    Traceback (most recent call last):
    File "/usr/bin/alacarte", line 36, in <module>
    main()
    File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
    File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 48, in __init__
    self.editor = MenuEditor()
    File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
    File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 63, in __loadMenus
    self.save(True)
    File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 67, in save
    fd = open(getattr(self, menu).path, 'w')
    IOError: [Errno 13] Permission denied: '/home/jvc/.config/menus/applications.menu'
    jvc@CF1:~$

    Any idea how to get main menu up and running again?

  2. #2
    Join Date
    Apr 2010
    Location
    Belgrade
    Beans
    25
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Can't launch main menu from System 10.04

    remove the corrupted file
    Code:~/.config/menus/application.menu
    maybe is old post but it can help http://ubuntuforums.org/showthread.php?t=639457
    Last edited by D3jan; May 17th, 2010 at 04:16 PM.

  3. #3
    Join Date
    Mar 2009
    Location
    Yangon, Myanmar
    Beans
    145
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Can't launch main menu from System 10.04

    Thanks D3jan
    But how should I do that? I can't go through the GUI interface as I can't get access into the menus folder.

    Can you please post the terminal script. Sorry, I'm still a noob on this stuff.

  4. #4
    Join Date
    Mar 2009
    Location
    Yangon, Myanmar
    Beans
    145
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Can't launch main menu from System 10.04

    Quote Originally Posted by D3jan View Post
    remove the corrupted file
    Code:~/.config/menus/application.menu
    maybe is old post but it can help http://ubuntuforums.org/showthread.php?t=639457


    Had a look through the post and used gksu nautilus to try and remove the file. Alas, got into my ~/.config/menus directory and there was no application.menu file or folder. In fact the only thing in the menus folder was another folder called applications-merged

  5. #5
    Join Date
    Mar 2009
    Location
    Yangon, Myanmar
    Beans
    145
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Can't launch main menu from System 10.04

    Ha, Got it!

    It was a permissions issue. Fixed it with this.


    Code:
    sudo chown -R $USER ~/.config ~/.local
    Last edited by BigBaka; May 27th, 2010 at 03:36 AM.

  6. #6
    Join Date
    Sep 2009
    Location
    Argentina
    Beans
    318
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Can't launch main menu from System 10.04

    Quote Originally Posted by BigBaka View Post
    Ha, Got it!

    It was a permissions issue. Fixed it with this.


    Code:
    sudo chown -R $USER ~/.config ~/.local
    Please remember to mark the thread as SOLVED if your problem is fixed

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •