maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread (https://talk.maemo.org/showthread.php?t=45388)

No!No!No!Yes! 2010-04-22 10:16

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gabby131 (Post 619582)
hi! how can a NOOB execute this commands and see a text result in queen beecon:

sudo gainroot
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

thanks

UPDATE: i tried cat "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" Ι sudo gainroot, butnothing cane out.

please help

BTW: this app is awesome! typing commands is just a tap away!

Hi, try this:

Code:

echo "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" | sudo gainroot

rolan900d 2010-04-22 10:47

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I keep having issues with this great app.
Please some help...

When I create my own commands I sometimes have an error in de the desktop stating that hildon-desktop needs to shutdown???

I am trying to add a command to start homunculus from root.
In X-terminal it works like this:
root homunculus

can this be done in queen app?

No!No!No!Yes! 2010-04-22 11:18

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by rolan900d (Post 622286)
I keep having issues with this great app.
Please some help...

When I create my own commands I sometimes have an error in de the desktop stating that hildon-desktop needs to shutdown???

I am trying to add a command to start homunculus from root.
In X-terminal it works like this:
root homunculus

can this be done in queen app?

QBW is not actually meant for running programs with their own GUI as it'll wait till program is closed before returning control to hildon-home (N900 part of desktop processes).
N900 hildon-desktop & hildon-home processes might have some sort of watchdog mechanisms which prevent them from getting stuck if some widgets/status applets don't return them control in a timely fashion.

Try put a "&" character at the end of your command and cross your fingers!

This will force "homunculus" to be run in the background and immediately return control to hildon-* processes

UPDATE 201004221350CET: Sorry, method described above launches program but locks desktop widgets. Do not use it!!!!

rolan900d 2010-04-22 11:21

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Thanks mate, but tried that as well...

I would like to have commands in the desktop to start apps from root...

No!No!No!Yes! 2010-04-22 11:31

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by rolan900d (Post 622333)
Thanks mate, but tried that as well...

I would like to have commands in the desktop to start apps from root...

Maybe you'd like to try this...
http://www.themaemo.com/howto-launch...om-a-shortcut/

And change:
Code:

Exec=/usr/bin/osso-xterm top
with:
Code:

Exec=root homunculus
Maybe you should use full path for the two commands.

rolan900d 2010-04-22 11:34

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Gonna try that!

Cheers

gabby131 2010-04-23 22:35

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 622256)
Hi, try this:

Code:

echo "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" | sudo gainroot

thanks, so in every sudo gainroot comand, i'll just type in:

Code:

echo "/sudo_command/" ׀ sudo gainroot
working for me, gonna try a reboot widget :D

gabby131 2010-04-23 23:02

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by matts76 (Post 622241)
I see from your post in the oc thread that you've resolved this, could you please post the scripl you used to get it working and also the 805mhz one please:D
Thanks

at my post above, in every sudo command (root commands),

type: echo "<command_that_is_root>" І sudo gainroot

for example:

Code:

echo "echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | sudo gainroot
that is for kernel for power users to increase cpu max frequency to 1GHz.

you can also do some sudo commands like reboot, apt-get clean etc, but be carefull and read between the lines of the options.

thanks to No!No!No!Yes! and jakiman

jakiman 2010-04-24 03:50

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I noticed that that piping it to sudo gainroot doesn't work for my friend's N900 for some reason. So I used following instead and it works. (works in my phone also and this is better a it returns no output)

sudo /usr/sbin/kernel-load /home/user/MyDocs/files/overclock_1000

(where overclock_1000 is a copied/modified file of the kernel power setting default profiles)

Sash 2010-04-24 09:33

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by jakiman (Post 625423)
I noticed that that piping it to sudo gainroot doesn't work for my friend's N900 for some reason. So I used following instead and it works. (works in my phone also and this is better a it returns no output)

sudo /usr/sbin/kernel-load /home/user/MyDocs/files/overclock_1000

(where overclock_1000 is a copied/modified file of the kernel power setting default profiles)

Mine was the same. Doing it this way works fine though.


All times are GMT. The time now is 18:21.

vBulletin® Version 3.8.8