Skip to content

Commit

Permalink
changed to use the .xinitrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed Apr 12, 2015
1 parent ceb72db commit f7575c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ http.createServer(app).listen(7000)
// if we're on linux, let's try to open the thing with chromium in kiosk mode
if(/^linux/.test(process.platform)) {
console.log('linux', process.platform);
exec('xinit /usr/bin/chromium --kiosk http://localhost:7000', function (error, stdout, stderr) {
var xinitrc_path = __dirname + '/bin/.xinitrc';
exec('xinit ' + xinitrc_path, function (error, stdout, stderr) {
console.log(error, stdout, stderr);
});
} else {
Expand Down

0 comments on commit f7575c8

Please sign in to comment.