Carolyn28
Posts: 35
Joined: Sun Jun 17, 2018 10:36 am

How to move item in menu to another folder?

Sat Jul 20, 2019 4:47 pm

I would like to rearrange Raspbian menu items to my own folders.

I could copy name and code but then custom icon is not in new item.

How i can copy or duplicate items and then move to new folder in menu?

klricks
Posts: 6543
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: How to move item in menu to another folder?

Sat Jul 20, 2019 6:19 pm

Carolyn28 wrote:
Sat Jul 20, 2019 4:47 pm
I would like to rearrange Raspbian menu items to my own folders.

I could copy name and code but then custom icon is not in new item.

How i can copy or duplicate items and then move to new folder in menu?
Moving and/or creating new menu or desktop items is not straight forward but can be done like this:
For example to move the calculator to a different menu:
-Start Main Menu Editor
-Find in Accessories, the calculator icon select and click [Properties]
-Write down the information for Name: Command: and Comments:.
-Choose new or existing menu where you want move the item to.
-Click [New Item] and enter the Name: Command: and Comments: from above step.
-Exit from the Main Menu Editor program.

You will now have calculator in a different menu with a dumb generic icon.
Very annoying that the icon file is not handled automatically
To fix icon do this:
-Find the original calculater in the Desktop menu and then right click and select [Properties]
-Find the Target File: entry and select and copy.
-Use nano and paste the location like this:

Code: Select all

nano /usr/share/raspi-ui-overrides/applications/galculator.desktop
-Look for icon= and write down.

-Now from the desktop menu find the new calculator then right click and select [Properties]
-Find the Target File: entry and select and copy. (note that this will be in a different location)
-Use nano and paste the location like this:

Code: Select all

 nano /home/pi/.local/share/applications/alacarte-made.desktop
-Make the icon= the same as you found in original. Save and exit
-Now if you want open Main Menu Editor and delete the original calculator entry.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

Return to “Raspbian”