Custom Xsession with Gnome visuals
Posted
by
Siim K
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Siim K
Published on 2011-11-24T15:49:21Z
Indexed on
2012/07/01
9:23 UTC
Read the original article
Hit count: 428
I'm trying to create a kiosk PC only for web browsing using this tutorial as a reference (only difference - I'm using Firefox instead of Chromium)
It is working correctly in principle (only FF window opens when I log in using the Kiosk session) but it looks, well, super ugly. The scrollbar and right-click context menus look like from the 1990s - gray and boxy.
How could I modify the session to get Gnome-like scrollbars/menus without the whole Gnome desktop (top/bottom panel etc)?
My custom X session is currently set up like this:
/usr/share/xsessions/kiosk.desktop:
[Desktop Entry]
Encoding=UTF-8
Name=Kiosk Mode
Comment=Firefox Kiosk Mode
Exec=/usr/share/xsessions/ffKiosk.sh
Type=Application
/usr/share/xsessions/ffKiosk.sh:
#!/bin/bash
while true; do firefox -height 768 -width 1024; sleep 1s; done
© Ask Ubuntu or respective owner