LMDE+Xfce4.8 alphabetical order menu

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Mon May 16, 2011 1:28 pm

Hey there.

Today I upgraded my LMDE Xfce and found that xfce was upgraded from 4.6 to 4.8 and now my mint menu items are arranged in alphabetical order.

Is there a way to change the order of my mint menu items and leave them back to where they were?

PS: I played with ~/.config/menus/xfce-applications.menu, logged back and logged in but the menu is exactly the same (no changes) and I don't want to install Alacarte because of its gnome dependencies.

Thanks in advance!
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE+Xfce4.8 alphabetical order menu

Postby vrkalak on Mon May 16, 2011 3:10 pm

This problem has come about with the integration of Xfce-4.8 over the old version of 4.6.
This comes about with the kernel/system upgrading the existing Xfce desktop to version 4.8

If you have installed, a clean Xfce-4.8 ... this problem does not show up.

I have this same issue with both, my LMDE and Crunchbang install, but not on my straight Debian or Anti-X.

Like you I have tried re-configuring the appropriate files, but to no avail.

All I can recommend is that you search through the Xfce Wiki > http://wiki.xfce.org/howto
And the Xfce Forums > http://forum.xfce.org

"You say change, like it's a bad thing" :P
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3311
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Mon May 16, 2011 3:59 pm

Thanks for your reply vrkalak.
As a matter of fact, I saw that editing ~/.config/menus/xfce-applications.menu produces no result, but editing /etc/xdg/menus/xfce-applications.menu as root does produce results. So I'll have to play around with that file to see what happens.

Thanks!
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Re: LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Mon May 16, 2011 5:03 pm

Ok, after playing around with this, thankfully, I have come to a solution.
I'll share it and hope this might help others with the same problem.

Editing my ~/.config/menus/xfce-applications.menu does nothing, so, I edited /etc/xdg/menus/xfce-applications.menu as root and focused on the <Layout> section.
After realizing that some of the .desktop files under /usr/share/applications are named differently (e.g. former xfce4-logout.desktop is now called xfce4-session-logout.desktop), I started adding the correct names into <Layout> section and they magically moved from the menu to the top section of the menu, and voila; I achieved what I wanted.

This is my final <Layout> section:
Code: Select all
    <Layout>
        <Filename>xfrun4.desktop</Filename>
        <Separator/>
        <Filename>exo-terminal-emulator.desktop</Filename>
        <Filename>exo-file-manager.desktop</Filename>
        <Filename>exo-web-browser.desktop</Filename>
        <Filename>exo-mail-reader.desktop</Filename>
        <Filename>mintInstall.desktop</Filename>
        <Separator/>
        <Menuname>Settings</Menuname>
        <Separator/>
        <Merge type="all"/>
        <Separator/>
        <Filename>xfce4-about.desktop</Filename>
        <Filename>xfce4-session-logout.desktop</Filename>
    </Layout>
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Re: LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Mon May 16, 2011 6:24 pm

Me again.

After restarting the computer, the /etc/xdg/menus/xfce-applications.menu was autogenerated and got back to where it was thereby loosing all changes I made. Still struggling with this :(

Mmm, also, my rabbitvcs (subversion GUI) stopped working on the current version of Thunar and this is a mandatory application for me.

I'll try to fix this.
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Re: LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Mon May 16, 2011 6:55 pm

Ok, no. Gave up on this.

Downloading and going back to lmde+gnome.

Cheers.
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Re: LMDE+Xfce4.8 alphabetical order menu

Postby michaelzap on Tue May 17, 2011 1:59 am

rolandpish wrote:Editing my ~/.config/menus/xfce-applications.menu...

It should. If your panel menu is set to use the default menu file, then that file takes precedence over the system default. I also upgraded from Xfce 4.6 to 4.8, and editing that file works for me.

I also copied all of the system default desktop application files from /usr/share/applications to ~/.local/share/applications. That allows you to edit those so that they appear differently in the menu for your user account. The Xfce menus aren't really all that complicated once you understand how they're created.

More info here.
michaelzap
Level 3
Level 3
 
Posts: 160
Joined: Sat Sep 11, 2010 9:32 pm

Re: LMDE+Xfce4.8 alphabetical order menu

Postby rolandpish on Tue May 17, 2011 3:44 am

Thanks Michael. Yes, you're right, I could choose the menu file to use and I had to copy all those .desktop files to my ~/.local/share/applications folder.
I could do the tweaking I needed for the menu :)

Unfortunately, apps like rabbitvcs (subversion GUI) stopped working and this is mandatory for me. Sadly, I cannot wait until this is fixed so I had to go back to lmde+gnome and hoping to have lmde+xfce once again in a near future.

Thanks!
rolandpish
Level 2
Level 2
 
Posts: 59
Joined: Sun Jul 25, 2010 4:33 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 2 guests