Author Topic: Restore Application Menu (SOLVED)  (Read 1410 times)

Offline peppernew

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Restore Application Menu (SOLVED)
« on: October 09, 2016, 02:23:03 pm »
Hi there,

while using menulibre, I inadvertently erased all the application menu entries, so I have now an empty menu (with the exception, for some reason, of the wine menu, which is intact).

Is there a way to restore the former menu, and if not, the default one?
I looked at the xfce forum and this should be of help:

http://unix.stackexchange.com/questions/16918/empty-xfce-applications-menu

the only  thing is ... there is no ~/.cache/xfce4/desktop/menu-cache-name-of-the-generated-file.xml directory in peppermint and the directory /etc/xdg/menus doesn't seem to hold the original xml.

Can you please help?

Kamir
« Last Edit: October 09, 2016, 05:00:41 pm by peppernew »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Restore Application Menu
« Reply #1 on: October 09, 2016, 02:23:03 pm »
To help us help you, ALL new requests for technical support should include basic system information.

If you haven't already done so, please open a terminal (Ctrl+Alt+T) and run the following command:
Code: [Select]
inxi -Fzthen copy what was returned in the terminal and post it back here.

This was an automated response but please don't ignore it, providing this information now is highly likely to save time for both you and any prospective respondents and aid in the diagnosis of your problem  .. Thanks in advance :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Restore Application Menu
« Reply #2 on: October 09, 2016, 02:36:28 pm »
Please don't ignore the autoresponse above.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppernew

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Restore Application Menu
« Reply #3 on: October 09, 2016, 02:42:12 pm »
Code: [Select]
System:    Host: HP-Mini-5101 Kernel: 4.4.0-38-generic i686 (32 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   System: Hewlett-Packard product: HP Mini 5101 v: F.01
           Mobo: Hewlett-Packard model: 3632 v: KBC Version 34.0F
           Bios: Hewlett-Packard v: 68DGI Ver. F.01 date: 07/06/2009
CPU:       Single core Intel Atom N280 (-HT-) cache: 512 KB
           clock speeds: max: 1667 MHz 1: 1667 MHz 2: 1667 MHz
Graphics:  Card: Intel Mobile 945GSE Express Integrated Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel 945GME x86/MMX/SSE2
           GLX Version: 1.4 Mesa 11.2.0
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-38-generic
Network:   Card-1: Broadcom BCM43224 802.11a/b/g/n driver: bcma-pci-bridge
           IF: wlan0 state: down mac: <filter>
           Card-2: Marvell 88E8072 PCI-E Gigabit Ethernet Controller
           driver: sky2
           IF: eth0 state: down mac: <filter>
           Card-3: Atheros AR9271 802.11n driver: ath9k_htc
           IF: wlx30b5c21171fb state: N/A mac: N/A
Drives:    HDD Total Size: 175.7GB (12.1% used)
           ID-1: /dev/sda model: ST9160411AS size: 160.0GB
           ID-2: USB /dev/sdb model: DataTraveler_3.0 size: 15.6GB
Partition: ID-1: / size: 23G used: 5.1G (24%) fs: ext4 dev: /dev/sda7
           ID-2: /boot size: 269M used: 110M (44%) fs: ext4 dev: /dev/sda1
           ID-3: /home size: 120G used: 11G (10%) fs: ext4 dev: /dev/sda5
           ID-4: swap-1 size: 4.74GB used: 0.07GB (1%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: 56.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 200 Uptime: 1:18 Memory: 570.4/990.2MB
           Client: Shell (bash) inxi: 2.2.35
« Last Edit: October 09, 2016, 02:44:08 pm by PCNetSpec »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Restore Application Menu
« Reply #4 on: October 09, 2016, 02:50:06 pm »
What's the output from:
Code: [Select]
ls -a ~/.config/menus
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppernew

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Restore Application Menu
« Reply #5 on: October 09, 2016, 03:39:05 pm »
Code: [Select]
ls -a ~/.config/menus/
.   applications-merged        peppermint-applications.menu
..  gnome-applications-merged

I should also add that peppermint-applications.menu now reflects the empty menu in my panel.
« Last Edit: October 09, 2016, 03:43:02 pm by peppernew »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Restore Application Menu
« Reply #6 on: October 09, 2016, 03:56:02 pm »
Move
peppermint-applications.menu
elsewhere, then log off/on.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppernew

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Restore Application Menu (SOLVED)
« Reply #7 on: October 09, 2016, 04:59:58 pm »
Awesome!
The menu is back up now!
Thank you so much for your help!!

For future referenc, where about is the original xml file for the menu apps stored? Presumably somewhere in /etc or /usr?

WIll edit title accordingly.

K.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Restore Application Menu (SOLVED)
« Reply #8 on: October 09, 2016, 05:02:38 pm »
You're most welcome :)

The default 'system wide' copy is at:-
/etc/xdg/menus/peppermint-applications.menu

But DO NOT edit that copy .. instead copy it to your
~/.config/menus
directory, then edit that copy
« Last Edit: October 09, 2016, 05:08:17 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec