Page 1 of 1

Chrome Developer Tools

Posted: 13 Jan 2016, 13:55
by straps
Hi, thanks for this great peace of software, you saved me a lot of time.

I've configured a Chrome based kiosk and I would like to access Developer Tools.

I've even tried creating chrome-policies.txt with DeveloperToolsDisabled": false without success...nothing happen when pressing F12 or CTRL+SHIFT+J

Can you help me?

Thanks anyway

Re: Chrome Developer Tools

Posted: 13 Jan 2016, 15:14
by fanthom
Hello straps,

Shortcuts are blocked separately.
You will have to remaster kiosk ISO -> edit 003-settings.xzm/etc/xdg/openbox/rc.xml and remove 'F12' and 'C-S-j' key combinations from blocked shortcuts.

Please refer to kiosk documentation:
http://porteus-kiosk.org/kiosk-customization.html

Thank you.

Re: Chrome Developer Tools

Posted: 15 Jan 2016, 18:19
by straps
Thanks for your support, but it doesn't work anyway.

I've done what you said and after remastering a rebootingverified via SSH that rc.xml was valid, without C-S-j and F12 shortcuts, but Dev Tools won't open anyway.

Am I missing something else :wall: ? Thanks again

Re: Chrome Developer Tools

Posted: 15 Jan 2016, 18:49
by fanthom
I have just repeated what i wrote and it works:
http://porteus-kiosk.org/public/files/C ... tools.webm

Must be some typo on your side.

Re: Chrome Developer Tools

Posted: 18 Jan 2016, 15:23
by straps
Could it be something related to disable_navigation_bar=yes in my config.txt?

This is my complete config.txt

Code: Select all

[[ GLOBAL ]]
kiosk_config=http://192.168.0.108/kiosk/config.txt
connection=wired
network_interface=eth0
dns_server=8.8.8.8 8.8.4.4
default_gateway=192.168.0.108
ip_address=192.168.0.199
netmask=255.255.255.0
browser=chrome
enable_file_protocol=yes
disable_firewall=yes
hostname=next-kiosk-client
homepage_check=Homepage is not available - please contact your administrator
homepage=/etc/version
primary_keyboard_layout=it
disable_navigation_bar=yes
root_password=xxx
shutdown_combination=yes
timezone=Europe/Rome
vnc_interactive=yes
vnc_password=xxx
wallpaper=http://192.168.0.108/kiosk/bg.png
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 06-fonts.xzm 100-next.xzm
hide_mouse=4
browser_preferences=http://192.168.0.108/kiosk/chrome-policies.txt
Thanks

Re: Chrome Developer Tools

Posted: 18 Jan 2016, 15:36
by fanthom
"Could it be something related to disable_navigation_bar=yes in my config.txt?"
Could be as some settings are forced when Chrome works in kiosk mode ('--kiosk' flag).
Please set it to 'disable_navigation_bar=no' and check if developer tools work.

btw: Additional_components should be used only for official modules. System will try to download '100-next.xzm' from our server and fail to reconfigure (if i remember correctly).

Re: Chrome Developer Tools

Posted: 19 Jan 2016, 13:26
by straps
I'll try enabling navigation bar, thanks.

100-next.xzm is a package I have created and mastered in the ISO and everything works well with the config I've posted.