Active Topics

 



Notices


Reply
Thread Tools
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#191
Originally Posted by fpp View Post
Good news... and what do you think of my request (and a couple of others) to allow icons as well as text for the widget caption ? :-)
Those are all valuable requests and they are in my "TODO" list.

Now.. after some talk.maemo.org procrastination, back to my thesis.
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 

The Following 2 Users Say Thank You to cpscotti For This Useful Post:
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#192
I have another one: widget could have an option to update on boot or not. It's not useful for buttons to update on boot. If you implement this you'll be changing .desktop_cmd_exec and in that case I also have the request to make it more manual-editing-friendly, so saved commands are in their own lines, not all in one and they also do not change (some characters are added in some cases).
 
Posts: 118 | Thanked: 59 times | Joined on May 2007
#193
Originally Posted by rooted View Post
I have another one: widget could have an option to update on boot or not. It's not useful for buttons to update on boot.
(remainder snipped)
I would like to second that request, and also point out that there is a workaround, which I reported in post #157 in this thread.
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#194
I still have not figured out how to create a button for lowering the screen brightness beyond the normal low setting that's possible using the following command from the xterminal as root. Can anyone step it out or make it work with DCEW?

echo 2 > /sys/class/backlight/acx565akm/brightness
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#195
rootsh echo 2 > (path) | echo ""
 

The Following User Says Thank You to rooted For This Useful Post:
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#196
Originally Posted by rooted View Post
rootsh echo 2 > (path) | echo ""
Does that work for you? Coz it definitely doesn't work for me with DCE.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#197
Originally Posted by jakiman View Post
I still have not figured out how to create a button for lowering the screen brightness beyond the normal low setting that's possible using the following command from the xterminal as root. Can anyone step it out or make it work with DCEW?

echo 2 > /sys/class/backlight/acx565akm/brightness
Code:
echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot
--

Oh, cpscotti, because it annoyed me:
PHP Code:
--- desktop-cmd-exec-1.01.orig/desktop-cmd-exec.c
+++ desktop-cmd-exec-1.01/desktop-cmd-exec.c
@@ -1096,+1096,12 @@
     
gtk_size_group_add_widget (groupcommandLabel);
     
     
GtkWidget *commandEntry hildon_entry_new (HILDON_SIZE_AUTO_WIDTH HILDON_SIZE_FINGER_HEIGHT);
+    
//Disable automatic capitalisation 
+    HildonGtkInputMode input_mode hildon_gtk_entry_get_input_mode (GTK_ENTRY (commandEntry));
+    
input_mode &= ~HILDON_GTK_INPUT_MODE_AUTOCAP;
+    
//input_mode &= ~(HILDON_GTK_INPUT_MODE_AUTOCAP | HILDON_GTK_INPUT_MODE_DICTIONARY);
+    hildon_gtk_entry_set_input_mode (GTK_ENTRY (commandEntry), input_mode);
+    
//END: Disable automatic capitalisation 
     
gtk_box_pack_start (GTK_BOX (commandBox), commandLabelFALSEFALSE0);
     
gtk_box_pack_start (GTK_BOX (commandBox), commandEntryTRUETRUE0);
     if(!new) 

Last edited by qwerty12; 2010-03-15 at 09:06.
 

The Following 4 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 115 | Thanked: 12 times | Joined on Oct 2009
#198
Can anyone tell me if it's possible to edit the Internal IP cmd so that it only displays the IP number on the second line please (the one needed to connect to it with WinSCP) ? Cheers

Last edited by Kamikaze; 2010-03-15 at 20:09.
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#199
/sbin/ifconfig | grep wl -A 2 | grep ine | awk -F: '{print $2}' | awk '{print $1}'
 

The Following User Says Thank You to rooted For This Useful Post:
Posts: 115 | Thanked: 12 times | Joined on Oct 2009
#200
Nice one, cheers mate
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:36.