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
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#1
by tomtkc » 30 Apr 2019, 14:28
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!

Last edited by
tomtkc on 28 May 2019, 16:11, edited 4 times in total.
tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#2
by fanthom » 30 Apr 2019, 15:13
Please add [Solved] to your thread title if the solution was found.
fanthom
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#3
by tomtkc » 01 May 2019, 10:31
Ah! Thankyou! I was sure I looked in FAQ but obviously skipped this over.
Appreciate the help.
tomtkc
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#4
by tomtkc » 21 May 2019, 15:19
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
tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#5
by fanthom » 21 May 2019, 16:23
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.
fanthom
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#6
by tomtkc » 22 May 2019, 10:46
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!
tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#7
by fanthom » 22 May 2019, 11:54
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
Please add [Solved] to your thread title if the solution was found.
fanthom
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#8
by tomtkc » 28 May 2019, 09:22
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!
tomtkc
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#9
by tomtkc » 28 May 2019, 16:15
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

tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#10
by fanthom » 28 May 2019, 17:18
Please check if it works under Ubuntu.
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.
fanthom
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#11
by tomtkc » 29 May 2019, 12:20
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.
tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#12
by fanthom » 29 May 2019, 16:53
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).
Please add [Solved] to your thread title if the solution was found.
fanthom
-
tomtkc
- White ninja

- Posts: 8
- Joined: 30 Apr 2019, 09:37
- Distribution: 1
Post#13
by tomtkc » 30 May 2019, 08:26
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?

tomtkc
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#14
by fanthom » 30 May 2019, 11:35
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).
Please add [Solved] to your thread title if the solution was found.
fanthom