Skip to content

Menus

Behold, how good and how pleasant it is For brethren to dwell together in unity!

Psalm 133:1 (ASV)

Create a New Menu called Entertainment for streaming media (Internet Radio and Television) launchers

Entertainment Menu


Method 1: Command-line

First, create an entertainment.menu file in the appropriate location in /etc

Open a Terminal [Ctrl]+[Alt]+[T] and type:
sudo mousepad /etc/xdg/menus/applications-merged/entertainment.menu

entertainment.menu

Copy and paste the following into it:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
     <Menu>
       <Name>Applications</Name>
       <Menu>
         <Name>Entertainment</Name>
         <Directory>Entertainment.directory</Directory>
         <Include>
             <Category>Entertainment</Category>
         </Include>
       </Menu> <!-- End entertainment -->
     </Menu>

Save and “X” out of the entertainment.menu but leave the Terminal window open. Make a directory (folder) called menus in .config in Home, copy the xfce-applications.menu file, “paste” it in menus and open it in Mousepad.

In the Terminal type:
mkdir ~/.config/menus
sudo cp /etc/xdg/menus/xfce-applications.menu ~/.config/menus/
sudo mousepad ~/.config/menus/xfce-applications.menu

xfce-applications.menu

Copy and paste the following after the Education menu entry (and a space):

<Menu>
      <Name>Entertainment</Name>
      <Directory>entertainment.directory</Directory>
         <Include>
             <Category>Entertainment</Category>
         </Include>
</Menu>
the xfce-applications.menu should look like this:
entertainment.directory entry


Save and “X” out of the xfce-applications.menu but still leave the Terminal open. Make a folder called desktop-directories and have Mousepad create and open a file called entertainment.directory

mkdir ~/.local/share/desktop-directories
mousepad ~/.local/share/desktop-directories/entertainment.directory

entertainment.directory

Copy and paste the following text into it:

[Desktop Entry]
Version=1.0
Type=Directory
Icon=/usr/share/icons/Adwaita/256x256/legacy/face-cool.png
Name=Entertainment
Comment=TV and Radio

Save and “X” out of the xfce-applications.menu and “X” out of the Terminal.

Now, any launcher in your own applications folder at ~/.local/share/applications or globally for all users at /usr/share/applications that contains the Categories=Entertainment; key will populate the Entertainment menu you just created.

Local Applications


To “move” existing launchers to Entertainment; simply change the Categories key to Categories=Entertainment

Entertainment Menu

Method 2: MenuLibre

MenuLibre is an advanced menu editor that allows you to graphically create, delete, (re-)arrange, hide and show launchers, menus and more. Use it to split off Internet Radio launchers under it’s own category and re-name the Entertainment menu to Television.

Radio and Television Menus


Go to Menu > Settings > Menu Editor

Menu Editor


Click the green + symbol and choose Add Directory from the drop down

Add Directory


A new, editable, directory (folder) appears…

New Editable Directory


Click “New Directory” to Name it and “A small descriptive burb about this directory” to add the Comment, then click the folder icon to (navigate to and) add your own image.

Directory Name, Comment and Icon
Radio 19 SVG Vector icon from SVGRepo


Click the blue, downward-facing Arrow to Save the directory

Save the Directory


Select Internet Radio Launchers (one at a time) and click the down arrow

Move Launchers Down


… to move Internet Radio Launchers under the Radio directory

Move Launchers under the chosen Directory


That’s it for the Radio menu!


Now to change Entertainment to Television. Select the Entertainment Directory

Select the Entertainment Directory


Rename the directory Television, change the Comment to Video (Movie & TV) Streaming and add a new Icon

Change the Directory Name, Comment and Icon
Television 119 SVG Vector icon from SVGRepo


Click the blue, downward-facing Arrow to Save the directory changes

Save the Directory  changes


Enjoy the new Radio and Television Menus!

Radio and Television Menus

More Info Customize Menu in the Xfce wiki and MenuLibre at bluesabre.org