Full-Screen - How to execute the node-webkit in full-screen please?

2 views
Skip to first unread message

SProgrammer

unread,
Mar 19, 2014, 8:31:41 AM3/19/14
to node-...@googlegroups.com
Its not working

$ ./nw --kiosk

How to do that please?

SProgrammer

unread,
Mar 19, 2014, 8:55:57 AM3/19/14
to node-...@googlegroups.com
OK - it works.

$ cat > /tmp/test <<EOF
{
  "name": "has-to-work-by-copy-paste-else-no-fun",
  "main": "www.google.com",
  "window": {
    "toolbar": false,
    "frame": false,
    "resizable": false,

    "kiosk": true,

    "always-on-top": true
  }
}
EOF
$ zip test /tmp/test
$ ./nw /tmp/test.zip &

SProgrammer

unread,
Mar 19, 2014, 9:04:30 AM3/19/14
to node-...@googlegroups.com
Is there no way without package.json i can do it via command line argument? i have to do some test where the package.json is very slow process.

#!/bin/bash
while true:
do
  export DISPLAY=:0.0
  nw --url=www.google.com --no-toolbar=false --no-frame=false --no-resizable=false --kiosk=true --always-on-top=true --name=NW &
  wmctrl -l
  wmctrl -a NW

done
Reply all
Reply to author
Forward
0 new messages