Follow the steps in this Instructable to set up Ubuntu, and Chromium if you haven't already.
Some potential uses for this type of system:
* Web Kiosk
* Information Booth
* Subsonic Guest Interface
* X10 House Control
Remove these ads by
Signing UpStep 1: Add XScreensaver & Ubuntu Restricted Extras
If you will be using flash you will need to install the plugin for it. The best way I've found to do this is similar to adding xscreensaver. In the terminal window enter "sudo apt-get isntall ubuntu-restricted-extras -y". Once this is done close the Terminal window.


























![Ubuntu 2 [Running] - Oracle VM VirtualBox 6292010 84842 AM.bmp.jpg](/files/deriv/FZ1/NKQQ/GAPV8EJA/FZ1NKQQGAPV8EJA.LARGE.jpg)

















Visit Our Store »
Go Pro Today »




sudo nano /etc/lightdm/lightdm.conf
and deleting the autologin user line.
-------------------------------------------------------------------------------------------------------------
#!/bin/bash
# we get screen resolution
res=$(xrandr -q | awk -F'current' -F',' 'NR==1 {gsub("( |current)","");print $2}')
resx=$(echo $res | awk '{split($0,array,"x")} END{print array[1]}')
resy=$(echo $res | awk '{split($0,array,"x")} END{print array[2]}')
# starting xscreensaver
xscreensaver -nosplash &
while true;
do chromium-browser %u --incognito --window-size=$resx,$resy
sleep 5s;
done
--------------------------------------------------------------------------------------------------------------
Thanks again for the good work.
François. (Agneaux. France)
Just guessing, but I think if you set that line to Session=gnome that it should go back to the gnome desktop for you.
width=`xrandr | grep \* | head -n1 | cut -d' ' -f4 | cut -d'x' -f1`
height=`xrandr | grep \* | head -n1 | cut -d' ' -f4 | cut -d'x' -f2`
echo $width,$height
cat ~/.config/chromium/Default/Preferences | perl -pe "s/\"work_area_bottom.*/\"work_area_bottom\": $height,/" > /tmp/tmp.$$
cp /tmp/tmp.$$ ~/.config/chromium/Default/Preferences
cat ~/.config/chromium/Default/Preferences | perl -pe "s/\"bottom.*/\"bottom\": $height,/" > /tmp/tmp.$$
cp /tmp/tmp.$$ ~/.config/chromium/Default/Preferences
cat ~/.config/chromium/Default/Preferences | perl -pe "s/\"work_area_right.*/\"work_area_right\": $width,/" > /tmp/tmp.$$
cp /tmp/tmp.$$ ~/.config/chromium/Default/Preferences
cat ~/.config/chromium/Default/Preferences | perl -pe "s/\"right.*/\"right\": $width,/" > /tmp/tmp.$$
mv /tmp/tmp.$$ ~/.config/chromium/Default/Preferences
great tutorial, easy to follow and very informative.
best regards
mike
Just guessing, but I think if you set that line to Session=gnome that it should go back to the gnome desktop for you.
.
regards
mike
also is there a way of disabling the Gnome panel for the user, I just want to really lock the system down.
best regards
mike
Also i did something wrong and it is not possible to go back to the normal login screen so i can login as administrator or user in unity? I use ubuntu 12.04.
My guess on the user is in step 7 not having set a time that you can log in as another user before the auto login. Unfortunately, I'm not sure where this is set so I don't know how to unset it.
1
[SeatDefaults]
autologin-user=user
autologin-user-timeout=20
autologin-session=Kiosk Mode
user-session=Kiosk Mode
greeter-session=unity-greeter
allow-guest=false
2
[SeatDefaults]
autologin-user=user
autologin-user-timeout=20
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false
opera %U -k -ScreenWidth 800 -ScreenHeight 600
opera %U -k /ScreenWidth 800 /ScreenHeight 600
and tried other combinations
here what im using:
#! /bin/bash
xscreensaver -nosplash &
While true; do opera %U --kioskresetstation --nomail --nomaillinks --nosave --nodownload --reseronexit --nocontectmenu --nomenu --noprint --nokeys ; sleep 2s; done
im having no luck at all, using ubuntu 10.04 LTS and opera 11.50
is there anyway to start xrandr so opera can pick the screen resolution and go actual full screen?
Opera %U -k -screenwidth $(xrandr command line) -screenheight $(xrandr command line)