If you have the -kiosk switch enabled in the chromeKiosk.sh then it should just show the homepage across the whole screen. Also select Kiosk Mode as the default session and click close.Īfter you are done with everything else, reboot the computer and it should auto login to the restricted user and display Chromium fullscreen. This will allow you to make changes if anything isn't set right in the future. Select log in as your restricted user allowing 2-5 seconds for anyone else to log in first. After you click authenticate, the window will allow you to click the different options available. Click this button and enter your password. In the lower right of the Login Screen Settings window that comes up there will be a button that says Unlock. Next click System, then highlight Administration, and finally click Login Screen. After this is done, close the user settings window. In the next window that shows up select "Generate random password" and check the box to allow login without asking for the password. Then click on your generic guest user account (Scholar in my case) and click the change button next to the password field. Make sure your regular account has the password asked on login so no one else can get in and mess up the system. This should bring up a window that shows both accounts available on the system. First click System, highlight Administration, and click Users and Groups. Next up is to allow anyone to log into our generic account and to set up the computer to load this account on startup. See the image notes for more information. If you would like to disallow access to the URL bar simply insert "-kiosk" between %u and -start-maximized as shown in the sixth picture on this step.Ī few people commented that the inclusion of the "-incognito" switch at the same place as "-kiosk" goes makes it so that you do not have to worry about making the Chromium user profile read only.Īfter you have created these two files run "sudo chmod 755 /usr/share/xsessions/chromeKiosk.sh" in order to make this script executable. While true do chromium-browser %u -start-maximized sleep 5s done Save and close this document and then insert the following command on the Terminal window: "sudo gedit /usr/share/xsessions/chromeKiosk.sh" This should bring up another gedit window for you to insert the following code:Ĭat ~/.config/chromium/Local\ State | perl -pe "s/\"bottom.*/\"bottom\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f2),/" > ~/.config/chromium/Local\ StateĬat ~/.config/chromium/Local\ State | perl -pe "s/\"right.*/\"right\": $(xrandr | grep \* | cut -d' ' -f4 | cut -d'x' -f1),/" > ~/.config/chromium/Local\ State On the command line type: "sudo gedit /usr/share/xsessions/sktop" Then in the resulting window insert this code: Once in the regular user account, click Applications, Accessories, and Terminal. Next you'll need to switch back to your regular user so that you can use sudo once again. Open Chromium once more and make sure that all of the settings appear to be correct and that the history does not show up for newly visited webpages. Click close once these options have been set, then close the File Browser. Select Access files from the Folder Access drop down box at the top of the properties window, then select Read-Only from the File Access drop down box just under the top one. Then right click on the Default folder, select Properties, and click on the Permissions tab. Right click on the file named "Local State" and make sure that the lines that start with "top": and "left": both have zeros after them and before the commas. Go up a folder by clicking the chromium button near the top of the white file space. Then scroll to the bottom and find the option "exited_cleanly": and set it to true if it isn't already. Right click on the file called Preferences and choose Open with gedit. You should now be able to see a folder called ".config", open this, find chromium, and open the Default folder. From the resulting window click View and then Show Hidden Files. After closing Chromium click Places, and then click Home Folder from the top bar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |