Page 1 of 1

Enabling multiple about:flags for Chrome

Posted: 30 Apr 2019, 14:28
by tomtkc
Hello! I am using Porteus on a Kiosk that doesn't enjoy any browser other than Chrome.

I need help in the commands used to set flags in Porteus.

The flags I need are

#top-chrome-touch-ui
#touch-events
#enable-touch-drag-drop

Can anyone help me convert these into commands so I can finally get this Kiosk running

Thanks! :sos:

Enabling about:flags for Chrome

Posted: 30 Apr 2019, 15:13
by fanthom
Its explained here:
https://porteus-kiosk.org/faq.html#23

Thanks

Enabling about:flags for Chrome

Posted: 01 May 2019, 10:31
by tomtkc
Ah! Thankyou! I was sure I looked in FAQ but obviously skipped this over.

Appreciate the help.

[SOLVED] Enabling about:flags for Chrome

Posted: 21 May 2019, 15:19
by tomtkc
Okay so this isn't solved!

My issue is that drag and drop won't work on Chrome.

I have put the command in as shown and it still doesn't work.

The problem is I don't know how to have all 3 commands run. I need to enable - #top-chrome-touch-ui
#touch-events
#enable-touch-drag-drop

Not just touch-drag-drop

Enabling multiple about:flags for Chrome

Posted: 21 May 2019, 16:23
by fanthom
You need to separate your flags with a space. Updated the FAQ for this case.

Enabling multiple about:flags for Chrome

Posted: 22 May 2019, 10:46
by tomtkc
Just to confirm so I know I'm entering the code right.

run_command=grep -q "top-chrome-touch-ui" "touch-events" "enable-touch-drag-drop" $chflags || echo '--enable-top-chrome-touch-ui' '--enable-touch-events' '--enable-touch-drag-drop' >> $chflags

Not sure if this is correct!

Enabling multiple about:flags for Chrome

Posted: 22 May 2019, 11:54
by fanthom
This is not correct - you need to follow the FAQ closely.

Hint: do not need to check for a presence of all flags (using grep), if one flag is present then all other flags are also there.

Thanks

Enabling multiple about:flags for Chrome

Posted: 28 May 2019, 09:22
by tomtkc
Ah I see the FAQ has been updated now. When I made the post it wasn't.

Will follow the FAQ and mark this resolved, unless I run into anymore problems.

Thanks!

Enabling multiple about:flags for Chrome

Posted: 28 May 2019, 16:15
by tomtkc
Ok I'm back!!

So I put in the following command in the 'Run' section of the installer.

grep -q "touch-drag-drop" $chflags || echo '--enable-touch-drag-drop --enable-touch-events --enable-top-chrome-touch-ui' >> $chflags

However it hasn't resolved my problem.

I am attempting to use a 3D Viewer with the Kiosk Touchscreen and it wont drag.

I have a video of what I mean.

https://streamable.com/46zhr

Also a picture of the specific 3D Viewer.

https://i.imgur.com/f1K551w.jpg

:sos: :sos:

Enabling multiple about:flags for Chrome

Posted: 28 May 2019, 17:18
by fanthom
Please check if it works under Ubuntu.

You may also need to whitelist GPU to get WebGL working (google how to do this).

Enabling multiple about:flags for Chrome

Posted: 29 May 2019, 12:20
by tomtkc
I am going to try again with --enable-webgl

I googled how to whitelist but still not sure, no idea what is even in the Kiosk!

Is there not a way to just enable chrome://flags ? this would fix all of my problems as I fixed the issue on Ubuntu by enabling the flags manually.

Enabling multiple about:flags for Chrome

Posted: 29 May 2019, 16:53
by fanthom
Even if you allow 'chrome://flags' then changes you make wont be persistent (unless you enable full persistence but then kiosk users will probably mess with the flags which is probably not what you want) so its better to manually add the flags you want through kiosk config.

Find the flags you need and add them to kiosk config (another advantage of this approach is that you wont have to manually enable flags for each kiosk you install).

Enabling multiple about:flags for Chrome

Posted: 30 May 2019, 08:26
by tomtkc
Okay thanks for the assistance!

Just want to make sure I am doing everything right.

Is this where you want me to put the grep command, in this box? Or do I need to add the command in the part where it asks for an external .txt?

Image

Enabling multiple about:flags for Chrome

Posted: 30 May 2019, 11:35
by fanthom
You need to add 'run_command=' parameter to your kiosk config.

It can be either on this window or in your remote config (if you use it).