Search code examples
javascriptlinuxgoogle-chromekiosk

Google Chrome - how to open to a default zoom level?


How to open this zoom 90%? (by default its 100% and the layout breaks) or how to open the browser with geometry set like in Opera.

$ google-chrome --kiosk --incognito --disable-translate "http://gui/kiosk/customize6?language=fr&username=S3&password=1234" &

Solution

  • Chrome loads user-defined stylesheets from the ‘User StyleSheets’ folder.
    In Linux, this folder is usually located in ‘~/.config/google-chrome/Default’.
    There should be an empty Custom.css file in the ‘User StyleSheets’ folder.
    Just add the following lines to the Custom.css file and save.

    body  
    {  
      zoom: 0.9;  
    } 
    

    Styles defined in Custom.css will be applied to all websites visited.