View Single Post
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: