View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
I'd go for an N800 personally (much less buttons and the dpad on the outside is win - I hate my N810's dpad and love my N800's one despite having scratched it up so much...).

I haven't tried this; but I would, personally, do it like this:

1. Have bootmenu installed so I can always get into rootfs via usb cable if something arises
2. Stop hildon-desktop from loading via init script
3. Load browser from init script making sure to run it using: "su - user -c browser"
4. Get wmctrl to make the window fullscreen
5. Build a custom libhildon that wont close the window when you hold escape:
Code:
--- libhildon-2.0.6.orig/src/hildon-window.c
+++ libhildon-2.0.6/src/hildon-window.c
@@ -1168,6 +1168,7 @@
             if (hildon_window_toggle_menu (HILDON_WINDOW (widget), 0, GDK_CURRENT_TIME))
                 return TRUE;
             break;
+#if 0
         case HILDON_HARDKEY_ESC:
             if (!priv->escape_timeout)
             {
@@ -1176,6 +1177,7 @@
                      hildon_window_escape_timeout, widget);
             }
             break;
+#endif
     }
 
     return GTK_WIDGET_CLASS (hildon_window_parent_class)->key_press_event (widget, event);
6. Rebuild libgtk and make gtk_window_unfullscreen a nop function so one can't unfullscreen the window via the hardware key. It's rather extreme though - one could just remap the F6 key to summat else.

Of course, the transition from theory to reality can be rather different...