Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Traditional menu broken in 11.4

  1. #1
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Traditional menu broken in 11.4


    The traditional menu is broken in 11.4.

    Instead of a hierarchical menu:

    Internet --> web browsers --> Firefox
    konqueror

    --> Email --> thunderbird
    kmail


    Now everything is grouped on a first level menu, email clients in the same
    group as web browsers, all under "Internet" together and mixed. And less
    entries.

    This takes out the usability of the menu.

    I have opened a Bugzilla about this, but they want to close it without
    repairing the problem. Please complain and vote there.


    > https://bugzilla.novell.com/show_bug.cgi?id=692466




    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  2. #2

    Default Re: Traditional menu broken in 11.4

    Hi,
    I don't use the default menus. But IMHO it's easy to fix. You can see that the categories are still in the distro desktop files:
    Code:
    grep -e 'WebBrowser;' -e 'Email;' /usr/share/applications/*
    Now compare the files /etc/xdg/menus/applications.menu and /etc/xdg/menus/gnome-applications.menu. The categories you're looking for are present in the first one. I believe your gnome is using the second one - meaning XDG_MENU_PREFIX might be set to "gnome-". Either set XDG_MENU_PREFIX to an empty string in your xinitrc or Xsession file, or switch the menu files, or define your own XDG_CONFIG_DIRS, put your applications.menu there and do what you want.

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Traditional menu broken in 11.4

    On 2011-05-12 13:06, please try again wrote:
    >
    > Hi,
    > I don't use the default menus. But IMHO it's easy to fix. You can see
    > that the categories are still in the distro desktop files:
    >
    > Code:
    > --------------------
    > grep -e 'WebBrowser;' -e 'Email;' /usr/share/applications/*
    > --------------------
    >
    >
    > Now compare the files /etc/xdg/menus/applications.menu and
    > /etc/xdg/menus/gnome-applications.menu. The categories you're looking
    > for are present in the first one. I believe your gnome is using the
    > second one - meaning XDG_MENU_PREFIX might be set to "gnome-". Either
    > set XDG_MENU_PREFIX to an empty string in your xinitrc or Xsession file,
    > or switch the menu files, or define your own XDG_CONFIG_DIRS, put your
    > applications.menu there and do what you want.


    That's interesting. Yes indeed, this "XDG_MENU_PREFIX=gnome-" is in the
    environment.

    I copied ~/.xinitrc.template to ~/.xinitrc, and added the line

    XDG_MENU_PREFIX=

    there, restarted gnome, no good. Then I tried:

    unset XDG_MENU_PREFIX

    Restarted, no good. I then created .Xsession with that single line, no
    good. The variable inside the gnome session is still "gnome-", so the line
    is not modified from those files. The files I edited must be read before
    the variable is set, or they are not read.

    Any other place to put that line so that it is read?



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #4

    Default Re: Traditional menu broken in 11.4

    Quote Originally Posted by robin_listas View Post

    Any other place to put that line so that it is read?
    It depends on how you start X.

    BTW, it should be
    Code:
    XDG_MENU_PREFIX=""
    Unsetting the variable might just bring the default back.

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,487
    Blog Entries
    3

    Default Re: Traditional menu broken in 11.4

    I am still seeing the traditional menu.

    However --- after using XFCE for a while, I reverted to KDE and the launcher menu that I saw was the XFCE menu.

    There's apparently some information leakage between desktops.

    The KDE menu problem cleared up by itself on my home system. But on my office system, the XFCE menu persisted. So here's what I did:

    1: logout from KDE
    2: CTRL-ALT-F1 - to get a terminal login.
    3: In that terminal session, I did the following:
    4: cd /var/tmp
    5: rm -rf kdecache-user ## where "user" was my login name
    6: logout
    7: CTRL-ALT-F7 -- to get a GUI login screen
    8: Login to KDE. The menu was back to normal.

    In short, it looks as if the cached data can become corrupted. Deleting the cached data while not logged in forces it to be regenerated.

    I'm not sure if that will solve your problem, but it is worth a try. (And if it does fix the problem, you could add a comment to the bug report).
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6

    Default Re: Traditional menu broken in 11.4

    Quote Originally Posted by robin_listas View Post
    Restarted, no good. I then created .Xsession with that single line, no
    good.
    It should be ~/.xsession actually. But /etc/gdm/Xsession sources a bunch of files. So you should make sure that the variable doesn't get redefined somewhere else.

    * assuming you're using gdm.

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Traditional menu broken in 11.4

    On 2011-05-12 15:36, please try again wrote:
    >
    > robin_listas;2338735 Wrote:
    >>
    >>
    >> Any other place to put that line so that it is read?
    >>

    >
    > It depends on how you start X.


    Runlevel 5, gdm login manager.


    > BTW, it should be
    >
    > Code:
    > --------------------
    > XDG_MENU_PREFIX=""
    > --------------------
    >
    >
    > Unsetting the variable might just bring the default back.


    Wrote that to .Xsession and .xinitrc. XDG_MENU_PREFIX is stil "gnome-"
    inside the session after restarted :-/

    Then I wrote XDG_MENU_PREFIX="boo" - it is stil "gnome-" inside the
    session after restarted :-//

    I don't understand.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Traditional menu broken in 11.4

    On 2011-05-12 15:36, nrickert wrote:
    > 1: logout from KDE


    I'm using gnome.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Traditional menu broken in 11.4

    On 2011-05-12 16:06, please try again wrote:
    >
    > robin_listas;2338735 Wrote:
    >>
    >> Restarted, no good. I then created .Xsession with that single line, no
    >> good.

    >
    > It should be ~/.xsession actually. But /etc/gdm/Xsession sources a
    > bunch of files. So you should make sure that the variable doesn't get
    > redefined somewhere else.
    >
    > * assuming you're using gdm.


    I have edited /usr/bin/gnome, the variable is set there. And it works!

    I found it by a brute force grep of the entire installation O:-)


    AHHHHhhhhh! :-)

    (what a relief...)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  10. #10

    Default Re: Traditional menu broken in 11.4

    Stupid question: Do you also export this variable? Ok, sorry. It was a stupid question.

Page 1 of 2 12 LastLast

Posting Permissions

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