Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8532  / 2 Years ago, sat, july 9, 2022, 8:30:11

I am trying to change the default web page, so that people using guest-session will open a specific web page instead of the default site.



Also, please note that when I installed Chromium, the Ubuntu default page comes up there too. There must be a global variable somewhere. Does anyone know where this variable is?


More From » firefox

 Answers
3

I think the default is set in the package itself and can't be easily changed. However, when you create a new user, the files in /etc/skel get copied to the new user's home directory. You could create a new user, set it up as you want the default, and copy all that user's dotfiles into /etc/skel.



You mentioned using a guest session, though. I'm not sure if my method will work in guest sessions. Try it and see.



If it doesn't, here's another option: Create a guest user. Then put something like the following in ~/.logout:



shopt -s dotglob
rm -rf ~/*
cp -a /etc/skel/* $HOME


This should cause the user to be reset every logout.


[#41230] Sunday, July 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sharall

Total Points: 407
Total Questions: 127
Total Answers: 121

Location: Saint Helena
Member since Fri, Mar 26, 2021
3 Years ago
;