![]() |
Re: Desktop Command Execution Widget scripts
I had these issues as well but these were mainly due to trying to ad sudo gainroot to the script...
Example: I want homunculus to start from root... I couldn't make a script that worked so all hell broke loose and I got errors about hildon-desktop closing down |
Re: Desktop Command Execution Widget scripts
Ahh, this actually ties in with something I was doing.
The first time I installed it was working perfectly, until I tried to start cuteexplorer as root... Think I used: sudo gainroot; cuteexplorer - had no idea if that was right but it didn't like it! I've since uninstalled and reinstalled and now I can't get it to load up even once which is a shame. Any solution? |
Re: Desktop Command Execution Widget scripts
To both of you:
echo "command" | sudo gainroot |
Re: Desktop Command Execution Widget scripts
Quote:
Any idea what the app could have done to hildon-desktop though? Seemingly everytime I reinstall it, something has been leftover from the previous install... I will be flashing when/if 1.2 comes out but would prefer to not before that. |
Re: Desktop Command Execution Widget scripts
Try purging the app first (package mgmt link in my sig).
|
Re: Desktop Command Execution Widget scripts
Here's a little python script I use to get the verse of the day from BibleGateway
Code:
import feedparser |
Re: Desktop Command Execution Widget scripts
Hi all,
Please i'll apreciate a little help with QBW scripting. Yes, i know if i do echo "command" | sudo gainroot, it will work. But..and if it is not a "command" ? Just like this..I want to make 2 profiles with my personalized OC settings (day\night profile). I'll put here the code for one of them: /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal rm -f /etc/default/kernel-power ln -s /usr/share/kernel-power-settings/ideal /etc/default/kernel-power echo 125000 250000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load /usr/sbin/kernel-load How can i make it run with QBW? If i run it at Xterm, with root, it works. If i try it with QBW, it doesent work. I've tried this too, but..nothing.. /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal rm -f /etc/default/kernel-power | sudo gainroot ln -s /usr/share/kernel-power-settings/ideal /etc/default/kernel-power | sudo gainroot echo "echo 125000 250000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies" | sudo gainroot echo "echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load" | sudo gainroot /usr/sbin/kernel-load |sudo gainroot Can please anyone help me? it works like i want on Xterminal.but cant 'export' it to Queen Beecon Widget..help please... (actualy, it acept the code, with no errors but it doesent change any values. |
Re: Desktop Command Execution Widget scripts
Quote:
You need to connect to X-Terminal for that and then...: Code:
~ $... and see what happens. |
Re: Desktop Command Execution Widget scripts
It dont have the result i've expected.
(if i do it from xterminal, line by line, it works ... ) Quote:
|
Re: Desktop Command Execution Widget scripts
Is there another way to execute that commands with 'root' ?! Or i'm doing anything wrong with that method of script.sh ?
|
| All times are GMT. The time now is 06:38. |
vBulletin® Version 3.8.8