Chrome Developer Tools

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
straps
White ninja
White ninja
Posts: 4
Joined: 13 Jan 2016, 13:40
Distribution: Porteus 3.6.0
Location: Italy

Chrome Developer Tools

Post#1 by straps » 13 Jan 2016, 13:55

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4594
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Chrome Developer Tools

Post#2 by fanthom » 13 Jan 2016, 15:14

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.
Please add [Solved] to your thread title if the solution was found.

straps
White ninja
White ninja
Posts: 4
Joined: 13 Jan 2016, 13:40
Distribution: Porteus 3.6.0
Location: Italy

Re: Chrome Developer Tools

Post#3 by straps » 15 Jan 2016, 18:19

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4594
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Chrome Developer Tools

Post#4 by fanthom » 15 Jan 2016, 18:49

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.
Please add [Solved] to your thread title if the solution was found.

straps
White ninja
White ninja
Posts: 4
Joined: 13 Jan 2016, 13:40
Distribution: Porteus 3.6.0
Location: Italy

Re: Chrome Developer Tools

Post#5 by straps » 18 Jan 2016, 15:23

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4594
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Chrome Developer Tools

Post#6 by fanthom » 18 Jan 2016, 15:36

"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).
Please add [Solved] to your thread title if the solution was found.

straps
White ninja
White ninja
Posts: 4
Joined: 13 Jan 2016, 13:40
Distribution: Porteus 3.6.0
Location: Italy

Re: Chrome Developer Tools

Post#7 by straps » 19 Jan 2016, 13:26

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.

Post Reply