In the Application menu, the "Lock Screen" item is misplaced, does anyone know how to place it just above "Log Out"?

Lock Screen

Shows "Lock Screen" somewhere in the middle but should appear near the bottom, above "Log Out".

1 Answer 1


First you must locate the corresponding desktop file for the Lock Screen entry, this can be done by grep Lock\ Screen -rl /usr/share/applications/.

Once you get the name of that file, open up /etc/xdg/menus/xfce-applications.menu, look for lines like this <Filename>XXXX.desktop</Filename>, and move it anywhere you like (or just delete that line)

Make sure the xml is valid after your modification, otherwise you get blank menus.

  • thanks, it helped clarify the issue. it seems that *.menu file didn't have *.desktop file specified, so i had to write it manually.
    – user31641
    Apr 28, 2013 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy