Active Topics

 



Notices


Reply
Thread Tools
Posts: 169 | Thanked: 41 times | Joined on Apr 2010 @ Portugal
#1
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.

Last edited by nokian-series; 2010-04-13 at 18:38. Reason: Correct some text
 

The Following User Says Thank You to nokian-series For This Useful Post:
Posts: 122 | Thanked: 73 times | Joined on Jan 2010 @ Turku, Finland
#2
Here

Be careful with reboot style stuff as scripts are run on boot
 

The Following 2 Users Say Thank You to antoarts For This Useful Post:
Posts: 169 | Thanked: 41 times | Joined on Apr 2010 @ Portugal
#3
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?
 

The Following User Says Thank You to nokian-series For This Useful Post:
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#4
Besides Desktop Command Widget, there's a fork that is more colorful and flexible called Queen Beecon Widget.
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 

The Following User Says Thank You to Patola For This Useful Post:
Posts: 169 | Thanked: 41 times | Joined on Apr 2010 @ Portugal
#5
Originally Posted by nokian-series View Post
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?
Close...or not lol

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

With Desktop Command Widget the script is allways running or not?
It can be configured to run only when clicked?

Last edited by nokian-series; 2010-04-13 at 18:51. Reason: Add information
 

The Following User Says Thank You to nokian-series For This Useful Post:
xomm's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#6
Originally Posted by nokian-series View Post
Reading so much english is driving me crazy

With Desktop Command Widget the script is allways running or not?
It can be configured to run only when clicked?
You can configure it to

(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.
__________________
==In school once again. Free time limited to night, holidays and weekends.==
Hi! I'm Andy, a Maemo Greeter! I'm also a moderator of the Applications, Nokia N900, and Maemo 5/Fremantle forums.
Useful Links: Maemo Wiki Main Page, New users start here, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Also, pin yourself in the map! Maemo Map. Send me a PM (Private Message) if I leave you hanging on a problem (or if you need more help).
Owner of both a N800 and N900; Active community member since Jan 2010. You've been xommified! - My blog.
 

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


 
Forum Jump


All times are GMT. The time now is 10:23.