first you have to make your script an application launcher:
create a file in
/usr/share/applications/<app_name>.desktop
with the ff contents:[Desktop Entry]
Type=Application
Name=<app_name>
Comment= "<comment>"
Icon=<path_to_image>
Exec=<script_to_execute>
Terminal=false
Categories=<category>
here's what's in my
/usr/share/applications/viber.desktop
file:[Desktop Entry]
Type=Application
Name=Viber
Comment= ""
Icon=/home/user/Viber/Viber_icon.png
Exec=/home/user/Viber/Viber.sh
Terminal=false
Categories=Communication
(src: https://ask.fedoraproject.org/en/question/24832/how-to-add-an-application-to-the-favorites-bar-in-gnome-in-fedora-18/)
No comments:
Post a Comment