![]() |
Widget\Shortcut to run X-Terminal commands
Hi all,
Is there any application or workarround to create a widget\shortcut\Icon that runs the code you want on x-terminal (hide) ? This will make users to be able to run it own things without have to open x-terminal. Create some 'mini applications'. Two pratical examples: -Reason: Whatever you want. Phone is slowing down, i.e. -Name: Reboot -Just create an image to the icon (a Square with an R, i.e.) -Just create it code (restart) So, we have our icon on the desktop, when we click it, no x-terminal opens, but the phone reboots. -Reason: Go to launch Easy Debian! i.e. -Name: IncreaseMaxFreq -Just create an image to the icon (a CPU with an Up arrow, i.e.) -Just create it code (sudo gainroot) echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) So, we have our icon on the desktop, when we click it, no x-terminal opens, but the increase max_cpu_frequency. Of course the code needs more lines like how to invoque and close x-terminal process and make other lines run there. This is just an idea, i searched about it but dont have lucky so.. What do you think. Stupid idea, actualy that is possible or this is a thing to developers only? Regards. |
Re: Widget\Shortcut to run X-Terminal commands
|
Re: Widget\Shortcut to run X-Terminal commands
Auch...English English..so..'Scripts" ..
Well, thank you, i thing i've i read that entire page i'll get my stuff work. Good job. Can anyone close this thread? |
Re: Widget\Shortcut to run X-Terminal commands
Besides Desktop Command Widget, there's a fork that is more colorful and flexible called Queen Beecon Widget.
|
Re: Widget\Shortcut to run X-Terminal commands
Quote:
There are many scripts, with respective code, ok. But..how i apply it? Create a file with no extension and put it at a directory..i think..but how is the desktop icon created ? Hum..strange thing.. Reading so much english is driving me crazy :confused: With Desktop Command Widget the script is allways running or not? It can be configured to run only when clicked? |
Re: Widget\Shortcut to run X-Terminal commands
Quote:
(On/Off) Update when clicked (On/Off) Update when switched to desktop Update Interval: (Time in minutes, 0 = Manual updating only) P.S.: Here at talk.maemo.org, you'll be reading quite a bit of english. ;) |
All times are GMT. The time now is 17:28. |
vBulletin® Version 3.8.8