You are not logged in.

#1 2010-03-09 01:14:24

thriftee
Member
Registered: 2010-02-27
Posts: 11

[solved] All menu items lost from LXDE menus

I had problems with loading a USB flash drive, and music cd, and then X windows locked up completely, which led me to deinstall LXDE as well as the applications in an effort to get X windows working.  It turned out that all that was wrong was that dbus and hal hadn't been started after a reboot, so then I reinstalled LXDE and the applications, but now there is nothing on the LXDE menu except RUN and Logout.

How do I get things on an LXDE menu or is there another gui that is able to build a menu from what exists?  I had hoped to run LXDE, but it looks pretty hopeless with no menus at this point...

Thanks for any clues smile

Last edited by thriftee (2010-03-10 08:12:07)

Offline

#2 2010-03-09 02:43:14

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [solved] All menu items lost from LXDE menus

I don't think that LXDE puts applications automatically into the launch bar. But you can do it yourself as per
http://wiki.archlinux.org/index.php/LXD … ication.29

Offline

#3 2010-03-09 22:33:12

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

Re: [solved] All menu items lost from LXDE menus

JackH79 wrote:

I don't think that LXDE puts applications automatically into the launch bar. But you can do it yourself as per
http://wiki.archlinux.org/index.php/LXD … ication.29

He's talking about the "start" menu, not app launchers.


From what I understand, LXDE sets up its menu based on files in /etc/xdg/menus and /usr/share/applications.

Currently, I have applications.menu, lxde-applications.menu, lxlauncher-applictaions.menu, and settings.menu in /etc/xdg/menus.

The lxde-applications.menu controls the layout of the menu, adding programs based on the .desktop files in /usr/share/applications.

In case lxde-applications.menu doesn't exist, here's mine:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>

    <Name>Applications</Name>
    <Directory>lxde-menu-applications.directory</Directory>

    <!-- Read standard .directory and .desktop file locations -->
    <DefaultAppDirs/>
    <DefaultDirectoryDirs/>

    <!-- Read in overrides and child menus from applications-merged/ -->
    <DefaultMergeDirs/>

    <!-- Accessories submenu -->
    <Menu>
        <Name>Accessories</Name>
        <Directory>lxde-utility.directory</Directory>
        <Include>
            <And>
                <Category>Utility</Category>
    <!-- Accessibility spec must have either the Utility or Settings
             category, and we display an accessibility submenu already for
             the ones that do not have Settings, so don't display accessibility
             applications here -->
                <Not><Category>Accessibility</Category></Not>
                <Not><Category>System</Category></Not>
            </And>
        </Include>
    </Menu> <!-- End Accessories -->

    <!-- Accessibility submenu -->
    <Menu>
        <Name>Universal Access</Name>
        <Directory>lxde-utility-accessibility.directory</Directory>
        <Include>
            <And>
                <Category>Accessibility</Category>
                <Not><Category>Settings</Category></Not>
            </And>
        </Include>
    </Menu> <!-- End Accessibility -->

    <!-- Development Tools -->
    <Menu>
        <Name>Development</Name>
        <Directory>lxde-development.directory</Directory>
        <Include>
            <And>
                <Category>Development</Category>
            </And>
            <Filename>emacs.desktop</Filename>
        </Include>
    </Menu> <!-- End Development Tools -->

    <!-- Education -->
    <Menu>
        <Name>Education</Name>
        <Directory>lxde-education.directory</Directory>
        <Include>
            <And>
                <Category>Education</Category>
            </And>
        </Include>
    </Menu> <!-- End Education -->

    <!-- Games -->
    <Menu>
        <Name>Games</Name>
        <Directory>lxde-game.directory</Directory>
        <Include>
            <And>
                <Category>Game</Category>
            </And>
        </Include>
    </Menu> <!-- End Games -->

    <!-- Graphics -->
    <Menu>
        <Name>Graphics</Name>
        <Directory>lxde-graphics.directory</Directory>
        <Include>
            <And>
                <Category>Graphics</Category>
                <Not><Category>Utility</Category></Not>
            </And>
        </Include>
    </Menu> <!-- End Graphics -->

    <!-- Internet -->
    <Menu>
        <Name>Internet</Name>
        <Directory>lxde-network.directory</Directory>
        <Include>
            <And>
                <Category>Network</Category>
            </And>
        </Include>
    </Menu>     <!-- End Internet -->

    <!-- Multimedia -->
    <Menu>
        <Name>Multimedia</Name>
        <Directory>lxde-audio-video.directory</Directory>
        <Include>
            <And>
                <Category>AudioVideo</Category>
            </And>
        </Include>
    </Menu>     <!-- End Multimedia -->

    <!-- Office -->
    <Menu>
        <Name>Office</Name>
        <Directory>lxde-office.directory</Directory>
        <Include>
            <And>
                <Category>Office</Category>
            </And>
        </Include>
    </Menu> <!-- End Office -->

    <!-- System Tools-->
    <Menu>
        <Name>System</Name>
        <Directory>lxde-system-tools.directory</Directory>
        <Include>
            <And>
                <Category>System</Category>
                <Not><Category>Settings</Category></Not>
                <Not><Category>PackageManager</Category></Not>
            </And>
        </Include>
    </Menu>     <!-- End System Tools -->

    <!-- Other -->
    <Menu>
        <Name>Other</Name>
        <Directory>lxde-other.directory</Directory>
        <OnlyUnallocated/>
        <Include>
            <And>
                <Not><Category>Core</Category></Not>
                <Not><Category>Settings</Category></Not>
                <Not><Category>Screensaver</Category></Not>
            </And>
        </Include>
        </Menu> <!-- End Other -->

    <Menu>
        <Name>DesktopSettings</Name>
        <Directory>lxde-settings.directory</Directory>
        <OnlyUnallocated/>
        <Include>
            <Or>
                <Category>Settings</Category>
                <Category>PackageManager</Category>
                <Category>System</Category>
            </Or>
        </Include>
        <Layout>
            <Merge type="menus"/>
            <Merge type="files"/>
        </Layout>

    </Menu> <!-- End Settings -->

    <Layout>
        <Merge type="files"/>
        <Merge type="menus"/>
        <Separator/>
        <Menuname>DesktopSettings</Menuname>
    </Layout>

</Menu> <!-- End Applications -->

Hope this helps you and tell us if anything else is missing(if anything is at all).

Last edited by JerichoKru (2010-03-09 22:39:01)

Offline

#4 2010-03-10 08:11:33

thriftee
Member
Registered: 2010-02-27
Posts: 11

Re: [solved] All menu items lost from LXDE menus

Its just too hosed, I think.  Will reload again...

Offline

Board footer

Powered by FluxBB