|
2010-03-14
, 18:48
|
Posts: 156 |
Thanked: 90 times |
Joined on Jan 2010
|
#192
|
|
2010-03-14
, 21:13
|
Posts: 118 |
Thanked: 59 times |
Joined on May 2007
|
#193
|
|
2010-03-14
, 22:33
|
Posts: 1,427 |
Thanked: 2,077 times |
Joined on Aug 2009
@ Sydney
|
#194
|
|
2010-03-15
, 08:53
|
Posts: 1,427 |
Thanked: 2,077 times |
Joined on Aug 2009
@ Sydney
|
#196
|
|
2010-03-15
, 08:57
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#197
|
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
echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot
--- desktop-cmd-exec-1.01.orig/desktop-cmd-exec.c
+++ desktop-cmd-exec-1.01/desktop-cmd-exec.c
@@ -1096,6 +1096,12 @@
gtk_size_group_add_widget (group, commandLabel);
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), commandLabel, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (commandBox), commandEntry, TRUE, TRUE, 0);
if(!new)
The Following 4 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2010-03-15
, 20:01
|
Posts: 115 |
Thanked: 12 times |
Joined on Oct 2009
|
#198
|
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!