Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:customize-menu [2013/12/03 21:25] – [Unanswered] ammo | howto:customize-menu [2022/09/19 22:24] (current) – Update dead link kevinbowen | ||
---|---|---|---|
Line 3: | Line 3: | ||
This page describes how to customize the menu, using Xfdesktop **4.5 or higher**. | This page describes how to customize the menu, using Xfdesktop **4.5 or higher**. | ||
- | A GNU-licensed graphical menu editor for LXDE, [[http:// | + | A GNU-licensed graphical menu editor for LXDE, [[http:// |
+ | |||
+ | ---- | ||
===== What xfdesktop installs ===== | ===== What xfdesktop installs ===== | ||
Xfdesktop installs a menu file and .desktop files which together with non-xfdesktop .desktop files define the menu. To customize your menu you need to modify them. The method described here modifies the menu file identified by the $XDG_CONFIG_HOME variable (usually null, so ~/ | Xfdesktop installs a menu file and .desktop files which together with non-xfdesktop .desktop files define the menu. To customize your menu you need to modify them. The method described here modifies the menu file identified by the $XDG_CONFIG_HOME variable (usually null, so ~/ | ||
+ | |||
+ | ---- | ||
===== When xfdesktop implements your changes ==== | ===== When xfdesktop implements your changes ==== | ||
If the menu file's directory exists when the xfdesktop session starts, changes to the menu file are implemented immediately. | If the menu file's directory exists when the xfdesktop session starts, changes to the menu file are implemented immediately. | ||
+ | |||
+ | ---- | ||
===== Copy the menu file ===== | ===== Copy the menu file ===== | ||
Line 20: | Line 26: | ||
or | or | ||
cp $prefix/ | cp $prefix/ | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
===== Copy a .desktop file ===== | ===== Copy a .desktop file ===== | ||
Line 26: | Line 35: | ||
or | or | ||
cp / | cp / | ||
+ | |||
+ | ---- | ||
+ | |||
===== Hide menu entries ===== | ===== Hide menu entries ===== | ||
If you want to hide menu entries from all menus, copy their .desktop files and edit them to add a '' | If you want to hide menu entries from all menus, copy their .desktop files and edit them to add a '' | ||
- | >> {{wiki: | + | <note tip>As explained[[http:// |
- | >> As explained[[http:// | + | |
===== Hide only root entries ===== | ===== Hide only root entries ===== | ||
If you only want to remove menu items from the root menu only, copy their .desktop files and edit them to remove Category X-Xfce-Toplevel. | If you only want to remove menu items from the root menu only, copy their .desktop files and edit them to remove Category X-Xfce-Toplevel. | ||
Line 46: | Line 56: | ||
For example, to remove Web Browser from the root menu, copy its .desktop file and edit it, changing '' | For example, to remove Web Browser from the root menu, copy its .desktop file and edit it, changing '' | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
===== Add entries ===== | ===== Add entries ===== | ||
Line 80: | Line 93: | ||
</ | </ | ||
Any .desktop files with categories including Accessibility, | Any .desktop files with categories including Accessibility, | ||
+ | |||
+ | ---- | ||
===== The Other sub-menu ===== | ===== The Other sub-menu ===== | ||
Line 85: | Line 100: | ||
If you have an Other sub-menu and do not want it, copy the .desktop file and modify its categories so it is included in one of the other sub-menus. | If you have an Other sub-menu and do not want it, copy the .desktop file and modify its categories so it is included in one of the other sub-menus. | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
===== Create sub-menus ===== | ===== Create sub-menus ===== | ||
Line 124: | Line 142: | ||
With all this in place, you should have a new submenu called " | With all this in place, you should have a new submenu called " | ||
+ | |||
+ | ---- | ||
===== Forcing changes ===== | ===== Forcing changes ===== | ||
Line 132: | Line 152: | ||
If that doesn' | If that doesn' | ||
killall -HUP xfdesktop | killall -HUP xfdesktop | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
===== Questions ===== | ===== Questions ===== | ||
Line 144: | Line 167: | ||
**Question: | **Question: | ||
**Answer:** No. The menu file defines which categories of entry go where. Your further application will appear in the defined place(s). If not, compare its categories with the categories in the menu file and adjust accordingly. | **Answer:** No. The menu file defines which categories of entry go where. Your further application will appear in the defined place(s). If not, compare its categories with the categories in the menu file and adjust accordingly. | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
==== Unanswered ==== | ==== Unanswered ==== | ||
Line 157: | Line 183: | ||
View / | View / | ||
* I run Jaunty and need to make the menu to be multi-level, | * I run Jaunty and need to make the menu to be multi-level, | ||
- | See the part above about using Categories to create sub-menu's. When for example ' | + | See https:// |
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
+ | [[https:// |