You are not logged in.
Pages: 1
Topic closed
I have recently decided to try editing my xfce menu by following this guide https://wiki.archlinux.org/index.php/Xf … ystem_menu. I have been using method 3 to achieve it. The example they provide works, however when I try to remove other applications from the menu it does not work. Just for testing I have added the line <Filename>firefox.desktop</Filename> to the exclude section, and it is still there. Is there anyplace that I need to move the .desktop files or am I doing something wrong? Here is my xfce-applications.menu:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Xfce</Name>
<MergeFile type="parent">/etc/xdg/menus/xfce-applications.menu</MergeFile>
<Exclude>
<Filename>xfrun4.desktop</Filename>
<Filename>exo-terminal-emulator.desktop</Filename>
<Filename>exo-file-manager.desktop</Filename>
<Filename>exo-mail-reader.desktop</Filename>
<Filename>exo-web-browser.desktop</Filename>
<Filename>xfce4-about.desktop</Filename>
<Filename>xfhelp4.desktop</Filename>
<Filename>firefox.desktop</Filename>
</Exclude>
<Layout>
<Merge type="all" />
<Separator />
<Menuname>Settings</Menuname>
<Separator />
<Filename>xfce4-session-logout.desktop</Filename>
</Layout>
</Menu>Offline
No need to edit the menu to not display certain items. Just copy the .desktop files of the items you want to hide from /usr/share/applications to ~/.local/share/applications
Now edit the local copies in your chosen text editor and add the following line anywhere after the [desktop] line:
[desktop]
...
NoDisplay=true
...Make sure you do this to the local copies so updates don't undo all your work.
After making your changes, refresh the menu with:
$ xfdesktop --reloadCheers.
Offline
Alright Ill have to go ahead and do that. I noticed it in the wiki, but it mentioned that the menu file was the cleanest way which is why I was wondering.
Offline
Alright Ill have to go ahead and do that. I noticed it in the wiki, but it mentioned that the menu file was the cleanest way which is why I was wondering.
If you want to hide it only for XFCE, then use the XML file. It is marked as the "cleanest" solution since it doesn't interfere with the visibility in other desktop environments and is limited to the XFCE configuration of the current user. It also separates between the data (list of installed applications) and its presentation (hide some menu entries).
By the way, if you use the desktop file in ~/.local with the same name as in /usr, it even works with only the following two lines:
[desktop]
NoDisplay=trueLast edited by progandy (2012-07-14 04:27:35)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I made a post about this sometime ago: Changing Xfce menu.
If you achieved what you wanted it's better to mark this post as [SOLVED] ![]()
Offline
Hey. You should try lxmed from AUR, works fine with XFCE, but it's coded in Java.
If you find a better way, please let me know.
Offline
Hey. You should try lxmed from AUR, works fine with XFCE, but it's coded in Java.
If you find a better way, please let me know.
The AUR also has alacarte-xfce, xame, and menulibre.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Sorry to reply to this old thread but I had 2 menu entries I could not get rid of and the method Padfoot mentioned in post #2 worked like a charm.
I had purged fltk but hdspconf and hdspmixer still showed in Applications > Multimedia until I did the above.
Thank you.
Offline
Please don't necrobump old threads.
https://wiki.archlinux.org/index.php/Fo … bumping.22
https://wiki.archlinux.org/index.php/Fo … mpty_posts
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed