Active Topics

 


Reply
Thread Tools
Posts: 501 | Thanked: 618 times | Joined on Feb 2012
#1
Is there way to make icon for your own bash-script?
 
Posts: 87 | Thanked: 99 times | Joined on Jul 2023 @ Europe
#2
Yes of course, you have just to create .desktop file in:
/usr/share/applications/hildon/

You can use other .desktop files as a model with:
[Desktop Entry]
Name=name_of_the_script
GenericName=name_of_the_script
Exec=/path/to/your_script.sh
Icon=/path/to/icon
Terminal=true
Type=Application
X-Osso-Type=application/x-executable

That's it.
 

The Following 2 Users Say Thank You to Arno_11 For This Useful Post:
Community Council | Posts: 685 | Thanked: 1,234 times | Joined on Sep 2010 @ Mbabane
#3
Depending on your actual need, there's also https://maedevu.maemo.org/pkgweb/beo...-cmd-exec.html, which gives you a widget that can run and display the output of your script
__________________
RX-51
 

The Following User Says Thank You to sicelo For This Useful Post:
Posts: 87 | Thanked: 99 times | Joined on Jul 2023 @ Europe
#4
Yes, Desktop Command Execution widget is particulary useful to monitor things. I personally use it to monitor max and min cpu freq, free memory and RAM, battery current draw (and detecting charge), battery temp...you can execute the script by clicking on the screen or execute it every x seconds, minutes or hours.

Btw, you can use icons for scripts to control / adjust volume during calls (as it is not yet implemented in Leste), or adjust brightness in the dark, or adjust cpu freqs by hand and more. ( Desktop Cmd Exec widget can be used as well)
 

The Following User Says Thank You to Arno_11 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:43.