Midori is a lightweight web browser.
FS#254 - arch:armv4 freerunner superuser warning sokoke
Attached to Project:
midori
Opened by Maelvon (Maelvon) - Friday, 06 February 2009, 18:35 GMT+1
Last edited by Christian Dywan (kalikiana) - Sunday, 17 May 2009, 03:00 GMT+1
Opened by Maelvon (Maelvon) - Friday, 06 February 2009, 18:35 GMT+1
Last edited by Christian Dywan (kalikiana) - Sunday, 17 May 2009, 03:00 GMT+1
|
DetailsHello,
I use Midori on an Freerunner "phone", and at Midori loading I've got a root usage warning blue line on top of the web page. It's coming from the sokoke_superuser_warning_new() method in the "sokoke.c" file. As the phone is running as root by default, this warning needs to be removed (I think so). Perhaps with a ~/.Xresource value ? I don't know if it can be a possible solution. But if you have one to remove the warning line that use some pixels in that so small phone's screen. Thanks fo the help, Maelvon |
This task depends upon
Is this a requirement for using the freerunner properly or something the user decides when uploading firmware? The warning is there because it is highly unwise to run a browser with unrestricted permissions. A phone can contain sensitive data or be abused as any other device.
Since the phone is a special case (i.e., running as root is 'normal' for it), I think the warning message should be disabled on it, because it's probably an annoyance. But since most Midori users aren't on a Freerunner, obviously the warning should stay in the default build.
I think that choosing which style you want should be done at compile-time, then - not in an Xresource file.
And this is not worth a preference. Hence it is completely gone in git now.