Forum › Forums › New users › New Users and General Questions › moving a menu category on desktop
- This topic has 13 replies, 7 voices, and was last updated Oct 22-4:06 pm by BobC.
-
AuthorPosts
-
September 18, 2021 at 9:14 am #67432Member
Daddy Libre
I would allow my son to reach games easyer on the desktop.
I knon the usr/share/applications tip but i want to copy the entire Games category under an icon in desktop.How can I do that?
September 18, 2021 at 11:20 am #67437Member
Xecure
::See if this script works for you.
Un-compress it, make it executable, move it to a folder you an find it easier later, and drag and drop to the desktop. You can assign an icon if you like or change the name to make it more user friendly.- This reply was modified 1 year, 7 months ago by Xecure.
- This reply was modified 1 year, 7 months ago by Xecure.
Attachments:
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 18, 2021 at 9:15 pm #67489ModeratorBobC
::The default desktop is Rox-IceWM. If you have problems making Xecure’s suggestion work, try changing your desktop to Space-IceWM.
You can do this from Main menu > Desktops menu > Other Desktops and change it to Space-IceWM on the Other Desktops menu.
- This reply was modified 1 year, 7 months ago by BobC.
September 20, 2021 at 3:55 pm #67559Member
Daddy Libre
::Thanks! I’m now facing a connectivity issue (not related to antix) in my rural home.
As soon as I can test your suggestions I will update you all.(Then I wish to “report” my experiences in to the Italian topic, even if I’m the only one right now ☺)
October 17, 2021 at 8:59 pm #69054Member
Daddy Libre
::Un-compress it, DONE.
make it executable, DONE.
move it to a folder you can find it easier later, DONE (whit new name “.Giochi.sh” in my son home folder)
and drag and drop to the desktop. DONE
You can assign an icon if you like DONE
or change the name to make it more user friendly. DONEI’ve also manage to change the script to respond on double click (but i think single click it’s perfect in new touch screen hardware, especially for childrens).
Than i’ve changed the menù and added even there.
Also in taskbar.I’ve loved the way I feel when making this big-little changes to improves my kid experience and myself too.
thankyou Xecure
BobC yuor tips was helpfull too in the process, thanks!
i will now update my experiment in the italian topic. bye.
- This reply was modified 1 year, 6 months ago by Daddy Libre.
July 26, 2022 at 8:33 am #86547Member
Daddy Libre
::Can I change this script (and rename it) to perform similar but whit other category?
I surely need it for Education category.July 26, 2022 at 7:19 pm #86565Moderator
Brian Masinick
::Can I change this script (and rename it) to perform similar but whit other category?
I surely need it for Education category.If you are referring to the script that Xecure wrote, he suggested and
-
encouraged
moving it to some personally owned directory and even renaming the tools to a name of your choice; in general, if it’s a system tool, you should leave it in place and leave it alone, but if it’s a tool script, particularly ones written for either personal or community use, these can be certainly COPIED, and probably MOVED to a personal location.
If they’re NOT in /usr/bin (DON’T move) or /usr/local/bin (copying OK), they’re fine to do whatever you want on your own system.
--
Brian MasinickJuly 26, 2022 at 9:08 pm #86575ModeratorBobC
::When you are done setting it up, make a backup copy that you can use in case your son deletes it by mistake.
Did you end up using the SpaceFM (or zzzfm) desktop?
It would be very easy to copy .desktop files to Games or School (or any other) folders inside the Desktop folder.
October 21, 2022 at 6:06 pm #91189Member
Daddy Libre
::I am having trouble modifying the script to show educational app (i.e. tuxmath)
what I’ve done is simply change the “game” word whit education but it doesn’t show app.
the education window appears but it’s empty. I’ve tried to copy and paste the .desktop file in the generated directory, but nothing happens.October 21, 2022 at 6:12 pm #91191Member
Daddy Libre
::the original script:
#! /bin/bash APPLICATIONS_FOLDER="/usr/share/applications" GAMES_FOLDER="$XDG_DESKTOP_DIR/Games" APP_CATEGORY="Game" YAT_TITLE="My Games" LIST_OF_GAME_FILES="$(grep "$APP_CATEGORY" "${APPLICATIONS_FOLDER}"/* 2>/dev/null | cut -d":" -f1 | sort -u)" #~ grep "$APP_CATEGORY" "${APPLICATIONS_FOLDER}"/* [ -d "$GAMES_FOLDER" ] && rm -r "$GAMES_FOLDER" mkdir "$GAMES_FOLDER" while read -r line; do if [ -f "$line" ]; then cp "$line" "$GAMES_FOLDER/" fi done < <(echo "$LIST_OF_GAME_FILES") yad --icons --read-dir="$GAMES_FOLDER" --title="$YAT_TITLE" --center \ --borders=10 --width=700 --height=500 --no-buttons --double-clickmy best attempt
#! /bin/bash APPLICATIONS_FOLDER="/usr/share/applications" EDUCATION_FOLDER="$XDG_DESKTOP_DIR/Education" APP_CATEGORY="Education" YAT_TITLE="My Edu" LIST_OF_GAME_FILES="$(grep "$APP_CATEGORY" "${APPLICATIONS_FOLDER}"/* 2>/dev/null | cut -d":" -f1 | sort -u)" #~ grep "$APP_CATEGORY" "${APPLICATIONS_FOLDER}"/* [ -d "$EDUCATION_FOLDER" ] && rm -r "$EDUCATION_FOLDER" mkdir "$EDUCATION_FOLDER" while read -r line; do if [ -f "$line" ]; then cp "$line" "$EDUCATION_FOLDER/" fi done < <(echo "$LIST_OF_EDUCATION_FILES") yad --icons --read-dir="$EDUCATION_FOLDER" --title="$YAT_TITLE" --center \ --borders=10 --width=700 --height=500 --no-buttons --double-click- This reply was modified 6 months, 2 weeks ago by Daddy Libre.
October 21, 2022 at 7:14 pm #91194Member
marcelocripe
::The original Xecure my-games.zip with the translation feature is available at the Internet Archive.
October 22, 2022 at 3:31 am #91197Moderator
christophe
::What happens if you do this:
Open the /usr/share/applications/tuxmath.desktop file (as root), and change the line “Categories” to this:
Categories=Game;Save the file.
Maybe you will also need to restart the window manager or refresh the menu.Then re-run the original (games) script again.
Does that work?
- This reply was modified 6 months, 2 weeks ago by christophe.
confirmed antiX frugaler, since 2019
October 22, 2022 at 9:12 am #91205MemberModdIt
::You cam move or make changes in /usr/share/desktop-menu/ dot files (hidden) for your particular desktop.
Take care you must work as su.Update menu afterwords. The changes may not survive updates of the particular applications concerned.
The menu placing is controlled from within the deb and not always logical.For example see synaptic a package manager which is set to install to settings. I have moved it to system.
October 22, 2022 at 4:06 pm #91217ModeratorBobC
::I believe the normal expected directory for personal .desktop files is ~/.local/share/applications, but I’m not sure how the system reacts to files put there.
-
AuthorPosts
- You must be logged in to reply to this topic.