Enabling multiple about:flags for Chrome
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Enabling multiple about:flags for Chrome
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!
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!
Last edited by tomtkc on 28 May 2019, 16:11, edited 4 times in total.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling about:flags for Chrome
Please add [Solved] to your thread title if the solution was found.
Enabling about:flags for Chrome
Ah! Thankyou! I was sure I looked in FAQ but obviously skipped this over.
Appreciate the help.
Appreciate the help.
[SOLVED] Enabling about:flags for Chrome
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
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
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling multiple about:flags for Chrome
You need to separate your flags with a space. Updated the FAQ for this case.
Please add [Solved] to your thread title if the solution was found.
Enabling multiple about:flags for Chrome
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!
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!
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling multiple about:flags for Chrome
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
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
Please add [Solved] to your thread title if the solution was found.
Enabling multiple about:flags for Chrome
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!
Will follow the FAQ and mark this resolved, unless I run into anymore problems.
Thanks!
Enabling multiple about:flags for Chrome
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
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
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling multiple about:flags for Chrome
Please check if it works under Ubuntu.
You may also need to whitelist GPU to get WebGL working (google how to do this).
You may also need to whitelist GPU to get WebGL working (google how to do this).
Please add [Solved] to your thread title if the solution was found.
Enabling multiple about:flags for Chrome
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.
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.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling multiple about:flags for Chrome
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).
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).
Please add [Solved] to your thread title if the solution was found.
Enabling multiple about:flags for Chrome
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?
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?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Enabling multiple about:flags for Chrome
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).
It can be either on this window or in your remote config (if you use it).
Please add [Solved] to your thread title if the solution was found.