Is there a way to block all browser usage? I’m looking to have calls, texts, camera and that’s about it. Or at least password protect everything else if not completely remove. Is this possible?
Edit: I now see that this OS is not really practical for the USA due to xperia phones not being well supported via bands and only tmobile as a carrier. And… I know how the Sony phone will perform because I have one. It works great for text, but voice is hit or miss (usually miss). I wouldn’t have my kids use an xperia (even though I really like mine despite the limitations).
Or, you can rename /usr/bin/sailfish-browser to /usr/bin/sailfish-browser.old
This, after
-activating Developper tools in the Settings
-setting a root password there
-run a newly appeared terminal icon
-type devel-su (and answer with the password jou just set before)
Editing (or removing) the .desktop file basically means that the app is password protected, since returning the icon to app grid requires root rights (=root password).
For example, adding NoDisplay=true in the desktop file after the line Type=Application does the trick.
To apply any (most) of these solutions easily, you could use qCommnd.
It allows you to execute command lines (or scripts, iirc) simply by clicking on an icon.
If it’s a root command, the root password will be asked.
So, it’s not exactly the answer to your demand, but it’s closer.
It’s amazing how much more helpful this group is vs those on the GrapheneOS forum.
Thank you! All great ideas.
I have a Sony XZ1 compact which has held up better than any other brand I’ve owned thus far. Due to bands in the US, it does not work well for talk in most places… but I will likely keep using it and will reflash it with Sailfish, assuming it will work. Seems like a great option.
Indeed, this and other suggestions to fiddle with the .desktop file are fine and working, making the browser disappears from the application grid.
But, I would like to warn nonetheless, that a smart kid may copy (or create) this same desktop file in its own home directory, under ~/.local/share/applications and then enjoy using the browser. It depends of course to which tools (non jailed file browser, non jailed text editor…) are available to the kid ; -) Most likely if he / she only has access to jailed applications, I don’t think that this countermeasure can be applied. But I may not be as smart as the kid here !