How can I add an application to the Favorites section of the Applications menu in CentOS 7?

I have created a custom application entry in the applications menu for Eclipse as follows in a file /usr/share/applications/eclipse.desktop as follows

[Desktop Entry]
Version=1.0
Name=Eclipse   
Exec=/usr/local/eclipse/eclipse
Terminal=false
Type=Application
StartupNotify=true
Categories=X-Red-Hat-Extra;Application;Development;
X-Desktop-File-Install-Version=0.15
Icon=/usr/local/eclipse/icon.xpm

This now appears fine in the Programming section of the Applications menu.

How can I add it to the Favorites section?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

The favourite in Gnome Classic view follows the favourites in the Gnome 3 shell.

Click on Activities in the top-left corner or use your keyboard’s Windows button if it has one, to bring up the activities overview. Right-click on one of those activities and Add to Favourites.

It should now be visible in the Gnome Classic Favourite menu.

Method 2

No need to edit files.

Sometimes you can’t just add the application’s launcher to the activity menu because it isn’t recognized as an activity.

go to the folder containing the .desktop file you wish to add to the favorites bar and open the terminal there.
run the command
sudo mv path/to/file/name.desktop /usr/share/applications

after that you should be able to view the launcher in the activities list and easily add it to the favorite menu 🙂


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x