You are not logged in.

#1 2014-11-09 19:42:20

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

[SOLVED] LXDE menu disappeared after update

After last update the menu entries in LXDE menu disappeared. There are only two entries, Logout  and Run
Is there any way to restore the menu entries?

Last edited by leonidas (2014-11-17 18:16:14)

Offline

#2 2014-11-09 19:50:48

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] LXDE menu disappeared after update

Do you still have .desktop files in the locations where LXDE looks for them when it builds the menu (primarily /usr/share/applications)?

https://wiki.archlinux.org/index.php/LX … nu_editing

Offline

#3 2014-11-09 19:53:14

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: [SOLVED] LXDE menu disappeared after update

Yes there are 227  .desktop files in  /usr/share/applications

Offline

#4 2014-11-10 09:28:38

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: [SOLVED] LXDE menu disappeared after update

1. broken panel config
please show (cat) us your panel configuration eg:

cat ~/.config/lxpanel/default/panels/panel

or

cat ~/.config/lxpanel/LXDE/panels/panel

especially part Plugin type=menu
2. hidden all entities in menu
backup and remove local menu application

mv ~/.local/share/applications  ~/.local/share/applications.bak

3. missing a part of menu
install again lxmenu-data, menu-cache and libfm-extra

sudo pacman -S libfm-extra libfm-extra libfm-extra

4. launch panel from termian
if nothing helps start terminal stop lxpanel and start it again from terminal to see the output

lxpanelctl exit
lxpanel

Last edited by nbvcxz (2014-11-10 10:20:36)


Lenovo G50 | LXQT-git | compton | conky

Offline

#5 2014-11-10 14:05:02

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: [SOLVED] LXDE menu disappeared after update

Steps 2,3,4 didn't fix the problem.
The contents of ~/.config/lxpanel/default/panels/panel:

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
  edge=bottom
  allign=left
  margin=0
  widthtype=percent
  width=100
  height=26
  transparent=0
  tintcolor=#ffffff
  alpha=135
  setdocktype=1
  setpartialstrut=1
  usefontcolor=1
  fontcolor=#884949
  usefontsize=0
  fontsize=10
  background=0
  backgroundfile=/usr/share/lxpanel/images/background.png
}
Plugin {
  type=menu
  Config {
    system {
    }
    separator {
    }
    item {
      command=run
    }
    separator {
    }
    item {
      command=logout
      image=gnome-logout
    }
    image=/usr/share/icons/arch_icon.svg
  }
}
Plugin {
  type=launchbar
  Config {
  }
}
Plugin {
  type=wincmd
  Config {
    Button1=iconify
    Button2=shade
  }
}
Plugin {
  type=space
  Config {
    Size=4
  }
}
Plugin {
  type=taskbar
  Config {
    tooltips=1
    IconsOnly=0
    AcceptSkipPager=1
    ShowIconified=1
    ShowMapped=1
    ShowAllDesks=0
    UseMouseWheel=1
    UseUrgencyHint=1
    FlatButton=0
    MaxTaskWidth=115
    spacing=3
    SameMonitorOnly=0
  }
  expand=1
}
Plugin {
  type=volumealsa
  Config {
  }
}
Plugin {
  type=pager
  Config {
  }
}
Plugin {
  type=tray
  Config {
  }
}
Plugin {
  type=dclock
  Config {
    ClockFmt=%R
    TooltipFmt=%A %x
    BoldFont=0
    IconOnly=0
    CenterText=0
  }
}
Plugin {
  type=netstat
  Config {
  }
}
Plugin {
  type=batt
  Config {
    BackgroundColor=black
    ChargingColor1=#28f200
    ChargingColor2=#22cc00
    DischargingColor1=#ffee00
    DischargingColor2=#d9ca00
    HideIfNoBattery=0
    AlarmCommand=xmessage Battery low
    AlarmTime=5
    BorderWidth=1
    Size=16
    ShowExtendedInformation=0
  }
}

Offline

#6 2014-11-11 10:33:35

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: [SOLVED] LXDE menu disappeared after update

1. Pls try to use menulibre or alacarte-lxde. They are menu editors and maybye they do the thing. Although they require gnome-menus it shouldn't be obligatory in the future to work with LXDE.
2. Look at /etc/xdg/menus and /usr/share/desktop-directories. You can find any clue there.
3. Another stupid thing - have you tried to remove .cache contents?

Last edited by nbvcxz (2014-11-11 10:57:25)


Lenovo G50 | LXQT-git | compton | conky

Offline

#7 2014-11-12 09:20:34

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: [SOLVED] LXDE menu disappeared after update

1.With menulibre i can only edit the menu entries
2. In  /etc/xdg/menus  I see only files as cinnamon-applications.menu    gnome-applications.menu  lxde-applications.menu
cinnamon-applications-merged  kde-applications.menu and in /usr/share/desktop-directories only .directory files
3.I removed the ~/.cache/menus contents but it didn't help

Another notable thing is that when I ask to open a file using "Open with" option there is nothing in "Installed Applications"

Offline

#8 2014-11-17 18:14:49

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: [SOLVED] LXDE menu disappeared after update

Ok, the problem was with menu-cache 0.7.0-1.
I installed menu-cache-git and the problem was solved.

Offline

#9 2015-01-27 19:08:25

JimH44
Member
Registered: 2015-01-27
Posts: 1

Re: [SOLVED] LXDE menu disappeared after update

nbvcxz wrote:

1. broken panel config
please show (cat) us your panel configuration eg:

cat ~/.config/lxpanel/default/panels/panel

or

cat ~/.config/lxpanel/LXDE/panels/panel

especially part Plugin type=menu

With the same problem, my cat showed:

Plugin {
    type = menu
    Config {
        image=/usr/share/lxde/images/lxde-icon.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

2. hidden all entities in menu
backup and remove local menu application

mv ~/.local/share/applications  ~/.local/share/applications.bak

I did that, and my applications.bak directory contains lots of files with extension of .desktop

3. missing a part of menu
install again lxmenu-data, menu-cache and libfm-extra

sudo pacman -S libfm-extra libfm-extra libfm-extra

Did you mean to put libfm-extra three times?
Did you mean

sudo pacman -S lxmenu-data menu-cache libfm-extra

?
I tried that, but didn't have any pacman. I used apt-get to get it, and found myself playing pacman :-)
I tried

sudo apt-get install lxmenu-data menu-cache libfm-extra

and got the result:

Building dependency tree
Reading state information... Done
E: Unable to locate package menu-cache
E: Unable to locate package libfm-extra

4. launch panel from termian
if nothing helps start terminal stop lxpanel and start it again from terminal to see the output

lxpanelctl exit
lxpanel

When I run lxpanel (with the bare command, or as someone else suggested, with

lxpanel -p LXDE

) I get the error message

Xlib: extension "RANDR" missing on display ":1"

The panel starts OK, but still has only Run and Logout entries in the START menu.

I am running Ubuntu 13.04, accessing the server through tightvnc.

The file

~/.config/lxpanel/LXDE/panels/panel

begins with

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

so I don't want to just add entries the function.
The preference dialog didn't seem to have a way for me to import other START menu entries.

Any help appreciated :-)
Jim

Offline

Board footer

Powered by FluxBB