How to edit menu order


#1

To edit menu order, edit the items from “/apps/launcher/Menu/GameShell/” folder adding “index”+"_" to file / folder item, for example:

cpi@clockworkpi:~/apps/launcher/Menu/GameShell$ ls -1
10_Settings
20_Retro Games
30_CaveStory.sh
40_RetroArch.sh
50_freeDM.sh
60_Music Player
70_TinyCloud
99_PowerOFF

live example:
https://mastodon.social/@zital/100538104957417473


#2

Nice hint, I cant stand seeing “Poweroff” item in the middle of the menu, it’s better in the end as yours.


#3

ok
nice order

will include


#4

You should know that if you update the launcher, you will have duplicated entries. You’ll have “99_Power Off” and the original “Power Off” will be downloaded again :frowning:


#5

git reset wont able to fix this issue?


#6

I guess so, but that’s not as straightforward as updating the launcher through the GS menu. That solution needs you to update the repo from ssh.


#7

in fact

launcher’s update is just a git pull && git reset --hard hashnumber

so if git can handle rename issue of folders ,that will be no problem at all

:slight_smile:


#8

Oh I don’t know that. I have had duplicated icons/folders when updating, so I went back to the default. Don’t know how if this behaviour has been changed.


#9

created pull request:


#10

merged!