![]() |
Re: Desktop Command Execution Widget scripts
hay guys, i was wondering if there is a list, like a wiki page of comands that will work with dsew widget?
also is it possible to get "top" working, iv had a qucik go, including following some advice to try top -b however all i get is invalid command cheers snake |
Re: Desktop Command Execution Widget scripts
If I get what you are saying in that you want to create a shortcut on the desktop to the Top command you will not be able to do this using dektop widget. You can however create a shortcut on the desktop that will execute Top command. Bit of command line experience needed but basically you need to create a desktop entry in /usr/share/applications/hildon/ directory.
So from the begining. You will need root access so search the forums for rootsh. Code:
sudo gainroot Copy this txt into that file. Code:
[Desktop Entry] Code:
:wq You can then create a shortcut to it on the desktop the same way you would create a shortcut to any application. Hop this helps. Simples :) |
Re: Desktop Command Execution Widget scripts
Don't know if someone's posted something like this already, but I thought I'd share a DCEW script I created. It shows the data transferred (up and down) over WLAN since the last phone boot. It serves the same purpose as the Personal Dataplan Monitor widget (excellent, by the way) but for wifi traffic.
Code:
/sbin/ifconfig wlan0 | grep bytes | sed 's/^.*(\([^)]*\)).*(\([^)]*\))/Dn: \1 \| Up: \2/g' |
Re: Desktop Command Execution Widget scripts
Quote:
|
Re: Desktop Command Execution Widget scripts
so where does the scripts you create get saved on the n900 ?
i would like to edit them via ssh instead |
Re: Desktop Command Execution Widget scripts
/home/.desktop_comm_exec
Another bug report to the author: if this config file is manually edited it gets overwritten. That's not standard Linux program behaviour. Also, please make config file a little less complicated. I'm aiming at spliting scripts into lines, they are all in one line now. |
Re: Desktop Command Execution Widget scripts
hmm no config file there for me rooted
|
Re: Desktop Command Execution Widget scripts
is there coding to add memory and cpu usage status???
|
Re: Desktop Command Execution Widget scripts
Quote:
About overwriting the conf file, thanks for reminding me of this glitch! :) |
Re: Desktop Command Execution Widget scripts
Wow, what a bug. So obvious, but unnoticed till now. Anyway, when DCE widget resized to bigger height (with no. of lines) the widget itself is bigger, but the tapping area stays the same. This means that if you tap the widget in the lower area, it doesn't register it. Please fix this, because I'm using it for buttons: disconnect/connect/lock screen (via dbus) and I need some bigger buttons.
|
All times are GMT. The time now is 10:03. |
vBulletin® Version 3.8.8