View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#7
Originally Posted by ThraxZzz View Post
Im no developer :P
Take any .desktop file for any app from /usr/share/applications/ see how its done; what you need to change is the Exec= field to either /opt/cyclotron/bin/switcher or /opt/cyclotron/bin/cycle depending on your preference; i chose the former...

For the stop change the Exec= to killall switcher and done

Of course once you read sample .desktop files you can see how to change the name, icon etc and you are set

See, no developer knowledge required


Edit: When i mean take any .desktop file, take an application's .desktop and use cp -R to make another copy in the same directory and use your favourite text editor like nano, vi etc to do the changes... Of course you could the above using sed in one-line if you are comfortable with it; its all upto your personal preferences

Last edited by thedead1440; 2012-12-11 at 15:36. Reason: clarifications
 

The Following 8 Users Say Thank You to thedead1440 For This Useful Post: