Ask Your Question
0

Create an icon in activities tab.

asked 2015-04-05 06:51:08 -0500

SantoshHoropter gravatar image

updated 2015-04-05 12:50:34 -0500

mether gravatar image

Hi guys, First off, please change the title according to what the question that follows is, because I don't know how to put it. The question is, "I have made a script in bash that does some of my daily works for me in form of creating cron jobs for my convenience, etc. I made a simple GUI interface for startup in zenity and I wish to make an icon of it that can appear in activities tab." Please tell me how to do that? (kinda like FEDY I s'pose.)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-04-05 07:12:36 -0500

updated 2015-04-05 09:15:39 -0500

It sounds to me as though you're wanting to create .desktop file. I'm not sure what you mean saying it will set up cron jobs because I would think once you've set them up you're done and maybe you make a script to do it but you don't need a shortcut to it. However, to get a shortcut in the activities tab:

Gnome will create shortcuts for programs/scripts or whatever that have .desktop files. Gnome will look in a few different places but you should probably put your own into

/home/your-username/.local/share/applications

This is my .desktop file for Skype, you will just need to change the variables appropriately:

[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=/opt/skype/skype %U
Icon=/opt/skype/avatars/skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype

Also, happy Easter, He is risen!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-05 06:51:08 -0500

Seen: 691 times

Last updated: Apr 05 '15