Change/Disable F4 hotkey for terminal access
-
Wow, thank you !!!
I adjusted to autostart.sh with the following:
echo " ...some warnings..."
sync
sleep 10
emulationstationecho "...some warnings..."
sleep 10
sync && sudo rebootThe first time someone tries, he'll get a warning and emulationstation starts again after 10 sec.
Second time it will reboot.Removed the F4 trigger, but left all the other ones.
So if you press a key, it will still reboot. -
@de_jean125 said in Change/Disable F4 hotkey for terminal access:
The first time someone tries, he'll get a warning and emulationstation starts again after 10 sec.
Second time it will reboot.Nice idea. :)
A pimped version would be to display a appropriately explicit picture instead of text. 😈 Alas, I don't know a command that would do that.
-
@de_jean125 Why do you need this ?
-
@de_jean125 Do you want to sell something?
-
No, i'm building one for my dad, but he thinks he's an expert.
Don't want to troubleshoot it every week xD -
@de_jean125 said in Change/Disable F4 hotkey for terminal access:
No, i'm building one for my dad, but he thinks he's an expert.
Oh, come on, you're not letting him tinker with the Raspberry Pi. Better get a 2nd sdcard with a backup system, so he can experiment.
-
@de_jean125 @mitu If my dad once would tell me about ...
"Son, there is a hidden terminal in ES if you press F4."
Then I would answer: "Dad... you are a nerd" -
you don't know my dad :p
-
Or just press Alt+2, Alt+3, etc.
-
That's why i also use the triggers.
Made config files for all the letters in the alphabet, when he wants to start typing a command, the pi performs a shutdown.Pi is only accessible with one ip, using host.allow config and ssh.
Gave it also a static ip in the 10.x.x.x range. -
-
@de_jean125 Something like that, yes. :)
My first guess was that it was for your kid(s), by the way.
You could even let it get nastier … "Stop or I'll hack into your bank account and send all of your money to homes for retired game programmers!"
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.