Ask Your Question
1

how to add an application to the favorites bar in gnome in fedora 18

asked 2013-04-10 09:15:11 -0500

jringoot gravatar image

updated 2014-04-11 16:13:36 -0500

remjg gravatar image

In fedora 17 when an application is running, you can pin it to the favourites bar (left side by default), this menu item is no longer available after I did the upgraded to fedora 18, the running applications appears in the favourite bar but I can't add them, The option to remove them is available however.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2013-04-10 09:51:46 -0500

M0εiπ gravatar image

1-first, you must create a "desktop" file in this path: /usr/share/applications

for example : touch /usr/share/applications/eclipse.desktop

2-open the file with an editor like vim

vim /usr/share/applications/eclipse.desktop

then write this parameters in the file:(for example I want to add Eclipse launcher)

[Desktop Entry]
Type=Application
Name=Eclipse
Comment= "write your comment"
Icon=the icon path ,something like /opt/eclipse/icon.xpm
Exec=the execution command ,something like /opt/eclipse/eclipse
Terminal=false
Categories=write categories like : Development;IDE;Java;

then save the changes.

3-now you must add execution permission to the file using this command :

chmod +x /usr/share/applications/eclipse.desktop

then ,this application is been added to Application bar and you can add it to favorites bar.

edit flag offensive delete link more

Comments

Hi M0εiπ's, thanks it worked, I just did it for libreoffice4.

jringoot gravatar imagejringoot ( 2013-04-11 03:51:37 -0500 )edit
1

Amazing just did it for ipython notebook, had to include also an alias in /etc/profile.d.

Andre Ferreira gravatar imageAndre Ferreira ( 2013-04-15 12:59:44 -0500 )edit

The .desktop does not have to be created in /usr but can reside in your $HOME too. Also, it doesn't need to be executable. See also Desktop files: putting your application in the desktop menus

ckujau gravatar imageckujau ( 2016-04-13 17:49:54 -0500 )edit
2

answered 2014-04-18 03:36:58 -0500

brahman gravatar image

updated 2014-04-18 11:48:11 -0500

remjg gravatar image

In Fedora 19, you also have to do:

# desktop-file-install /usr/share/applications/yourapp.desktop

in order to validate and integrate the icon in the menus, and also the part with the executable flag is not necessary

edit flag offensive delete link more

Comments

Handy to know: Good idea to stage the install of shortcuts for automated deploy with ansible for instance.

jringoot gravatar imagejringoot ( 2014-04-24 02:23:55 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-04-10 09:15:11 -0500

Seen: 47,490 times

Last updated: Apr 18 '14