![]() |
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 ?
|
Re: Desktop Command Execution Widget scripts
Quote:
|
Re: Desktop Command Execution Widget scripts
Quote:
|
Re: Desktop Command Execution Widget scripts
Quote:
What happens if you call the script from commandline? As user with the given pipe to sudo gainroot and as root by calling the script directly. Is the script executable? Check it! |
Re: Desktop Command Execution Widget scripts
Ok, i got it..to many lines i think.
I've worked arround the problem, do what i want by different way..it works too..so..thank you all, that tip of script.sh was very good! |
Re: Desktop Command Execution Widget scripts
There is a bug in 1.1. When you tap the widget to refresh it changes color to blue to indicate a tap. It was working ok before, but now in 1.1 it stays blue in ca. 50% of the cases.
|
Re: Desktop Command Execution Widget scripts
Hello
I just got in trouble: I install a 'Lock' widget with the 'Lock screen and keys' command. But forgot to disable the setting which activate it on current desktop. So now I am stuck in a loop were the phone immediatly re-lock when I unlock it (using the slider stuff). Any idea? where are the setting file? I would like to remove the Lock widget by hand... Any help appreciated Gilles |
Re: Desktop Command Execution Widget scripts
ok, I manage to get rid of the problem by quickly unlocking the phone and going into widget setting and so on.
But I still would like to know were the widget definitions are. And by the way this is a great soft... Gilles Quote:
|
Re: Desktop Command Execution Widget scripts
Quote:
EDIT: the config file is /home/user/.desktop_cmd_exec |
Re: Desktop Command Execution Widget scripts
The set max cpu frequency doesn't seem to work for me? The command doesn't work from the terminal either. Isn't it out of date a bit? I have titan's kernel installed. Command seems to work in terminal only if I do sudo gainroot first and then insert the command (without "rootsh"). Is there a way to insert "sudo gainroot" in the script? I tried a couple of ideas,but everything failed miserably with a crash :X
|
Re: Desktop Command Execution Widget scripts
Fixed. Please test and post feedback.
|
Re: Desktop Command Execution Widget scripts
Works flawlessly now. Thank you ;)
|
Re: Desktop Command Execution Widget scripts
is there any script i can use to toggle the Caller ID?
Also i would like to translate this widget to german. How can I do this ? |
Re: Desktop Command Execution Widget scripts
I used a stupid script the following problem happened: http://talk.maemo.org/showthread.php...015#post690015
Can anyone help me :D |
Re: Desktop Command Execution Widget scripts
Removing ~/.desktop_cmd_exec should do the trick.
|
Re: Desktop Command Execution Widget scripts
Hi would it be possible to writ a script to open a local html file with chromium and have it enter full screen mode?
|
Re: Desktop Command Execution Widget scripts
Please Help
I have added th command for Lock screen and keys dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked" | echo "" now everytime I add a desktop command execution widget my phone locks its screen and keys , i have deleted the command and uninstalled the program but sill sometimes it does lock its screen by itself , even if i install the app again , the command shows on my desktop , is it a way to totally delete the application and the command via xterminal since i think it is not uninstalled completely , Thanks in advance |
Re: Desktop Command Execution Widget scripts
To SR90:
Quote:
|
Re: Desktop Command Execution Widget scripts
hi guyes i bought it yesterday . But i cant find this symbol " | " for the grep in the keyboard. any suggestions?
|
Re: Desktop Command Execution Widget scripts
Blue arrow button (left hand, second from bottom) and then Sym/Ctrl button (right on top of blue arrow). Your on screen menu with '|' pipe will be visible. :) It's a hangover form Symbian I suppose.
|
Re: Desktop Command Execution Widget scripts
thank u very much. well is there any method to replace a button from the keyboard ?
|
Re: Desktop Command Execution Widget scripts
heey everybody
i have a really big problem with desktop command widget! I was putting some commands in (battery cpu signal etc) until i got to lock/unlockscreen, I past the code of it en saved it, then it automatic it locks the screen, when i unlock it, i have like a milly second, to respons, (when i was in the menu or a app it keeps acting normal) I've tried to delete en instal de widget again, but when i adding widgetes, it repeat what i did (remembers from last time) so also de lock command an then i get te same story! I got really angry because i wanted more widget to my desktop Thanks alot guys for reading! |
Re: Desktop Command Execution Widget scripts
Hi,
you can edit (or delete) the file /home/user/.desktop_cmd_exec. This is where your scripts for this widget are saved. regards nicolai |
Re: Desktop Command Execution Widget scripts
Quote:
do i have to go to file manager? a little noob over here:p |
Re: Desktop Command Execution Widget scripts
open xterm and enter
Code:
rm /home/user/.desktop_cmd_exec |
Re: Desktop Command Execution Widget scripts
Quote:
rm: cannot remove '/home/user/.desktop_cmd_exec': No such file or directory |
Re: Desktop Command Execution Widget scripts
Quote:
thanks alot man it worked! Your a maemo hero:p Thnkx!! |
Re: Desktop Command Execution Widget scripts
HOW DO I GET THE | ? Where is it on they keyboard? I have a Swedish device
|
Desktop Command Execution Widget scripts
dear all
i did make a mistake in this widget but now every time i click to add a new desktop command execution widget my n90 get lock screen, i want to delete all the widget script from my phone so i will use it and put it on my desktop more then 5 or 6 commands. so any help please.:( |
Re: Desktop Command Execution Widget scripts
Quote:
|
Re: Desktop Command Execution Widget scripts
i did install emelFM2 and this app It allows me to do anything what i want with any file on my device, including system files maybe it will helps me to search the widget desktop command execution script to fix my problem.
so any help ???? |
| All times are GMT. The time now is 06:37. |
vBulletin® Version 3.8.8